zun: set configuration where compute host shared with nova

This ensures that only one record is generated in placement
for each compute host when both Nova and Zun run alongside
each other.

Change-Id: Ie5c741d47d114222934ad01097710fa8dc56dd4c
This commit is contained in:
Andrew Bonney 2020-12-02 15:54:58 +00:00 committed by Dmitriy Rabotyagov
parent a442926158
commit 83c4435950

View File

@ -119,6 +119,10 @@ driver_list = cinder,local
volume_dir = /var/lib/{{ zun_system_user_name }}/volumes
[compute]
host_shared_with_nova = {{ inventory_hostname in groups['nova_compute'] }}
[websocket_proxy]
wsproxy_host = 0.0.0.0
wsproxy_port = 6784