File tree Expand file tree Collapse file tree 4 files changed +34
-4
lines changed
doc/source/reference/bare-metal Expand file tree Collapse file tree 4 files changed +34
-4
lines changed Original file line number Diff line number Diff line change @@ -286,6 +286,7 @@ ironic_enabled_notification_topics: "{{ ironic_notification_topics | selectattr(
286
286
# ###################
287
287
# Keystone
288
288
# ###################
289
+ ironic_enable_keystone_integration : " {{ enable_keystone | bool }}"
289
290
ironic_ks_services :
290
291
- name : " ironic"
291
292
type : " baremetal"
Original file line number Diff line number Diff line change 6
6
# suppressed by the deployer by setting a value for the option.
7
7
8
8
[DEFAULT]
9
- {% if not enable_keystone | bool %}
9
+ {% if not ironic_enable_keystone_integration | bool %}
10
10
auth_strategy = noauth
11
11
{% endif %}
12
12
debug = {{ ironic_logging_debug }}
@@ -52,7 +52,7 @@ connection_recycle_time = {{ database_connection_recycle_time }}
52
52
max_pool_size = {{ database_max_pool_size }}
53
53
max_retries = -1
54
54
55
- {% if enable_keystone | bool %}
55
+ {% if ironic_enable_keystone_integration | bool %}
56
56
[keystone_authtoken]
57
57
www_authenticate_uri = {{ keystone_internal_url }}
58
58
auth_url = {{ keystone_admin_url }}
@@ -143,7 +143,7 @@ cafile = {{ openstack_cacert }}
143
143
{% endif %}
144
144
145
145
[inspector]
146
- {% if enable_keystone | bool %}
146
+ {% if ironic_enable_keystone_integration | bool %}
147
147
auth_url = {{ keystone_admin_url }}
148
148
auth_type = password
149
149
project_domain_id = default
@@ -160,7 +160,7 @@ endpoint_override = {{ ironic_inspector_internal_endpoint }}
160
160
{% endif %}
161
161
162
162
[service_catalog]
163
- {% if enable_keystone | bool %}
163
+ {% if ironic_enable_keystone_integration | bool %}
164
164
auth_url = {{ keystone_admin_url }}
165
165
auth_type = password
166
166
project_domain_id = default
Original file line number Diff line number Diff line change @@ -94,6 +94,28 @@ The following changes will occur if iPXE booting is enabled:
94
94
environment. You may also boot directly to iPXE by some other means e.g by
95
95
burning it to the option rom of your ethernet card.
96
96
97
+ Attach ironic to external keystone (optional)
98
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
99
+ In :kolla-ansible-doc: `multi-regional <user/multi-regions.html> ` deployment
100
+ keystone could be installed in one region (let's say region 1) and ironic -
101
+ in another region (let's say region 2). In this case we don't install keystone
102
+ together with ironic in region 2, but have to configure ironic to connect to
103
+ existing keystone in region 1. To deploy ironic in this way we have to set
104
+ variable ``enable_keystone `` to ``"no" ``.
105
+
106
+ .. code-block :: yaml
107
+
108
+ enable_keystone : " no"
109
+
110
+ It will prevent keystone from being installed in region 2.
111
+
112
+ To add keystone-related sections in ironic.conf, it is also needed to set
113
+ variable ``ironic_enable_keystone_integration `` to ``"yes" ``
114
+
115
+ .. code-block :: yaml
116
+
117
+ ironic_enable_keystone_integration : " yes"
118
+
97
119
Deployment
98
120
~~~~~~~~~~
99
121
Run the deploy as usual:
Original file line number Diff line number Diff line change
1
+ ---
2
+ features :
3
+ - |
4
+ New variable ``ironic_enable_keystone_integration`` was added.
5
+ It helps to add keystone connection information into
6
+ ``ironic.conf`` if we want to connect to existing keystone
7
+ (not installing it at the same time).
You can’t perform that action at this time.
0 commit comments