Bug 1294771

Summary: [RFE][UX] nova instances are stuck in reboot state, no indication that the host was deleted
Product: Red Hat OpenStack Reporter: Udi Kalifon <ukalifon>
Component: openstack-novaAssignee: Eoghan Glynn <eglynn>
Status: CLOSED DUPLICATE QA Contact: nlevinki <nlevinki>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.0 (Liberty)CC: berrange, dasmith, eglynn, kchamart, ndipanov, sbauza, sferdjao, sgordon, vromanso, yeylon
Target Milestone: ---Keywords: FutureFeature
Target Release: 8.0 (Liberty)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-02 19:33:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Udi Kalifon 2015-12-30 09:02:09 UTC
Description of problem:
I scaled down a cloud without migrating all instances first, and some nova instances became unreachable. Nova doesn't indicate what's wrong, and still displays the nodes as running.

Trying to reboot or stop the instances will result in those instances getting stuck in rebooting or powering-off state forever. The only possible thing to do is to delete the instances.

Nova should indicate that the nodes are defunct, and not continue and display the nodes as running.


Version-Release number of selected component (if applicable):
openstack-nova-common-12.0.0-2.el7ost.noarch
openstack-nova-compute-12.0.0-2.el7ost.noarch
openstack-nova-api-12.0.0-2.el7ost.noarch


How reproducible:
100%


Steps to Reproduce:
1. Deploy an overcloud with more than 1 compute node
2. Start a few instances and make sure that there are instances hosted on the last compute node(s)
3. Scale down the cloud so the last compute node(s) will be deleted
4. Try to reboot or power down the instances that lived on the deleted hosts


Actual results:
The operation is stuck


Expected results:
Nova should detect that the host doesn't exist any more, and not let instances get stuck like that in powering-off or rebooting state.

Comment 2 Stephen Gordon 2016-02-02 19:33:55 UTC

*** This bug has been marked as a duplicate of bug 1238592 ***