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

Deletion of the Alibaba Cloud vSwitch and VPC failed #2226

Open
Finenyaco opened this issue Mar 11, 2024 · 1 comment
Open

Deletion of the Alibaba Cloud vSwitch and VPC failed #2226

Finenyaco opened this issue Mar 11, 2024 · 1 comment
Assignees
Labels
area/template bug-qa Something isn't working, and have not yet hit a real release

Comments

@Finenyaco
Copy link

Finenyaco commented Mar 11, 2024

Describe the bug

Steps to reproduce

  1. Using built-in resource definition postgresql to create a resoruce and do not specify the VPC id.
  2. Wait for the resource deployment to complete.
  3. Stop the resource and check the component list after stopping.

Result

  1. Deletion of one vSwitch and one VPC failed.
image
  1. Check the run details.
image
  1. Check the event details on the Alicloud consoles.
image image

Expected behavior

Environment

  • Walrus version: main 61fe2d2
  • UI version: dev-3d2debe

Additional context
Add any other context about the problem here.

@Finenyaco Finenyaco added bug-qa Something isn't working, and have not yet hit a real release area/template labels Mar 11, 2024
@gitlawr gitlawr added this to the v0.6.0 milestone Mar 12, 2024
@shanewxy
Copy link
Contributor

The API of Alibaba is unstable. Sometimes the first-time deletion fails on the vswitch because of dependency issues, but the resources that depend on it have already been removed from the console.

Found similar issues on the Alibaba provider like aliyun/terraform-provider-alicloud#2114.

We could upgrade the provider version once it got fixed on the provider side. For now, as a workaround, we could make a second attempt if the first deletion failed. It usually works fine for the second deletion.

@gitlawr gitlawr removed this from the v0.6.0 milestone Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/template bug-qa Something isn't working, and have not yet hit a real release
Projects
None yet
Development

No branches or pull requests

3 participants