<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 20, 2016 at 7:47 AM, knarra <span dir="ltr">&lt;<a href="mailto:knarra@redhat.com" target="_blank">knarra@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
    I have latest master installed and i see that Hosted Engine VM fails to import. Below are the logs i see in the engine log. Can some one help me understand why does this happen?<br></blockquote><br>It&#39;s a change in VDSM storage APIs; look for:</div><div class="gmail_quote">[ovirt-devel] Change in VDSM API in master (VolumeInfo.lease)<br><br>Probably you are using an up-to-date vdsm against a few days old engine-appliance (we still have some troubles re-building the engine appliance on Centos 7.3) and so the issue.<br>Could you please run <br>  yum update &quot;ovirt-*-setup*&quot;</div><div class="gmail_quote">  engine-setup<br>on your engine VM to get an up to date engine?</div><div class="gmail_quote">Once up to date, the engine should be able to recover by itself.<br><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
<br>
2016-12-20 06:46:02,291Z INFO [org.ovirt.engine.core.vdsbrok<wbr>er.irsbroker.GetImageInfoVDSCo<wbr>mmand] (org.ovirt.thread.pool-6-threa<wbr>d-48) [77f83e0f] START, GetImageInfoVDSComman<br>
d( GetImageInfoVDSCommandParamete<wbr>rs:{runAsync=&#39;true&#39;, storagePoolId=&#39;00000001-0001-0<wbr>001-0001-000000000311&#39;, ignoreFailoverLimit=&#39;false&#39;, storageDomainId=&#39;4830f5b2-5a7d<wbr>-4a89-<br>
8fc9-8911134035e4&#39;, imageGroupId=&#39;0dec26c2-59c8-4d<wbr>7f-adc0-6e4c878028ee&#39;, imageId=&#39;e1133334-9f08-4e71-9b<wbr>3a-d6a93273fbd3&#39;}), log id: 78f8a633<br>
2016-12-20 06:46:02,291Z INFO [org.ovirt.engine.core.vdsbrok<wbr>er.vdsbroker.GetVolumeInfoVDSC<wbr>ommand] (org.ovirt.thread.pool-6-threa<wbr>d-48) [77f83e0f] START, GetVolumeInfoVDSComm<br>
and(HostName = hosted_engine1, GetVolumeInfoVDSCommandParamet<wbr>ers:{runAsync=&#39;true&#39;, hostId=&#39;4c4a3633-2c2a-49c9-be0<wbr>6-78a21a4a2584&#39;, storagePoolId=&#39;00000001-0001-0<wbr>001-0001-0000<br>
00000311&#39;, storageDomainId=&#39;4830f5b2-5a7d<wbr>-4a89-8fc9-8911134035e4&#39;, imageGroupId=&#39;0dec26c2-59c8-4d<wbr>7f-adc0-6e4c878028ee&#39;, imageId=&#39;e1133334-9f08-4e71-9b<wbr>3a-d6a93273fbd3&#39;}), log<br>
 id: 62a0b308<br>
2016-12-20 06:46:02,434Z ERROR [org.ovirt.engine.core.vdsbrok<wbr>er.vdsbroker.GetVolumeInfoVDSC<wbr>ommand] (org.ovirt.thread.pool-6-threa<wbr>d-48) [77f83e0f] Failed building DiskImage:<br>
No enum const org.ovirt.engine.core.common.b<wbr>usinessentities.LeaseState.{ow<wbr>ners=[Ljava.lang.Object;@28bec<wbr>cfa, version=2}<br>
2016-12-20 06:46:02,434Z INFO [org.ovirt.engine.core.vdsbrok<wbr>er.vdsbroker.GetVolumeInfoVDSC<wbr>ommand] (org.ovirt.thread.pool-6-threa<wbr>d-48) [77f83e0f] Command &#39;org.ovirt.engine.c<br>
ore.vdsbroker.vdsbroker.GetVol<wbr>umeInfoVDSCommand&#39; return value &#39;<br>
VolumeInfoReturn:{status=&#39;Stat<wbr>us [code=0, message=Done]&#39;}<br>
status = OK<br>
domain = 4830f5b2-5a7d-4a89-8fc9-891113<wbr>4035e4<br>
voltype = LEAF<br>
description = Hosted Engine Image<br>
parent = 00000000-0000-0000-0000-000000<wbr>000000<br>
format = RAW<br>
generation = 0<br>
image = 0dec26c2-59c8-4d7f-adc0-6e4c87<wbr>8028ee<br>
ctime = 1482153085<br>
disktype = 2<br>
legality = LEGAL<br>
mtime = 0<br>
apparentsize = 53687091200<br>
children:<br>
[]<br>
pool =<br>
capacity = 53687091200<br>
uuid = e1133334-9f08-4e71-9b3a-d6a932<wbr>73fbd3<br>
truesize = 2761210368<br>
type = SPARSE<br>
lease:<br>
owners:<br>
[1]<br>
version = 2<br>
<br>
&#39;<br>
2016-12-20 06:46:02,434Z INFO [org.ovirt.engine.core.vdsbrok<wbr>er.vdsbroker.GetVolumeInfoVDSC<wbr>ommand] (org.ovirt.thread.pool-6-threa<wbr>d-48) [77f83e0f] HostName = hosted_engine1<br>
2016-12-20 06:46:02,434Z INFO [org.ovirt.engine.core.vdsbrok<wbr>er.vdsbroker.GetVolumeInfoVDSC<wbr>ommand] (org.ovirt.thread.pool-6-threa<wbr>d-48) [77f83e0f] FINISH, GetVolumeInfoVDSCommand, log id: 62a0b308<br>
2016-12-20 06:46:02,434Z ERROR [org.ovirt.engine.core.vdsbrok<wbr>er.irsbroker.GetImageInfoVDSCo<wbr>mmand] (org.ovirt.thread.pool-6-threa<wbr>d-48) [77f83e0f] Failed to get the volume information, marking as FAILED<br>
2016-12-20 06:46:02,434Z INFO [org.ovirt.engine.core.vdsbrok<wbr>er.irsbroker.GetImageInfoVDSCo<wbr>mmand] (org.ovirt.thread.pool-6-threa<wbr>d-48) [77f83e0f] FINISH, GetImageInfoVDSCommand, log id: 78f8a633<br>
2016-12-20 06:46:02,434Z WARN [org.ovirt.engine.core.bll.exp<wbr>ortimport.ImportVmCommand] (org.ovirt.thread.pool-6-threa<wbr>d-48) [77f83e0f] Validation of action &#39;ImportVm&#39; failed for user SYSTEM. Reasons: VAR__ACTION__IMPORT,VAR__TYPE_<wbr>_VM,ACTION_TYPE_FAILED_VM_IMAG<wbr>E_DOES_NOT_EXIST<br>
2016-12-20 06:46:02,435Z INFO [org.ovirt.engine.core.bll.exp<wbr>ortimport.ImportVmCommand] (org.ovirt.thread.pool-6-threa<wbr>d-48) [77f83e0f] Lock freed to object &#39;EngineLock:{exclusiveLocks=&#39;[<wbr>89681893-94fe-4366-be6d-15141f<wbr>f2b365=&lt;VM, ACTION_TYPE_FAILED_VM_IS_BEING<wbr>_IMPORTED$VmName HostedEngine&gt;, HostedEngine=&lt;VM_NAME, ACTION_TYPE_FAILED_NAME_ALREAD<wbr>Y_USED&gt;]&#39;, sharedLocks=&#39;[89681893-94fe-43<wbr>66-be6d-15141ff2b365=&lt;REMOTE_<wbr>VM, ACTION_TYPE_FAILED_VM_IS_BEING<wbr>_IMPORTED$VmName HostedEngine&gt;]&#39;}&#39;<br>
2016-12-20 06:46:02,435Z ERROR [org.ovirt.engine.core.bll.Hos<wbr>tedEngineImporter] (org.ovirt.thread.pool-6-threa<wbr>d-48) [77f83e0f] Failed importing the Hosted Engine VM<br>
2016-12-20 06:46:04,436Z INFO [org.ovirt.engine.core.vdsbrok<wbr>er.gluster.GlusterServersListV<wbr>DSCommand] (DefaultQuartzScheduler4) [2d8b8a56] FINISH, GlusterServersListVDSCommand, return: [<a href="http://10.70.36.79/23:CONNECTED" rel="noreferrer" target="_blank">10.70.36.79/23:CONNECTED</a>, 10.70.36.80:CONNECTED, 10.70.36.81:CONNECTED], log id: 617781b7<br>
<br>
Thanks<br>
<br>
kasturi.<br>
<br>
</blockquote></div><br></div></div>