Skip to content
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

e2e: Test replace cluster flow #1629

Open
nirs opened this issue Oct 31, 2024 · 3 comments
Open

e2e: Test replace cluster flow #1629

nirs opened this issue Oct 31, 2024 · 3 comments
Labels
test Testing related issue

Comments

@nirs
Copy link
Member

nirs commented Oct 31, 2024

When replacing a cluster we do:

  1. Failover all apps to secondary cluster
  2. Delete the dr cluster on for the failed cluster
  3. Disable protecting for all apps
  4. Take down the failed cluster (e.g. delete the vm)
  5. Create a new cluster, deploying all the components on a standard managed cluster
  6. Configure the new cluster on the hub (add dr cluster, update dr policy)
  7. Enable dr for all applications
  8. Relocate to the new cluster

Steps 4-5 are complicated and slow, so we can simulate them by pausing and resuming the same vm for much quicker. This is good enough for testing ramen flows.

@nirs nirs added the test Testing related issue label Oct 31, 2024
@ShyamsundarR
Copy link
Member

@nirs envtests for disable are also pending, are you tracking them with this or separately?

@nirs
Copy link
Member Author

nirs commented Oct 31, 2024

@nirs envtests for disable are also pending, are you tracking them with this or separately?

We added lot of tests for disable dr recently for handling invalid vr. Maybe open and issue for the missing tests?

@ShyamsundarR
Copy link
Member

@nirs envtests for disable are also pending, are you tracking them with this or separately?

We added lot of tests for disable dr recently for handling invalid vr. Maybe open and issue for the missing tests?

Can you point to the PR? Is it testing deleted DRCluster and related DRPC reconciliation from a disable workflow at the hub?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Testing related issue
Projects
None yet
Development

No branches or pull requests

2 participants