Project

General

Profile

Actions

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.

Status:
Can't reproduce
Priority:
Normal
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

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.

Actions #1

Updated by Greg Farnum over 6 years ago

  • 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...

Actions #2

Updated by Peter Woodman over 6 years ago

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
Actions

Also available in: Atom PDF