Bug 1524347 - Fails in vdsbroker.jar () while RunOnce for HA VM with lease
Summary: Fails in vdsbroker.jar () while RunOnce for HA VM with lease
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Virt
Version: 4.1.7.6
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ovirt-4.1.9
: ---
Assignee: Arik
QA Contact: Polina
URL:
Whiteboard:
: 1437056 1528465 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-12-11 10:05 UTC by Polina
Modified: 2021-06-10 13:53 UTC (History)
7 users (show)

Fixed In Version: ovirt-engine-4.1.9
Clone Of:
Environment:
Last Closed: 2018-01-24 10:39:39 UTC
oVirt Team: Virt
Embargoed:
rule-engine: ovirt-4.1+
ahadas: devel_ack+


Attachments (Terms of Use)
in engine log see line 3582 (9.34 MB, text/plain)
2017-12-11 15:11 UTC, Polina
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 85295 0 ovirt-engine-4.1 MERGED core: values in device dictionaries should be strings 2017-12-11 16:26:36 UTC

Description Polina 2017-12-11 10:05:40 UTC
Description of problem:
New VM created as HA with lease could not be run with Run Once for installing OS . Fails with error as even there are no available host , but it is not the case - there is a host .

Version-Release number of selected component (if applicable):
ovirt-engine-4.1.8.2-0.1.el7.noarch

How reproducible:100%


Steps to Reproduce:
1.create new VM (disk , network,), check HA with lease = iscsi_0.
2.Open Run Once , Boot Options, Choose Network (pxe), OK in the window


Actual results: fails with error saying that there is no available host (engine.log and vdsm.log attached)

ERROR [org.ovirt.engine.core.vdsbroker.CreateVmVDSCommand] (default task-14) [d1cb288b-7c7e-44ca-bad3-9b3a76be193e] Failed to create VM: org.ovirt.engine.core.compat.Guid cannot be cast to java.lang.String
ERROR [org.ovirt.engine.core.vdsbroker.CreateVmVDSCommand] (default task-14) [d1cb288b-7c7e-44ca-bad3-9b3a76be193e] Exception: java.lang.ClassCastException: org.ovirt.engine.core.compat.Guid cannot be cast to java.lang.String
        at org.ovirt.engine.core.vdsbroker.builder.vminfo.VmInfoBuilderImpl.buildVmBootSequence(VmInfoBuilderImpl.java:550) [vdsbroker.jar:]

Expected results: no error , started to install OS


Additional info:

Comment 1 Tomas Jelinek 2017-12-11 12:07:01 UTC
it looks like a bug fixed only in master: https://gerrit.ovirt.org/#/c/71336/
Arik, is it the root cause?

Comment 2 Tomas Jelinek 2017-12-11 12:10:47 UTC
Polina, is it reproduced only on 4.1?

Comment 3 Arik 2017-12-11 12:14:49 UTC
May very well be.
I'll backport that fix with the other patches I need to backport to the 4.1 branch.

Comment 4 Polina 2017-12-11 15:11:56 UTC
Created attachment 1366050 [details]
in engine log see line 3582

Comment 5 Polina 2017-12-12 06:01:46 UTC
(In reply to Tomas Jelinek from comment #2)
> Polina, is it reproduced only on 4.1?

I didn't succeed to reproduce this on 4.2.0.0-6. only 4.1

Comment 6 Allon Mureinik 2018-01-02 12:48:37 UTC
*** Bug 1437056 has been marked as a duplicate of this bug. ***

Comment 7 Tomas Jelinek 2018-01-03 08:23:39 UTC
*** Bug 1528465 has been marked as a duplicate of this bug. ***

Comment 8 Polina 2018-01-15 09:19:01 UTC
verified in environment compute-ge-he-2.qa.lab.tlv.redhat.com 
version ovirt-engine-4.1.9-0.2.el7.noarch

Comment 9 Sandro Bonazzola 2018-01-24 10:39:39 UTC
This bugzilla is included in oVirt 4.1.9 release, published on Jan 24th 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.1.9 release, published on Jan 24th 2018, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


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