Make PHYSICAL_INTERFACE_MAPPINGS variable...
instead of just one provuider interface. it should contain something like: physnet2:eth1,physnet3:eth2
This commit is contained in:
parent
4f2281bda2
commit
929b542410
4
hosts
4
hosts
@ -34,7 +34,7 @@ openstack01-node03
|
||||
#run_options="-e CASSANDRA_SEEDS=172.23.41.1"
|
||||
|
||||
[neutron-controller]
|
||||
openstack01-node01 provider_interface_name=ens192
|
||||
openstack01-node01 physical_interface_mappings=provider:ens192
|
||||
|
||||
[nova-controller]
|
||||
openstack01-node03
|
||||
@ -46,4 +46,4 @@ openstack01-node03
|
||||
openstack01-node01 storage_volume=/dev/loop0
|
||||
|
||||
[nova-compute]
|
||||
openstack01-node04 provider_interface_name=dummy0
|
||||
openstack01-node04 physical_interface_mappings=provider:dummy0
|
||||
|
@ -30,7 +30,7 @@
|
||||
-e "NOVA_PLACEMENT_PASSWORD={{ secrets['NOVA_PLACEMENT_PASSWORD'] }}"
|
||||
-e "NOVA_PLACEMENT_USER=placement"
|
||||
-e "OS_PASSWORD={{ secrets['OS_PASSWORD'] }}"
|
||||
-e "PROVIDER_INTERFACE_NAME={{ provider_interface_name }}"
|
||||
-e "PHYSICAL_INTERFACE_MAPPINGS={{ physical_interface_mappings }}"
|
||||
-e "RABBIT_PASSWORD={{ secrets['RABBIT_PASSWORD'] }}"
|
||||
-e "RABBIT_USER=openstack"
|
||||
tags: env
|
||||
|
@ -26,7 +26,7 @@ ExecStart=/usr/bin/docker run --name %n \
|
||||
-e "NOVA_PLACEMENT_USER=placement" \
|
||||
-e "NOVA_USER=nova" \
|
||||
-e "OS_PASSWORD={{ secrets['OS_PASSWORD'] }}" \
|
||||
-e "PROVIDER_INTERFACE_NAME={{ provider_interface_name }}" \
|
||||
-e "PHYSICAL_INTERFACE_MAPPINGS={{ physical_interface_mappings }}" \
|
||||
-e "RABBIT_HOST={{ hostvars[groups['rabbitmq'][0]]['listen_ip'] | default(hostvars[groups['rabbitmq'][0]]['ansible_default_ipv4']['address']) }}" \
|
||||
-e "RABBIT_PASSWORD={{ secrets['RABBIT_PASSWORD'] }}" \
|
||||
-e "RABBIT_USER=openstack" \
|
||||
|
@ -19,10 +19,10 @@ ansible-test-3
|
||||
ansible-test-3
|
||||
|
||||
[neutron-controller]
|
||||
ansible-test provider_interface_name=ens10
|
||||
ansible-test physical_interface_mappings=provider:ens10
|
||||
|
||||
[nova-controller]
|
||||
ansible-test
|
||||
|
||||
[nova-compute]
|
||||
ansible-test-2 provider_interface_name=ens10
|
||||
ansible-test-2 physical_interface_mappings=provider:ens10
|
||||
|
Loading…
Reference in New Issue
Block a user