Skip to contentSkip to conversation

Command `rbd ls` hangs if cluster health HEALTH_ERR

DISCUSSION Shubhendu Tripathi 2 participants 2 messages Feb 9, 2017 – Feb 10, 2017

lore
Share & tools
lore
#0 lore raw

Hi,

Need a help regarding rbd CLI commands hanging if the cluster is in error state.
Somehow I ended up having my cluster in HEALTH_ERR by creating a pool with huge PGnum whereas cluster has very less no of OSDs.

Now when I run the command rbd ls it simply hangs and does not come out. It requires a ctrl+C to come back to command line.

What could be a workaround or solution to this?

Regards,
Shubhendu

#1 lore raw
Quoted 9 lines · Shubhendu Tripathi

Hi,

Need a help regarding rbd CLI commands hanging if the cluster is in error state.
Somehow I ended up having my cluster in HEALTH_ERR by creating a pool with huge PGnum whereas cluster has very less no of OSDs.

Now when I run the command rbd ls it simply hangs and does not come out. It requires a ctrl+C to come back to command line.

RBD images are stored in RADOS, so if your RADOS cluster is not accessible then your rbd operations will block until it is.

John

Quoted 8 lines

What could be a workaround or solution to this?

Regards,
Shubhendu
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html