Creation action: list-compute-nodes
Bug #1911013 reported by
Alvaro Uria
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Charm Guide |
Fix Released
|
Undecided
|
Unassigned | ||
OpenStack Nova Cloud Controller Charm |
Invalid
|
Wishlist
|
Martin Kalcok | ||
OpenStack Nova Compute Charm |
Fix Released
|
Wishlist
|
Martin Kalcok |
Bug Description
In order to script a verification of safe removal of nova-compute units, a new action would be required.
* Action name: list-hypervisors
Return the list of "nova-compute" services registered in Nova.
This information will help filter by available (enabled) hypervisors and match them to the specific list of hosts that we want to remove. The goal is to notify the user that the Nova cluster will be left without hypervisors and no instances could be allocated to run.
Changed in charm-nova-cloud-controller: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
Changed in charm-nova-cloud-controller: | |
assignee: | nobody → Martin Kalcok (martin-kalcok) |
status: | Triaged → In Progress |
Changed in charm-nova-compute: | |
assignee: | nobody → Martin Kalcok (martin-kalcok) |
status: | Triaged → In Progress |
summary: |
- Creation action: list-hypervisors + Creation action: list-compute-nodes |
Changed in charm-nova-compute: | |
status: | In Progress → Fix Committed |
Changed in charm-nova-compute: | |
milestone: | none → 21.04 |
Changed in charm-guide: | |
status: | New → In Progress |
assignee: | nobody → Aurelien Lourot (aurelien-lourot) |
Changed in charm-guide: | |
milestone: | none → 21.04 |
Changed in charm-guide: | |
assignee: | Aurelien Lourot (aurelien-lourot) → nobody |
Changed in charm-nova-compute: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
After some discussion with @aluria we came to the conclusion that this action is better suited for nova-compute charm.
This action is mainly for the purpose of implementing check whether nova-compute unit is safe to reboot/shutdown https:/ /bugs.launchpad .net/juju- verify/ +bug/1913700 . As such, it makes more sense to fetch hypervisor list from the unit we are already targeting rather than figuring out which unit is nova-cloud- controller related to the targeted unit.