Add Keystone support to ironic.conf

Adds keystone support to ironic.conf for users
who intend to deploy bifrost utilizing keystone.

Additional changes will follow this change as changes are
required to additional components before documentation or
testing updates can be put in place.

Change-Id: I1f046a726c9e95ba591feb4a0d8a44a46566bc91
This commit is contained in:
Julia Kreger 2016-10-05 14:24:13 +00:00
parent 65dd1036dd
commit 345a62fd4e

View File

@ -20,7 +20,11 @@ debug = false
rabbit_userid = ironic
rabbit_password = {{ ironic_db_password }}
{% if enable_keystone is defined and enable_keystone | bool == true %}
auth_strategy = keystone
{% else %}
auth_strategy = noauth
{% endif %}
[pxe]
pxe_append_params = systemd.journald.forward_to_console=yes {{ extra_kernel_options | default('') }}
@ -64,3 +68,23 @@ use_web_server_for_images = true
[inspector]
enabled = true
{% endif %}
{% if enable_keystone is defined and enable_keystone | bool == true %}
[keystone]
region_name = {{ keystone.bootstrap.region_name | default('RegionOne')}}
[keystone_authtoken]
auth_plugin = password
auth_url = {{ ironic.service_catalog.auth_url }}
username = {{ ironic.service_catalog.username }}
password = {{ ironic.service_catalog.password }}
user_domain_id = default
project_name = {{ ironic.service_catalog.project_name }}
project_domain_id = default
[service_catalog]
auth_url = {{ ironic.service_catalog.auth_url }}
auth_type = password
tenant_name = {{ ironic.service_catalog.project_name }}
username = {{ ironic.service_catalog.username }}
password = {{ ironic.service_catalog.password }}
{% endif %}