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

Handling when MCIS status is 'Failed' #155

Open
sykim-etri opened this issue Nov 8, 2022 · 0 comments
Open

Handling when MCIS status is 'Failed' #155

sykim-etri opened this issue Nov 8, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@sykim-etri
Copy link
Member

What happened
: 실제 MCIS 생성이 실패하였으나 POST가 성공하였기에 정상 처리로 인식하여 클러스터 생성을 계속 진행하면서 오류가 발생하고 있으니 검토가 필요합니다.

https://github.com/cloud-barista/cb-mcks/blob/bc6cf2bc6a81ce21e5f680a7eac9ad737101085e/src/core/service/cluster.go#L175-L180

DEBU[0006] [POST] Start to execute a HTTP (url='/ns/cb-mcks-ns/mcis')                                                                                      
DEBU[0043] [cb-mcks-ns.openstack-01] MCIS status is 'Failed:3 (R:0/3)' & vms='[{{c-1-t1fwe cb-mcks-ns} openstack-01  1 config-openstack-regionone config-openstack-regionone-vpc config-openstack-regionone-subnet [config-openstack-regionone-sg] config-openstack-regionone-sshkey config-openstack-regionone-ubuntu1
804 config-openstack-regionone-ds2g-spec cb-user   empty  Failed {"message":"Failed to startVM err = Request forbidden: [POST http://129.254.188.235/compute/v2.1/servers], error message: {\"forbidden\": {\"code\": 403, \"message\": \"Quota exceeded for cores, instances: Requested 2, 1, but already used 20, 10 
of 20, 10 cores, instances\"}}"}                                                                                                                           
 default default { } { {} [] {}}} {{w-1-k619v cb-mcks-ns} openstack-01   config-openstack-regionone config-openstack-regionone-vpc config-openstack-regionone-subnet [config-openstack-regionone-sg] config-openstack-regionone-sshkey config-openstack-regionone-ubuntu1804 config-openstack-regionone-ds2g-spec cb-us
er   empty  Failed {"message":"Failed to startVM err = failed to Associate PublicIP, err : Resource not found"}  
 default default { } { {} [] {}}} {{w-2-ad31q cb-mcks-ns} openstack-01   config-openstack-regionone config-openstack-regionone-vpc config-openstack-regionone-subnet [config-openstack-regionone-sg] config-openstack-regionone-sshkey config-openstack-regionone-ubuntu1804 config-openstack-regionone-ds2g-spec cb-us
er   empty  Failed {"message":"Failed to startVM err = failed to Associate PublicIP, err : Resource not found"}
 default default { } { {} [] {}}}]'                                          
INFO[0043] [cb-mcks-ns.openstack-01] MCIS creation has been completed.                                                                                     
...       

Environment

  • Source version or branch: v0.6.4@master
@sykim-etri sykim-etri added the bug Something isn't working label Nov 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant