You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The get_resources_for_api_version() method of module_utils.client.discovery.Discoverer expects sub-resource names to be of the format a/b, which breaks with newly added APIs in KubeVirt that are of the format a/b/c.
SUMMARY
The
get_resources_for_api_version()
method ofmodule_utils.client.discovery.Discoverer
expects sub-resource names to be of the format a/b, which breaks with newly added APIs in KubeVirt that are of the format a/b/c.See:
kubernetes-client/python#2091
kubernetes-client/python#2095
ISSUE TYPE
COMPONENT NAME
module_utils.client.discovery.Discoverer
ANSIBLE VERSION
COLLECTION VERSION
STEPS TO REPRODUCE
With
https://github.com/kubevirt/kubevirt.core
try to use the inventory plugin against a cluster running KubeVirt >=1.1.0.ansible-inventory -i examples/inventory.kubevirt.yml -y --list -vvvv
EXPECTED RESULTS
Inventory should be able to list VMs on cluster.
ACTUAL RESULTS
Inventory fails because it fails to discover APIs on the cluster.
The text was updated successfully, but these errors were encountered: