-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PLAT-15682] Try to re-install YBC on nodes which fail ping check bef…
…ore backup/restore Summary: Some infra side operations like disk replacement can sometimes make running YBC package be removed. I am catching these scenarios via YBC ping check before triggering backup/restore and doing a "best effort" re-install. The subtasks are added with `ignoreErrors` because there can be genuine node outage scenarios where YBC ping check fails. In such cases we should simply skip the failed subtasks and proceed. We will run this only for cases which are not undergoing YBC Upgrade. In a separate PR, I am going to change Ybc upgrade for VMs to use ansible so that unavailable YBC server does not lead to upgrade failure. - For VMs # Do a configure by copying package, creating symlinks etc # Do a serverctl stop and start - For K8s # Copy package # Trigger start Test Plan: Manually verified by removing the YBC package and stopping the running YBC process. The next backup attempt downloads the package and sets it up correctly. Reviewers: anijhawan, nsingh, vpatibandla Reviewed By: anijhawan, nsingh, vpatibandla Subscribers: yugaware Differential Revision: https://phorge.dev.yugabyte.com/D38919
- Loading branch information
1 parent
06e596b
commit 50766f4
Showing
21 changed files
with
287 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.