Add new CSP support: NCP #439
Replies: 11 comments 1 reply
-
@innodreamer 확인 및 현황 공유 부탁드립니다.
|
Beta Was this translation helpful? Give feedback.
-
@jihoon-seo 일단은~~ master에는 아직 올리지 않는 것이 좋겠습니다.. ^^ |
Beta Was this translation helpful? Give feedback.
-
As of 2021-06-18:
[해결 방법] go get -v github.com/NaverCloudPlatform/ncloud-sdk-go-v2@v1.1.7
go get -v github.com/appleboy/easyssh-proxy
go get -v github.com/sfreiberg/simplessh 그 다음, 빌드용 컨테이너 안에서 이후, 빌드용 컨테이너를 빠져나온 뒤, |
Beta Was this translation helpful? Give feedback.
-
Spider 에서 "Internal Server Error" 를 리턴했습니다. {
"systemMessage": "{\"message\":\"Internal Server Error\"}\n"
} Spider adminweb 으로 확인해 보니 Spider 객체도 없습니다. |
Beta Was this translation helpful? Give feedback.
-
{
"systemMessage": "{\"message\":\"Internal Server Error\"}\n"
} Spider adminweb 으로 확인해 보니 Spider 객체도 없습니다. |
Beta Was this translation helpful? Give feedback.
-
2022-03-11 CB-Spider NCP 드라이버가 업데이트되어, 다시 테스트를 해 보았습니다.
2-1. CB-Spider SG 객체 이름을 꼭
2-2. CB-Tumblebug SG 객체 이름을
|
Beta Was this translation helpful? Give feedback.
-
[Tumblebug 테스트 스크립트에서의 수정 사항 상세]
- "name": "'${CONN_CONFIG[$INDEX,$REGION]}'-'${POSTFIX}'",
+ "name": "default1",
"connectionName": "'${CONN_CONFIG[$INDEX,$REGION]}'",
- curl -H "${AUTH}" -sX DELETE http://$TumblebugServer/tumblebug/ns/$NS_ID/resources/securityGroup/${CONN_CONFIG[$INDEX,$REGION]}-${POSTFIX} -H 'Content-Type: application/json' -d \
+ curl -H "${AUTH}" -sX DELETE http://$TumblebugServer/tumblebug/ns/$NS_ID/resources/securityGroup/default1?force=true -H 'Content-Type: application/json' -d \
"securityGroupIds": [
- "'${CONN_CONFIG[$INDEX,$REGION]}'-'${POSTFIX}'"
+ "default1"
], [MCIS (1 VM) 생성] (AgentInstallOn: no)
[MCIS (1 VM) 생성] (AgentInstallOn: yes)
|
Beta Was this translation helpful? Give feedback.
-
현재는 TB 버그로 인해, SP에 SG 생성 요청할 때 NS prefix를 붙이지 않는데 (예: 사용자는 이를 예측하고 NCP 콘솔에서 SG를 생성해 놓아야 할 것이며, SP NCP 드라이버에서 특정 SG 이름만 허용하고 있는 것으로 보여서 |
Beta Was this translation helpful? Give feedback.
-
@jihoon-seo @seokho-son @powerkimhub 참고로, NCP Classic CSP에서는 물리적 네트워크를 사용하여 VPC/Subnet 제어 서비스는 제공하지 않지만, 연동 driver는 CB-Spider common interface에 맞춰서 개발되어야하니 VPC/Subnet 제어 기능을 제공하는데, driver를 통해서 제어시 VPC/Subnet에 대해 아무 이름이나 사용 가능하고, CIDR은 NCP Classic CSP의 private IP 대역을 사용해야합니다. |
Beta Was this translation helpful? Give feedback.
-
2022년 9월 29일 기준, |
Beta Was this translation helpful? Give feedback.
-
테스트 완료 22-10-04 |
Beta Was this translation helpful? Give feedback.
-
CloudOS integration: NCP
연동 현황: 완료
시험 현황: 완료
주의사항
Spider NCP 드라이버에 pre-defined 된 값으로 VPC 생성 요청을 해야 합니다.
NCP 에서 default 로 제공하는 SG 에 맞게 SG 생성 요청을 하거나,
미리 NCP 콘솔에서 생성한 SG 에 맞게 SG 생성 요청을 해야 합니다.
NCP 콘솔에서 "ncp-sg-01" 라는 이름으로 SG를 생성하고,
NCP 드라이버에 "ncp-sg-01" 라는 이름의 SG를 다루는 코드를 추가하여 사용했습니다.
[Tumblebug 테스트 스크립트에서의 수정 사항 상세]
test/official/3.vNet/create-vNet.sh
test/official/3.vNet/delete-vNet.sh
test/official/4.securityGroup/create-securityGroup.sh
test/official/4.securityGroup/delete-securityGroup.sh
test/official/8.mcis/create-mcis.sh
클라우드 등록, MCIR 생성 및 등록, MCIS 생성 및 등록
❯ ./create-mcis.sh ncp 1 jhseo
[NCP 콘솔에서 VM 확인 완료]
deploy-weavescope-to-mcis.sh
❯ ./deploy-weavescope-to-mcis.sh ncp 1 jhseo
Control MCIS lifecycle
❯ ./suspend-mcis.sh ncp 1 jhseo
[NCP 콘솔에서 VM 확인 완료]
❯ ./status-mcis.sh ncp 1 jhseo
❯ ./resume-mcis.sh ncp 1 jhseo
[NCP 콘솔에서 VM 확인 완료]
❯ ./status-mcis.sh ncp 1 jhseo
❯ ./just-terminate-mcis.sh ncp 1 jhseo
[NCP 콘솔에서 VM 확인 완료]
MCIS 중지 및 삭제, MCIR 중지 및 삭제, 등록된 클라우드 삭제
[NCP 콘솔에서 VM 확인 완료]
Beta Was this translation helpful? Give feedback.
All reactions