Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
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