CI: Replace dummy interface (fake for neutron external) with VXLAN
This allows for some real testing, especially in a multinode environment. Change-Id: Ic96819fefe460e14c8460e52a78d9b0d034edc80
This commit is contained in:
parent
ae41287129
commit
4ac7f6f3a0
@ -10,9 +10,6 @@ export PYTHONUNBUFFERED=1
|
|||||||
function deploy {
|
function deploy {
|
||||||
RAW_INVENTORY=/etc/kolla/inventory
|
RAW_INVENTORY=/etc/kolla/inventory
|
||||||
|
|
||||||
# Create dummy interface for neutron
|
|
||||||
ansible -m shell -i ${RAW_INVENTORY} -b -a "ip l a fake_interface type dummy" all
|
|
||||||
|
|
||||||
#TODO(inc0): Post-deploy complains that /etc/kolla is not writable. Probably we need to include become there
|
#TODO(inc0): Post-deploy complains that /etc/kolla is not writable. Probably we need to include become there
|
||||||
sudo chmod -R 777 /etc/kolla
|
sudo chmod -R 777 /etc/kolla
|
||||||
# generate self-signed certificates for the optional internal TLS tests
|
# generate self-signed certificates for the optional internal TLS tests
|
||||||
|
@ -9,13 +9,17 @@
|
|||||||
- role: multi-node-vxlan-overlay
|
- role: multi-node-vxlan-overlay
|
||||||
vars:
|
vars:
|
||||||
vxlan_interface_name: "{{ api_interface_name }}"
|
vxlan_interface_name: "{{ api_interface_name }}"
|
||||||
vxlan_vni: 10001
|
vxlan_vni: 10000
|
||||||
- role: multi-node-managed-addressing
|
- role: multi-node-managed-addressing
|
||||||
vars:
|
vars:
|
||||||
managed_interface_name: "{{ api_interface_name }}"
|
managed_interface_name: "{{ api_interface_name }}"
|
||||||
managed_network_prefix: "{{ api_network_prefix }}"
|
managed_network_prefix: "{{ api_network_prefix }}"
|
||||||
managed_network_prefix_length: "{{ api_network_prefix_length }}"
|
managed_network_prefix_length: "{{ api_network_prefix_length }}"
|
||||||
managed_network_address_family: "{{ address_family }}"
|
managed_network_address_family: "{{ address_family }}"
|
||||||
|
- role: multi-node-vxlan-overlay
|
||||||
|
vars:
|
||||||
|
vxlan_interface_name: "{{ neutron_external_interface_name }}"
|
||||||
|
vxlan_vni: 10001
|
||||||
tasks:
|
tasks:
|
||||||
- name: Ensure /tmp/logs/ dir
|
- name: Ensure /tmp/logs/ dir
|
||||||
file:
|
file:
|
||||||
|
@ -29,7 +29,7 @@ enable_heat: "{{ openstack_core_tested }}"
|
|||||||
|
|
||||||
{% if scenario != 'bifrost' %}
|
{% if scenario != 'bifrost' %}
|
||||||
kolla_internal_vip_address: "{{ kolla_internal_vip_address }}"
|
kolla_internal_vip_address: "{{ kolla_internal_vip_address }}"
|
||||||
neutron_external_interface: "fake_interface"
|
neutron_external_interface: "{{ neutron_external_interface_name }}"
|
||||||
openstack_logging_debug: "True"
|
openstack_logging_debug: "True"
|
||||||
openstack_service_workers: "1"
|
openstack_service_workers: "1"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -32,6 +32,7 @@
|
|||||||
api_interface_name: vxlan0
|
api_interface_name: vxlan0
|
||||||
kolla_internal_vip_address: "192.0.2.10"
|
kolla_internal_vip_address: "192.0.2.10"
|
||||||
address_family: 'ipv4'
|
address_family: 'ipv4'
|
||||||
|
neutron_external_interface_name: vxlan1
|
||||||
tls_enabled: false
|
tls_enabled: false
|
||||||
roles:
|
roles:
|
||||||
- zuul: zuul/zuul-jobs
|
- zuul: zuul/zuul-jobs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user