From 0e11de618e199b55194dcc686b365dcd5aaeb66a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Harald=20Jens=C3=A5s?= Date: Wed, 5 Jun 2019 15:20:57 +0200 Subject: [PATCH] Configure Neutron API for Nova Placement... MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ...to store Keystone authentication credentials. When the Neutron Routed Provider Networks feature is used in the overcloud, the Networking service will use those credentials to communicate with the Compute scheduler's placement API. See for details: https://docs.openstack.org/neutron/latest/admin/config-routed-networks.html#example-configuration Authored-By: Bogdan Dobrelya Co-Authored-By: Harald Jensås Closes-Bug: #1831745 Related-blueprint: tripleo-routed-networks-deployment Change-Id: I60e4fe26a67be2c5f74b605d076efdaddcbce5ca --- deployment/neutron/neutron-api-container-puppet.yaml | 10 ++++++++++ .../notes/neutron-placement-6ea6de89bd30b592.yaml | 8 ++++++++ 2 files changed, 18 insertions(+) create mode 100644 releasenotes/notes/neutron-placement-6ea6de89bd30b592.yaml diff --git a/deployment/neutron/neutron-api-container-puppet.yaml b/deployment/neutron/neutron-api-container-puppet.yaml index 39bf22c682..c6f0d12c95 100644 --- a/deployment/neutron/neutron-api-container-puppet.yaml +++ b/deployment/neutron/neutron-api-container-puppet.yaml @@ -297,6 +297,16 @@ outputs: neutron::db::mysql::allowed_hosts: - '%' - "%{hiera('mysql_bind_host')}" + placement: + neutron::server::placement::www_authenticate_uri: {get_param: [EndpointMap, KeystoneInternal, uri_no_suffix]} + neutron::server::placement::project_domain_name: 'Default' + neutron::server::placement::project_name: 'service' + neutron::server::placement::user_domain_name: 'Default' + neutron::server::placement::password: {get_param: NovaPassword} + neutron::server::placement::username: nova + neutron::server::placement::auth_url: {get_param: [EndpointMap, KeystoneInternal, uri_no_suffix]} + neutron::server::placement::auth_type: 'password' + neutron::server::placement::region_name: {get_param: KeystoneRegion} # BEGIN DOCKER SETTINGS puppet_config: config_volume: neutron diff --git a/releasenotes/notes/neutron-placement-6ea6de89bd30b592.yaml b/releasenotes/notes/neutron-placement-6ea6de89bd30b592.yaml new file mode 100644 index 0000000000..e0e489665b --- /dev/null +++ b/releasenotes/notes/neutron-placement-6ea6de89bd30b592.yaml @@ -0,0 +1,8 @@ +--- +features: + - | + Configure Neutron API for Nova Placement When the Neutron Routed Provider + Networks feature is used in the overcloud, the Networking service will use + those credentials to communicate with the Compute scheduler's placement + API. +