Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Backport 2.18][PLAT-11056] YBC isn't stopped and deleted in OnPremDe…
…stroyInstancesMethod Summary: Stop the YBC process running on the nodes in three different workflows where this was missed earlier: # AddOnClusterDelete # EditUniverse # ReadOnlyClusterDelete Also made changes to clean up the ybc-data directory and the YBC logs directory. Original PR: https://phorge.dev.yugabyte.com/D31850 Original commit: 2750461 Test Plan: # Repro the issue # Made the required changes in EditUniverse and then verified that the ybc was not running after the change # Same as above tested the change for ReadOnlyClusterDelete task. # Manually verified that the ybc-data directory and the YBC logs directory is deleted. # Added the deleted onprem node to an universe and verified that YBC is running # Test the changes on a cron based universe and verified that YBC resources are cleanedup # Verified that the script is working correctly for a non-YBC universe too Reviewers: sanketh, cwang, vkumar Reviewed By: sanketh Subscribers: yugaware Tags: #jenkins-ready Differential Revision: https://phorge.dev.yugabyte.com/D31884
- Loading branch information