CentOS 7 integrated gate optimization
The CentOS 7 AIO jobs time out fairly frequently in the gates and this patch switches the jobs to use the new aio_basekit scenario in the hopes that jobs will complete more often. This patch also sets SELinux to Permissive mode for CentOS 7 gate testing. This can be changed back to Enforcing when CentOS 7's SELinux policies are ready. This patch also sets package_state to present for CentOS 7 jobs. This is a temporary measure to ensure more of the gate jobs can finish on time and we can expose deployment issues in the gates. Change-Id: Ic478a7402fee3df0667f0d6fd9a714688808b2ec
This commit is contained in:
parent
72f46e7464
commit
f4bc81cff9
@ -23,8 +23,10 @@ debug: False
|
|||||||
ssh_delay: 5
|
ssh_delay: 5
|
||||||
|
|
||||||
# Set the package install state for distribution packages
|
# Set the package install state for distribution packages
|
||||||
# Options are 'present' and 'latest'
|
# Options are 'present' and 'latest'.
|
||||||
package_state: "latest"
|
# NOTE(mhayden): Allowing CentOS 7 to use package_state=present should give
|
||||||
|
# gate jobs a better chance to finish and expose more issues to fix.
|
||||||
|
package_state: "{{ (ansible_os_family == 'RedHat') | ternary('present', 'latest') }}"
|
||||||
|
|
||||||
# Set "/var/log" to be a bind mount to the physical host.
|
# Set "/var/log" to be a bind mount to the physical host.
|
||||||
default_bind_mount_logs: true
|
default_bind_mount_logs: true
|
||||||
|
@ -96,6 +96,18 @@
|
|||||||
path: /etc/pip.conf
|
path: /etc/pip.conf
|
||||||
register: pip_conf_file
|
register: pip_conf_file
|
||||||
|
|
||||||
|
# NOTE(mhayden): The OpenStack CI images for CentOS 7 recently set SELinux to
|
||||||
|
# Enforcing mode by default. While I am normally a supporter of this change,
|
||||||
|
# the SELinux policy work for CentOS 7 is not done yet.
|
||||||
|
- name: Set SELinux to permissive mode in OpenStack-CI
|
||||||
|
selinux:
|
||||||
|
policy: targeted
|
||||||
|
state: permissive
|
||||||
|
when:
|
||||||
|
- ansible_selinux.status is defined
|
||||||
|
- ansible_selinux.status == "enabled"
|
||||||
|
|
||||||
|
|
||||||
# This is a very dirty hack due to images.linuxcontainers.org
|
# This is a very dirty hack due to images.linuxcontainers.org
|
||||||
# constantly failing to resolve in openstack-infra.
|
# constantly failing to resolve in openstack-infra.
|
||||||
- name: Implement hard-coded hosts entries for consistently failing name
|
- name: Implement hard-coded hosts entries for consistently failing name
|
||||||
|
@ -119,6 +119,13 @@
|
|||||||
nodeset: centos-7
|
nodeset: centos-7
|
||||||
voting: false
|
voting: false
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: openstack-ansible-deploy-aio_basekit-centos-7
|
||||||
|
parent: openstack-ansible-deploy-aio_lxc-centos-7
|
||||||
|
vars:
|
||||||
|
action: deploy
|
||||||
|
scenario: aio_basekit
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: openstack-ansible-deploy-ceph-centos-7
|
name: openstack-ansible-deploy-ceph-centos-7
|
||||||
parent: openstack-ansible-deploy-aio_lxc-centos-7
|
parent: openstack-ansible-deploy-aio_lxc-centos-7
|
||||||
|
@ -17,14 +17,17 @@
|
|||||||
jobs:
|
jobs:
|
||||||
- openstack-ansible-linters
|
- openstack-ansible-linters
|
||||||
- openstack-ansible-varstest-aio_lxc-ubuntu-xenial
|
- openstack-ansible-varstest-aio_lxc-ubuntu-xenial
|
||||||
- openstack-ansible-deploy-aio_lxc-centos-7
|
# NOTE(mhayden): Temporarily replacing with aio_basekit scenario.
|
||||||
|
# - openstack-ansible-deploy-aio_lxc-centos-7
|
||||||
- openstack-ansible-deploy-aio_lxc-opensuse-423
|
- openstack-ansible-deploy-aio_lxc-opensuse-423
|
||||||
- openstack-ansible-deploy-aio_lxc-ubuntu-xenial
|
- openstack-ansible-deploy-aio_lxc-ubuntu-xenial
|
||||||
- openstack-ansible-deploy-ceph-centos-7
|
# NOTE(mhayden): Temporarily replacing with aio_basekit scenario.
|
||||||
|
# - openstack-ansible-deploy-ceph-centos-7
|
||||||
- openstack-ansible-deploy-ceph-ubuntu-xenial
|
- openstack-ansible-deploy-ceph-ubuntu-xenial
|
||||||
- openstack-ansible-deploy-ceph-opensuse-423
|
- openstack-ansible-deploy-ceph-opensuse-423
|
||||||
- openstack-ansible-deploy-aio_metal-ubuntu-xenial
|
- openstack-ansible-deploy-aio_metal-ubuntu-xenial
|
||||||
- openstack-ansible-deploy-aio_nspawn-ubuntu-xenial
|
- openstack-ansible-deploy-aio_nspawn-ubuntu-xenial
|
||||||
|
- openstack-ansible-deploy-aio_basekit-centos-7
|
||||||
experimental:
|
experimental:
|
||||||
jobs:
|
jobs:
|
||||||
- openstack-ansible-deploy-octavia-ubuntu-xenial
|
- openstack-ansible-deploy-octavia-ubuntu-xenial
|
||||||
|
Loading…
Reference in New Issue
Block a user