6266312fa1
There is currently no coverage of upgrades in CI, which leaves us open to regression in this infrequently tested but crucial area. This change adds the required scripts and Zuul configuration. A control plane is first deployed using the Kayobe stable/pike branch and associated default configuration. The control plane is tested by deploying then deleting a server instance. An upgrade to Queens is performed, using the Kayobe master branch, or code in review if applicable. The upgraded control plane is tested by deploying then deleting a second server instance. A workaround was required to restart the nova_compute service after the upgrade, since the SIGHUP sent to it by Kolla Ansible during upgrade appeared to be putting it into a degraded state. A future improvement to this test could be to leave a server instance running during the upgrade. Change-Id: I0e595524e39d1131fe3ec6aaf2aeec3ff3d6a536 Story: 2003472 Task: 24732
22 lines
607 B
YAML
22 lines
607 B
YAML
---
|
|
- name: Install dbus for debian system
|
|
apt:
|
|
name: dbus
|
|
when:
|
|
- ansible_os_family == 'Debian'
|
|
become: true
|
|
|
|
- block:
|
|
# NOTE(mgoddard): The CentOS image used in CI has epel-release installed,
|
|
# but the configure-mirrors role used by Zuul disables epel. Since we
|
|
# install epel-release and expect epel to be enabled, enable it here.
|
|
- name: Ensure yum-utils is installed
|
|
yum:
|
|
name: yum-utils
|
|
state: installed
|
|
|
|
- name: Enable the EPEL yum repository
|
|
command: yum-config-manager --enable epel
|
|
when: ansible_os_family == 'RedHat'
|
|
become: true
|