Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[BUG] DR volume does not continue to restore after node reboot #2920

@c3y1huang

Description

@c3y1huang

Describe the bug
Waited for ~1 hour, DR volume does not continue to restore after node reboot.
Screenshot-2021-08-24-13:39:43

To Reproduce
Steps to reproduce the behavior:

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 power off/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.

Expected behavior
Should continue and complete restore after node reboot.

Log
longhorn-support-bundle_08642975-c7de-4048-975a-f900fdaecce8_2021-08-24T05-32-00Z.zip

Environment:

  • Longhorn version: master
  • Installation method (e.g. Rancher Catalog App/Helm/Kubectl): kubectl
  • Kubernetes distro (e.g. RKE/K3s/EKS/OpenShift) and version: k3s
    • Number of management node in the cluster:
    • Number of worker node in the cluster:
  • Node config
    • OS type and version: SLES15SP3
    • CPU per node: 4
    • Memory per node: 8
    • Disk type(e.g. SSD/NVMe): SSD
    • Network bandwidth between the nodes:
  • Underlying Infrastructure (e.g. on AWS/GCE, EKS/GKE, VMWare/KVM, Baremetal): AWS
  • Number of Longhorn volumes in the cluster: 2

Additional context
Add any other context about the problem here.

Metadata

Metadata

Labels

area/v1-data-enginev1 data engine (iSCSI tgt)area/volume-backup-restoreVolume backup restorebackport/1.1.3Require to backport to 1.1.3 release branchkind/bugkind/regressionRegression which has worked beforereproduce/always100% reproducibleseverity/2Function working but has a major issue w/o workaround (a major incident with significant impact)

Type

No type

Projects

Status

Closed

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions