Skip to content

[BUG] Disk eviction not doing anything #2995

Closed
@vinid223

Description

Describe the bug
I added disks to a cluster to each of my nodes to replace the existing disks as the main storage.

For each node, I went into the disk settings and disabled the scheduling for the old disks and enabled eviction. The new disks are activated for scheduling.

It's been hours and not a single replicat have been moved. I can't see any logs in the longhorn ui. The disks works when I force delete a replicat and it rebuilt fine in the other disks.

To Reproduce
Steps to reproduce the behavior:

  1. Add disk to node
  2. Setup disk in longhorn with scheduled enable
  3. Setup old disk in longhorn to disable scheduling and enable eviction
  4. Wait and watch for nothing happening

Expected behavior
Replicat are being moved. If not, show logs or information in the volume page info or node info or main page.

Log
If needed, I can generate a support bundle

Environment:

  • Longhorn version: 1.1.2
  • Installation method (e.g. Rancher Catalog App/Helm/Kubectl): Rancher Catalog
  • Kubernetes distro (e.g. RKE/K3s/EKS/OpenShift) and version: K3s 1.21.4
    • Number of management node in the cluster: 1
    • Number of worker node in the cluster:3 (the management node is also a worker, so 4 nodes)
  • Node config
    • OS type and version: Raspbian 10 (Buster)
    • CPU per node: 4
    • Memory per node: 8gb
    • Disk type(e.g. SSD/NVMe): SD Card for main OS, external USB HDD 1TB (node 2, 3 and 4)
    • Network bandwidth between the nodes: 1GB
  • Underlying Infrastructure (e.g. on AWS/GCE, EKS/GKE, VMWare/KVM, Baremetal):Baremetal
  • Number of Longhorn volumes in the cluster: 11

Additional context
N/A

Metadata

Assignees

Labels

backport/1.1.3Require to backport to 1.1.3 release branchbackport/1.2.1Require to backport to 1.2.1 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 automated

Type

No type

Projects

  • Status

    Closed

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions