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

[IBMVPC:VM] Unable to Access VM from Public Internet #1438

Open
powerkimhub opened this issue Jan 24, 2025 · 3 comments
Open

[IBMVPC:VM] Unable to Access VM from Public Internet #1438

powerkimhub opened this issue Jan 24, 2025 · 3 comments
Assignees
Labels
bug Something isn't working CloudDriver

Comments

@powerkimhub
Copy link
Member

@ish-hcc (@Jeon-Jinhyeok )


  • 언제부터인지는 모르겠지만,
  • 현재 VM 생성 후 외부에서 접근이 안되고 있습니다.
  • Console로 살펴 보니,
    • 일단 attach된 subnet의 Public gateway가 활성화되어 있지 않습니다.
    • 그런데, 이걸 활성화 해도 접속은 안되고 있는 상황입니다.
  • 점검 부탁드립니다.

[참고: VM-Subnet 설정 현황]

Image

@powerkimhub powerkimhub added bug Something isn't working CloudDriver labels Jan 24, 2025
@ish-hcc
Copy link
Member

ish-hcc commented Jan 31, 2025

@powerkimhub 확인중인데 NLB 생성이후로 VM에 접속이 안되는 증상이 발생하는 것 같습니다. NLB 생성하기 전에는 VM에 SSH 접속 및 VM내에서 외부 통신이 되는 것으로 확인 됩니다. Public gateway는 키거나 끄거나 영향은 없는 거 같고요. 이어서 다시 확인해 보도록 하겠습니다.

@powerkimhub
Copy link
Member Author

@ish-hcc

  • 넵, 캄사합니다~

@powerkimhub
Copy link
Member Author

@ish-hcc



  • NLB 생성 및 Health check는 잘 동작합니다.
    • 특징: NLB 포함되는 동안 VM의 해당 Port 접근 불가, NLB 해제시 다시 접근 가능
  • 그런데, NLB 삭제 과정에서 생성시 만들었던 SG가 삭제되고 있지 않습니다. (NLB는 삭제됨)
  • 관련 에러 메시지
    [CB-SPIDER].[ERROR]: 2025-02-07 21:20:33 SecurityHandler.go:260, github.com/cloud-barista/cb-spider/cloud-control-manager/cloud-driver/drivers/ibmcloud-vpc/resources.(*IbmSecurityHandler).DeleteSecurity() - Failed to Delete Security. err = This security group is still associated to one or more network interfaces and load balancers. Please remove all associations before deleting this security group.
    [CB-SPIDER].[ERROR]: 2025-02-07 21:20:33 NLBHandler.go:1493, github.com/cloud-barista/cb-spider/cloud-control-manager/cloud-driver/drivers/ibmcloud-vpc/resources.(*IbmNLBHandler).cleanerNLB() - Failed to Delete Security. err = This security group is still associated to one or more network interfaces and load balancers. Please remove all associations before deleting this security group.
    
  • NLB 생성시 드라이버에서 생성한 것으로 추정되는 SG
    • Image

[제안]

  • (1) SG 삭제 로직 개선: Dependency 체크 및 AssociationIP 대기하듯 SG 삭제 대기 Loop 로직 추가
  • (2) 내부에서 생성하는 SG Naming 개선

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

No branches or pull requests

2 participants