[Openstack] Restart instances after node reboot

JuanFra Rodriguez Cardoso juanfra.rodriguez.cardoso at gmail.com
Mon Jun 30 08:43:33 UTC 2014


Hi Gonzalo:

The option you need to configure is 'resume_guests_state_on_host_boot' [1]

[1]
http://docs.openstack.org/icehouse/config-reference/content/list-of-compute-config-options.html


Best,
---
JuanFra Rodriguez Cardoso


2014-06-30 10:27 GMT+02:00 Gonzalo Aguilar Delgado <
gaguilar at aguilardelgado.com>:

>  Hi JuanFra,
>
>
> By the way, The start_guests_on_host_boot=true functionality has been
> removed in grizzly. I'm using Icehouse. So I suppose this will not work.
> Maybe with Heat or similar can be done, I have to investigate...
>
> Thank you for your feedback.
>
>
>
>
>  El 29/06/14 20:34, JuanFra Rodriguez Cardoso escribió:
>
>  Hi Gonzalo:
>
>  You may find the solution in:
> https://ask.openstack.org/en/question/5100/after-reboot-doesnt-run-guest
>
>  Regards,
>  ---
> JuanFra Rodriguez Cardoso
>
>
> 2014-06-29 19:36 GMT+02:00 Gonzalo Aguilar Delgado <
> gaguilar at aguilardelgado.com>:
>
>>  Hi,
>>
>> I just rode about ops in nodes reboot.
>>
>> http://docs.openstack.org/openstack-ops/content/maintenance.html
>>
>> I found that one of my nodes had a bug in openvswitch (I have to report
>> it) that made it to coredump. So I loose conectivity to this node everytime
>> it happens. Normally only solution is reboot the node.
>>
>> The problem is that after reboot all instances get shutdown. But I need
>> to reboot the instances that were up. The only way to do it now it's by
>> hand. So I must log to the cluster to do it.
>>
>> Is there any way to tell openstack to reboot anything that were up after
>> node recovers?
>>
>> Document says:
>>
>> nova list --host c01.example.com --all-tenantsnova reboot <uuid>
>>
>> This can be tedious if you have lots of instances...
>>
>>
>> Best regards.
>>
>> _______________________________________________
>> Mailing list:
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>> Post to     : openstack at lists.openstack.org
>> Unsubscribe :
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140630/e13e063b/attachment.html>


More information about the Openstack mailing list