[CI][LVM] Run the LVM job on Bionic Beaver

We switched to running the voting LVM driver job
from Ubuntu to CentOS because the "nfs-utils"
package on Ubuntu 16.04 lacked two bug-fixes [1][2]
required to test IPv6 exports. The kernel
package has been updated on Ubuntu 18.04 [3]
and the latest package has these fixes.

Switching back to Ubuntu will also help us
move faster towards our python3-first goal
since there are no plans to support python3
in the CentOS base repositories.

[1] http://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commit;h=4663c6481c294838260840d234fec7dfd3186451
[2] http://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commit;h=188354e57dd8476e66ce30d647180a106da29b88
[3] https://launchpad.net/nfs-utils/+packages

Depends-On: https://review.openstack.org/#/c/611199/
Depends-On: https://review.openstack.org/#/c/604929/
Depends-On: https://review.openstack.org/#/c/614802/
Change-Id: I8928f7ef87b0ec53a6a65f5d8964b2eee885056d
This commit is contained in:
Goutham Pacha Ravi 2018-10-16 17:06:07 -07:00
parent 8c925198ae
commit 211b2b6394
3 changed files with 8 additions and 42 deletions

View File

@ -29,7 +29,7 @@
- manila-tempest-minimal-dsvm-cephfs-nfs-centos-7:
voting: false
- manila-tempest-minimal-dsvm-dummy
- manila-tempest-minimal-dsvm-lvm-centos-7
- manila-tempest-minimal-dsvm-lvm
- manila-grenade:
voting: false
- manila-rally-multibackend:
@ -45,7 +45,7 @@
jobs:
- manila-tox-genconfig
- manila-tempest-minimal-dsvm-dummy
- manila-tempest-minimal-dsvm-lvm-centos-7
- manila-tempest-minimal-dsvm-lvm
experimental:
jobs:
- manila-tempest-dsvm-glusterfs-nfs
@ -319,12 +319,11 @@
- openstack/tempest
- job:
name: manila-tempest-minimal-dsvm-lvm-centos-7
name: manila-tempest-minimal-dsvm-lvm
parent: manila-tempest-base
run: playbooks/legacy/manila-tempest-minimal-dsvm-lvm-centos-7/run.yaml
post-run: playbooks/legacy/manila-tempest-minimal-dsvm-lvm-centos-7/post.yaml
run: playbooks/legacy/manila-tempest-minimal-dsvm-lvm/run.yaml
post-run: playbooks/legacy/manila-tempest-minimal-dsvm-lvm/post.yaml
timeout: 5400
nodeset: legacy-centos-7
required-projects:
- openstack-infra/devstack-gate
- openstack/manila

View File

@ -1,4 +1,4 @@
- hosts: primary
- hosts: controller
tasks:
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node

View File

@ -1,6 +1,6 @@
- hosts: all
name: Autoconverted job legacy-manila-tempest-minimal-dsvm-lvm-centos-7 from old
job gate-manila-tempest-minimal-dsvm-lvm-centos-7
name: Autoconverted job legacy-manila-tempest-minimal-dsvm-lvm from old
job gate-manila-tempest-minimal-dsvm-lvm
tasks:
- name: Ensure legacy workspace directory
@ -24,13 +24,6 @@
chdir: '{{ ansible_user_dir }}/workspace'
environment: '{{ zuul | zuul_legacy_vars }}'
# Install centos-release-openstack-* needed for rabbitmq-server
- name: Add centos-release-openstack-pike support
become: yes
yum:
name: centos-release-openstack-pike
state: present
- shell:
cmd: |
set -e
@ -46,32 +39,6 @@
chdir: '{{ ansible_user_dir }}/workspace'
environment: '{{ zuul | zuul_legacy_vars }}'
- name: Check for /etc/yum/vars/contentdir
stat:
path: /etc/yum/vars/contentdir
register: yum_contentdir
- when: not yum_contentdir.stat.exists
block:
- name: Discover package architecture
command: rpm -q --qf "%{arch}" -f /etc/redhat-release
register: rpm_arch
- debug:
msg: Package architecture is '{{ rpm_arch.stdout }}'
- name: Set contentdir to altarch
set_fact:
yum_contentdir: altarch
when: rpm_arch.stdout in ['aarch64', 'ppc64le']
- name: Populate /etc/yum/vars/contentdir
copy:
dest: /etc/yum/vars/contentdir
content: "{{ yum_contentdir|default('centos') }}"
become: true
- shell:
cmd: |
set -e