Failed to attach: node "node-xx" has no NodeID annotation


#1

Hi,
playing around with longhorn and Rancher 2.
Flexvolume works fine, but I have an issue using csi. The pod is not able to attache the volume.

the csi-attacher logs like this:

I0116 08:44:57.666341 1 csi_handler.go:456] Can’t get CSINodeInfo docker06:
csinodeinfo.csi.storage.k8s.io “docker06” not found
16.1.2019 09:44:57 I0116 08:44:57.666355 1 csi_handler.go:323] Saving attach error to “csi- 9f6dbc431b0659059f5ceb81a02ead231ffeecfe3d38ca0354021a48b6a4cd81”
16.1.2019 09:44:57 I0116 08:44:57.670487 1 csi_handler.go:333] Saved attach error to “csi-9f6dbc431b0659059f5ceb81a02ead231ffeecfe3d38ca0354021a48b6a4cd81”
16.1.2019 09:44:57 I0116 08:44:57.670515 1 csi_handler.go:95] Error processing “csi-9f6dbc431b0659059f5ceb81a02ead231ffeecfe3d38ca0354021a48b6a4cd81”: failed to attach: node “docker06” has no NodeID annotation
16.1.2019 09:44:57 I0116 08:44:57.670576 1 controller.go:167] Started VA processing “csi-9f6dbc431b0659059f5ceb81a02ead231ffeecfe3d38ca0354021a48b6a4cd81”
16.1.2019 09:44:57 I0116 08:44:57.670590 1 csi_handler.go:85] CSIHandler: processing VA “csi-9f6dbc431b0659059f5ceb81a02ead231ffeecfe3d38ca0354021a48b6a4cd81”
16.1.2019 09:44:57 I0116 08:44:57.670601 1 csi_handler.go:112] Attaching “csi-9f6dbc431b0659059f5ceb81a02ead231ffeecfe3d38ca0354021a48b6a4cd81”
16.1.2019 09:44:57 I0116 08:44:57.670612 1 csi_handler.go:217] Starting attach operation for “csi-9f6dbc431b0659059f5ceb81a02ead231ffeecfe3d38ca0354021a48b6a4cd81”
16.1.2019 09:44:57 I0116 08:44:57.670644 1 csi_handler.go:188] PV finalizer is already set on “pvc-80159f6e196811e9”
16.1.2019 09:44:57 I0116 08:44:57.670689 1 csi_handler.go:456] Can’t get CSINodeInfo docker06: csinodeinfo.csi.storage.k8s.io “docker06” not found
16.1.2019 09:44:57 I0116 08:44:57.670702 1 csi_handler.go:323] Saving attach error to “csi-9f6dbc431b0659059f5ceb81a02ead231ffeecfe3d38ca0354021a48b6a4cd81”
16.1.2019 09:44:57 I0116 08:44:57.671474 1 csi_handler.go:333] Saved attach error to “csi-b442a75a5b702831c11c0d9a40a28fa405c3c97467371960fdcede3972fda8ab”
16.1.2019 09:44:57 I0116 08:44:57.671497 1 csi_handler.go:95] Error processing “csi-b442a75a5b702831c11c0d9a40a28fa405c3c97467371960fdcede3972fda8ab”: failed to attach: PersistentVolume “pvc-852126ce196711e9” is marked for deletion
16.1.2019 09:44:57 I0116 08:44:57.671547 1 controller.go:167] Started VA processing “csi-b442a75a5b702831c11c0d9a40a28fa405c3c97467371960fdcede3972fda8ab”

Is there a way of debugging further?
RKE cluster running on CoreOS

/hw


#2

Hi,

CoreOS is not officially supported by Longhorn. We can look into it if you file a bug for it.

Which version of Kubernetes you’re using?


#3

Hi,
running rancher 2.1.5 and k8s 1.12.4

I’ll happily file a bug/feature request :slight_smile:

/hw