cb-spider
cb-spider copied to clipboard
[NCP] Unknown error message when call VM mgmt
- VPC -> SG -> Key -> VM(Windows) 생성 후
- 아래 그림처럼 VM mgmt(
List All VM
)를 호출하면, - 전혀 관련 없는
vpc-01-cdn00lhjcupqjjlde1rg.json
not found 오류가 발생하고 있습니다. - 추정: 다른 사용자가 생성한 VPC 및 VM 정보와 섞이는 것은 아닌가 싶습니다.
- 호출 API 및 오류 메시지
[오후 3:44:06] curl -sX GET http://localhost:1024/spider/allvm -H 'Content-Type: application/json' -d '{"ConnectionName": "ncp-korea1-config"}' [오후 3:44:06] ==> {"message":"Failed to Find the VPC : Failed to Find the VPC file : open /home/ubuntu/cb-spider/cloud-driver-libs/.vpc-ncp/KR-1/vpc-01-cdn00lhjcupqjjlde1rg.json: no such file or directory, [%!v(MISSING)]/home/ubuntu/cb-spider/cloud-driver-libs/.vpc-ncp/KR-1/vpc-01-cdn00lhjcupqjjlde1rg.json "}
- 이때, 관련 파일 목록은 다음과 같고, 이 파일이 생성한 VPC 정보와 일치하는 파일임
$ ls cloud-driver-libs/.vpc-ncp/KR-1
vpc-01-cn0qvdvds1kaunsq4bmg.json