Backport THT integration for backup and restore

Bug #1853819 reported by Carlos Camacho
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Carlos Camacho

Bug Description

We currently are able to run ReaR in a Tripleo deployment using tripleo-ansible from Train, yet this way of running ReaR should not be supported as its an external service deployed.

We should enable rear as part of the standard deployment method using tht.

We need to backport the following patches:

https://review.opendev.org/#/c/695688/
https://review.opendev.org/#/c/690074/
https://review.opendev.org/#/c/691950/

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/695872

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-ansible (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/695873

description: updated
Revision history for this message
Carlos Camacho (ccamacho) wrote :

Fix proposed to branch: stable/train
Review: https://review.opendev.org/695875

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-ansible (stable/train)

Reviewed: https://review.opendev.org/695873
Committed: https://git.openstack.org/cgit/openstack/tripleo-ansible/commit/?id=7551a6be5ab7143415a08b39f34318f0ab327cb7
Submitter: Zuul
Branch: stable/train

commit 7551a6be5ab7143415a08b39f34318f0ab327cb7
Author: Telles Nobrega <email address hidden>
Date: Tue Oct 29 16:17:45 2019 -0300

    Adding setup_rear and setup_nfs task

    Adding the tasks to install and configure ReaR and
    install and configure NFS..

    Change-Id: I960e45f2162f8e1257f952a14e7f876468aa8fca
    Closes-Bug: #1853819
    (cherry picked from commit b0fb6e2072d6454eaf3fc22a5204b48b4cc8a888)

tags: added: in-stable-train
Changed in tripleo:
importance: High → Critical
milestone: none → ussuri-1
Changed in tripleo:
milestone: ussuri-1 → ussuri-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-ansible 0.4.1

This issue was fixed in the openstack/tripleo-ansible 0.4.1 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/train)

Reviewed: https://review.opendev.org/695872
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=d7618097307c3480e73db1f310da0e848745e467
Submitter: Zuul
Branch: stable/train

commit d7618097307c3480e73db1f310da0e848745e467
Author: Telles Nobrega <email address hidden>
Date: Wed Oct 23 14:42:02 2019 -0300

    Adding ReaR THT

    Adding a THT to install and configure ReaR.

    Depends-On: I960e45f2162f8e1257f952a14e7f876468aa8fca
    Closes-Bug: #1853819

    Change-Id: I156f0cd32bf028a2027b6baa6c4c999c239ca746
    (cherry picked from commit 79bd7c447b11cc8d2eee9ed20e14dc575fd070a7)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.opendev.org/695875
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=f7a0aff19b0ea87f85a1c8f7313d98162ef07ee6
Submitter: Zuul
Branch: stable/train

commit f7a0aff19b0ea87f85a1c8f7313d98162ef07ee6
Author: Carlos Camacho <email address hidden>
Date: Fri Nov 22 14:53:53 2019 +0100

    Use list join for rendering rear config file in heat

    Currently we are rendering the ReaR config file as:
    BACKUP_PROG_EXCLUDE=( '/data/*' '/tmp/*' '{u'"'"'get_param'"'"': u'"'"'BackupAndRestoreStorageFolder'"'"'}' )

    We need to use heat list_join instead to merge the parameters.
    Closes-Bug: #1853819
    (cherry picked from commit bc4219d274a57a8152e2a6b131e38899425b579c)
    Change-Id: I3f81128cf2fc748a2d4c8df023686424a6de50b8

wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-2 → ussuri-3
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-3 → ussuri-rc3
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-rc3 → victoria-1
Changed in tripleo:
milestone: victoria-1 → victoria-3
Revision history for this message
Luke Short (ekultails) wrote :

All of the patches mentioned here have been successfully backported to Train.

Changed in tripleo:
status: Triaged → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 11.4.0

This issue was fixed in the openstack/tripleo-heat-templates 11.4.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.