Fix domain setting for Barbican during bootstrap
Barbican returns "503 Service Unavailable" during bootstrap phase of StarlingX. This happens because Keystone auth token lacks domain details for Barbican. Need to explicitly specify project_domain_name and user_domain_name in Barbican config. Change-Id: I4bf6b275c1eb271b62a2e7a1bc72c049f193afc4 Closes-bug: 1834670 Signed-off-by: Alex Kozyrev <alex.kozyrev@windriver.com>
This commit is contained in:
parent
62d55a096a
commit
96ecfd2542
@ -140,6 +140,9 @@ class openstack::barbican::bootstrap
|
||||
}
|
||||
class { '::barbican::keystone::authtoken':
|
||||
auth_url => 'http://localhost:5000',
|
||||
project_name => 'services',
|
||||
user_domain_name => 'Default',
|
||||
project_domain_name => 'Default',
|
||||
}
|
||||
|
||||
$bu_name = $::barbican::keystone::auth::auth_name
|
||||
|
@ -335,11 +335,7 @@ class openstack::keystone::endpoint::runtime {
|
||||
include ::patching::keystone::auth
|
||||
include ::nfv::keystone::auth
|
||||
include ::fm::keystone::auth
|
||||
|
||||
include ::openstack::barbican::params
|
||||
if $::openstack::barbican::params::service_enabled {
|
||||
include ::barbican::keystone::auth
|
||||
}
|
||||
|
||||
if $::platform::params::distributed_cloud_role =='systemcontroller' {
|
||||
include ::dcorch::keystone::auth
|
||||
|
Loading…
Reference in New Issue
Block a user