Merge "Use ebtables-legacy on Ubuntu Focal"

This commit is contained in:
Zuul 2020-08-05 16:18:51 +00:00 committed by Gerrit Code Review
commit 24590a334f
4 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,5 @@
- hosts: all
roles:
# TODO(slaweq): remove it when nftables will support syntax for src and
# destination IP addresses in arp tables:
- legacy_ebtables

View File

@ -1,5 +1,8 @@
- hosts: all - hosts: all
roles: roles:
- ensure-tox - ensure-tox
# TODO(slaweq): remove it when nftables will support syntax for src and
# destination IP addresses in arp tables:
- legacy_ebtables
- setup_logdir - setup_logdir
- configure_functional_tests - configure_functional_tests

View File

@ -0,0 +1,16 @@
- name: Ensure legacy ebtables is installed
package:
name: 'ebtables'
state: latest
become: yes
- name: Switch to legacy ebtables
shell:
cmd: /usr/bin/update-alternatives --set ebtables /usr/sbin/ebtables-legacy
executable: /bin/bash
become: yes
when:
- ansible_facts['distribution_release'] == "focal"
- ansible_facts['distribution'] == "Ubuntu"

View File

@ -8,6 +8,7 @@
- openstack/devstack-gate - openstack/devstack-gate
- openstack/neutron - openstack/neutron
- openstack/tempest - openstack/tempest
pre-run: playbooks/configure_ebtables.yaml
vars: vars:
tempest_concurrency: 4 tempest_concurrency: 4
devstack_localrc: devstack_localrc: