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

[GCP:NLB] Error occured in GCP when create a NLB #1428

Open
Jeon-Jinhyeok opened this issue Jan 20, 2025 · 3 comments
Open

[GCP:NLB] Error occured in GCP when create a NLB #1428

Jeon-Jinhyeok opened this issue Jan 20, 2025 · 3 comments
Assignees
Labels
bug Something isn't working CloudDriver

Comments

@Jeon-Jinhyeok
Copy link
Member

What happened
: Create NLB in GCP --> Error occuerd (maybe not found)

Error creating NLB: (2) Targetpool delete error : googleapi: got HTTP response code 404 with body: <!DOCTYPE html> <html lang=en> <meta charset=utf-8> <meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width"> <title>Error 404 (Not Found)!!1</title> <style> *{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png) no-repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat 0% 0%/100% 100%;-moz-border-image:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) 0}}@media only screen and (-webkit-min-device-pixel-ratio:2){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat;-webkit-background-size:100% 100%}}#logo{display:inline-block;height:54px;width:150px} </style> <a href=//www.google.com/><span id=logo aria-label=Google></span></a> <p><b>404.</b> <ins>That’s an error.</ins> <p>The requested URL <code>/compute/v1/projects/powerkimhub/regions/asia-northeast3/targetPools/?alt=json&amp;prettyPrint=false</code> was not found on this server. <ins>That’s all we know.</ins> (2) Targetpool delete error : googleapi: got HTTP response code 404 with body: <!DOCTYPE html> <html lang=en> <meta charset=utf-8> <meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width"> <title>Error 404 (Not Found)!!1</title> <style> *{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png) no-repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat 0% 0%/100% 100%;-moz-border-image:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) 0}}@media only screen and (-webkit-min-device-pixel-ratio:2){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat;-webkit-background-size:100% 100%}}#logo{display:inline-block;height:54px;width:150px} </style> <a href=//www.google.com/><span id=logo aria-label=Google></span></a> <p><b>404.</b> <ins>That’s an error.</ins> <p>The requested URL <code>/compute/v1/projects/powerkimhub/regions/asia-northeast3/targetPools/?alt=json&amp;prettyPrint=false</code> was not found on this server. <ins>That’s all we know.</ins> (2) TargetPool googleapi: Error 404: The resource 'projects/powerkimhub/zones/asia-northeast3-a/instances/gcp-seoul-vm-wrb-cu73fef140vgl6qn87pg' was not found, notFound
@Jeon-Jinhyeok Jeon-Jinhyeok added the bug Something isn't working label Jan 20, 2025
@powerkimhub
Copy link
Member

@Jeon-Jinhyeok


  • Spider 서버 사이드 에러도 올려주세요.

@Jeon-Jinhyeok
Copy link
Member Author

@powerkimhub

서버에서도 동일한 에러가 출력됩니다.

@powerkimhub
Copy link
Member

@Jeon-Jinhyeok


  • 최신 소스로 재시험 부탁 드립니다.

@MZC-CSC


  • 관련하여,
  • NLB Handler에서 VM을 제어를 할때,
  • Zone-based Control이 가능하도록 다음 3개의 함수를 확장하였습니다.
    addTargetPoolInstance()
    removeTargetPoolInstances()
    convertNlbInfoToTargetPool()
    

@MZC-CSC

  • 관련한 시험 중인 관계로 hotfix로 직접 반영하였습니다.
  • 현황 공유 드리오니, 혹시 반영코드에 이슈가 있는 지, 더 수정해야할 함수가 있는 지 등의 Review 부탁 드립니다.
  • 원래 함수는 xxxOrg()로 유지해둔 상태입니다.
    • xxxOrg()는 현 시험이 완료되면 삭제할 예정이오니,
    • Review시 참고하시기 바랍니다.

@powerkimhub powerkimhub changed the title [BUG] Error occured in GCP when create a NLB [GCP:NLB] Error occured in GCP when create a NLB Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working CloudDriver
Projects
None yet
Development

No branches or pull requests

3 participants