Skip to content

Instantly share code, notes, and snippets.

@gilangvperdana
Created July 2, 2022 13:51
Show Gist options
  • Save gilangvperdana/ae21791a71e9017626bdd289a81d8700 to your computer and use it in GitHub Desktop.
Save gilangvperdana/ae21791a71e9017626bdd289a81d8700 to your computer and use it in GitHub Desktop.
Openstack Auto Start Instance when Cluster Reboot

Auto Start Instance when Openstack Cluster Reboot

Execution

Add some configuration on nova.conf

sudo nano /etc/kolla/nova-compute/nova.conf
[DEFAULT]
resume_guests_state_on_host_boot = True
docker restart nova_compute

Make Instance auto-start with Virsh Client

apt install -y libvirt-clients
virsh list
virsh autostart instance-00000001

Verify with Reboot

shutdown -r now
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment