how do i keep vm running after compute reboot without controller accessability
Hi All i am using openstack Juno with Ubuntu controller/compute
there use cases when controller wont be accessible to compute ,
how do i keep the current compute nova/neutron state when such happen after i reboot the compute even if controller not accessible ? (that is keep the VMs active , keep the current neutron/ml2/ovs flows as they been )
post reboot if controller is accessible resume the VMs to active is via this nova.conf attribute
resume_guests_state_on_host_boot=true
thanks
The best practice is not to reboot compute nodes during controller connection outage window. You can restart a VM by using virsh if using qemu/kvm. The VM however might not be able to get its IP unless DHCP agent is also running on that compute node.