Tuesday, May 6, 2014

Recovering from a cinder RBD host failure [feedly]

  

----
Recovering from a cinder RBD host failure
// Ceph

OpenStack Havana Cinder volumes associated with a RBD Ceph pool are bound to a host.

cinder service-list --host bm0014.the.re@rbd-ovh  +---------------+-----------------------+------+---------+-------+  |     Binary    |          Host         | Zone |  Status | State |  +---------------+-----------------------+------+---------+-------+  | cinder-volume | bm0014.the.re@rbd-ovh | ovh  | enabled |   up  |  +---------------+-----------------------+------+---------+-------+  

A volume created on this host is permanently associated with it:

$ mysql -e "select host from volumes where deleted = 0 and display_name = 'nerrant.fr'" cinder  +-----------------------+  | host                  |  +-----------------------+  | bm0014.the.re@rbd-ovh |  +-----------------------+  

If the host fails, any attempt to detach the volume will fail because the cinder-api cannot reach the host:

/var/log/cinder/cinder-api.log  2014-05-04 17:50:59.928 15128 TRACE cinder.api.middleware.fault Timeout: Timeout while     waiting on RPC response - topic: "cinder-volume:bm0014.the.re@rbd-ovh",     RPC method: "terminate_connection" info: "

----

Shared via my feedly reader


Sent from my iPhone

No comments:

Post a Comment