-
Notifications
You must be signed in to change notification settings - Fork 59
PVC in unused when loosing a node of two. #191
Description
Hi,
I have 3 controlplanes and two workers.
I used a placement of two for replication.
If I cordon and drain a node, and then uncordon my node I have all my pvc in unused state.
an abstract:
kubectl -n piraeus exec -it deployment/linstor-controller -- linstor volume list
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
┊ Node ┊ Resource ┊ StoragePool ┊ VolNr ┊ MinorNr ┊ DeviceName ┊ Allocated ┊ InUse ┊ State ┊
╞═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╡
┊ k8sw1.gil-yan.net ┊ pvc-1f60b906-60b4-418d-bbc6-d55c8edbd585 ┊ lvm-thin ┊ 0 ┊ 1001 ┊ /dev/drbd1001 ┊ 3.94 GiB ┊ Unused ┊ UpToDate ┊
┊ k8sw2.gil-yan.net ┊ pvc-1f60b906-60b4-418d-bbc6-d55c8edbd585 ┊ lvm-thin ┊ 0 ┊ 1001 ┊ /dev/drbd1001 ┊ 3.94 GiB ┊ Unused ┊ UpToDate ┊
┊ k8sw1.gil-yan.net ┊ pvc-430f8dc8-aca4-4b3e-8b5c-7a90bf281123 ┊ lvm-thin ┊ 0 ┊ 1007 ┊ /dev/drbd1007 ┊ 173.70 MiB ┊ Unused ┊ UpToDate ┊
┊ k8sw2.gil-yan.net ┊ pvc-430f8dc8-aca4-4b3e-8b5c-7a90bf281123 ┊ lvm-thin ┊ 0 ┊ 1007 ┊ /dev/drbd1007 ┊ 218.28 MiB ┊
kubectl -n piraeus exec -it deployment/linstor-controller -- drbdsetup status
pvc-1f60b906-60b4-418d-bbc6-d55c8edbd585 role:Secondary
disk:UpToDate
k8sw1.gil-yan.net connection:StandAlone
pvc-430f8dc8-aca4-4b3e-8b5c-7a90bf281123 role:Secondary
disk:UpToDate
k8sw1.gil-yan.net connection:StandAlone
pvc-43ab85c9-ff82-4352-821a-2139bba8ab8c role:Secondary
disk:UpToDate
k8sw1.gil-yan.net connection:StandAlone
pvc-49a29ef4-eb2e-421c-866c-12201ed245e9 role:Secondary
I'm sorry for this noob question, but how to correct this 'issue' ?
thx.