You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pod gets stuck initializing with unable to mount volume
Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal Scheduled 2m26s default-scheduler Successfully assigned cos/loki-0 to microk8s-2 Warning FailedAttachVolume 2m26s attachdetach-controller Multi-Attach error for volume "pvc-f17ed96a-a729-420d-8586-af31dd7eb212" Volume is already exclusively attached to one node and can't be attached to another Warning FailedMount 23s kubelet Unable to attach or mount volumes: unmounted volumes=[loki-loki-chunks-4bd159ef], unattached volumes=[loki-loki-chunks-4bd159ef], failed to process volumes=[]: timed out waiting for the condition
Loki pod is scheduled to microk8s-2 (juju unit: microk8s/3), but the pvc is still on microk8s-3 (juju unit: microk8s/2) and mayastor is unable to move it to the new node. Relevant log snippet from mayastor csi controller pod
What Should Happen Instead?
Would expect that the pvc gets moved by mayastor sucessfully, other pods in this deployment and their pvcs are ok.
Reproduction Steps
This does not happen immediately after deploying the environment, but has happened a few times
Bootstrap juju 2.9.42 controller to microk8s 1.26/1.27 with mayastor addon
Deploy COS lite
After a while, some or all pods crash this way with pvcs stuck or unstable.
Summary
Pod gets stuck initializing with unable to mount volume
Some deployment artifacts
Loki pod
PVC in question
mk8s pvc layout
storage classes
Loki pod is scheduled to microk8s-2 (juju unit: microk8s/3), but the pvc is still on microk8s-3 (juju unit: microk8s/2) and mayastor is unable to move it to the new node.
Relevant log snippet from mayastor csi controller pod
What Should Happen Instead?
Would expect that the pvc gets moved by mayastor sucessfully, other pods in this deployment and their pvcs are ok.
Reproduction Steps
This does not happen immediately after deploying the environment, but has happened a few times
2.9.42
controller to microk8s1.26/1.27
with mayastor addonIntrospection Report
inspection-report-20230809_103837-sanitized.tar.gz
Can you suggest a fix?
I believe we should try to further debug and check the mayastor addon since this behavior is present in both v1 and
mayastor-aio-2.0.0-microk8s-1
Are you interested in contributing with a fix?
No
The text was updated successfully, but these errors were encountered: