cb-spider icon indicating copy to clipboard operation
cb-spider copied to clipboard

[KTCLOUDVPC:VM] SecurityGroupIIds is empty

Open powerkimhub opened this issue 9 months ago • 0 comments

[증상]

  • VM이 생성까지는 되는데,
  • GetVM 시에 SecurityGroupIIds is empty 오류가 발생하고 있습니다.
    • 이 경우, AdminWeb으로 VM 목록을 보면 다음과 같은 오류와 함께 목록이 출력되지 않습니다.
      [오후 8:23:18] curl -sX GET http://localhost:1024/spider/vm -H 'Content-Type: application/json' -d '{"ConnectionName": "ktcloudvpc-mokdong1-config"}'
      [오후 8:23:18]    ==> {"message":"ktcloudvpc-mokdong1-config:VM:vm-01 # vm-01: SecurityGroupIIds is empty"}
      
    • 반면, management 목록을 확인하면 ID 맵핑만 추출하므로 다음과 같이 이상 없이 출력 됩니다.
      • image

[분석]

  • KTCLOUD VPC 경우, SG 생성을 Driver에서 처리하므로
  • GetVM 시 반환하는 VM InfoSecurityGroupIIds 정보를 설정해줘야 하는데 설정하는 코드 블록이 없는 것 같습니다.

powerkimhub avatar May 10 '24 11:05 powerkimhub