Bug 2246361

Summary: VM latency checkup, log: repeated warning kubevirt.io/v1alpha3 is now deprecated
Product: Container Native Virtualization (CNV) Reporter: awax
Component: NetworkingAssignee: Orel Misan <omisan>
Status: CLOSED MIGRATED QA Contact: Nir Rozen <nrozen>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.14.0   
Target Milestone: ---   
Target Release: 4.14.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-12-14 16:06:27 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:

Description awax 2023-10-26 11:58:31 UTC
Description of problem:
When running a VM latency checkup, I get a warning saying that 'kubevirt.io/v1alpha3 is now deprecated and will be removed in a future release'.


Version-Release number of selected component (if applicable):
$ oc get csv -A | grep virt 
openshift-cnv                                      kubevirt-hyperconverged-operator.v4.14.0          OpenShift Virtualization                         4.14.0                kubevirt-hyperconverged-operator.v4.13.4      Succeeded

$ oc get clusterversion                                                                                                                                                          git:(add_checkup_tests|✚4…10⚑31
NAME      VERSION       AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.14.0-rc.6   True        False         3d      Cluster version is 4.14.0-rc.6




How reproducible:
Create a checkup and check the pod's logs.

Steps to Reproduce:
1. Create a VM latency checkup following the steps in the documentation:
https://docs.openshift.com/container-platform/4.13/virt/support/monitoring/virt-running-cluster-checkups.html#virt-measuring-la[%E2%80%A6]g-cluster-checkups
2. Check the logs of the pod created by the job.


Actual results:
$ oc logs pod/default-latency-job-1-k8nwc                                                                                                                                        
2023/10/26 11:43:08 starting VMI test-checkup-framework/latency-check-source-d7rdf..
W1026 11:43:08.739752       1 warnings.go:70] kubevirt.io/v1alpha3 is now deprecated and will be removed in a future release.
2023/10/26 11:43:08 starting VMI test-checkup-framework/latency-check-target-tzfkz..
W1026 11:43:08.917680       1 warnings.go:70] kubevirt.io/v1alpha3 is now deprecated and will be removed in a future release.
2023/10/26 11:43:08 waiting for VMI test-checkup-framework/latency-check-target-tzfkz IP address to appear on status..
W1026 11:43:09.058348       1 warnings.go:70] kubevirt.io/v1alpha3 is now deprecated and will be removed in a future release.
W1026 11:43:14.131839       1 warnings.go:70] kubevirt.io/v1alpha3 is now deprecated and will be removed in a future release.
W1026 11:43:19.081343       1 warnings.go:70] kubevirt.io/v1alpha3 is now deprecated and will be removed in a future release.
W1026 11:43:24.125696       1 warnings.go:70] kubevirt.io/v1alpha3 is now deprecated and will be removed in a future release.
W1026 11:43:29.078821       1 warnings.go:70] kubevirt.io/v1alpha3 is now deprecated and will be removed in a future release.
W1026 11:43:34.072119       1 warnings.go:70] kubevirt.io/v1alpha3 is now deprecated and will be removed in a future release.
W1026 11:43:39.113265       1 warnings.go:70] kubevirt.io/v1alpha3 is now deprecated and will be removed in a future release.
W1026 11:43:44.092843       1 warnings.go:70] kubevirt.io/v1alpha3 is now deprecated and will be removed in a future release.
W1026 11:43:49.113276       1 warnings.go:70] kubevirt.io/v1alpha3 is now deprecated and will be removed in a future release.
W1026 11:43:54.108453       1 warnings.go:70] kubevirt.io/v1alpha3 is now deprecated and will be removed in a future release.
W1026 11:43:59.083823       1 warnings.go:70] kubevirt.io/v1alpha3 is now deprecated and will be removed in a future release.
W1026 11:44:04.072113       1 warnings.go:70] kubevirt.io/v1alpha3 is now deprecated and will be removed in a future release.
W1026 11:44:09.081943       1 warnings.go:70] kubevirt.io/v1alpha3 is now deprecated and will be removed in a future release.
2023/10/26 11:44:09 waiting for VMI test-checkup-framework/latency-check-source-d7rdf IP address to appear on status..
W1026 11:44:09.110040       1 warnings.go:70] kubevirt.io/v1alpha3 is now deprecated and will be removed in a future release.
W1026 11:44:14.135279       1 warnings.go:70] kubevirt.io/v1alpha3 is now deprecated and will be removed in a future release.
W1026 11:44:19.168768       1 warnings.go:70] kubevirt.io/v1alpha3 is now deprecated and will be removed in a future release.
W1026 11:44:24.149818       1 warnings.go:70] kubevirt.io/v1alpha3 is now deprecated and will be removed in a future release.
W1026 11:44:29.134700       1 warnings.go:70] kubevirt.io/v1alpha3 is now deprecated and will be removed in a future release.
W1026 11:44:34.131314       1 warnings.go:70] kubevirt.io/v1alpha3 is now deprecated and will be removed in a future release.
W1026 11:44:39.149374       1 warnings.go:70] kubevirt.io/v1alpha3 is now deprecated and will be removed in a future release.
W1026 11:44:44.145337       1 warnings.go:70] kubevirt.io/v1alpha3 is now deprecated and will be removed in a future release.
W1026 11:44:49.209960       1 warnings.go:70] kubevirt.io/v1alpha3 is now deprecated and will be removed in a future release.
W1026 11:44:54.220498       1 warnings.go:70] kubevirt.io/v1alpha3 is now deprecated and will be removed in a future release.
W1026 11:44:59.156933       1 warnings.go:70] kubevirt.io/v1alpha3 is now deprecated and will be removed in a future release.
W1026 11:45:04.164293       1 warnings.go:70] kubevirt.io/v1alpha3 is now deprecated and will be removed in a future release.
W1026 11:45:09.150868       1 warnings.go:70] kubevirt.io/v1alpha3 is now deprecated and will be removed in a future release.
W1026 11:45:14.181171       1 warnings.go:70] kubevirt.io/v1alpha3 is now deprecated and will be removed in a future release.
W1026 11:45:19.152851       1 warnings.go:70] kubevirt.io/v1alpha3 is now deprecated and will be removed in a future release.
W1026 11:45:24.158062       1 warnings.go:70] kubevirt.io/v1alpha3 is now deprecated and will be removed in a future release.
...

Expected results:


Additional info:

Comment 1 Orel Misan 2023-10-26 12:04:18 UTC
This warning will go away after we will upgrade the kubevirt.io/client-go library to v1.0.0.