Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1430914

Summary: [RFE] Revive failed upgrade where it is possible
Product: Red Hat OpenStack Reporter: Jaromir Coufal <jcoufal>
Component: rhosp-directorAssignee: Sofer Athlan-Guyot <sathlang>
Status: CLOSED DEFERRED QA Contact: Marius Cornea <mcornea>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 12.0 (Pike)CC: achernet, ccamacho, dbecker, jschluet, mburns, mcornea, morazi, rhel-osp-director-maint, sclewis, tvignaud
Target Milestone: ---Keywords: FutureFeature, Triaged, ZStream
Target Release: 13.0 (Queens)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-22 16:53:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1384647    
Bug Blocks: 1442136, 1469598    

Description Jaromir Coufal 2017-03-09 20:56:39 UTC
As a cloud operator, in case of failed upgrade I want to revive whenever it is possible and continue in the process (or start it from beginning) without need to rollback my environment to previously working state.

Comment 2 Jaromir Coufal 2017-03-15 15:47:52 UTC
Service upgrade should be idempotent, we are trying to achieve a goal:

"If updates fail, I want to re-run upgrade command, which will revive the procedure and ends the process (this time hopefully) successfully."

Comment 4 Sofer Athlan-Guyot 2017-05-30 12:28:49 UTC
Need a associated test plan for QE if possible.

Comment 5 Sofer Athlan-Guyot 2017-06-22 12:43:12 UTC
Hi,

This would need to be requalified into more manageable RFE and delayed for next release.

The split could go like this:
 - ensure deployment idempotency by testing it: this is an upstream discussion about testing this backup: http://lists.openstack.org/pipermail/openstack-dev/2017-June/117968.html
 - ensure upgrade idempotency by testing it: following up with the previous work we could ensure that upgrading twice in a raw doesn't cause any problem

With those tests in place we can have a vision of what is missing and fixing the associated issues.

The last steps are:
 - add testing failure during upgrade and check we can recover easily:
   - not everything can be tested, but a error in the major step of the upgrade
 - review all upgrade code to check if idempotency is achieved all the time;

Comment 10 Sofer Athlan-Guyot 2018-08-22 16:53:06 UTC
To be revive in a new RFE when that becomes relevant again.