Specify cell0 db creation
authorAlex Schultz <aschultz@redhat.com>
Tue, 3 Jan 2017 20:14:03 +0000 (13:14 -0700)
committerAlex Schultz <aschultz@redhat.com>
Tue, 3 Jan 2017 20:14:03 +0000 (13:14 -0700)
This change pulls the hard coded value out of puppet-tripleo to later
allow people to skip the cell0 creation if they want a more complex cell
v2 setup for nova.

Change-Id: I08119d781ef60750cc19753bc03190e413159925
Related-Bug: #1649341

puppet/services/nova-base.yaml

index 9793c8e..850a1bd 100644 (file)
@@ -125,6 +125,10 @@ outputs:
           - nova::upgrade_level_compute: {get_param: UpgradeLevelNovaCompute}
       service_config_settings:
         mysql:
+          # NOTE(aschultz): this should be configurable if/when we support more
+          # complex cell v2 configurations. For now, this is the default cell
+          # created for the cell v2 configuration
+          nova::db::mysql_api::setup_cell0: true
           nova::rabbit_password: {get_param: RabbitPassword}
           nova::rabbit_userid: {get_param: RabbitUserName}
           nova::rabbit_use_ssl: {get_param: RabbitClientUseSSL}