Bug #21721
closed
ceph pg force-backfill cmd failed with ENOENT error
Added by huang jun over 6 years ago.
Updated over 6 years ago.
Description
Command failed on mira025 with status 2: u'sudo adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage timeout 120 ceph --cluster ceph pg force-backfill 2.aa 2.0', when test case deleted the pool after 'ceph pg dump' but before sending 'ceph pg force-backfill' command.
- Status changed from New to Can't reproduce
I don't think we've seen this elsewhere and we have no context for how to make it happen again...
Just hit this myself- strangely it worked and then it didn't in the space of minutes. have a kinda small cluster that's lost two drives and ceph unluckily chose the two PGs with two missing OSDs in a 4,2 ec pool to delay backfill on.
i'm running recent (~5 days ago) luminous branch on arm64.
pjjw@pine00:~$ sudo ceph pg force-recovery 2.0
Error ENOTSUP: this command is obsolete
pjjw@pine00:~$ sudo ceph pg force-backfill 2.0
instructing pg(s) 2.0 on osd.1 to force-backfill; instructing pg(s) 2.0 on osd.2 to force-backfill; instructing pg(s) 2.0 on osd.3 to force-backfill; instructing pg(s) 2.0 on osd.4 to force-backfill; instructing pg(s) 2.0 on osd.7 to force-backfill; instructing pg(s) 2.0 on osd.9 to force-backfill; instructing pg(s) 2.0 on osd.10 to force-backfill;
pjjw@pine00:~$ sudo ceph pg ls-by-osd
Invalid command: missing required parameter osd(<osdname (id|osd.id)>)
pg ls-by-osd <osdname (id|osd.id)> {<int>} {<states> [<states>...]} : list pg on osd [osd]
Error EINVAL: invalid command
pjjw@pine00:~$ sudo ceph pg ls-by-osd 0
Error EAGAIN: osd 0 is not up
pjjw@pine00:~$ sudo ceph pg ls-by-osd 1
Error ENOTSUP: this command is obsolete
pjjw@pine00:~$ sudo ceph pg force-backfill 2.4
Error ENOTSUP: this command is obsolete
pjjw@pine00:~$ sudo ceph pg force-backfill 2.4
Error ENOTSUP: this command is obsolete
pjjw@pine00:~$ sudo ceph pg force-recovery 2.4
Error ENOTSUP: this command is obsolete
pjjw@pine00:~$ sudo ceph pg force-backfill 2.4
Error ENOTSUP: this command is obsolete
Also available in: Atom
PDF