1

I have deployed Openstack queens for testing purposes. nova --version 14.2.0 I noticed that when I reboot a compute host, all VMs running on it turn into SHUTOFF state. I tried to change this behaviour by editing flavor metadata. I have added CIM_VSSD_AutomaticStartupAction property and have set it to the "Always startup" value, but no changes occur.

Is there any way to autostart a VM when compute node starts up?

3

1 Answer 1

1

Edit vi /etc/nova/nova.conf and set this to true

resume_guests_state_on_host_boot=true

then restart nova service

systemctl restart openstack-nova-compute
1
  • Note that the setting needs to be set on the compute nodes, not on the control nodes. Feb 24, 2020 at 7:10

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .