Closed kvaps closed 2 years ago
Sometimes I also see another error: PV without volume attachment, nothing to do
time="2021-06-04T15:26:33Z" level=trace msg=update name=nextcloud-nfs-server-provisioner-0 namespace=nextcloud-nfs-server-provisioner-0 resource=Pod
time="2021-06-04T15:26:33Z" level=trace msg=remove name=nextcloud-nfs-server-provisioner-0 namespace=nextcloud-nfs-server-provisioner-0 resource=Pod
time="2021-06-04T15:26:33Z" level=debug msg="curl -X 'GET' -H 'Accept: application/json' 'https://linstor-controller:3371/v1/resource-definitions/pvc-efb31302-5feb-4dbe-93f5-8994eb08c6ca/resources'"
time="2021-06-04T15:26:33Z" level=trace msg="lost pv" lostPV=pvc-efb31302-5feb-4dbe-93f5-8994eb08c6ca
time="2021-06-04T15:26:33Z" level=trace msg="start reconciling failing volume attachments"
time="2021-06-04T15:26:33Z" level=info msg="processing failing pv" pv=pvc-efb31302-5feb-4dbe-93f5-8994eb08c6ca
time="2021-06-04T15:26:33Z" level=debug msg="PV without volume attachment, nothing to do" pv=pvc-efb31302-5feb-4dbe-93f5-8994eb08c6ca
time="2021-06-04T15:26:33Z" level=trace msg="finished reconciling failing volume attachments"
time="2021-06-04T15:26:33Z" level=trace msg=update name=csi-0c36bf3aa3e14cee55d5e4f944e16a3e408d87aaad9ab86cc0255fdb08f40206 resource=VA
time="2021-06-04T15:26:33Z" level=trace msg=update name=csi-0c36bf3aa3e14cee55d5e4f944e16a3e408d87aaad9ab86cc0255fdb08f40206 resource=VA
time="2021-06-04T15:26:33Z" level=trace msg=update name=csi-0c36bf3aa3e14cee55d5e4f944e16a3e408d87aaad9ab86cc0255fdb08f40206 resource=VA
# linstor -m rd l -r pvc-efb31302-5feb-4dbe-93f5-8994eb08c6ca
[
{
"rsc_dfns": [
{
"rsc_name": "pvc-efb31302-5feb-4dbe-93f5-8994eb08c6ca",
"rsc_dfn_uuid": "6a484c67-62c4-4d5c-9859-86c4e57ef7e9",
"vlm_dfns": [],
"rsc_dfn_props": [
{
"key": "DrbdPrimarySetOn",
"value": "M1C29"
},
{
"key": "Aux/csi-volume-annotations",
"value": "{\"name\":\"pvc-efb31302-5feb-4dbe-93f5-8994eb08c6ca\",\"id\":\"pvc-efb31302-5feb-4dbe-93f5-8994eb08c6ca\",\"createdBy\":\"linstor.csi.linbit.com\",\"creationTime\":\"2021-04-08T12:32:41.068078808Z\",\"sizeBytes\":53687091200,\"readonly\":false,\"parameters\":{\"disklessStoragePool\":\"DfltDisklessStorPool\",\"resourceGroup\":\"linstor-1\",\"storagePool\":\"thindata\"}}"
},
{
"key": "DrbdOptions/Resource/on-no-quorum",
"value": "io-error"
},
{
"key": "DrbdOptions/Resource/quorum",
"value": "majority"
}
],
"rsc_dfn_port": 7003,
"rsc_dfn_secret": "YebNHTSQyZVngVC/F3bz"
}
]
}
]
I'm experiencing very same issue quite easily, current HA controller doesn't look to be very reliable.
Yeah, as I've written down in #13 the current HA controller is easily confused, and relies too much on LINSTOR to always be working. That's why I created #14, which still needs more testing, but should solve these issues, and be generally much more reliable (and also a bit more "aggressive") in failing over workloads
This should be resolved by the rewrite for 1.0.0.
Hi, we faced with the problem when piraeus-ha-controller does not reconciling failing volume attachments due to "PV not associated to a PVC, nothing to do"
any ideas?