Skip to content
Snippets Groups Projects
Commit c1ed80fe authored by Yotaro Konishi's avatar Yotaro Konishi
Browse files

Fix configuration for nova_compute_ironic

Currently nova.conf.j2 generates two compute_driver options for
nova_compute_ironic container like this:

compute_driver = ironic.IronicDriver
compute_driver = libvirt.LibvirtDriver

nova_compute_ironic container fails to start because the latter value
overrides the former one.

This patch fixes the issue recently introduced in [1].

[1] 63314ad6

Change-Id: Ibb661a5a594120be4195d331c38883c3b2886361
Closes-Bug: #1706534
parent 24c4e910
No related branches found
No related tags found
No related merge requests found
...@@ -28,9 +28,7 @@ log_file = /var/log/kolla/nova/nova-compute-ironic.log ...@@ -28,9 +28,7 @@ log_file = /var/log/kolla/nova/nova-compute-ironic.log
compute_driver = ironic.IronicDriver compute_driver = ironic.IronicDriver
ram_allocation_ratio = 1.0 ram_allocation_ratio = 1.0
reserved_host_memory_mb = 0 reserved_host_memory_mb = 0
{% endif %} {% elif enable_nova_fake | bool %}
{% if enable_nova_fake | bool %}
host = {{ ansible_hostname }}_{{ service_name }} host = {{ ansible_hostname }}_{{ service_name }}
compute_driver = fake.FakeDriver compute_driver = fake.FakeDriver
{% else %} {% else %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment