#Trident 23.01.0 Install

1 messages · Page 1 of 1 (latest)

sour trellis
#

Hi.

Just installed trident-operator 23.01.0 and it spanned 6 "trident-node-linux" pods.
These pods are in "ContainerCreating" state and the log shows the following:

"Unable to attach or mount volumes: unmounted volumes=[registration-dir], unattached volumes=[trident-tracking-dir kube-api-access-lmzjz registration-dir plugins-mount-dir pods-mount-dir dev-dir certs sys-dir plugin-dir host-dir]: timed out waiting for the condition"

From tridentctl logs -l trident-operator I found the following message:

"CRD not found." CRD=tridentprovisioners.trident.netapp.io"

Is it expected and should I keep configuring or is anything missing?

upper sable
#

You can also collect all of the logs by running tridentctl logs -a -n trident. Then look at one of the node logs to determine why it is stuck in ContainerCreating.

#

The information you've provided doesn't explain why the "trident-node-linux pods are stuck in ContainerCreating.

gilded root
#

Also doing a describe on one of the pods that are stuck in ContainerCreating status will help.

sour trellis
#

The output from the describe command is the "Unable to attach or mount volumes" sent above. Here is the full output.

#
# kubectl get pods --namespace rgk4it-trident
NAME                                  READY   STATUS              RESTARTS   AGE
trident-controller-7484457b4f-p5kkt   6/6     Running             0          18h
trident-node-linux-75qj8              0/2     ContainerCreating   0          18h
trident-node-linux-h7fsw              0/2     ContainerCreating   0          18h
trident-node-linux-mwkpt              0/2     ContainerCreating   0          18h
trident-node-linux-nfqgl              0/2     ContainerCreating   0          18h
trident-node-linux-ts7mc              0/2     ContainerCreating   0          18h
trident-node-linux-zv5wh              0/2     ContainerCreating   0          18h
trident-operator-cfdf46867-ll9z6      1/1     Running             0          18h
gilded root
#

The mount timed out because of "MountVolume.SetUp failed for volume "registration-dir" : hostPath type check failed: /var/lib/kubelet/plugins_registry/ is not a directory".
What kubernetes version are you using? What kubelet version?

sour trellis
#

Kubernets 1.24.9

#

Docker 19.3.15

sour trellis
#

Found that /opt/rke/var/lib/kubelet/plugins_registry exists in my nodes.