remove_export needs an API to prevent dangling exports
Bug #1527278 reported by
Scott DAngelo
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Invalid
|
Wishlist
|
Unassigned |
Bug Description
Nova has a command 'shelve' that allows a user to snapshot an instance and remove it from the hypervisor. When the instance is unshelved, it can come back on another Nova compute host. IF there is a volume attached during this process, the cinder-volume target for the volume will still exist and there is no way to delete it. Nova should not call volume_api.detach for this process because we want the volume to still be 'in-use' and 'attached' in the Cinder DB.
The proposed way to solve this is to have an API to call remove_export so that the target can be removed.
Changed in cinder: | |
assignee: | nobody → Scott DAngelo (scott-dangelo) |
Changed in cinder: | |
importance: | Undecided → Wishlist |
tags: | added: api |
To post a comment you must log in.
This is most likely going to require a cinder spec if there is a new API, so a bug by itself isn't going to cut it.
This came up here: https:/ /review. openstack. org/#/c/ 257275/