Configure authtoken in nova-placement api service
authorDan Prince <dprince@redhat.com>
Mon, 13 Feb 2017 15:09:46 +0000 (10:09 -0500)
committerDan Prince <dprince@redhat.com>
Mon, 13 Feb 2017 15:09:46 +0000 (10:09 -0500)
Without this the Nova Placement API fails when
isolated from Nova API or when used in a docker
container.

Change-Id: I7d3c823cca1978ae5ad8dc37357e9c5b2ad5bfc5
Depends-On: I7b38ab6ba5cae41689ac500d97dec4d09c73d387

puppet/services/nova-placement.yaml

index 82b8356..39dc490 100644 (file)
@@ -79,6 +79,10 @@ outputs:
               dport:
                 - 8778
                 - 13778
+          nova::keystone::authtoken::project_name: 'service'
+          nova::keystone::authtoken::password: {get_param: NovaPassword}
+          nova::keystone::authtoken::auth_uri: {get_param: [EndpointMap, KeystoneInternal, uri] }
+          nova::keystone::authtoken::auth_url: {get_param: [EndpointMap, KeystoneAdmin, uri_no_suffix]}
           nova::wsgi::apache_placement::api_port: '8778'
           nova::wsgi::apache_placement::ssl: {get_param: EnableInternalTLS}
           # NOTE: bind IP is found in Heat replacing the network name with the local node IP