Logo
Explore Get Started
openstack/kayobe
Code Issues Proposed changes
af96f8002e
BranchesTags
View all branches
kayobe/dev/overcloud-upgrade.sh

21 lines
348 B
Bash
Raw Normal View History

Test upgrades in CI 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
2018-08-17 09:20:43 +01:00
#!/bin/bash
set -eu
set -o pipefail
# Simple script to upgrade a development environment for an OpenStack
# controller in a Vagrant VM using kayobe. This should be executed from within
# the VM.
PARENT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "${PARENT}/functions"
function main {
config_init
overcloud_upgrade
}
main
Copy Permalink
Powered by Gitea Version: v1.23.8 Page: 70ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API