-
Bug
-
Resolution: Done-Errata
-
Critical
-
None
-
2
-
False
-
-
False
-
VERIFIED
-
---
-
---
-
-
-
CNV I/U Operators Sprint 240
-
Urgent
-
No
Description of problem: Four API endpoints were added recently: https://github.com/kubevirt/kubevirt/blame/9cf6dbb3e33c9ec9e9af8b18eb115c7fb9f7c311/pkg/virt-operator/resource/generate/rbac/cluster.go#L45-49. They broke openshift-restclient-python, which expects these end points to be of the format <a>/<b>
https://github.com/openshift/openshift-restclient-python/blob/master/openshift/dynamic/discovery.py#L133
This would block all test runs as we use openshift-restclient-python indirectly in cnv-tests for all api calls via openshift-python-wrapper.
Version-Release number of selected component (if applicable):
4.15.0
How reproducible:
100%
Steps to Reproduce:
1. https://main-jenkins-csb-cnvqe.apps.ocp-c1.prod.psi.redhat.com/view/cnv-tests%20runner/job/cnv-tests-runner-containerized/1599/console
2.
3.
Actual results:
12:15:59 INTERNALERROR> File "/cnv-tests/.venv/lib/python3.9/site-packages/kubernetes/dynamic/discovery.py", line 269, in __search
12:15:59 INTERNALERROR> resourcePart.resources = self.get_resources_for_api_version(
12:15:59 INTERNALERROR> File "/cnv-tests/.venv/lib/python3.9/site-packages/openshift/dynamic/discovery.py", line 133, in get_resources_for_api_version
12:15:59 INTERNALERROR> resource, name = subresource['name'].split('/')
12:15:59 INTERNALERROR> ValueError: too many values to unpack (expected 2)
=======================================
,
{'kind': '', 'name': 'virtualmachineinstances/sev/querylaunchmeasurement', 'namespaced': True, 'singularName': '', 'verbs': None},
{'kind': '', 'name': 'virtualmachineinstances/sev/setupsession', 'namespaced': True, 'singularName': '', 'verbs': None},
{'kind': '', 'name': 'virtualmachineinstances/sev/injectlaunchsecret', 'namespaced': True, 'singularName': '', 'verbs': None}Expected results:
Additional info:
This would block all T2/smoke tests against 4.15.0
- external trackers