[Openstack-operators] Auto start running Nova Instances after reboot

2016-09-19 Thread Davíð Örn Jóhannsson
Ubuntu 14.04
OpenStack Liberty

I’m looking for a way to ensure running instances are started on a host after 
reboot, I’ve seen a way to do this for RHEL and CentOs by using 
/etc/sysconfig/libvirt-guests but it is not available on Ubuntu as far as I 
know.
___
OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators


Re: [Openstack-operators] Auto start running Nova Instances after reboot

2016-09-19 Thread Tobias Urdin
Hello,

On your compute nodes in nova.conf

[DEFAULT]

resume_guests_state_on_host_boot = True


All instances that had a running state when the reboot occured will be started 
again.

Best regards

On 09/19/2016 03:20 PM, Davíð Örn Jóhannsson wrote:
Ubuntu 14.04
OpenStack Liberty

I'm looking for a way to ensure running instances are started on a host after 
reboot, I've seen a way to do this for RHEL and CentOs by using 
/etc/sysconfig/libvirt-guests but it is not available on Ubuntu as far as I 
know.

___
OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators


Re: [Openstack-operators] Auto start running Nova Instances after reboot

2016-09-19 Thread Matt Fischer
On Mon, Sep 19, 2016 at 7:29 AM, Tobias Urdin 
wrote:

> Hello,
>
> On your compute nodes in nova.conf
>
> [DEFAULT]
>
> resume_guests_state_on_host_boot = True
>
>
> All instances that had a running state when the reboot occured will be
> started again.
>
> Best regards
>

And this works regardless of the operating system, we use it on Ubuntu.
___
OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators