Re: ceph osd force-create-pg doesn't work in mimic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 14 Aug 2018, Jakub Stańczak wrote:
> Hi!
> 
> 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

Thanks for the report!  I opened http://tracker.ceph.com/issues/26940 and 
I think I see the bug (s/,/ / in the MonCommands.h entry).

sage

[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux