Bug 2000480 - Using depreacted 1.25 API calls
Summary: Using depreacted 1.25 API calls
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Networking
Version: 4.10.0
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: 4.10.0
Assignee: oshoval
QA Contact: Meni Yakove
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-09-02 08:48 UTC by Ruth Netser
Modified: 2022-03-16 15:55 UTC (History)
2 users (show)

Fixed In Version: kubernetes-nmstate-handler-container-v4.10.0-7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-16 15:55:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:0947 0 None None None 2022-03-16 15:55:58 UTC

Description Ruth Netser 2021-09-02 08:48:22 UTC
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:
cluster-network-addons-operator

{"kind":"Event","apiVersion":"audit.k8s.io/v1","level":"Metadata","auditID":"d4357b1c-e7c5-4a5b-ba4f-5f626f067f51","stage":"ResponseComplete","requestURI":"/apis/policy/v1beta1/namespaces/openshift-cnv/poddisruptionbudgets/nmstate-webhook","verb":"get","user":{"username":"system:serviceaccount:openshift-cnv:cluster-network-addons-operator","uid":"38cb15cf-4563-4712-97af-c9d5d5c72ca0","groups":["system:serviceaccounts","system:serviceaccounts:openshift-cnv","system:authenticated"],"extra":{"authentication.kubernetes.io/pod-name":["cluster-network-addons-operator-5cd89f6949-mc9p6"],"authentication.kubernetes.io/pod-uid":["16f087ea-375b-4c77-b0e5-50cf4787697d"]}},"sourceIPs":["10.1.156.18"],"userAgent":"cluster-network-addons-operator/v0.0.0 (linux/amd64) kubernetes/$Format","objectRef":{"resource":"poddisruptionbudgets","namespace":"openshift-cnv","name":"nmstate-webhook","apiGroup":"policy","apiVersion":"v1beta1"},"responseStatus":{"metadata":{},"code":200},"requestReceivedTimestamp":"2021-08-25T08:09:02.027130Z","stageTimestamp":"2021-08-25T08:09:02.028727Z","annotations":{"authorization.k8s.io/decision":"allow","authorization.k8s.io/reason":"RBAC: allowed by ClusterRoleBinding \"kubevirt-hyperconverged-operator.v4.9.0-5b6885dfcd\" of ClusterRole \"kubevirt-hyperconverged-operator.v4.9.0-5b6885dfcd\" to ServiceAccount \"cluster-network-addons-operator/openshift-cnv\"","k8s.io/deprecated":"true","k8s.io/removed-release":"1.25"}}

Comment 1 oshoval 2021-09-14 12:47:44 UTC
https://github.com/nmstate/kubernetes-nmstate/pull/825

k8s-1.21 + is required

Comment 2 Ruth Netser 2021-12-09 12:50:48 UTC
Verified with CNV 4.10.0

Comment 7 errata-xmlrpc 2022-03-16 15:55:26 UTC
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.0 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:0947


Note You need to log in before you can comment on or make changes to this bug.