Project

General

Profile

Bug #44050

mon tell command args don't work

Added by Sage Weil about 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

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

Description

Also, 'ceph tell mon.a force-sync --yes-i-really-mean-it' seems to be broken:

2020-02-08T02:35:16.926 INFO:teuthology.orchestra.run.smithi049.stderr:Invalid command: unused arguments: ['--yes-i-really-mean-it']
2020-02-08T02:35:16.926 INFO:teuthology.orchestra.run.smithi049.stderr:sync_force :  force sync of and clear monitor store
2020-02-08T02:35:16.926 INFO:teuthology.orchestra.run.smithi049.stderr:Error EINVAL: invalid command
2020-02-08T02:35:16.927 DEBUG:teuthology.orchestra.run:got remote process result: 22
2020-02-08T02:35:16.927 ERROR:tasks.mon_thrash.mon_thrasher:exception:
Traceback (most recent call last):
  File "/home/teuthworker/src/github.com_liewegas_ceph_wip-sage-testing-2020-02-07-1750/qa/tasks/mon_thrash.py", line 232, in do_thrash
    self._do_thrash()
  File "/home/teuthworker/src/github.com_liewegas_ceph_wip-sage-testing-2020-02-07-1750/qa/tasks/mon_thrash.py", line 285, in _do_thrash
    self.thrash_store(mon)
  File "/home/teuthworker/src/github.com_liewegas_ceph_wip-sage-testing-2020-02-07-1750/qa/tasks/mon_thrash.py", line 175, in thrash_store
    '--yes-i-really-mean-it')
  File "/home/teuthworker/src/github.com_liewegas_ceph_wip-sage-testing-2020-02-07-1750/qa/tasks/ceph_manager.py", line 1358, in raw_cluster_cmd
    stdout=StringIO(),
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/remote.py", line 198, in run
    r = self._runner(client=self.ssh, name=self.shortname, **kwargs)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 433, in run
    r.wait()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 158, in wait
    self._raise_for_status()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 180, in _raise_for_status
    node=self.hostname, label=self.label
CommandFailedError: Command failed on smithi049 with status 22: 'sudo adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage timeout 120 ceph --cluster ceph --log-early tell mon.a sync_force --yes-i-really-mean-it'

/a/sage-2020-02-07_23:51:30-rados-wip-sage2-testing-2020-02-07-1439-distro-basic-smithi/4742716

History

#1 Updated by Sage Weil about 4 years ago

'ceph tell mon.a help' works, but '-h' does not.

#2 Updated by Sage Weil about 4 years ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 33135

#3 Updated by Sage Weil about 4 years ago

  • Subject changed from 'ceph tell <name> -h' doesn't show help to mon tell command args don't work

#4 Updated by Sage Weil about 4 years ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF