Project

General

Profile

Actions

Bug #39440

closed

ceph tell injectargs not working with mgr daemon

Added by Vikhyat Umrao about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Support
Tags:
Backport:
mimic luminous nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

- While running `ceph tell` with ceph mgr daemon injectargs it gives an error.

# ceph tell mgr.`hostname -s` injectargs '--mon_pg_warn_max_object_skew 20'

no valid command found; 10 closest matches:
pg cancel-force-recovery <pgid> [<pgid>...]
pg force-backfill <pgid> [<pgid>...]
pg deep-scrub <pgid>
pg scrub <pgid>
pg force-recovery <pgid> [<pgid>...]
pg repair <pgid>
pg ls {<int>} {<states> [<states>...]}
pg ls-by-osd <osdname (id|osd.id)> {<int>} {<states> [<states>...]}
pg debug unfound_objects_exist|degraded_pgs_exist
pg dump_stuck {inactive|unclean|stale|undersized|degraded [inactive|unclean|stale|undersized|degraded...]} {<int>}
Error EINVAL: invalid command

- Work perfectly fine with `ceph daemon mgr.`hostname -s` config set` command.

# ceph daemon mgr.`hostname -s` config set mon_pg_warn_max_object_skew 20
{
    "success": "mon_pg_warn_max_object_skew = '20.000000' (not observed, change may require restart) " 
}
Actions

Also available in: Atom PDF