Skip to content

Conversation

@wainersm
Copy link
Member

I'd like to test peer pods with K8S 1.34.1 + CRI-O but on my laptop kcli has been hit by "Too many requests" errors from github. Let me try it on CI....

@wainersm wainersm requested a review from a team as a code owner October 27, 2025 23:07
@wainersm wainersm force-pushed the k8s_1.34.1 branch 2 times, most recently from c84c5bf to 3bb1aba Compare October 28, 2025 10:21
Signed-off-by: Wainer dos Santos Moschetta <[email protected]>
@wainersm
Copy link
Member Author

@stevenhorsman @bpradipt I did this PR just to test one thing for Fabiano but, hey, it worked out. Maybe we should update k8s version used in our tests? At least the version in libvirt and aws. I can try to bump docker too.

@stevenhorsman
Copy link
Member

@stevenhorsman @bpradipt I did this PR just to test one thing for Fabiano but, hey, it worked out. Maybe we should update k8s version used in our tests? At least the version in libvirt and aws. I can try to bump docker too.

Yeah, I'm all for this

@wainersm wainersm added the test_e2e_libvirt Run Libvirt e2e tests label Oct 29, 2025
@wainersm
Copy link
Member Author

Hi @BbolroC ,

This PR updates the worker image to ubuntu 2404 of kcli's created cluster. kcli needs to cache the new image on the runner, and it's getting permission denied in the s390x node:

Download ubuntu2404 s390x image
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   367  100   367    0     0   1106      0 --:--:-- --:--:-- --:--:--  1108
Warning: Failed to open the file /var/lib/libvirt/images/ubuntu2404: 
Warning: Permission denied

  0  562M    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (23) Failure writing output to destination
Image ubuntu2404 not Added because Permission issues
Grabbing image ubuntu2404 from url https://cloud-images.ubuntu.com/releases/24.04/release/ubuntu-24.04-server-cloudimg-s390x.img
Consider running the following command on the hypervisor:
sudo setfacl -m u:ansible:rwx /var/lib/libvirt/images

Could you change the permission? or maybe safer, download the image manually with kcli download ?

@BbolroC
Copy link
Member

BbolroC commented Oct 29, 2025

Could you change the permission? or maybe safer, download the image manually with kcli download ?

@wainersm here is an ACL output:

$ getfacl /var/lib/libvirt/images
getfacl: Removing leading '/' from absolute path names
# file: var/lib/libvirt/images
# owner: root
# group: root
user::rwx
user:ansible:rwx                #effective:--x
group::--x
mask::--x
other::--x

So the mask::--x was a cause. I ran the following:

sudo setfacl -m m:rwx /var/lib/libvirt/images

Now the CI job should pass, I believe. 😉

Signed-off-by: Wainer dos Santos Moschetta <[email protected]>
@wainersm wainersm removed test_e2e_libvirt Run Libvirt e2e tests test_e2e_aws labels Oct 29, 2025
@wainersm
Copy link
Member Author

Could you change the permission? or maybe safer, download the image manually with kcli download ?

@wainersm here is an ACL output:

$ getfacl /var/lib/libvirt/images
getfacl: Removing leading '/' from absolute path names
# file: var/lib/libvirt/images
# owner: root
# group: root
user::rwx
user:ansible:rwx                #effective:--x
group::--x
mask::--x
other::--x

So the mask::--x was a cause. I ran the following:

sudo setfacl -m m:rwx /var/lib/libvirt/images

Now the CI job should pass, I believe. 😉

It worked out @BbolroC ! thank you so much!

@wainersm
Copy link
Member Author

Removed the tags that triggers for aws and libvirt because I'm going to push a commit to update docker (let's only tests on that provider now).

I had to build a new kindnode image with cri-o, as kindest/node is containerd. Used the guide in https://github.com/cri-o/cri-o/blob/main/tutorials/crio-in-kind.md#build-node-image . Pushed the image to my area in quay.io; if tests pass then I will push it to confidential-container's repository.

@wainersm wainersm changed the title [DO NOT MERGE] libvirt/kcli_cluster: bump to k8s 1.34.1 [DO NOT MERGE] CI: bump k8s to v1.34.0 Oct 29, 2025
Signed-off-by: Wainer dos Santos Moschetta <[email protected]>
@wainersm
Copy link
Member Author

I've seen some cni related errors in the logs, let's try the newest calico

@wainersm wainersm changed the title [DO NOT MERGE] CI: bump k8s to v1.34.0 [DO NOT MERGE] CI: bump k8s to v1.34 Oct 29, 2025
@wainersm
Copy link
Member Author

The error in docker is about the new image I created for cri-o. I followed https://github.com/cri-o/cri-o/blob/main/tutorials/crio-in-kind.md#build-node-image , except that i could not build the base kind image so I leveraged kindest/node:v1.34.0.

CoCo operator pre-install pod fails at very last instruction, when it tries to sleep infinity but sleep is not found in PATH. The sleep command exists in the image.

If I use kindest/node:v1.34.0 then coco operator installs correctly. It is indeed something wrong with my image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants