Set keystone v3 config for watcher_clients_auth

Set user_domain_name, project_domain_name and
project_name under [watcher_clients_auth]. This
is required to communicate with keystone v3.

Also set watcher_client_auth_uri and auth_url to
keystone versioned endpoint.

Depends-On: https://review.openstack.org/#/c/642973/
Change-Id: I2657791467f4a4cc40c6b82c753268eed7398253
This commit is contained in:
yatin 2019-03-13 14:39:25 +05:30
parent ffafc73893
commit 37e30eab3b

View File

@ -59,10 +59,15 @@ class openstack_integration::watcher {
amqp_sasl_mechanisms => 'PLAIN',
}
class { '::watcher::api':
watcher_api_bind_host => $::openstack_integration::config::host,
watcher_client_password => 'a_big_secret',
upgrade_db => true,
service_name => 'httpd',
watcher_api_bind_host => $::openstack_integration::config::host,
watcher_client_password => 'a_big_secret',
watcher_client_project_domain_name => 'Default',
watcher_client_user_domain_name => 'Default',
watcher_client_project_name => 'services',
watcher_client_auth_uri => "${::openstack_integration::config::keystone_auth_uri}/v3",
watcher_client_auth_url => "${::openstack_integration::config::keystone_admin_uri}/v3",
upgrade_db => true,
service_name => 'httpd',
}
include ::apache
class { '::watcher::wsgi::apache':