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:[email protected]]
Sent: Friday, January 09, 2015 11:18 AM
To: Gangur, Hrushikesh (R & D HP Cloud); [email protected]
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)" 
<[email protected]<mailto:[email protected]>>
Date: Friday, January 9, 2015 at 10:11 AM
To: akalambu <[email protected]<mailto:[email protected]>>, 
"[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
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:[email protected]]
Sent: Friday, January 09, 2015 9:06 AM
To: Ajay Kalambur (akalambu); 
[email protected]<mailto:[email protected]>
Subject: Re: [Openstack] [nova]Compute node restart

Any comments

From: akalambu <[email protected]<mailto:[email protected]>>
Date: Thursday, January 8, 2015 at 4:18 PM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
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

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to