-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[#6758] Platform: Reuse on-premise instance once the instance got delete. #6970
[#6758] Platform: Reuse on-premise instance once the instance got delete. #6970
Conversation
mahendra bhat seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
managed/src/main/java/com/yugabyte/yw/commissioner/tasks/UniverseTaskBase.java
Outdated
Show resolved
Hide resolved
managed/src/main/java/com/yugabyte/yw/commissioner/tasks/UniverseTaskBase.java
Outdated
Show resolved
Hide resolved
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.
- Cover these changes with junit tests.
- When this problem occurs? Only when on-prem instance doesn't have public IP? Or in both cases (with and w/o public IP)? I want to know the root cause because not long time ago this functionality worked.
managed/src/main/java/com/yugabyte/yw/commissioner/tasks/UniverseTaskBase.java
Outdated
Show resolved
Hide resolved
managed/src/main/java/com/yugabyte/yw/commissioner/tasks/UniverseTaskBase.java
Outdated
Show resolved
Hide resolved
|
Initially I didn't pay attention on this part of comments, but now I disagree with this: |
managed/src/test/java/com/yugabyte/yw/controllers/UniverseControllerTest.java
Outdated
Show resolved
Hide resolved
…58-Reuse-Onpremis
… got delete. (yugabyte#6970) Summary: Once we delete the on-premise universe, we have to clear the node instance so that we can use the node to create another universe. Testing: 1. Add instance under on-premise 2. Created the universe with the instance ( should get failed) 3. Delete the universe. 4. Used the same instance to create another universe. ( should be possible after the change ) Reviewed by: Sergey Potachev
Description: Once we delete the onpremis universe, we have to clear the node instance so that we can use the node to create another universe.
Testing: :
[info] Passed: Total 1141, Failed 0, Errors 0, Passed 1137, Skipped 4 [success] Total time: 707 s, completed 20 Jan, 2021 12:15:09 PM