Last active
December 11, 2015 17:29
-
-
Save jkordish/4635019 to your computer and use it in GitHub Desktop.
#OpenStack start_guest_on_host_boot nova-compute bug See https://bugs.launchpad.net/nova/+bug/1081808 for more info
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add the following lines into /etc/nova/nova.conf | |
start_guests_on_host_boot=false | |
resume_guests_state_on_host_boot=true | |
Otherwise if you are using the RCBOPS cookbooks from https://github.com/rcbops-cookbooks/ you can do the following | |
---- | |
$ sudo -i | |
# knife exec -E '@e=Chef::Environment.load("rpcs"); \ | |
[email protected]_attributes; \ | |
a["nova"].merge!({"config" => {"start_guests_on_host_boot" => false}}); \ | |
@e.override_attributes(a); @e.save' | |
# knife exec -E '@e=Chef::Environment.load("rpcs"); \ | |
[email protected]_attributes; \ | |
a["nova"].merge!({"config" => {"resume_guests_state_on_host_boot" => true}}); \ | |
@e.override_attributes(a); @e.save' | |
#chef-client && chef-client | |
#service nova-compute restart | |
--- | |
Found the following worked way better | |
# knife exec -E '@e=Chef::Environment.load("rpcs"); \ | |
[email protected]_attributes; \ | |
a["nova"].merge!({"config" => {"start_guests_on_host_boot" => false, "resume_guests_state_on_host_boot" => true}}); \ | |
@e.override_attributes(a); @e.save' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment