Files
cozystack/packages
Mattia Eleuteri 1725226d23 fix(linstor): restore snapshots on a schedulable node
A volume restored from a snapshot is pinned to the one node it is
restored on. linstor-csi picked that node among every ONLINE snapshot
node: its preferred-node filter matched all nodes, so the node the
scheduler selected got no priority, and a cordoned node was as good as
any other. A pod whose volume landed on a cordoned node stayed Pending
until the node was uncordoned, which made Velero data mover backups
time out on every storage node cordoned ahead of maintenance, even when
schedulable replicas held the same snapshot.

Prefer the selected node when it holds the snapshot, and skip cordoned
nodes while another node holds it.

Assisted-by: LLM
Signed-off-by: Mattia Eleuteri <mattia@hidora.io>
2026-11-13 09:30:36 +01:00
..