N2K Cloud cutover 전원 정책 및 MAC 보존 UI 연동#833
Merged
dhslove merged 3 commits intoMay 26, 2026
Merged
Conversation
7eb3b6e
into
ablecloud-team:ablestack-europa
8 of 10 checks passed
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.
개요
N2K 기반 Nutanix VM 가져오기에서 Cloud 관점의 cutover 동작을 보완합니다. 원본 MAC 주소 보존 흐름을 UI에 명확히 표시하고, Phase2 cutover 이후 대상 VM을 자동 시작할지 또는 정지 상태로 유지할지 선택할 수 있도록 API, Backend, KVM wrapper, UI를 연결했습니다.
주요 변경 사항
importUnmanagedInstanceForAblestackN2KAPI에starttargetvm파라미터를 추가했습니다.startTargetVm값을 task source context에 저장하고, retry/resume/phase2 실행 시 재사용하도록 했습니다.startTargetVm=true는--start,false는--apply로 전달하도록 했습니다.--start/--apply전달 검증을 추가했습니다.DB 변경
import_vm_task계열의 기존 source context JSON에startTargetVm값을 저장해 재사용합니다.검증
mvn -pl api,core,server,plugins/hypervisors/kvm -am -DskipTests installmvn -pl plugins/hypervisors/kvm -Dtest=LibvirtAblestackN2KConvertInstanceCommandWrapperTest testnpm run buildmold-agent.service정상 기동 및 관리 서버 ReadyAnswer/host stats 수신을 확인했습니다.배포 주의 사항
22.x 공유 개발 환경에서는 새 브랜치에서 빌드한 전체
cloud-core또는 KVM plugin jar를 그대로 덮어쓰지 않아야 합니다. 현재 호스트 런타임과 다른 신규 의존성이 포함될 수 있으므로, 호스트에 배포된 기존 jar 백업본을 기준으로 필요한 변경 클래스만 패치하거나, 전체 런타임 정합 패키지를 명시적으로 승인받고 반영해야 합니다.