Browse Source

Add ability to set keystone region_name in magnum.conf

Adding the ability to set region_name in keystone_authtoken section of
magnum.conf in the same wqy as for other services. Defaulting to
magnum_service_region.

Change-Id: I7f7e184c5eec6489505a6492ed2786a27bae29ab
Closes-Bug: #1819380
mb 1 month ago
parent
commit
3c4952376d
2 changed files with 2 additions and 0 deletions
  1. 1
    0
      defaults/main.yml
  2. 1
    0
      templates/magnum.conf.j2

+ 1
- 0
defaults/main.yml View File

@@ -52,6 +52,7 @@ magnum_glance_service_region: "{{ magnum_service_region }}"
52 52
 magnum_heat_service_region: "{{ magnum_service_region }}"
53 53
 magnum_neutron_service_region: "{{ magnum_service_region }}"
54 54
 magnum_nova_service_region: "{{ magnum_service_region }}"
55
+magnum_keystone_service_region: "{{ magnum_service_region }}"
55 56
 magnum_bind_port: 9511
56 57
 magnum_service_publicuri_proto: http
57 58
 magnum_service_publicurl: "{{ magnum_service_publicuri_proto }}://{{ external_lb_vip_address }}:{{ magnum_bind_port }}"

+ 1
- 0
templates/magnum.conf.j2 View File

@@ -48,6 +48,7 @@ username = {{ magnum_service_user_name }}
48 48
 password = {{ magnum_service_password }}
49 49
 
50 50
 [keystone_authtoken]
51
+region_name = {{ magnum_keystone_service_region }}
51 52
 auth_uri = {{ keystone_service_publicurl }}
52 53
 www_authenticate_uri = {{ keystone_service_publicurl }}
53 54
 auth_version = v3

Loading…
Cancel
Save