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

Skip to content

[BUG] Replica rebuild progress can go over 100% #12949

Description

@lelgenio

Describe the Bug

Image

To Reproduce

On an unstable network try to rebuild a volume

Expected Behavior

It should be impossible for replica rebuild progress to go over 100%

Support Bundle for Troubleshooting

I will try to reproduce again and provide a bundle. For now I assume the one from here could be used: #9626 (comment)

Environment

  • Longhorn version: 1.11.1
  • Impacted volume (PV):
  • Installation method (e.g. Rancher Catalog App/Helm/Kubectl): helm
  • Kubernetes distro (e.g. RKE/K3s/EKS/OpenShift) and version: Bare metal k8s
    • Number of control plane nodes in the cluster: 1
    • Number of worker nodes in the cluster: 2
  • Node config
    • OS type and version:
    • Kernel version:
    • CPU per node:
    • Memory per node:
    • Disk type (e.g. SSD/NVMe/HDD):
    • Network bandwidth between the nodes (Gbps):
  • Underlying Infrastructure (e.g. on AWS/GCE, EKS/GKE, VMWare/KVM, Baremetal): KVM
  • Number of Longhorn volumes in the cluster:

Additional context

I assume I'm seeing this because my nodes use Nebula VPN to communicate, which seems to be causing the network to be inconsistent.

Workaround and Mitigation

You can use disaster recovery backups to sync the volume to other nodes, then delete the faulty volume and replace it with the disaster recovery volumes.

Metadata

Metadata

Labels

area/v1-data-enginev1 data engine (iSCSI tgt)area/volume-replica-rebuildVolume replica rebuilding relatedbackport/1.11.2Require to backport to 1.11.2 release branchkind/bugpriority/0Must be implement or fixed in this release (managed by PO)require/auto-e2e-testRequire adding/updating auto e2e test cases if they can be automatedrequire/backportRequire backport. Only used when the specific versions to backport have not been definied.require/important-noteUpgrade, Deprecation, Important notesrequire/qa-review-coverageRequire QA to review coverage

Type

No fields configured for Bug.

Projects

Status
Resolved
Status
Closed

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions