Skip to content

Commit

Permalink
Update disk eviction manual TC
Browse files Browse the repository at this point in the history
  • Loading branch information
albinsun authored and khushboo-rancher committed Jun 3, 2024
1 parent 68123a0 commit 949a95f
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions docs/content/manual/volumes/1334-evict-disks-check-vms.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,19 @@ title: Verify that VMs stay up when disks are evicted
1. disk A of node0
1. root disk of node1
1. root disk of node2
1. Created storage class with disk tag `test`.
1. Created storage class with disk tag `test` and replica `3`.
1. Created volume (called B) with previous storage class. You should check scheduling status in the longhorn page.
1. Created VM with volume B as extra volume (not boot volume).
1. The node scheduling status should look like this. {{< image "images/volumes/1334-image-01.png" >}}
1. Deleted disk A in the harvester node page, error message should be displayed.
1. Added disk tag `test` to **root disk of node0**.
1. Requested eviction and disabled scheduling on disk A in the longhorn dashboard.
Before:
{{< image "images/volumes/1334-image-02.png" >}}

After:
{{< image "images/volumes/1334-image-03.png" >}}
1. The node scheduling status should look like this.
{{< image "images/volumes/1334-image-01.png" >}}

1. Removed disk A in the harvester node page, and it should be removed.
1. Delete disk A in the harvester node page and revisit it, error message should be displayed.
1. Check **Eviction Requested** is `True` and **Scheduling** is `Disable` on disk A in the longhorn dashboard.
{{< image "images/volumes/1334-image-02.png" >}}

1. Add disk tag `test` to **root disk of node0**.
1. Now disk A should be removed since replica condition is satisfied again.
{{< image "images/volumes/1334-image-03.png" >}}

## Expected Results
1. Disk A is removed on the harvester node page.
Expand Down

0 comments on commit 949a95f

Please sign in to comment.