Unity: hosts still exist on Unity even after all LUNs are detached
Bug #1768711 reported by
Ryan Liang
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
Ryan Liang |
Bug Description
The host still exists on Unity even after all LUNs are detached from it.
Unity driver creates the host and attaches the luns to the host. In current implementation, the terminate_
The requirement is from the user who is using IBM PowerVC. In their use case, there would be one host per VM Instance on Unity system. After deleting those VM instances from OpenStack, there still were lots of hosts left on Unity.
The solution is adding an option to cinder.conf, which could let Unity driver remove the hosts from Unity system after the last LUN is detached.
Changed in cinder: | |
assignee: | nobody → Ryan Liang (ryan-liang) |
status: | New → In Progress |
tags: | added: dellemc |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/565945 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=f9a9aa5a256 88cac86e5dc060a 20374e4a29bbef
Committed: https:/
Submitter: Zuul
Branch: master
commit f9a9aa5a25688ca c86e5dc060a2037 4e4a29bbef
Author: Ryan Liang <email address hidden>
Date: Wed May 2 10:30:20 2018 +0800
[Unity] Add support of removing empty host
Add an option in Unity Cinder driver to customize the removing empty_host` . Its
of empty host. The option is named `remove_
default value is False. When it is set to True, the host will
be removed from Unity after the last LUN is detached from it.
Change-Id: I2d9fad2c977a61 f5b26a6449a8e50 9911eff28e0
Closes-bug: #1768711