diff --git a/docs/content/manual/pre-release/node-not-ready/node-restart/dr-volume-node-rebooted.md b/docs/content/manual/pre-release/node-not-ready/node-restart/dr-volume-node-rebooted.md deleted file mode 100644 index 2702e1fa72..0000000000 --- a/docs/content/manual/pre-release/node-not-ready/node-restart/dr-volume-node-rebooted.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: "[#1366](https://github.com/longhorn/longhorn/issues/1366) && [#1328](https://github.com/longhorn/longhorn/issues/1328) The node the DR volume attached to is rebooted" ---- -#### Scenario 1 -1. Create a pod with Longhorn volume. -2. Write data to the volume and get the md5sum. -3. Create the 1st backup for the volume. -4. Create a DR volume from the backup. -5. Wait for the DR volume starting the initial restore. Then reboot the DR volume attached node immediately. -6. Wait for the DR volume detached then reattached. -7. Wait for the DR volume restore complete after the reattachment. -8. Activate the DR volume and check the data md5sum. -#### Scenario 2 -1. Create a pod with Longhorn volume. -2. Write data to the volume and get the md5sum. -3. Create the 1st backup for the volume. -4. Create a DR volume from the backup. -5. Wait for the DR volume to complete the initial restore. -6. Write more data to the original volume and get the md5sum. -7. Create the 2nd backup for the volume. -8. Wait for the DR volume incremental restore getting triggered. Then reboot the DR volume attached node immediately. -9. Wait for the DR volume detached then reattached. -10. Wait for the DR volume restore complete after the reattachment. -11. Activate the DR volume and check the data md5sum. diff --git a/e2e/tests/negative/test_dr_volume_node_reboot.robot b/e2e/tests/negative/test_dr_volume_node_reboot.robot index 26d164e6f6..2a8d2c7f30 100644 --- a/e2e/tests/negative/test_dr_volume_node_reboot.robot +++ b/e2e/tests/negative/test_dr_volume_node_reboot.robot @@ -30,8 +30,16 @@ ${DATA_ENGINE} v1 *** Test Cases *** DR Volume Node Reboot During Initial Restoration [Tags] manual longhorn-8425 - [Documentation] Test DR volume node reboot - ... during initial restoration + [Documentation] Test DR volume node reboot during initial restoration + ... Create a pod with Longhorn volume. + ... Write data to the volume and get the md5sum. + ... Create the 1st backup for the volume. + ... Create a DR volume from the backup. + ... Wait for the DR volume starting the initial restore. + ... Then reboot the DR volume attached node immediately. + ... Wait for the DR volume detached then reattached. + ... Wait for the DR volume restore complete after the reattachment. + ... Activate the DR volume and check the data md5sum. Given Create volume 0 with dataEngine=${DATA_ENGINE} And Attach volume 0 And Wait for volume 0 healthy @@ -52,8 +60,19 @@ DR Volume Node Reboot During Initial Restoration DR Volume Node Reboot During Incremental Restoration [Tags] manual longhorn-8425 - [Documentation] Test DR volume node reboot - ... During Incremental Restoration + [Documentation] Test DR volume node reboot During Incremental Restoration + ... Create a pod with Longhorn volume. + ... Write data to the volume and get the md5sum. + ... Create the 1st backup for the volume. + ... Create a DR volume from the backup. + ... Wait for the DR volume to complete the initial restore. + ... Write more data to the original volume and get the md5sum. + ... Create the 2nd backup for the volume. + ... Wait for the DR volume incremental restore getting triggered. + ... Then reboot the DR volume attached node immediately. + ... Wait for the DR volume detached then reattached. + ... Wait for the DR volume restore complete after the reattachment. + ... Activate the DR volume and check the data md5sum. Given Create volume 0 with dataEngine=${DATA_ENGINE} And Attach volume 0 And Wait for volume 0 healthy