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

OpenStack: Cannot delete the VPC without getting Router #473

Closed
powerkimhub opened this issue Sep 29, 2021 · 0 comments · Fixed by #479
Closed

OpenStack: Cannot delete the VPC without getting Router #473

powerkimhub opened this issue Sep 29, 2021 · 0 comments · Fixed by #479
Labels
bug Something isn't working CloudDriver

Comments

@powerkimhub
Copy link
Member

What happened

  • OpenStack VPC 삭제 할수 없는 상황에 대한 이슈입니다.
  • 확인 부탁드립니다. (@hyokyungk @inno-cloudbarista )
  • 시험 버전: latest

[VPC 삭제 오류 발생 전 실행 순서 및 현황]

  1. VPC 생성 -> SG 생성 -> Key 생성 -> VM 생성 -> VM Control(suspend 등)
  2. VM 삭제 -> Key 삭제 -> SG 삭제: SG 삭제시 사용중 오류 발생
  3. SG 삭제 안된 상황에서, batch shell에 의한 (1)VPC 삭제 시도 -> VPC 삭제시 사용중 오류 발생
  4. 잠시 후 VPC를 사용 중인 SG 삭제 성공
  5. (2)VPC 삭제 시 다음 오류 발생
[CB-SPIDER].[ERROR]: 2021-09-29 08:19:52 VPCHandler.go:338, github.com/cloud-barista/cb-spider/cloud-control-manager/cloud-driver/drivers/openstack/resources.(*OpenStackVPCHandler).GetRouter() - Failed to get router with name %s, err=%svpc-01-c5a200iba5od949fehpg-Router

[추정]

  • 첫번째 (1)VPC 삭제시 Router만 삭제하고, 사용중 오류 반환
  • VPC를 사용중인 SG 삭제 후 두번째 (2)VPC 삭제시 Router 없는 오류 반환 후 VPC 삭제 실패

[의견]

  • GetRouter() 실패 시에도 DeleteVPC 삭제하면 어떨까요?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working CloudDriver
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant