Skip to content

pv failure on unexpected reboot #390

@guilhem

Description

@guilhem

In case of single node cluster, pod finish by working after some time.

kubectl describe pod

  Warning  NodeNotReady            5m9s                   node-controller          Node is not ready
  Warning  FailedMount             5m                     kubelet                  MountVolume.MountDevice failed for volume "pvc-89cca58d07ec4a2c" : kubernetes.io/csi: attacher.MountDevice failed to create newCsiDriverClient: driver name linodebs.csi.linode.com not found in the list of registered CSI drivers
  Warning  FailedMount             3m50s (x7 over 4m57s)  kubelet                  MountVolume.MountDevice failed for volume "pvc-89cca58d07ec4a2c" : rpc error: code = Internal desc = Unable to find device path out of attempted paths: [/dev/disk/by-id/linode-pvc89cca58d07ec4a2c /dev/disk/by-id/scsi-0Linode_Volume_pvc89cca58d07ec4a2c]
  Normal   SandboxChanged          2m46s                  kubelet                  Pod sandbox changed, it will be killed and re-created.
  Normal   Pulled                  2m46s                  kubelet                  Container image "nginx" already present on machine
  Normal   Created                 2m46s                  kubelet                  Created container nginx
  Normal   Started                 2m46s                  kubelet                  Started container nginx

In case of pod is rescheduled on another node, it loops not working:

  Warning  FailedMount             26m (x4 over 26m)  kubelet                  MountVolume.MountDevice failed for volume "pvc-93545880aa704102" : kubernetes.io/csi: attacher.MountDevice failed to create newCsiDriverClient: driver name linodebs.csi.linode.com not found in the list of registered CSI drivers
  Warning  FailedMount             9s (x17 over 26m)  kubelet                  MountVolume.MountDevice failed for volume "pvc-93545880aa704102" : rpc error: code = Internal desc = Unable to find device path out of attempted paths: [/dev/disk/by-id/linode-pvc-93545880aa704102 /dev/disk/by-id/scsi-0Linode_Volume_pvc-93545880aa704102]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions