Repository navigation
ISSUE 685,686,687 ALIBABA, GCP, TENCENT resume reboot 로직 보완 - #689
Merged
Merged
Conversation
global, region, zone operation별 진행상태 체크용
GCPInstanceStop 추가 : Vm Stop하는 부분 별도로 분리 . 비동기 방식이므로 operation return. . 동기 방식으로 처리하려면 operation 의 status를 체크하는 WaitOperationComplete 를 이용. 완료까지 대기 WaitForRun 위치 변경 : source의 가장 아래로
- vm status == running 이면 reset 호춯 - vm status == suspended 이면 ResumeVM 호출 - 그외에는 ing 이므로 fail return
Issue 685 20200630 yhnoh
AS-IS : Starting -> Unknown status TO-BE : Starting -> Resuming
issue 686 : alibaba resume, reboot 시 상태값(Starting)을 Resuming과 매핑시킴.
resume 일 때, running 상태일때만 호출가능 reboot 일 때, suspended 상태일 때 resume 호출 running일 때 rebootInstance 호출
resume 일 때, running 상태일때만 호출가능
[ALIBABA, TENCENT] Issue 686,687 resume reboot 로직 보완
powerkimhub
self-requested a review
July 1, 2022 00:07
powerkimhub
approved these changes
Jul 1, 2022
This was referenced Jul 1, 2022
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.
상태 체크 추가[ALIBABA, TENCENT]
Reboot 로직
Resume 로직
[GCP]
GCPInstanceStop 추가 : Vm Stop하는 부분 별도로 분리
. 비동기 방식이므로 operation return.
. 동기 방식으로 처리하려면 operation 의 status를 체크하는 WaitOperationComplete 를 이용. 완료까지 대기
WaitForRun 위치 변경 : source의 가장 아래로