[Openstack] [nova]Compute node restart

Gangur, Hrushikesh (R & D HP Cloud) hrushikesh.gangur at hp.com
Fri Jan 9 19:24:03 UTC 2015


Active/Running are nova states and that has to be reported by nova-compute service. If you had used nova stop <instance_uuid> before reboot, it will maintain that state. It is not real-time polling the status of nova instances when the service is not running (typically during reboot).

From: Ajay Kalambur (akalambu) [mailto:akalambu at cisco.com]
Sent: Friday, January 09, 2015 11:18 AM
To: Gangur, Hrushikesh (R & D HP Cloud); openstack at lists.openstack.org
Subject: Re: [Openstack] [nova]Compute node restart

I actually rebooted the compute node gracefully and took a few minutes to come up
During this time the controller reported the compute agent and network agent as down as expected. But issue is when a compute node is Down why during this interval VM is reported as Active and Running
After the compute node came back up the agents went back online. Throughput this whole test the VM showed Active/Running. I would expect it to transition to Shutoff and than to Active/Running once node is back up


From: <Gangur>, "Hrushikesh (R & D HP Cloud)" <hrushikesh.gangur at hp.com<mailto:hrushikesh.gangur at hp.com>>
Date: Friday, January 9, 2015 at 10:11 AM
To: akalambu <akalambu at cisco.com<mailto:akalambu at cisco.com>>, "openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>" <openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>>
Subject: RE: [Openstack] [nova]Compute node restart

I think this is the way it works, ajay. When a compute node is rebooted, whatever state the application VMs were in, the same state is brought back (based on a setting in nova.conf). Typically all the services come back normally (unlike in your case), and they bring up the VMs in to running state. In your case, the service did not come up, hence the status of the VMs could not be reported by the nova-compute service running on the suspect compute node. SO, the last state (before reboot) is reflected

From: Ajay Kalambur (akalambu) [mailto:akalambu at cisco.com]
Sent: Friday, January 09, 2015 9:06 AM
To: Ajay Kalambur (akalambu); openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>
Subject: Re: [Openstack] [nova]Compute node restart

Any comments

From: akalambu <akalambu at cisco.com<mailto:akalambu at cisco.com>>
Date: Thursday, January 8, 2015 at 4:18 PM
To: "openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>" <openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>>
Subject: [Openstack] [nova]Compute node restart

Hi
When a compute node is restarted I see that the controller reports the agents on these nodes as down I.e nova-compute and neutron-openvswitch-agent show down
However the application Vms on that compute node still show ACTIVE/RUNNING is this not supposed to be switched to SHUTOFF state?

Ajay

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150109/430bdc74/attachment.html>


More information about the Openstack mailing list