diff options
author | Greg Retkowski <greg@rage.net> | 2016-08-05 17:18:14 -0700 |
---|---|---|
committer | Greg Retkowski <greg@rage.net> | 2016-08-06 15:16:20 -0700 |
commit | f7b8805c3aed5b5cef01176cc1d9136bd31125fb (patch) | |
tree | 91bea86c0f6d454e54b039655c6b4e1fe28e3e7f /etc | |
parent | 27544fd5b0cf3607bec0c51439e4d3647f2b5243 (diff) | |
download | trove-f7b8805c3aed5b5cef01176cc1d9136bd31125fb.tar.gz |
guest_id missing err, switch config_drive default
This changes the default setting for use_nova_server_config_drive
from False to True. By default, nova does not use a config
drive for launched instances. Therefore trove must implicitly
request the config drive be used so that it can inject
guest_info.conf into the guest VM.
This commit also adds an error to guestagent when guest_id
is missing. If the guest_id configuration parameter is not
set at guestagent startup it will throw a RuntimeError. This
case typically occurs because guest_info.conf was
not injected into the guest, or was not included in the set
of configs that guestagent reads at startup.
And finally, this commit adds a section in the 'building guest
images' documentation describing how configuration is injected
into the guest agent.
Change-Id: I084c841472183893a63ca7b70d560f44a2f08901
Partial-Bug: 1609915
Diffstat (limited to 'etc')
-rw-r--r-- | etc/trove/trove-taskmanager.conf.sample | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/trove/trove-taskmanager.conf.sample b/etc/trove/trove-taskmanager.conf.sample index 135fd8e6..69a64ff2 100644 --- a/etc/trove/trove-taskmanager.conf.sample +++ b/etc/trove/trove-taskmanager.conf.sample @@ -61,7 +61,7 @@ server_delete_time_out=480 # Nova server boot options # sets the --config-drive argument when doing a nova boot # (controls how file injection is handled by nova) -use_nova_server_config_drive = False +use_nova_server_config_drive = True # Configuration options for talking to nova via the novaclient. # These options are for an admin user in your keystone config. |