Bug 1705446 - upgrade playbook should take backup of heketidb before deleting heketi resources.
Summary: upgrade playbook should take backup of heketidb before deleting heketi resour...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: cns-ansible
Version: ocs-3.11
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: OCS 3.11.z Batch Update 4
Assignee: John Mulligan
QA Contact: Nitin Goyal
URL:
Whiteboard:
Depends On:
Blocks: 1703695
TreeView+ depends on / blocked
 
Reported: 2019-05-02 10:31 UTC by Nitin Goyal
Modified: 2020-02-13 05:22 UTC (History)
9 users (show)

Fixed In Version: openshift-ansible-3.11.115
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-02-13 05:22:06 UTC
Embargoed:


Attachments (Terms of Use)

Description Nitin Goyal 2019-05-02 10:31:54 UTC
Description of problem: upgrade playbook should take backup of heketidb before deleting heketi resources to prevent from any db corruption. 


Version-Release number of selected component (if applicable):
# rpm -qa | grep openshift-ansible
openshift-ansible-3.11.110-1.git.0.b53e105.el7.noarch

How reproducible:


Steps to Reproduce:
1. upgrade ocs 3.10 to ocs 3.11 via ansible playbook.

Actual results: It is not taking any db backup


Expected results: It should take db backup


Additional info:

Comment 2 Jose A. Rivera 2019-05-02 12:13:55 UTC
Is this a step that is in the existing upgrade documentation?

Comment 3 Nitin Goyal 2019-05-03 05:40:23 UTC
(In reply to Jose A. Rivera from comment #2)
> Is this a step that is in the existing upgrade documentation?

Yes it is.

link to doc -> https://access.redhat.com/documentation/en-us/red_hat_openshift_container_storage/3.11/html-single/deployment_guide/index#idm140154237356032

step 2 'Backup the Heketi database file'

Comment 4 Jose A. Rivera 2019-05-03 19:11:40 UTC
Roger that, I'll take it.

Comment 5 Jose A. Rivera 2019-05-07 14:45:43 UTC
PR is upstream: https://github.com/openshift/openshift-ansible/pull/11588

Comment 6 Jose A. Rivera 2019-05-08 14:04:36 UTC
PR is merged.


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