File tree Expand file tree Collapse file tree 3 files changed +14
-15
lines changed Expand file tree Collapse file tree 3 files changed +14
-15
lines changed Original file line number Diff line number Diff line change @@ -146,6 +146,13 @@ octavia_ks_users:
146
146
user : " {{ octavia_keystone_user }}"
147
147
password : " {{ octavia_keystone_password }}"
148
148
role : " admin"
149
+ # NOTE(mgoddard): The default for the service auth project is service, but
150
+ # may be customised. Ensure the project exists, and assign the octavia user
151
+ # the admin role in it.
152
+ - project : " {{ octavia_service_auth_project }}"
153
+ user : " {{ octavia_keystone_user }}"
154
+ password : " {{ octavia_keystone_password }}"
155
+ role : " admin"
149
156
150
157
# ###################
151
158
# Kolla
Original file line number Diff line number Diff line change 6
6
service_ks_register_services : " {{ octavia_ks_services }}"
7
7
service_ks_register_users : " {{ octavia_ks_users }}"
8
8
9
- - name : " Adding admin role to octavia user in {{ octavia_service_auth_project }} project"
10
- become : true
11
- kolla_toolbox :
12
- module_name : " os_user_role"
13
- module_args :
14
- user : " {{ octavia_keystone_user }}"
15
- role : admin
16
- project : " {{ octavia_service_auth_project }}"
17
- auth : " {{ openstack_octavia_auth }}"
18
- endpoint_type : " {{ openstack_interface }}"
19
- cacert : " {{ openstack_cacert }}"
20
- region_name : " {{ openstack_region_name }}"
21
- run_once : True
22
- when : octavia_service_auth_project != 'service'
23
-
24
9
- name : Adding octavia related roles
25
10
become : true
26
11
kolla_toolbox :
Original file line number Diff line number Diff line change
1
+ ---
2
+ fixes :
3
+ - |
4
+ Fixes an issue with Octavia deployment when using a custom service auth
5
+ project. If ``octavia_service_auth_project`` is set to a project that does
6
+ not exist, Octavia deployment would fail. The project is now created.
7
+ `LP#1922100 <https://bugs.launchpad.net/kolla-ansible/+bug/1922100>`__
You can’t perform that action at this time.
0 commit comments