Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1537054 - FFU: undercloud backup/restore procedure during FFU upgrade
FFU: undercloud backup/restore procedure during FFU upgrade
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-tripleoclient (Show other bugs)
13.0 (Queens)
Unspecified Unspecified
high Severity high
: z2
: 13.0 (Queens)
Assigned To: Carlos Camacho
Marius Cornea
: Triaged, ZStream
Depends On:
Blocks: 1561169
  Show dependency treegraph
 
Reported: 2018-01-22 06:00 EST by Marius Cornea
Modified: 2018-08-29 12:35 EDT (History)
16 users (show)

See Also:
Fixed In Version: python-tripleoclient-9.2.0-4.el7ost openstack-tripleo-common-8.6.1-0.20180410165748.4d8ca16.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-08-29 12:34:51 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
OpenStack gerrit 466213 None master: MERGED python-tripleoclient: Add Openstack Undercloud backup (Ief10f5313244d2848b6de604e0493a51db1ed30f) 2018-07-18 21:31 EDT
OpenStack gerrit 517610 None master: MERGED tripleo-common: Add UC Backup Mistral workflow definition and actions (Iebd67568d5e72967e694b88fc8c73361543929a1) 2018-07-18 21:31 EDT
OpenStack gerrit 549892 None master: MERGED tripleo-docs: Add Fast Forward Upgrade docs (I337daf8c722d77190dc473540e445e3a1f515bf9) 2018-07-18 21:31 EDT
OpenStack gerrit 550380 None stable/queens: MERGED python-tripleoclient: Add Openstack Undercloud backup (Ief10f5313244d2848b6de604e0493a51db1ed30f) 2018-07-18 21:31 EDT
Red Hat Product Errata RHBA-2018:2574 None None None 2018-08-29 12:35 EDT

  None (edit)
Description Marius Cornea 2018-01-22 06:00:22 EST
Description of problem:

In case anything goes horribly wrong during an FFU upgrade we should provide a method to rollback to the initial state in which the environment was before starting the upgrade. This ticket was filed to keep track of:

- undercloud backup before FFU
- overcloud backup before FFU
- undercloud restore from backup during failed FFU
- overcloud restore from backup during failed FFU
Comment 3 mathieu bultel 2018-04-11 06:52:25 EDT
Hi Maria, can you set your ack.
Thank you.
Comment 6 mathieu bultel 2018-04-18 02:50:26 EDT
Hi Carlos,

Im moving this RFE to POST since all the review attached is merged.
I let you change the status and comment the reason if needed.
Comment 8 Carlos Camacho 2018-04-18 04:49:20 EDT
Hi,

Yeah, all the reviews are merged. If we get further issues we will create additional BZs
Comment 9 Jon Schlueter 2018-04-18 11:15:50 EDT
https://review.openstack.org/#/c/466213/ is not on stable/queens and not yet proposed stable/queens for tripleoclient

Moving back to ASSIGNED to get action on it.
Comment 10 mathieu bultel 2018-04-18 11:17:31 EDT
The patch for stable/queens is here && merged:
https://review.openstack.org/#/c/550380/
Comment 15 Carlos Camacho 2018-05-18 07:40:35 EDT
Given this is part of the MVP and it will not run on production, we can remove the blocker flag.
Comment 16 Mike Orazi 2018-05-22 12:54:56 EDT
Carlos, I'm confused by https://bugzilla.redhat.com/show_bug.cgi?id=1537054#c15.  Can you clarify when this would be run or how we are advocating backup/restore would happen in prod?
Comment 19 Carlos Camacho 2018-08-06 06:36:39 EDT
The UC backup and restore works now also for FFU.


DFG:Metmon will handle the Overcloud backup and restore.
Comment 21 Joanne O'Flynn 2018-08-15 04:05:01 EDT
This bug is marked for inclusion in the errata but does not currently contain draft documentation text. To ensure the timely release of this advisory please provide draft documentation text for this bug as soon as possible.

If you do not think this bug requires errata documentation, set the requires_doc_text flag to "-".


To add draft documentation text:

* Select the documentation type from the "Doc Type" drop down field.

* A template will be provided in the "Doc Text" field based on the "Doc Type" value selected. Enter draft text in the "Doc Text" field.
Comment 22 Marius Cornea 2018-08-20 05:25:55 EDT
Carlos,

I think there's some confusion around this BZ and the fixes attached to it so I'd like to clarify, some questions below:

1/ The initial report included both the undercloud and overcloud backup/restore requirement. If I understand it correctly you want to keep track only of the undercloud backup/restore procedure in this bug so if the overcloud backup/restore process should be tracked in a different bug then can we open a new one to keep track of it?

2/ undercloud backup and restore: in case of FFU the undercloud backup should be done before starting the upgrade procedure(when the deployment is still on OSP10). The patches attached to this bug were added to OSP13 so they can only work after the undercloud has been upgraded to 13. Do you plan to backport them to OSP10 to allow the backup to happen before starting the upgrade process?
Comment 23 Carlos Camacho 2018-08-22 03:05:09 EDT
Hi Marius,

Yes,

1/ This BZ is only for tracking the UC backup/restore, we should create another one for the Overcloud steps when they are implemented/tested.

2/ For the fixes we had a few regressions which were tested in >OSP13 for the CLI implementation, and for OSP10 we should follow the manual steps from [1], the regression we had was basically the xattr issue when creating the backup tarball.



[1]: https://docs.openstack.org/tripleo-docs/latest/install/controlplane_backup_restore/01_undercloud_backup.html
Comment 24 Marius Cornea 2018-08-22 03:29:05 EDT
OK then, I am changing the title to match the expectations. 

The undercloud backup/restore procedure during FFU(before upgrade) is manual and documented here: 

https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/13/html-single/fast_forward_upgrades/#backing_up_the_undercloud
Comment 26 errata-xmlrpc 2018-08-29 12:34:51 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/RHBA-2018:2574

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