Add config parameter for nova config drive

Nova config drive can be used to pass parameters and files to the
database instances. In cases where file injection cannot be used
by nova, trove can be configured to tell nova to use config drive
support instead. Nova will then use config drive to configure the
database instance.

Change-Id: I29c1d0e935603a849c2500b2f298b7a6fa84cb28
This commit is contained in:
Kyle L. Henderson 2017-10-13 07:44:07 -05:00
parent c48067bc55
commit 3413824166
3 changed files with 8 additions and 2 deletions

View File

@ -71,3 +71,9 @@ options:
description: |
List of IDs for management networks which should be attached to the
instance regardless of what NICs are specified in the create API call.
use-nova-server-config-drive:
default: False
type: boolean
description: |
Nova config drive will be used with cloud-init to inject parameters and
files into the database instances.

View File

@ -62,7 +62,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 = {{ options.use_nova_server_config_drive }}
# ================= Guestagent related ========================
guest_config = /etc/trove/conf.d/trove-guestagent.conf

View File

@ -59,7 +59,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 = {{ options.use_nova_server_config_drive }}
# ================= Guestagent related ========================
guest_config = /etc/trove/conf.d/trove-guestagent.conf