Currently, scripts/run-upgrade.sh will not successfully upgrade a
deploy from juno->kilo. This update does the following:
- copies etc/openstack_deploy/env.d/* to /etc/openstack_deploy/env.d
- uses ansible modules where possible rather than using the ansible
shell module
- forces ansible command to return true where necessary (we introduce
new ansible host groups in kilo and these groups do not yet have
containers built which will cause the ansible command to fail)
- updates the python code to keep is_metal configurations between
juno and kilo deployments (kilo defaults is_metal=true for
cinder_volumes, which was not the default on juno)
- moves a closing if statement higher up in the script which was
erroneously causing a bunch of code to be skipped
Change-Id: Ic99dcbc3f64b8dbfec6188a017a8bcda1c80e544
Closes-Bug: #1471190
Co-Authored-By: Kevin Carter <email address hidden>
(cherry picked from commit d339da31035f03e226e335be794c3ac114148430)
Reviewed: https:/ /review. openstack. org/200597 /git.openstack. org/cgit/ stackforge/ os-ansible- deployment/ commit/ ?id=93c7ae4a668 7f787ab7ba79730 7bbe7b1b2e63cc
Committed: https:/
Submitter: Jenkins
Branch: kilo
commit 93c7ae4a6687f78 7ab7ba797307bbe 7b1b2e63cc
Author: Matt Thompson <email address hidden>
Date: Fri Jul 3 12:02:47 2015 +0100
Fix scripts/ run-upgrade. sh
Currently, scripts/ run-upgrade. sh will not successfully upgrade a
deploy from juno->kilo. This update does the following:
- copies etc/openstack_ deploy/ env.d/* to /etc/openstack_ deploy/ env.d volumes, which was not the default on juno)
- uses ansible modules where possible rather than using the ansible
shell module
- forces ansible command to return true where necessary (we introduce
new ansible host groups in kilo and these groups do not yet have
containers built which will cause the ansible command to fail)
- updates the python code to keep is_metal configurations between
juno and kilo deployments (kilo defaults is_metal=true for
cinder_
- moves a closing if statement higher up in the script which was
erroneously causing a bunch of code to be skipped
Change-Id: Ic99dcbc3f64b8d bfec6188a017a8b cda1c80e544 226e335be794c3a c114148430)
Closes-Bug: #1471190
Co-Authored-By: Kevin Carter <email address hidden>
(cherry picked from commit d339da31035f03e