openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #19496
Re: instance is stopped automatically
3141 elif vm_state == vm_states.ACTIVE:
3142 # The only rational power state should be RUNNING
3143 if vm_power_state in (power_state.NOSTATE,
3144 power_state.SHUTDOWN,
3145 power_state.CRASHED):
3146 LOG.warn(_("Instance shutdown by itself. Calling "
3147 "the stop API."), instance=db_instance)
3148 try:
3149 # Note(maoy): here we call the API instead of
3150 # brutally updating the vm_state in the database
3151 # to allow all the hooks and checks to be performed.
3152 self.compute_api.stop(context, db_instance)
Your hypervisor is reporting NOSTATE SHUTDOWN or CRASHED. You should look at the hypervisor to find out what might be causing the guest to shutdown or crash.
Vish
On Dec 13, 2012, at 4:49 AM, 韦远科 <weiyuanke123@xxxxxxxxx> wrote:
> hi all,
>
> I installed openstack(Folsom) on ubuntu 12.04. Everythiong seems to be ok. instance can be started, but after sometime the instance will automatically stopped.
>
> in the log:
> DEBUG:nova.openstack.common.rpc.amqp:received {u'_context_roles': [u'admin'], u'_context_request_id': u'req-035e4954-94fd-4050-bccf-4b87de89366a', ... ... u'_context_timestamp': u'2012-12-13T12:37:29.488625', u'_context_read_deleted': u'no', u'_context_user_id': None, u'method': u'stop_instance', u'_context_remote_address': None}
>
>
> what might be the problem?
> 3ks
>
> wei
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp
References