action to stop and start all instances on a hypervisor

Bug #1964694 reported by James Troup
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Nova Compute Charm
Won't Fix
Wishlist
Unassigned
charm-cloudsupport
Fix Released
Undecided
Robert Gildein

Bug Description

For maintenance purposes, it'd be nice if there was an action to stop or start all instances on a hypervisor, i.e. equivalent to:

openstack server list --all --host HYPERVISOR_NAME -c ID -f value | xargs -n1 -iXX openstack server stop XX

Ideally it would return once all the VMs had either reached SHUTOFF or ACTIVE state.

Related branches

Felipe Reyes (freyes)
Changed in charm-nova-compute:
status: New → Triaged
importance: Undecided → Wishlist
tags: added: good-first-bug
Changed in charm-nova-compute:
assignee: nobody → Robert Gildein (rgildein)
Changed in charm-nova-compute:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-nova-compute (master)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on charm-nova-compute (master)

Change abandoned by "Robert Gildein <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/charm-nova-compute/+/835469
Reason: This action would manage non-charm owned cloud resources and is not wanted.

Changed in charm-nova-compute:
assignee: Robert Gildein (rgildein) → nobody
Revision history for this message
Liam Young (gnuoy) wrote (last edit ):

As per wider discussion and rgildeins comment, and the abandoning of https://review.opendev.org/c/openstack/charm-nova-compute/+/835469 marking this as won't fix in terms of nova-compute charm.

Changed in charm-nova-compute:
status: In Progress → Won't Fix
Changed in charm-cloudsupport:
status: New → In Progress
assignee: nobody → Robert Gildein (rgildein)
Eric Chen (eric-chen)
tags: added: bseng-126
Changed in charm-cloudsupport:
status: In Progress → Fix Committed
milestone: none → 22.10
Changed in charm-cloudsupport:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.