V2K Cloud root disk size 처리 보완#29
Merged
dhslove merged 2 commits intoMay 29, 2026
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
개요
V2K ESXi 5.5 호환성 작업 중 Cloud cutover 단계에서
deployVirtualMachineForVolume호출이 실패하는 문제를 보완합니다.원인
deployVirtualMachineForVolume은 서비스 오퍼링에 매핑된 root disk offering이 customized size를 요구할 때 root disk size 정보가 필요합니다. 기존 V2K Cloud 요청은 CPU, 메모리, 컨트롤러 정보만details로 전달하고 root disk size를 전달하지 않아 Cloud API가 다음 오류로 거부했습니다.또한 기존 Cloud API 호출은
curl --fail을 사용해 HTTP 4xx 응답 본문을 버렸기 때문에, 실제errortext가 V2K 로그에 남지 않았습니다.변경 사항
size_bytes를 GiB 단위로 올림 계산해details[0].rootdisksize에 자동 포함합니다.details[0].rootdisksize=30으로 변환되는지 확인errorcode,cserrorcode,errortext를 요약할 수 있는지 확인검증
로컬 테스트 RPM도 정상 생성되었습니다.