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

Fix initial failed status in MCIS provisioning #467

Merged
merged 1 commit into from
Apr 19, 2021

Conversation

seokho-son
Copy link
Member

MCIS 프로비저닝 중, VM 생성에 오류가 발생한 경우에도
여전히 Creating 상태로 표기되던 오류를 수정.

기존

Status MCIS
{
"status": {
"id": "mcis-shson46",
"name": "mcis-shson46",
"status": "Creating-(1/1)",
"targetStatus": "Running",
"targetAction": "Create",
"installMonAgent": "yes",
"masterVmId": "aws-ap-northeast-1-shson46-lead-0",
"masterIp": "",
"masterSSHPort": "0",
"vm": [
{
"id": "aws-ap-northeast-1-shson46-lead-0",
"name": "aws-ap-northeast-1-shson46-lead-0",
"csp_vm_id": "",
"status": "Creating",
"targetStatus": "Running",
"targetAction": "Create",
"native_status": "",
"monAgentStatus": "",
"public_ip": "",
"private_ip": "",
"sshPort": "0",
"location": {
"latitude": "35.4100",
"longitude": "139.4200",
"briefAddr": "Tokyo",
"cloudType": "aws",
"nativeRegion": "ap-northeast-1"
}
}
]
}

개선

Status MCIS
{
"status": {
"id": "mcis-shson46",
"name": "mcis-shson46",
"status": "Failed-(1/1)",
"targetStatus": "Running",
"targetAction": "Create",
"installMonAgent": "yes",
"masterVmId": "aws-ap-northeast-1-shson46-lead-0",
"masterIp": "",
"masterSSHPort": "0",
"vm": [
{
"id": "aws-ap-northeast-1-shson46-lead-0",
"name": "aws-ap-northeast-1-shson46-lead-0",
"csp_vm_id": "",
"status": "Failed",
"targetStatus": "Running",
"targetAction": "Create",
"native_status": "",
"monAgentStatus": "",
"public_ip": "",
"private_ip": "",
"sshPort": "0",
"location": {
"latitude": "35.4100",
"longitude": "139.4200",
"briefAddr": "Tokyo",
"cloudType": "aws",
"nativeRegion": "ap-northeast-1"
}
}
]
}
}

@seokho-son seokho-son requested a review from jihoon-seo as a code owner April 19, 2021 04:49
@jihoon-seo jihoon-seo merged commit 520e877 into cloud-barista:master Apr 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants