Pass nova rabbit information to mysql
authorAlex Schultz <aschultz@redhat.com>
Mon, 19 Dec 2016 16:23:33 +0000 (09:23 -0700)
committerAlex Schultz <aschultz@redhat.com>
Thu, 22 Dec 2016 20:54:13 +0000 (13:54 -0700)
The cell v2 setup requires the transport url for nova. We need to
provide mysql with the rabbit connection information so that it can it
when setting up the cell information.

Change-Id: I43ba77cd4c8da7c6dc117ab0bd53e5cd330dc3de
Related-Bug: #1649341

puppet/services/nova-base.yaml

index 20bf2e4..0538560 100644 (file)
@@ -123,3 +123,9 @@ outputs:
           - compute_upgrade_level_empty
           - {}
           - nova::upgrade_level_compute: {get_param: UpgradeLevelNovaCompute}
+      service_config_settings:
+        mysql:
+          nova::rabbit_password: {get_param: RabbitPassword}
+          nova::rabbit_userid: {get_param: RabbitUserName}
+          nova::rabbit_use_ssl: {get_param: RabbitClientUseSSL}
+          nova::rabbit_port: {get_param: RabbitClientPort}