From 259efc10c4082f467938c8f8b4a81b650a48ef7d Mon Sep 17 00:00:00 2001 From: Albin Sun Date: Mon, 3 Jun 2024 15:03:43 +0800 Subject: [PATCH] Detail steps for 'Negative power down node while restoring' --- ...power-down-node-while-restoring-replace.md | 23 +++++++++++++++++-- .../volumes/1334-evict-disks-check-vms.md | 2 +- 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/docs/content/manual/backup-and-restore/negative-power-down-node-while-restoring-replace.md b/docs/content/manual/backup-and-restore/negative-power-down-node-while-restoring-replace.md index fb832220e..9badbe584 100644 --- a/docs/content/manual/backup-and-restore/negative-power-down-node-while-restoring-replace.md +++ b/docs/content/manual/backup-and-restore/negative-power-down-node-while-restoring-replace.md @@ -1,8 +1,27 @@ --- title: Negative Power down the node where the VM is getting replaced by the restore --- -1. Initiate a restore with existing VM. + +* Related issues + - [tests#1263](https://github.com/harvester/tests/issues/1263) [ReleaseTesting] Negative Power down the node where the VM is getting replaced by the restore + + +## Verification Steps +1. Setup a 3 nodes harvester +1. Create a VM w/ extra disk and some data +1. Backup and shutdown VM +1. Start to observe `pod/virt-launcher-VMNAME` to get the node VM restoring on for next step. +1. Initiate a restore with existing VM, get node info from `pod/virt-launcher-VMNAME`. + ![image](https://github.com/harvester/tests/assets/2773781/eb3750eb-26a1-4785-b2d5-a41a4c749dcb) + 1. While the restore is in progress and VM is starting on a node, shut down the node ## Expected Results -1. You should get an error \ No newline at end of file +1. 1st restore should fail + ![image](https://github.com/harvester/tests/assets/2773781/49fcf50e-6c84-4198-bc91-b42cbc123c51) + +2. VM should be restore to another node and `Running` + ![image](https://github.com/harvester/tests/assets/2773781/a316c185-3a43-44be-a9d3-a65480837b18) + +3. Test data still available and not broken + ![image](https://github.com/harvester/tests/assets/2773781/62cd07d1-9ba5-4ff9-9120-41695beb966d) diff --git a/docs/content/manual/volumes/1334-evict-disks-check-vms.md b/docs/content/manual/volumes/1334-evict-disks-check-vms.md index 208718632..31bb644fc 100644 --- a/docs/content/manual/volumes/1334-evict-disks-check-vms.md +++ b/docs/content/manual/volumes/1334-evict-disks-check-vms.md @@ -4,7 +4,7 @@ title: Verify that VMs stay up when disks are evicted * Related issues - [#1334](https://github.com/harvester/harvester/issues/1334) Volumes fail with Scheduling Failure after evicting disc on multi-disc node - - [#5307](https://github.com/harvester/harvester/issues/5307) Replicas should be evicted and rescheduled to other disks before removing extrak disk + - [#5307](https://github.com/harvester/harvester/issues/5307) Replicas should be evicted and rescheduled to other disks before removing extra disk ## Verification Steps