nova volumes are inappropriately clingy for ceph and similar drivers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Invalid
|
Wishlist
|
Unassigned | ||
nova (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
I've been doing a little work with nova-volume and ceph/RBD. In order to gain some fault-tolerance, I plan to run a nova-volume on each compute node. However, a problem arises, because a given nova-volume host only wants to deal with requests for volumes that it created.
This makes perfect sense in a world where nova-volume hosts create volumes in LVM and export them over iSCSI. It makes less sense in a Ceph world, since the volumes live in the ceph cluster, and their metadata live in the nova database. But if the wrong nova-volume goes away, some of my volumes become arbitrarily unusable.
I've hit upon a workaround that seems to work so far, although I'm not sure if it's supposed to. I am running each nova-volume on the various hosts with an identical --host flag. When running in this setup, rapid volume creation, deletion and attachment requests are splayed nicely across the nova-volume instances.
(A less brutal hack might be to teach nova-volume to call into the volume driver to check if it has its own notion of what the host flag ought to be -- the RBD driver, for example, could construct a string such as "ceph:67670443-
Changed in cinder: | |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in nova: | |
importance: | Undecided → Low |
status: | New → Triaged |
tags: | added: volume |
summary: |
- nova volumes are inappropriately clingy for ceph + nova volumes are inappropriately clingy for ceph and similar drivers |
Changed in nova (Ubuntu): | |
status: | Triaged → Invalid |
tags: | added: ceph rbd |
tags: |
added: drivers removed: canonistack rbd volume |
Hi Paul. You might be interested to hear about Cinder, which is meant to be a better volume management tool. Ceph's developers feel that the approach being taken in Cinder will work better for ceph backed volumes.
This sounds like a legitmate issue with nova-volume, and since the bug has effectively been forwarded upstream, I'm going to mark this bug in Ubuntu as Triaged with a Medium importance. I'm also adding a task for cinder so the developers can assess whether this is solved or even a duplicate of something they're already working on.