Project

General

Profile

Bug #26940

force-create-pg broken

Added by Sage Weil about 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
-
Target version:
-
Start date:
08/14/2018
Due date:
% Done:

0%

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

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


Related issues

Copied to RADOS - Backport #34532: mimic: force-create-pg broken Resolved

History

#1 Updated by Sage Weil about 1 year ago

  • Status changed from In Progress to Need Review

#2 Updated by Sage Weil about 1 year ago

  • Status changed from Need Review to Pending Backport

#3 Updated by Nathan Cutler about 1 year ago

#4 Updated by Nathan Cutler about 1 year ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF