Bug 1907352 - VM/VMI link changes to `kubevirt.io~v1~VirtualMachineInstance` on CNV 2.6
Summary: VM/VMI link changes to `kubevirt.io~v1~VirtualMachineInstance` on CNV 2.6
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Virtualization
Version: 2.6.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 2.6.0
Assignee: Igor Bezukh
QA Contact: Israel Pinto
URL:
Whiteboard:
Depends On:
Blocks: 1958787
TreeView+ depends on / blocked
 
Reported: 2020-12-14 10:12 UTC by Guohua Ouyang
Modified: 2021-05-10 07:15 UTC (History)
4 users (show)

Fixed In Version: virt-api-container-v2.6.0-95
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1958787 (view as bug list)
Environment:
Last Closed: 2021-03-10 11:22:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:0799 0 None None None 2021-03-10 11:23:19 UTC

Description Guohua Ouyang 2020-12-14 10:12:07 UTC
Description of problem:
On OCP 4.7 + CNV 2.6, the vm/vmi link in VM events is "/k8s/ns/default/kubevirt.io~v1~VirtualMachineInstance/vm-example"
On OCP 4.6 + CNV 2.5, the link of vm/vmi is "/k8s/ns/default/virtualmachineinstances/vm-example".

Some UI functionalities are broken with this change.

Version-Release number of selected component (if applicable):
CNV 2.6 

How reproducible:
100%

Steps to Reproduce:
1. Create a vm from default yaml
2. Start the VM
3. Click vmi in the events tab.

Actual results:
It redirects to "/k8s/ns/default/kubevirt.io~v1~VirtualMachineInstance/vm-example", not "/k8s/ns/default/virtualmachineinstances/vm-example".

Expected results:
It redirects to "/k8s/ns/default/virtualmachineinstances/vm-example".

Additional info:

Comment 2 Roman Mohr 2020-12-14 11:33:30 UTC
2.6 was built against latest master and not against the release branch. A fix is on the way.

Comment 3 zhe peng 2021-01-04 06:53:13 UTC
verify with build cnv2.6
$ oc version
Client Version: 4.6.0-0.nightly-2020-07-25-091217
Server Version: 4.7.0-fc.0
Kubernetes Version: v1.20.0+87544c5

Click vmi in the events tab

<a class="co-resource-item__resource-name" data-test-id="vm-fedora" href="/k8s/ns/default/virtualmachineinstances/vm-fedora">vm-fedora</a>
It redirects to right place, move to verified.

Comment 6 errata-xmlrpc 2021-03-10 11:22:41 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 2.6.0 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-2021:0799


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