Bug #26940
closedforce-create-pg broken
0%
Description
This commit -
https://github.com/ceph/ceph/commit/7797ed67d2f9140b7eb9f182b06d04233e1e309c
has introduced regression to 'ceph osd force-create-pg'. It's
impossible to use this command now. I've build 13.2.1 monitor without
those changes and it works like a charm.
$ ceph --version
ceph version 13.2.1 (5533ecdc0fda920179d7ad84e0aa65a127b20d77) mimic (stable)
$ sudo ceph osd force-create-pg 6.2b
6.2b not valid: 6.2b not in --yes-i-really-mean-it
Invalid command: unused arguments: [u'6.2b']
osd force-create-pg {--yes-i-really-mean-it} : force creation of pg <pgid>
Error EINVAL: invalid command
$ sudo ceph osd force-create-pg --yes-i-really-mean-it 6.2b
Invalid command: unused arguments: [u'6.2b']
osd force-create-pg {--yes-i-really-mean-it} : force creation of pg <pgid>
Error EINVAL: invalid command
$ sudo ceph osd force-create-pg 6.2b --yes-i-really-mean-it
6.2b not valid: 6.2b not in --yes-i-really-mean-it
Invalid command: unused arguments: [u'6.2b', u'--yes-i-really-mean-it']
osd force-create-pg {--yes-i-really-mean-it} : force creation of pg <pgid>
Error EINVAL: invalid command
Best Regards, Kuba StaĆczak
Updated by Sage Weil over 5 years ago
- Status changed from In Progress to Fix Under Review
Updated by Sage Weil over 5 years ago
- Status changed from Fix Under Review to Pending Backport
Updated by Nathan Cutler over 5 years ago
- Copied to Backport #34532: mimic: force-create-pg broken added
Updated by Nathan Cutler over 5 years ago
- Status changed from Pending Backport to Resolved