← Back to team overview

openstack team mailing list archive

Re: [Netstack] Nova-Compute the VMs

 

As Matt said, you should use Openstack to suspend your vms by using Hoziron
interface or using nova-client:

$ nova suspend $INSTANCE_ID

If you ssh to instance and 'poweroff' it then the state on the Openstack
still Active.

On Tue, Aug 7, 2012 at 1:26 PM, Matt Joyce <matt.joyce@xxxxxxxxxxxxxxxx>wrote:

> point of clarity... it should figure out the vm is in a bad state
> eventually and list it as not running.
>
>
> On Mon, Aug 6, 2012 at 11:25 PM, Matt Joyce <matt.joyce@xxxxxxxxxxxxxxxx>wrote:
>
>> You are using virsh directly.  Don't do that.  Let openstack suspend
>> nodes.  Otherwise yes openstack will not know that you have decided to play
>> with virsh.
>>
>> On Mon, Aug 6, 2012 at 11:05 PM, Trinath Somanchi <
>> trinath.somanchi@xxxxxxxxx> wrote:
>>
>>> Hi-'
>>>
>>> I have been testing the openstack for past few days... and I have a
>>> doubt here...
>>>
>>> From the Horizon in the CONTROLLER, VMs are created in the NODE machine.
>>>
>>> Using the virsh console at the NODE machine, I have suspended the VM.
>>> But the same VM-STATE is not populated in the HORIZON.
>>>
>>>
>>> Does Nova-Compute in the NODE machine check for the status of the VMs
>>> and update the DB periodically??
>>>
>>> Help me understand the same...
>>>
>>>
>>>
>>>
>>> --
>>> Regards,
>>> ----------------------------------------------
>>> Trinath Somanchi,
>>> +91 9866 235 130
>>>
>>>
>>> --
>>> Mailing list: https://launchpad.net/~netstack
>>> Post to     : netstack@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~netstack
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Nguyen Son Tung
Cellphone: 0942312007
Skype: neophilo

References