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
Software Version:4.4.1.5-0.17.el8ev provider with existing vm added succesfully
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