Fix ironic configuration for new oslo messaging

New version of oslo messaging has deprecated some
ironic parameters like most rabbit_*.
This patchset fixes this issue but remains compatible
with former versions.

Change-Id: Ia8ede2c853626251613b9c700cf173b62b79ba71
(cherry picked from commit 5a688a0110)
This commit is contained in:
Olivier Bourdon 2018-10-10 18:22:48 +02:00 committed by Xing Zhang
parent 37bf890e7b
commit 1ea45d1e7a
1 changed files with 1 additions and 2 deletions

View File

@ -21,8 +21,7 @@ enabled_power_interfaces = {{ enabled_power_interfaces }}
enabled_hardware_types = {{ enabled_hardware_types }}
rabbit_userid = ironic
rabbit_password = {{ ironic_db_password }}
transport_url = rabbit://ironic:{{ironic_db_password }}@{{ message_queue_host | default('127.0.0.1') }}:{{ message_queue_port | default('5672') }}/{{ rabbit_virtual_host | default('') }}
{% if enable_keystone is defined and enable_keystone | bool == true %}
auth_strategy = keystone