summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Prince <dprince@redhat.com>2017-02-13 10:09:46 -0500
committerDan Prince <dprince@redhat.com>2017-02-13 10:09:46 -0500
commitc15009715bb855885214c9fd1228031f5baf0c09 (patch)
treecb5101cd5c78190c4a35eb6799ce6e43250ef014
parent5071359692f68e7153d181f3f9ceddbb38b6b5b6 (diff)
Configure authtoken in nova-placement api service
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
-rw-r--r--puppet/services/nova-placement.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/puppet/services/nova-placement.yaml b/puppet/services/nova-placement.yaml
index 82b83561..39dc4901 100644
--- a/puppet/services/nova-placement.yaml
+++ b/puppet/services/nova-placement.yaml
@@ -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