a466cc6a20
Nested virt is causing the VMs to crash in CI occassicially when tempest is running. While it's not ideal to use qemu, it's better not to have crashing VMs. Change-Id: Ia9944f6346709dbea9f480677d60efc7a5d4e162 Closes-Bug: #1806720
70 lines
2.1 KiB
YAML
70 lines
2.1 KiB
YAML
---
|
|
# Opening up repo-setup as cached variables can cause issue, see
|
|
# https://bugs.launchpad.net/tripleo/+bug/1795367
|
|
- name: Standalone upgrade repos setup and host upgrade
|
|
hosts: undercloud
|
|
tasks:
|
|
- name: Standalone upgrade get new dlrn hash.
|
|
include_role:
|
|
name: repo-setup
|
|
tasks_from: get-dlrn-hash
|
|
|
|
- name: Standalone upgrade get new dlrn hash.
|
|
include_role:
|
|
name: repo-setup
|
|
tasks_from: get-dlrn-hash-newest
|
|
|
|
- name: Standalone upgrade generate new dlrn repo-setup script.
|
|
include_role:
|
|
name: repo-setup
|
|
tasks_from: create-repo-script
|
|
vars:
|
|
repo_setup_script: repo_setup_upgrade.sh
|
|
# The next task triggers the yum upgrade command in as
|
|
# repo_setup_run_update is true in release files by default.
|
|
- name: Standalone upgrade setup new repos
|
|
include_role:
|
|
name: repo-setup
|
|
tasks_from: setup_repos
|
|
vars:
|
|
repo_setup_log: repo_setup_upgrade.log
|
|
repo_setup_script: repo_setup_upgrade.sh
|
|
|
|
tags:
|
|
- standalone-upgrade
|
|
|
|
# This is what is gating the patch in the N version in a N-1->N
|
|
# upgrade.
|
|
- name: Standalone upgrade runs DLRN gate role and install repo
|
|
hosts: undercloud
|
|
vars:
|
|
artg_compressed_gating_repo: "${HOME}/gating_repo.tar.gz"
|
|
# This should not be enabled because the updating of the packages occurs
|
|
# durring the upgrade process. For general installation it's ok to have
|
|
# this enabled, but this needs to be disabled for upgrades
|
|
ib_gating_repo_update: false
|
|
roles:
|
|
- build-test-packages
|
|
- {role: install-built-repo, when: compressed_gating_repo is defined}
|
|
tags:
|
|
- standalone-upgrade
|
|
|
|
# NOTE(aschultz): nested virt causes problems in CI so we default to qemu
|
|
# and do not do the dynamic virt lookup.
|
|
- name: Standalone Upgrade
|
|
hosts: undercloud
|
|
vars:
|
|
standalone_libvirt_type: "{{ standalone_virt_type|default('qemu') }}"
|
|
roles:
|
|
- standalone-upgrade
|
|
tags:
|
|
- standalone-upgrade
|
|
|
|
- name: Validate the Standalone upgrade
|
|
hosts: undercloud
|
|
gather_facts: false
|
|
roles:
|
|
- {role: validate-tempest, when: run_tempest|bool}
|
|
tags:
|
|
- standalone-upgrade
|