Skip to content

Commit e83dc3c

Browse files
committed
Add project_name to nova/placement client config
With missing 'project_name' config in adoption jobs nova api service requests fails with [1] as the service users created[2] in adopted cloud don't have default_project_id set. And user is also not updated if it already exists[3]. It's not seen in the non-adoption jobs as users created have default_project_id set[4]. This patch explicitly set's the project_name config to resolve the issue. [1] keystoneauth1.exceptions.catalog.EmptyCatalog: The service catalog is empty [2] https://github.com/openstack-archive/tripleo-ansible/blob/stable/wallaby/tripleo_ansible/roles/tripleo_keystone_resources/tasks/users.yml#L40 [3] https://github.com/openstack-k8s-operators/lib-common/blob/719002a/modules/openstack/user.go#L55-L56 [4] https://github.com/openstack-k8s-operators/lib-common/blob/719002a/modules/openstack/user.go#L66 Related-Issue: OSPCIX-404
1 parent 3408a09 commit e83dc3c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

templates/neutronapi/config/01-neutron.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ auth_type = password
7171
project_domain_name = Default
7272
user_domain_name = Default
7373
region_name = regionOne
74+
project_name = service
7475
username = {{ .ServiceUser }}
7576
endpoint_type = internal
7677
password = {{ .ServicePassword }}
@@ -81,6 +82,7 @@ auth_type = password
8182
project_domain_name = Default
8283
user_domain_name = Default
8384
region_name = regionOne
85+
project_name = service
8486
username = {{ .ServiceUser }}
8587
endpoint_type = internal
8688
password = {{ .ServicePassword }}

0 commit comments

Comments
 (0)