Bug 1816643

Summary: [CNV&RHV] VM created in CNV not visible in RHV
Product: Red Hat Enterprise Virtualization Manager Reporter: Pavol Brilla <pbrilla>
Component: java-client-kubevirtAssignee: Piotr Kliczewski <pkliczew>
Status: CLOSED ERRATA QA Contact: Pavol Brilla <pbrilla>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.4.0CC: lsurette, mhicks, mperina, mtessun, srevivo
Target Milestone: ovirt-4.4.1   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: rhvm-4.4.0-0.31 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-08-04 13:22:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pavol Brilla 2020-03-24 12:38:55 UTC
Description of problem:
VM create in CNV is not visible 

Version-Release number of selected component (if applicable):
4.4.0-26

How reproducible:
100

Steps to Reproduce:
1.Create VM in CNV
2.Connect CNV with RHV
3.check vms in rhv

Actual results:
VM not visible in RHV

Expected results:
cnv vm shoudl be visible here

Additional info:
engine.log:
2020-03-24 13:28:43,741+01 ERROR [org.ovirt.engine.core.vdsbroker.monitoring.kubevirt.KubevirtVmStatsRefresher] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-26) [] failed to retrieve kubevirt VMs for node talayan-pytest-2g7mj-worker-rgnwj: IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1690 path $.items[0].spec.evictionStrategy
2020-03-24 13:28:43,742+01 INFO  [org.ovirt.engine.core.vdsbroker.monitoring.PollVmStatsRefresher] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-26) [] Failed to fetch vms info for host 'talayan-pytest-2g7mj-worker-rgnwj'(149afd43-8a48-4398-bddd-86dd8717a838) - skipping VMs monitoring.
2020-03-24 13:28:47,376+01 ERROR [org.ovirt.engine.core.vdsbroker.monitoring.kubevirt.KubevirtVmStatsRefresher] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-100) [] failed to retrieve kubevirt VMs for node talayan-pytest-2g7mj-worker-rgnwj: IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1690 path $.items[0].spec.evictionStrategy
2020-03-24 13:28:47,376+01 INFO  [org.ovirt.engine.core.vdsbroker.monitoring.PollVmStatsRefresher] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-100) [] Failed to fetch vms info for host 'talayan-pytest-2g7mj-worker-rgnwj'(149afd43-8a48-4398-bddd-86dd8717a838) - skipping VMs monitoring.
2020-03-24 13:28:51,025+01 ERROR [org.ovirt.engine.core.vdsbroker.monitoring.kubevirt.KubevirtVmStatsRefresher] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-20) [] failed to retrieve kubevirt VMs for node talayan-pytest-2g7mj-worker-rgnwj: IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1690 path $.items[0].spec.evictionStrategy
2020-03-24 13:28:51,025+01 INFO  [org.ovirt.engine.core.vdsbroker.monitoring.PollVmStatsRefresher] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-20) [] Failed to fetch vms info for host 'talayan-pytest-2g7mj-worker-rgnwj'(149afd43-8a48-4398-bddd-86dd8717a838) - skipping VMs monitoring.
2020-03-24 13:28:54,661+01 ERROR [org.ovirt.engine.core.vdsbroker.monitoring.kubevirt.KubevirtVmStatsRefresher] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-64) [] failed to retrieve kubevirt VMs for node talayan-pytest-2g7mj-worker-rgnwj: IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1690 path $.items[0].spec.evictionStrategy
2020-03-24 13:28:54,661+01 INFO  [org.ovirt.engine.core.vdsbroker.monitoring.PollVmStatsRefresher] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-64) [] Failed to fetch vms info for host 'talayan-pytest-2g7mj-worker-rgnwj'(149afd43-8a48-4398-bddd-86dd8717a838) - skipping VMs monitoring.
2020-03-24 13:28:58,298+01 ERROR [org.ovirt.engine.core.vdsbroker.monitoring.kubevirt.KubevirtVmStatsRefresher] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-62) [] failed to retrieve kubevirt VMs for node talayan-pytest-2g7mj-worker-rgnwj: IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1690 path $.items[0].spec.evictionStrategy
2020-03-24 13:28:58,298+01 INFO  [org.ovirt.engine.core.vdsbroker.monitoring.PollVmStatsRefresher] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-62) [] Failed to fetch vms info for host 'talayan-pytest-2g7mj-worker-rgnwj'(149afd43-8a48-4398-bddd-86dd8717a838) - skipping VMs monitoring.

Comment 3 Pavol Brilla 2020-07-09 17:40:51 UTC
Software Version:4.4.1.5-0.17.el8ev

vm created in ocp is shortly after visible also from rhevm with provider

Comment 5 errata-xmlrpc 2020-08-04 13:22:04 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 (Important: RHV Manager (ovirt-engine) 4.4 security, bug fix, and enhancement 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-2020:3247