Bug 2000478
| Summary: | Using deprecated 1.25 API calls | ||
|---|---|---|---|
| Product: | Container Native Virtualization (CNV) | Reporter: | Ruth Netser <rnetser> |
| Component: | Virtualization | Assignee: | ffossemo |
| Status: | CLOSED ERRATA | QA Contact: | Kedar Bidarkar <kbidarka> |
| Severity: | high | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 4.9.0 | CC: | acardace, cnv-qe-bugs, ctomasko, dshchedr, kbidarka, sgott |
| Target Milestone: | --- | ||
| Target Release: | 4.10.1 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | virt-operator-container-v4.10.1-6 hco-bundle-registry-container-v4.10.1-86 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-05-18 20:26:54 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Components effected: a) virt-operator b) virt-controller Explicitly downgrading this from urgent. Please correct my misunderstanding if this truly is an emergency, but it does not seem to be. Per the description, this should be fixed in the 4.10 series because upgrades to 4.11 will be complicated if the fix is not already in place. Upgrading priority to urgent. We must fix this for the upgrade path for 4.10 to 4.12. Verified on v4.10.1-88 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Virtualization 4.10.1 Images security and bug fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:4668 |
Description of problem: Calls to deprecated 1.25 API are found in CNV 4.9, should be addressed in CNV 4.10. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: virt-controller {"kind":"Event","apiVersion":"audit.k8s.io/v1","level":"Metadata","auditID":"c463d9f9-3812-4df2-aeba-b96066d5a538","stage":"ResponseComplete","requestURI":"/apis/policy/v1beta1/namespaces/supported-os-common-templates-windows-test-windows-os-support/poddisruptionbudgets","verb":"create","user":{"username":"system:serviceaccount:openshift-cnv:kubevirt-controller","uid":"dfaaebb7-f5c2-4bb4-b650-51275afe4f77","groups":["system:serviceaccounts","system:serviceaccounts:openshift-cnv","system:authenticated"],"extra":{"authentication.kubernetes.io/pod-name":["virt-controller-699d86df8f-r6zrj"],"authentication.kubernetes.io/pod-uid":["be8fecd4-d1e4-4137-a6b3-1873022e5988"]}},"sourceIPs":["10.1.156.19"],"userAgent":"virt-controller/v0.0.0 (linux/amd64) kubernetes/$Format","objectRef":{"resource":"poddisruptionbudgets","namespace":"supported-os-common-templates-windows-test-windows-os-support","apiGroup":"policy","apiVersion":"v1beta1"},"responseStatus":{"metadata":{},"code":201},"requestReceivedTimestamp":"2021-08-25T16:05:29.346779Z","stageTimestamp":"2021-08-25T16:05:29.374351Z","annotations":{"authorization.k8s.io/decision":"allow","authorization.k8s.io/reason":"RBAC: allowed by ClusterRoleBinding \"kubevirt-controller\" of ClusterRole \"kubevirt-controller\" to ServiceAccount \"kubevirt-controller/openshift-cnv\"","k8s.io/deprecated":"true","k8s.io/removed-release":"1.25"}} virt-operator {"kind":"Event","apiVersion":"audit.k8s.io/v1","level":"Metadata","auditID":"f2ec4a35-bdf3-4ce9-a161-d459bc69075e","stage":"ResponseComplete","requestURI":"/apis/policy/v1beta1/poddisruptionbudgets?labelSelector=app.kubernetes.io%2Fmanaged-by%3Dkubevirt-operator\u0026limit=500\u0026resourceVersion=0","verb":"list","user":{"username":"system:serviceaccount:openshift-cnv:kubevirt-operator","uid":"b6752265-8900-45e8-818a-e7413b047be9","groups":["system:serviceaccounts","system:serviceaccounts:openshift-cnv","system:authenticated"],"extra":{"authentication.kubernetes.io/pod-name":["virt-operator-6b8dc669d9-zt4gm"],"authentication.kubernetes.io/pod-uid":["b212aa75-2210-4e2c-ad4d-593e29a29d57"]}},"sourceIPs":["10.1.156.17"],"userAgent":"virt-operator/v0.0.0 (linux/amd64) kubernetes/$Format","objectRef":{"resource":"poddisruptionbudgets","apiGroup":"policy","apiVersion":"v1beta1"},"responseStatus":{"metadata":{},"code":200},"requestReceivedTimestamp":"2021-08-25T17:37:05.020172Z","stageTimestamp":"2021-08-25T17:37:05.022086Z","annotations":{"authorization.k8s.io/decision":"allow","authorization.k8s.io/reason":"RBAC: allowed by ClusterRoleBinding \"kubevirt-hyperconverged-operator.v4.9.0-75565d8f5\" of ClusterRole \"kubevirt-hyperconverged-operator.v4.9.0-75565d8f5\" to ServiceAccount \"kubevirt-operator/openshift-cnv\"","k8s.io/deprecated":"true","k8s.io/removed-release":"1.25"}}