Project

General

Profile

Bug #21609

RADOS: Get "valid pg state" error at ceph pg ls commands

Added by Yan Jun 2 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
09/30/2017
Due date:
% Done:

0%

Source:
Tags:
Backport:
luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Release:
luminous
Needs Doc:
No

Description

get the following errors when we using ceph pg ls <state> commands

[root@ceph37 ceph]# ceph pg ls forced_backfill
Error EINVAL: 'forced_backfill' is not a valid pg state, available choices: stale+creating+active+activating+clean+recovery_wait+recovery_toofull+recovering+forced_recovery+down+undersized+degraded+remapped+scrubbing+deep+inconsistent+peering+repair+backfilling+forced_backfill+backfill_toofull+incomplete+peered+snaptrim+snaptrim_wait+snaptrim_error

additionally, we should input backfill but backfilling as the prompt as below:

[root@ceph37 ceph]# ceph pg ls backfill
[root@ceph37 ceph]# ceph pg ls backfilling
Error EINVAL: 'backfilling' is not a valid pg state, available choices: stale+creating+active+activating+clean+recovery_wait+recovery_toofull+recovering+forced_recovery+down+undersized+degraded+remapped+scrubbing+deep+inconsistent+peering+repair+backfilling+forced_backfill+backfill_toofull+incomplete+peered+snaptrim+snaptrim_wait+snaptrim_error
[root@ceph37 ceph]# 


Related issues

Copied to Ceph - Backport #21755: RADOS: Get "valid pg state" error at ceph pg ls commands Resolved

History

#1 Updated by xie xingguo 2 months ago

  • Status changed from New to Need Review

#2 Updated by Kefu Chai 2 months ago

quote from Yan

the error about "ceph pg ls backfilling" mentioned in http://tracker.ceph.com/issues/21609 was addressed by 6fa40e4

#3 Updated by Kefu Chai 2 months ago

  • Assignee set to Kefu Chai
  • Backport set to luminous

#4 Updated by Kefu Chai 2 months ago

  • Status changed from Need Review to Pending Backport

#5 Updated by Kefu Chai 2 months ago

  • Copied to Backport #21755: RADOS: Get "valid pg state" error at ceph pg ls commands added

#7 Updated by Sage Weil about 2 months ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF