Start a Conversation

Unsolved

23 Posts

1100

June 9th, 2021 05:00

registration container failed The node [nodeb] is not added to any of the arrays

Hi Experts,

I'm running Test Unity CSI Driver, trying to mount a iSCSI volume to the mysql container. After created the storageclass, PVC, PV. The registration container failed on the worker node. It's keep reporting "The node [nodeb] is not added to any of the arrays"

 

Any idea what that means ?

 

Thanks.

23 Posts

June 9th, 2021 05:00

Here is the registration container log :

reg container failed.JPG

23 Posts

June 9th, 2021 05:00

adding my sample-test.yaml file:

[root@master test]# cat sample-pvol1.json
apiVersion: v1
kind: Namespace
metadata:
name: test-unity
---
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: pvol1
namespace: test-unity
spec:
accessModes:
- ReadWriteOnce
volumeMode: Filesystem
resources:
requests:
storage: 25Gi
storageClassName: unity-iscsi
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: unitytest
namespace: test-unity
---
---
kind: StatefulSet
apiVersion: apps/v1
metadata:
name: unitytest
namespace: test-unity
spec:
serviceName: unitytest
selector:
matchLabels:
app: unitytest
template:
metadata:
labels:
app: unitytest
spec:
serviceAccountName: unitytest
hostNetwork: true
containers:
- name: test
image: mysql
volumeMounts:
- mountPath: "/var"
name: pvol1
volumes:
- name: pvol1
persistentVolumeClaim:
claimName: pvol1

 

1 Rookie

 • 

72 Posts

June 9th, 2021 09:00

Hi 143033,

Take a look at this post from a little while back.  Seems to have the same error status.
Unity driver: After running csi-install.sh unity pods show "1/2 CrashLoopBackOff"

I believe that the resolution there was to make sure that the K8S nodes were not already registered as hosts in the array.

Thanks
Bryan

No Events found!

Top