Ansible-playbook fails to make Trident run.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Mauricio Biasi do Monte Carmelo |
Bug Description
Brief Description
-----------------
After running the command,
$ansible-playbook /usr/share/
the Trident's pods are not created.
Ansible logs:
unable to recognize "/tmp/snapshot-
unable to recognize "/tmp/snapshot-
unable to recognize "/tmp/snapshot-
Severity
--------
major
Steps to Reproduce
------------------
n/a
Expected Behavior
------------------
Trident pods created successfully:
kubectl get pod -n=trident -o=wide
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
trident-csi-5llnq 2/2 Running 0 111m 192.168.204.93 compute-0 <none> <none>
trident-
trident-csi-7hm6v 2/2 Running 0 111m 192.168.204.4 controller-1 <none> <none>
trident-csi-8nsls 2/2 Running 0 111m 192.168.204.59 compute-3 <none> <none>
trident-csi-fmslx 2/2 Running 2 111m 192.168.204.3 controller-0 <none> <none>
trident-csi-v4625 2/2 Running 0 111m 192.168.204.73 compute-1 <none> <none>
trident-csi-ww2tq 2/2 Running 4 111m 192.168.204.57 compute-2 <none> <none>
Actual Behavior
----------------
kubectl get pod -n=trident -o=wide'
No resources found in trident namespace.
Reproducibility
---------------
100%
System Configuration
-------
n/a
Branch/Pull Time/Commit
-------
n/a
Last Pass
---------
n/a
Timestamp/Logs
--------------
n/a
Test Activity
-------------
n/a
Workaround
----------
Downgrade Kubernetes to a version lower than v1.22.
Changed in starlingx: | |
status: | New → In Progress |
Changed in starlingx: | |
assignee: | nobody → Mauricio Biasi do Monte Carmelo (mbiasido) |
Changed in starlingx: | |
importance: | Undecided → Medium |
tags: | added: stx.containers |
tags: | added: stx.8.0 stx.storage |
Reviewed: https:/ /review. opendev. org/c/starlingx /ansible- playbooks/ +/855979 /opendev. org/starlingx/ ansible- playbooks/ commit/ 2e2f4f9367bce9e b9d7d5c16aaba4c 084441f0c2
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 2e2f4f9367bce9e b9d7d5c16aaba4c 084441f0c2
Author: mbiasido <email address hidden>
Date: Mon Sep 5 15:46:57 2022 -0400
Migrate CRDs to use API version apiextensions. k8s.io/ v1
K8s stopped serving API apiextensions. k8s.io/ v1beta1 since version v1.22. k8s.io/ v1 instead of apiextensions. k8s.io/ v1beta1.
Use apiextensions.
Migrated the following files to use apiextensions. k8s.io/ v1:
snapshot. storage. k8s.io_ volumesnapshotc lasses. yaml storage. k8s.io_ volumesnapshotc ontents. yaml storage. k8s.io_ volumesnapshots .yaml snapshot- storage- classes. yml
snapshot.
snapshot.
configure-
The new CRDs files were collected from csi/external- snapshotter version v6.0.1: /github. com/kubernetes- csi/external- snapshotter/ releases/ tag/v6. 0.1
kubernetes-
https:/
Closes-Bug: #1988875
Test Plan:
PASS: Installed Trident 22.01.0 with Kubernetes v1.23.1 running.
PASS: Connected to Netapp, creating a PVC instance.
PASS: Wrote information into the database.
PASS: Removed the PVC instance and uninstalled Trident.
PASS: Tested Trident 22.01.0 with Kubernetes v1.21.8.
PASS: Tested Trident 22.01.0 with Kubernetes v1.22.5.
PASS: Tested on Debian WRCP 21.12.
Signed-off-by: Mauricio Carmelo <email address hidden> a235a0ec65ea1a9 487b6ce773e
Change-Id: I6c1ae3bdd8bf38