-
Notifications
You must be signed in to change notification settings - Fork 76
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
[BUG] - Detaching VPC2 does not work, api issue? #423
Comments
I've been noticing some weird, unexpected behavior when testing this, but I think it's because of the platform not being very responsive. Even when things VPC2 detach mechanism isn't instantaneous which is why we have to use retries in the terraform provider to check and attempt the delete/detach. All that said, I was able to create via cURL, then detach using the examples that you provided. But, like I said, there was a good 10-15 second delay before it reflected that that node was detached. |
@optik-aper I see, thanks for this information. A couple questions though: is this just a VPC2 related thing or would it make sense to implement a generic "retry to see vpc changed" function for VPC1 as well? I'm assuming VPC1 will be deprecated in the future, do you have a timeline for this yet? |
The retry is specific to VPC2 due to how the platform detects changes and applies them. VPC1 doesn't have this same mechanism so should be effective immediately. I don't know if/when VPC1 will be deprecated but do know that it's currently being used by VKE so I don't think it's going anywhere anytime soon. |
I did some more tests and might have found the issue I am experiencing: Reproducer
NOTE: the order of the IDs seems relevant! The first list item is the ID of the VPC2 already exists!!
--> VPC2 with ID 664da4eb-8857-4b5a-bc1f-02eb04ddb716 never gets attached. if we change the order:
--> the VPC2 gets attached, but the VPC2 gets
--> works
For detaching it seems like it is the same. |
Oh, interesting. Let me test this out and see what it's doing. Thanks for the additional details! |
@optik-aper Hi Micheal, were you able to reproduce? |
Describe the bug
Detaching VPC2 does not work, even though the commands was successful (might be an api issue):
I tried several ways:
To Reproduce
Steps to reproduce the behavior:
check
Expected behavior
vpc2 detached
Additional context
also seeing this issue in ansible vultr collection vultr/ansible-collection-vultr#118
$ vultr-cli version
Vultr-CLI v3.0.1
The text was updated successfully, but these errors were encountered: