zfs-localpv icon indicating copy to clipboard operation
zfs-localpv copied to clipboard

GetNodeID failed for node

Open aep opened this issue 2 years ago • 3 comments

when adding a node to StorageClass.allowedTopologies , nothing appears to create the matching zfsnode.zfs.openebs.io

the openebs-zfs-node pod is started but crashes with

F1204 13:06:11.157906       1 volume.go:92] GetNodeID failed for node=uca3k err: failed to get the node uca3k

in testing, this recovers when deleting all pvc and storageclass.

aep avatar Dec 04 '23 13:12 aep

Can you please check PR #451 . It has the way how to set the labels for node.

sinhaashish avatar Dec 20 '23 05:12 sinhaashish

closing because i never reproduced it

aep avatar Mar 19 '24 08:03 aep

reopening since it re-appeared when adding a node to an existing cluster.

i manually labeled the node as

      openebs.io/nodeid: archive
      openebs.io/nodename: archive

but that did nothing

looking at the code i'm not even sure why that would be related

https://github.com/openebs/zfs-localpv/blob/763ff6de8cdc2fee68b6cb005d6aca1e93732ddd/pkg/zfs/volume.go#L105C22-L105C30

the error returned here is just eaten, so we cant see the cause

aep avatar May 19 '24 16:05 aep