Update ironic auth options for Keystone v3 auth
The auth parameters `admin_username`, `admin_password`, `admin_tenant_name` and `admin_url` of the [ironic] config option group are now deprecated and will be removed in a future release. Using these parameters will log a warning. Please use `username`, `password`, `project_name `and `auth_url` instead. Update ironic auth options for Keystone v3 API support. The link[1] can explain. http://git.openstack.org/cgit/openstack/nova/tree/nova/conf/ironic.py#n38 Change-Id: I33f3cb1b52a8c69b7a2711b47662b02967a74265
This commit is contained in:
ZhongShengping
committed by
Jesse Pretorius (odyssey4me)
parent
b838299a53
commit
81aee820b5
1 changed files with 9 additions and 5 deletions
@@ -251,12 +251,16 @@ rabbit_use_ssl = {{ nova_rabbitmq_use_ssl }}
{% if nova_virt_type == 'ironic' %}
[ironic]
# TODO(mrda): These should be changed to support the Keystone v3 API
admin_username = {{ ironic_service_name }}
admin_password = {{ ironic_service_password }}
admin_tenant_name = {{ ironic_service_project_name }}
admin_url = {{ keystone_service_adminuri }}/v2.0
username = {{ ironic_service_name }}
password = {{ ironic_service_password }}
project_name = {{ ironic_service_project_name }}
user_domain_name = {{ ironic_service_domain_name | default("Default") }}
project_domain_name = {{ ironic_service_domain_name | default("Default") }}
auth_url = {{ keystone_service_adminurl }}
insecure = {{ keystone_service_adminuri_insecure | bool }}
api_endpoint = {{ ironic_service_adminurl }}
auth_type = {{ ironic_keystone_auth_plugin }}
{% endif %}
{% if nova_virt_type in ['kvm', 'qemu', 'xen'] %}
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.