-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automate running backups and restores w/ fusion #2157
Conversation
…ce install Signed-off-by: Ben Luzarraga <[email protected]>
Signed-off-by: Ben Luzarraga <[email protected]>
Signed-off-by: Ben Luzarraga <[email protected]>
Signed-off-by: Ben Luzarraga <[email protected]>
Signed-off-by: Ben Luzarraga <[email protected]>
Signed-off-by: Ben Luzarraga <[email protected]>
Signed-off-by: Ben Luzarraga <[email protected]>
Signed-off-by: Ben Luzarraga <[email protected]>
Signed-off-by: Ben Luzarraga <[email protected]>
Signed-off-by: Ben Luzarraga <[email protected]>
Signed-off-by: Ben Luzarraga <[email protected]>
Signed-off-by: Ben Luzarraga <[email protected]>
Signed-off-by: Ben Luzarraga <[email protected]>
Signed-off-by: Ben Luzarraga <[email protected]>
Signed-off-by: Ben Luzarraga <[email protected]>
Signed-off-by: Ben Luzarraga <[email protected]>
Signed-off-by: Ben Luzarraga <[email protected]>
Signed-off-by: Ben Luzarraga <[email protected]>
Signed-off-by: Ben Luzarraga <[email protected]>
Signed-off-by: Ben Luzarraga <[email protected]>
Signed-off-by: Ben Luzarraga <[email protected]>
Signed-off-by: Ben Luzarraga <[email protected]>
Signed-off-by: Ben Luzarraga <[email protected]>
Signed-off-by: Ben Luzarraga <[email protected]>
Signed-off-by: Ben Luzarraga <[email protected]>
Signed-off-by: Ben Luzarraga <[email protected]>
Signed-off-by: Ben Luzarraga <[email protected]>
Signed-off-by: Ben Luzarraga <[email protected]>
Signed-off-by: Ben Luzarraga <[email protected]>
Signed-off-by: Ben Luzarraga <[email protected]>
This pr is a bit ugly because I started work on this script before 2142 was merged in. The changes specific to this pr start from f9ce24b. I also opened the same pr in my fork branch for clarity on the difference https://github.com/bluzarraga/ibm-common-service-operator/pull/4/files |
I have passed the test for Backup automation part. Result:
|
Signed-off-by: Allen Li <[email protected]>
Signed-off-by: Allen Li <[email protected]>
Signed-off-by: Allen Li <[email protected]>
Signed-off-by: Allen Li <[email protected]>
it should be good now |
Signed-off-by: Ben Luzarraga <[email protected]>
Signed-off-by: Ben Luzarraga <[email protected]>
Signed-off-by: Ben Luzarraga <[email protected]>
Updated some of the parameters and prereq checking after testing the script. I've got it running backups and restores consistently so I think this is ready to merge and ready to hand over to SERT team for further testing/use |
Backup test passed
|
I have another question when testing restore, from the template I see some operator and services namespace are hard code like
|
Signed-off-by: Allen Li <[email protected]>
update the script to modify the pvc namespaces |
Signed-off-by: Allen Li <[email protected]>
Restore process also passed:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bluzarraga, YCShen1010 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What this PR does / why we need it:
Creates an automation script to trigger and wait for Fusion backups and restores
Which issue(s) this PR fixes:
Work for https://github.ibm.com/IBMPrivateCloud/roadmap/issues/64245 & https://github.ibm.com/IBMPrivateCloud/roadmap/issues/64247
Special notes for your reviewer:
Setup cluster using instructions from Automate setup of Hub and Spoke clusters for backup and restore using Spectrum Fusion #2142
Update variables in script to match expected (ie
BACKUP_STORAGE_LOCATION_NAME
)run auto-br.sh with appropriate parameters
verify backup and restore complete
Outstanding items:
How to backport this PR to other branch:
backport <branch-name>
backport <branch-name>
and leave a comment/backport
to trigger the backport action