Open hswong3i opened 2 days ago
Even if manually swap the bundled kubenetes.core from 3.2.0 to main as below (see https://github.com/alvistack/ansible-community-ansible-build-data/commit/04b9ac4a869b678f73382b238709690222feb7e3), it still only working with v30.1.0:
wget -c -O /tmp/kubernetes.core-main.tar.gz https://github.com/ansible-collections/kubernetes.core/archive/refs/heads/main.tar.gz
rm -rf ansible_collections/kubernetes/core/*
tar zxvf /tmp/kubernetes.core-main.tar.gz --strip-components=1 -C ansible_collections/kubernetes/core/
After swapping to main:
# ansible-galaxy collection list kubernetes.core
# /usr/lib/python3/dist-packages/ansible_collections
Collection Version
--------------- -------
kubernetes.core 5.0.0
# /usr/share/ansible/collections/ansible_collections
Collection Version
--------------- -------
kubernetes.core 5.0.0
SUMMARY
https://github.com/kubernetes-client/python/releases/tag/v31.0.0 released on 2024-09-19, and now officially available from https://pypi.org/project/kubernetes/31.0.0/
When running following playbook with v30.1.0 everything looks good (see https://github.com/alvistack/ansible-collection-kubernetes/blob/8d0e953/playbooks/70-kube_csi_cephfs-verify.yml#L40-L57):
But it is totally failed when running with v31.0.0; once rolling back to v30.1.0 problem get solved.
ISSUE TYPE
COMPONENT NAME
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS