Bug 1816654 - [CNV&RHV] adding provider with already created vm failed
Summary: [CNV&RHV] adding provider with already created vm failed
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: java-client-kubevirt
Version: 4.4.0
Hardware: All
OS: All
medium
medium
Target Milestone: ovirt-4.4.1
: ---
Assignee: Piotr Kliczewski
QA Contact: Pavol Brilla
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-24 13:26 UTC by Pavol Brilla
Modified: 2020-08-04 13:22 UTC (History)
6 users (show)

Fixed In Version: rhv-4.4.1-3
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-08-04 13:22:04 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:3247 0 None None None 2020-08-04 13:22:26 UTC
oVirt gerrit 107894 0 None MERGED types: EvictionStrategy and VolumeMode wrongly defined as types 2020-07-09 17:41:13 UTC

Description Pavol Brilla 2020-03-24 13:26:38 UTC
Description of problem:
Adding cnv provider to rhv with existing vm failed

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

How reproducible:
100

Steps to Reproduce:
1. create vm in cnv  
2. add cnv provider to rhv
3. 

Actual results:
adding provider failed

Expected results:
adding provider should succeded

Additional info:
2020-03-24 14:18:47,639+01 ERROR [org.ovirt.engine.core.bll.provider.AddProviderCommand] (default task-6) [50c1926] Command 'org.ovirt.engine.core.bll.provider.AddProviderCommand' failed: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1297 path $.items[0].spec.dataVolumeTemplates[0].spec.pvc.volumeMode
2020-03-24 14:18:47,639+01 ERROR [org.ovirt.engine.core.bll.provider.AddProviderCommand] (default task-6) [50c1926] Exception: com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1297 path $.items[0].spec.dataVolumeTemplates[0].spec.pvc.volumeMode


will add also vm definition

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


provider with existing vm added succesfully

Comment 7 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


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