1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00

Merge pull request #42438 from openshift-cherrypick-robot/cherry-pick-41324-to-enterprise-4.10

[enterprise-4.10] CNV-13715: Online VM Snapshot improvements
This commit is contained in:
Michael Burke
2022-02-25 12:34:17 -05:00
committed by GitHub
2 changed files with 7 additions and 3 deletions

View File

@@ -64,11 +64,13 @@ $ kubectl wait my-vm my-vmsnapshot --for condition=Ready
+
[NOTE]
====
Online snapshots have a default time deadline of five (`5`) minutes. If the snapshot does not complete successfully in five minutes, the status is set to `failed`. Afterwards, the file system will be thawed and the VM unfrozen but the status remains `failed` until you delete the failed snapshot image.
Online snapshots have a default time deadline of five minutes (`5m`). If the snapshot does not complete successfully in five minutes, the status is set to `failed`. Afterwards, the file system will be thawed and the VM unfrozen but the status remains `failed` until you delete the failed snapshot image.
To change the default time deadline, add the `FailureDeadline` attribute to the VM snapshot spec with the time (in minutes) that you want to specify before the snapshot operation times out.
To change the default time deadline, add the `FailureDeadline` attribute to the VM snapshot spec with the time designated in minutes (`m`) or in seconds (`s`) that you want to specify before the snapshot operation times out.
To set no deadline, you can specify `0`, though this is generally not recommended, as it can result in an unresponsive VM.
If you do not specify a unit of time such as `m` or `s`, the default is seconds (`s`).
====
.Verification

View File

@@ -11,9 +11,11 @@ You can create and delete virtual machine (VM) snapshots for VMs, whether the VM
* Red Hat OpenShift Container Storage
* Any other storage provider with the Container Storage Interface (CSI) driver that supports the Kubernetes Volume Snapshot API
Online snapshots have a default time deadline of five minutes (`5m`) that can be changed, if needed.
[IMPORTANT]
====
Online snapshots are not supported for virtual machines that have hot-plugged virtual disks.
Online snapshots are supported for virtual machines that have hot-plugged virtual disks. However, hot-plugged disks that are not in the virtual machine specification are not included in the snapshot.
====
[NOTE]