CentOS 8 support
* Support Python 3 * Use Open vSwitch from Delorean master in CI * Add a tenks-deploy-teardown-centos8 CI job Depends-On: https://github.com/stackhpc/ansible-role-libvirt-host/pull/26 Depends-On: https://github.com/stackhpc/ansible-role-libvirt-vm/pull/53 Change-Id: Ibd504389523bf1197aa5f7c3e9ef6cad8966ddc2
This commit is contained in:
parent
512174a828
commit
042fcb4754
|
@ -4,7 +4,7 @@
|
|||
physnet_mappings: {}
|
||||
|
||||
system_requirements:
|
||||
- python-virtualenv
|
||||
- "python{% if ansible_python.version.major == 3 %}3{% endif %}-virtualenv"
|
||||
|
||||
# Naming scheme for bridges created by tenks for physical networks is
|
||||
# {{ bridge_prefix + i }}, where `i` is the index of the physical network in
|
||||
|
|
|
@ -87,7 +87,7 @@
|
|||
--{{ iface }}-interface {{ node.ironic_config[iface + '_interface'] }}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% for key, val in properties.iteritems() %}
|
||||
{% for key, val in properties.items() %}
|
||||
--property '{{ key }}={{ val }}'
|
||||
{% endfor %}
|
||||
vars:
|
||||
|
|
|
@ -28,7 +28,30 @@
|
|||
- name: Install Open vSwitch
|
||||
include_role:
|
||||
name: fkautz.openvswitch-install
|
||||
when: ansible_os_family == "RedHat"
|
||||
when:
|
||||
- ansible_os_family == "RedHat"
|
||||
- ansible_distribution_major_version is version(8, '<')
|
||||
|
||||
- block:
|
||||
- name: Install the Delorean repositories
|
||||
get_url:
|
||||
url: "{{ item }}"
|
||||
dest: /etc/yum.repos.d/
|
||||
with_items:
|
||||
- https://trunk.rdoproject.org/centos8-master/consistent/delorean.repo
|
||||
- https://trunk.rdoproject.org/centos8-master/delorean-deps.repo
|
||||
|
||||
- name: Install Open vSwitch
|
||||
package:
|
||||
name: openvswitch
|
||||
|
||||
- name: Start openvswitch service
|
||||
service:
|
||||
name: openvswitch
|
||||
state: started
|
||||
when:
|
||||
- ansible_os_family == "RedHat"
|
||||
- ansible_distribution_major_version is version(8, '>=')
|
||||
|
||||
- block:
|
||||
- name: Install packages
|
||||
|
|
|
@ -8,13 +8,18 @@
|
|||
tox_envlist: alint
|
||||
|
||||
- job:
|
||||
name: tenks-deploy-teardown-centos
|
||||
name: tenks-deploy-teardown-centos7
|
||||
parent: tenks-deploy-teardown-base
|
||||
nodeset: centos-7
|
||||
required-projects:
|
||||
- name: openstack/requirements
|
||||
override-checkout: stable/train
|
||||
|
||||
- job:
|
||||
name: tenks-deploy-teardown-centos8
|
||||
parent: tenks-deploy-teardown-base
|
||||
nodeset: centos-8
|
||||
|
||||
- job:
|
||||
name: tenks-deploy-teardown-ubuntu
|
||||
parent: tenks-deploy-teardown-base
|
||||
|
|
|
@ -9,7 +9,8 @@
|
|||
check:
|
||||
jobs:
|
||||
- tenks-tox-ansible-lint
|
||||
- tenks-deploy-teardown-centos
|
||||
- tenks-deploy-teardown-centos7
|
||||
- tenks-deploy-teardown-centos8
|
||||
- tenks-deploy-teardown-ubuntu
|
||||
# Until we have ironic jobs using tenks, gate on the kayobe overcloud
|
||||
# deploy job, which uses tenks to test bare metal compute provisioning.
|
||||
|
@ -19,7 +20,8 @@
|
|||
queue: tenks
|
||||
jobs:
|
||||
- tenks-tox-ansible-lint
|
||||
- tenks-deploy-teardown-centos
|
||||
- tenks-deploy-teardown-centos7
|
||||
- tenks-deploy-teardown-centos8
|
||||
- tenks-deploy-teardown-ubuntu
|
||||
# Until we have ironic jobs using tenks, gate on the kayobe overcloud
|
||||
# deploy job, which uses tenks to test bare metal compute provisioning.
|
||||
|
|
Loading…
Reference in New Issue