Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1573922 - [UPGRADES] "overcloud upgrade converge" should update Heat stack to persist changes
[UPGRADES] "overcloud upgrade converge" should update Heat stack to persist c...
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-tripleoclient (Show other bugs)
13.0 (Queens)
Unspecified Unspecified
high Severity high
: rc
: 13.0 (Queens)
Assigned To: Jiri Stransky
Yurii Prokulevych
: Triaged
Depends On:
Blocks: 1561169
  Show dependency treegraph
 
Reported: 2018-05-02 10:11 EDT by Marios Andreou
Modified: 2018-06-27 09:55 EDT (History)
11 users (show)

See Also:
Fixed In Version: python-tripleoclient-9.2.1-9
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1576480 1576482 (view as bug list)
Environment:
Last Closed: 2018-06-27 09:54:52 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Launchpad 1768586 None None None 2018-05-02 12:10 EDT
OpenStack gerrit 565828 None master: MERGED python-tripleoclient: Update Heat stack on update/upgrade/ffwd converge (Ife57bfae034f70e33bb64cfc3f3063b6a5528cc6) 2018-05-16 09:36 EDT
OpenStack gerrit 567243 None stable/queens: NEW python-tripleoclient: Update Heat stack on update/upgrade/ffwd converge (Ife57bfae034f70e33bb64cfc3f3063b6a5528cc6) 2018-05-16 09:36 EDT
Red Hat Product Errata RHEA-2018:2086 None None None 2018-06-27 09:55 EDT

  None (edit)
Description Marios Andreou 2018-05-02 10:11:02 EDT
Description of problem:
The OSP 13 upgrade related clis that is (openstack overcloud...) "upgrade" "update" and "ffwd-upgrade" 
are all currently *not* running a heat stack update. Instead they update the stored deployment plan in swift, especially to unset all OS::Heat::None resources set during the upgrade/update/ffwd-upgrade. 

However, the deployment code [1] isn't consulting the stored plan meaning subsequent stack updates (e.g. for scaling to add nodes) will still be broken as the 'nooped' resources will continue to be set to OS::Heat::None. 

[1] https://github.com/openstack/python-tripleoclient/blob/c09f50f1ad7f79dae5c67e5f047b3217c357ee74/tripleoclient/v1/overcloud_deploy.py#L369-L377


Version-Release number of selected component (if applicable):


How reproducible: every time


Steps to Reproduce:
1. run upgrade or ffwd-upgrade or update converge as the last step in the workflow: openstack overcloud ffwd-upgrade converge
2. Try to perform a heat stack update on the overcloud, e.g. to scale
3. OS::TripleO::DeploymentSteps  and other resources will not be applied (they are still set to https://github.com/openstack/tripleo-heat-templates/blob/e24316c4ecb659d120a2d6288e8e1a992ce8e0ff/environments/lifecycle/upgrade-prepare.yaml#L4-L8)


We can use one BZ to track the fix here more can be filed if necessary
Comment 1 Marios Andreou 2018-05-03 02:38:55 EDT
adding the alternative proposal from jistr in trackers. The goal is to reach consensus today on which one and merge for end of week.
Comment 2 Jiri Stransky 2018-05-03 07:44:12 EDT
Just a heads up -- either of the patches is likely to break or timeout the gating update job. I posted 2 related patches, linked via depends-on on the patch. (No need to link them here as they are just for CI.)

Given this and the fact that we'll need to backport to stable/queens too, i think landing it this week is not certain.
Comment 3 Marios Andreou 2018-05-07 08:36:58 EDT
reassigning to jistr and removing the tripleo-common alternative
Comment 4 Marios Andreou 2018-05-07 08:38:01 EDT
can you please clone this for update/upgrade/ffwd-upgrade as the qe team needs to test/track independently
Comment 6 Jiri Stransky 2018-05-09 10:51:51 EDT
Ok let's keep this one for upgrade, will clone for update + ffwd
Comment 16 Yurii Prokulevych 2018-05-31 08:15:25 EDT
Successfully scaled up extra compute after upgrade from RHOS-12 to RHOS-13 with python-tripleoclient-9.2.1-12.el7ost.noarch
Comment 18 errata-xmlrpc 2018-06-27 09:54:52 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2018:2086

Note You need to log in before you can comment on or make changes to this bug.