Skip to content

Commit b454bdc

Browse files
authored
update test deps (#3017)
* update test deps * add debug logging on deployment failure, update nfs image
1 parent 6f532a7 commit b454bdc

File tree

5 files changed

+24
-4
lines changed

5 files changed

+24
-4
lines changed

tests/playbooks/roles/install-csi-cinder/tasks/main.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,16 @@
159159
160160
kubectl -n kube-system logs ds/openstack-cloud-controller-manager > /var/log/csi-pod/occm.log
161161
162+
- name: Collect pod logs for debug purpose (early collection on deployment failure)
163+
shell:
164+
executable: /bin/bash
165+
cmd: |
166+
set -x
167+
mkdir -p /var/log/csi-pod
168+
kubectl logs deployment/csi-cinder-controllerplugin -n kube-system -c cinder-csi-plugin > /var/log/csi-pod/deployment-csi-cinder-controllerplugin.log
169+
kubectl logs daemonset/csi-cinder-nodeplugin -n kube-system -c cinder-csi-plugin > /var/log/csi-pod/deployment-csi-cinder-nodeplugin.log
170+
ignore_errors: true
171+
162172
- name: &failmsg Stop due to prior failure of csi-cinder-plugin
163173
fail:
164174
msg: *failmsg

tests/playbooks/roles/install-csi-manila/tasks/main.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
capabilities:
9393
add: ["SYS_ADMIN"]
9494
allowPrivilegeEscalation: true
95-
image: quay.io/k8scsi/nfsplugin:v2.0.0
95+
image: registry.k8s.io/sig-storage/nfsplugin:v4.12.1
9696
args:
9797
- "--nodeid=\$(NODE_ID)"
9898
- "--endpoint=unix://plugin/csi.sock"
@@ -187,6 +187,16 @@
187187
debug:
188188
var: describe_csi.stdout_lines
189189

190+
- name: Collect pod logs for debug purpose (early collection on deployment failure)
191+
shell:
192+
executable: /bin/bash
193+
cmd: |
194+
set -x
195+
mkdir -p /var/log/csi-pod
196+
kubectl logs -l app=openstack-manila-csi,component=controllerplugin -n default -c nfs-nodeplugin --tail=-1 > /var/log/csi-pod/deployment-csi-manila-controllerplugin.log
197+
kubectl logs -l app=openstack-manila-csi,component=nodeplugin -n default -c nfs-nodeplugin --tail=-1 > /var/log/csi-pod/deployment-csi-manila-nodeplugin.log
198+
ignore_errors: true
199+
190200
- name: &failmsg Stop due to prior failure of manila-csi-plugin
191201
fail:
192202
msg: *failmsg
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
go_version: '1.22.2'
2+
go_version: '1.25.3'
33
arch: 'amd64'
44
go_tarball: 'go{{ go_version }}.linux-{{ arch }}.tar.gz'
55
go_download_location: 'https://go.dev/dl/{{ go_tarball }}'

tests/playbooks/roles/install-k3s/defaults/main.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
k3s_release: v1.32.2-rc3+k3s1
2+
k3s_release: v1.34.1+k3s1
33
worker_node_count: 1
44
cluster_token: "K1039d1cf76d1f8b0e8b0d48e7c60d9c4a43c2e7a56de5d86f346f2288a2677f1d7::server:2acba4e60918c0e2d1f1d1a7c4e81e7b"
55
devstack_workdir: "{{ ansible_user_dir }}/devstack"

tests/playbooks/test-csi-cinder-e2e.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
gather_facts: true
55

66
vars:
7-
e2e_test_version: v1.32.2
7+
e2e_test_version: v1.34.1
88
user: stack
99
devstack_workdir: /home/{{ user }}/devstack
1010

0 commit comments

Comments
 (0)