forked from kubevirt/kubevirt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
VM with RunStrategyHalted now accepts manual stop request with gracep…
…eriod=0 Originally, RunStrategyHalted blocked all stop requests. Now, if a user needs to force stop a VM that has stalled/crashed during shutdown, they can issue a subsequent force stop command with a grace period of 0, which will be honored and send a new stop request. Stu suggested doing this with any request with a shorter grace period, but for now I have just done it with a grace period of 0. Signed-off-by: prnaraya <[email protected]>
- Loading branch information
Showing
4 changed files
with
40 additions
and
8 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -709,7 +709,7 @@ var _ = Describe("[rfe_id:1177][crit:medium][vendor:[email protected]][level:com | |
Expect(vmi.Status.VirtualMachineRevisionName).To(Equal(expectedVMRevisionName)) | ||
oldVMRevisionName := expectedVMRevisionName | ||
|
||
By("Stoping the VM") | ||
By("Stopping the VM") | ||
newVM = stopVM(newVM) | ||
|
||
By("Updating the VM template spec") | ||
|