Fix nova fake driver support
Recent code updates[1][2] broke the support for nova fake drivers. in [1], nova_services dict is introduce but the change is not refected in nova.conf.j2[3] when dealing with its elements. in [2], two typos make neutron handlers to fail. [1]: https://review.openstack.org/#/c/407416/ [2]: https://review.openstack.org/#/c/424504/ [3]: https://github.com/openstack/kolla-ansible/blob/master/ansible/roles/nova/templates/nova.conf.j2#L35 Change-Id: Ie32c76c4c902f1d95a1b4c97f8cbdb7ab101e48b Closes-bug: #1695218
This commit is contained in:
parent
e972a45d99
commit
8e9cd4d278
@ -73,7 +73,7 @@
|
||||
with_sequence: "start=1 end={{ num_nova_fake_per_node }}"
|
||||
when:
|
||||
- action != "config"
|
||||
- enabled_nova_fake | bool
|
||||
- enable_nova_fake | bool
|
||||
- neutron_plugin_agent == "openvswitch"
|
||||
- inventory_hostname in groups["compute"]
|
||||
- fake_config_json | changed
|
||||
@ -100,7 +100,7 @@
|
||||
with_sequence: "start=1 end={{ num_nova_fake_per_node }}"
|
||||
when:
|
||||
- action != "config"
|
||||
- enabled_nova_fake | bool
|
||||
- enable_nova_fake | bool
|
||||
- neutron_plugin_agent == "sfc"
|
||||
- inventory_hostname in groups["compute"]
|
||||
- fake_config_json | changed
|
||||
|
@ -32,7 +32,7 @@ scheduler_default_filters = RetryFilter,AvailabilityZoneFilter,ComputeFilter,Com
|
||||
{% if orchestration_engine == 'KUBERNETES' %}
|
||||
host = empty
|
||||
{% else %}
|
||||
host = {{ ansible_hostname }}_{{ item }}
|
||||
host = {{ ansible_hostname }}_{{ service_name }}
|
||||
{% endif %}
|
||||
compute_driver = fake.FakeDriver
|
||||
{% else %}
|
||||
|
Loading…
Reference in New Issue
Block a user