--Apple-Mail-1637D078-944C-455A-B1FA-357A09FC915B
Content-Type: text/plain;
charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Hi,
Enable network and disks on your VM than do:
Run -> ONCE Ok Ignore errors. Ok
Run=20
Cheeers
Olri
Am 07.03.2018 um 16:49 schrieb Arik Hadas <ahadas(a)redhat.com>:
=20
=20
=20
> On Wed, Mar 7, 2018 at 5:32 PM, Jan Siml <jsiml(a)plusline.net> wrote:
> Hello Arik,
>=20
>=20
>> we have upgrade one of our oVirt engines to 4.2.1 (from 4.1.9)
>> and afterwards all nodes too. The cluster compatibility level
>> has been set to 4.2.
>>=20
>> Now we can't start a VM after it has been powered off. The only
>> hint we found in engine.log is:
>>=20
>> 2018-03-07 14:51:52,504+01 INFO
>> [org.ovirt.engine.core.vdsbroker.UpdateVmDynamicDataVDSCommand]
>> (EE-ManagedThreadFactory-engine-Thread-25)
>> [f855b54a-56d9-4708-8a67-5609438ddadb] START,
>> UpdateVmDynamicDataVDSCommand(
>> UpdateVmDynamicDataVDSCommandParameters:{hostId=3D'null',
>> vmId=3D'a7bc4124-06cb-4909-9389-bcf727df1304',
>> vmDynamic=3D'org.ovirt.engine.co
>> <
http://org.ovirt.engine.co>re.common.businessentities.VmDynamic=
@491983e9'}),
>>=20
>> log id: 7d49849e
>> 2018-03-07 14:51:52,509+01 INFO
>> [org.ovirt.engine.core.vdsbroker.UpdateVmDynamicDataVDSCommand]
>> (EE-ManagedThreadFactory-engine-Thread-25)
>> [f855b54a-56d9-4708-8a67-5609438ddadb] FINISH,
>> UpdateVmDynamicDataVDSCommand, log id: 7d49849e
>> 2018-03-07 14:51:52,531+01 INFO
>> [org.ovirt.engine.core.vdsbroker.CreateVDSCommand]
>> (EE-ManagedThreadFactory-engine-Thread-25)
>> [f855b54a-56d9-4708-8a67-5609438ddadb] START, CreateVDSCommand(
>> CreateVDSCommandParameters:{hostId=3D'0add031e-c72f-473f-ab2f-4f=
7abd1f402b',
>>
vmId=3D'a7bc4124-06cb-4909-9389-bcf727df1304', vm=3D'VM
>> [prod-hub-201]'}), log id: 4af1f227
>> 2018-03-07 14:51:52,533+01 INFO
>> [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateBrokerVDSComman=
d]
>> (EE-ManagedThreadFactory-engine-Thread-25)
>> [f855b54a-56d9-4708-8a67-5609438ddadb] START,
>> CreateBrokerVDSCommand(HostName =3D prod-node-210,
>> CreateVDSCommandParameters:{hostId=3D'0add031e-c72f-473f-ab2f-4f=
7abd1f402b',
>>
vmId=3D'a7bc4124-06cb-4909-9389-bcf727df1304', vm=3D'VM
>> [prod-hub-201]'}), log id: 71dcc8e7
>> 2018-03-07 14:51:52,545+01 ERROR
>> [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateBrokerVDSComman=
d]
>> (EE-ManagedThreadFactory-engine-Thread-25)
>> [f855b54a-56d9-4708-8a67-5609438ddadb] Failed in
>> 'CreateBrokerVDS' method, for vds: 'prod-node-210';
host:
>> 'prod-node-210': null
>> 2018-03-07 14:51:52,546+01 ERROR
>> [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateBrokerVDSComman=
d]
>> (EE-ManagedThreadFactory-engine-Thread-25)
>> [f855b54a-56d9-4708-8a67-5609438ddadb] Command
>> 'CreateBrokerVDSCommand(HostName =3D prod-node-210,
>> CreateVDSCommandParameters:{hostId=3D'0add031e-c72f-473f-ab2f-4f=
7abd1f402b',
>>
vmId=3D'a7bc4124-06cb-4909-9389-bcf727df1304', vm=3D'VM
>> [prod-hub-201]'})' execution failed: null
>> 2018-03-07 14:51:52,546+01 INFO
>> [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateBrokerVDSComman=
d]
>> (EE-ManagedThreadFactory-engine-Thread-25)
>> [f855b54a-56d9-4708-8a67-5609438ddadb] FINISH,
>> CreateBrokerVDSCommand, log id: 71dcc8e7
>> 2018-03-07 14:51:52,546+01 ERROR
>> [org.ovirt.engine.core.vdsbroker.CreateVDSCommand]
>> (EE-ManagedThreadFactory-engine-Thread-25) [f855b5
>> 4a-56d9-4708-8a67-5609438ddadb] Failed to create VM:
>> java.lang.NullPointerException
>> at
>> org.ovirt.engine.core.vdsbroker.builder.vminfo.LibvirtVmXmlBuild=
er.lambda$writeInterfaces$23(LibvirtVmXmlBuilder.java:1066)
>> [vdsbroker.jar:]
>>=20
>> [...]
>>=20
>> But this doesn't lead us to the root cause. I haven't found any
>> matching bug tickets in release notes for upcoming 4.2.1. Can
>> anyone help here?
>>=20
>>=20
>> What's the mac address of that VM?
>> You can find it in the UI or with:
>>=20
>> select mac_addr from vm_interface where vm_guid in (select vm_guid
>> from vm_static where vm_name=3D'<vm_name>');
>>=20
>>=20
>> Actually, different question - does this VM has unplugged network interf=
ace?
>=20
> The VM has two NICs. Both are plugged.
>=20
> The MAC addresses are 00:1a:4a:18:01:52 for nic1 and 00:1a:4a:36:01:67 fo=
r
nic2.
=20
OK, those seem like two valid mac addresses so maybe something is wrong wi=
th the
vm devices.
Could you please provide the output of:
select type, device, address, is_managed, is_plugged, alias from vm_device=
where
vm_id in (select vm_guid from vm_static where vm_name=3D'<vm_name>');=
=20
>=20
> Regards
>=20
> Jan
=20
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
--Apple-Mail-1637D078-944C-455A-B1FA-357A09FC915B
Content-Type: text/html;
charset=utf-8
Content-Transfer-Encoding: 7bit
<html><head><meta http-equiv="content-type"
content="text/html; charset=utf-8"></head><body
dir="auto"><div></div><div>Hi,</div><div><br></div><div>Enable
network and disks on your VM than do:</div><div>Run -> ONCE Ok Ignore
errors.
Ok</div><div>Run </div><div>Cheeers</div><div>Olri</div><div><br></div><div><br>Am
07.03.2018 um 16:49 schrieb Arik Hadas <<a
href="mailto:ahadas@redhat.com">ahadas@redhat.com</a>>:<br><br></div><blockquote
type="cite"><div><div dir="ltr"><br><div
class="gmail_extra"><br><div class="gmail_quote">On
Wed, Mar 7, 2018 at 5:32 PM, Jan Siml <span dir="ltr"><<a
href="mailto:jsiml@plusline.net"
target="_blank">jsiml(a)plusline.net</a>&gt;</span>
wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px
0px
0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Hello
Arik,<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><span
class="gmail-">
we have upgrade one of our oVirt engines to
4.2.1 (from 4.1.9)<br>
and afterwards all nodes too. The cluster
compatibility level<br>
has been set to 4.2.<br>
<br>
Now we can't start a VM after it has been
powered off. The only<br>
hint we found in engine.log is:<br>
<br>
2018-03-07 14:51:52,504+01 INFO<br>
[org.ovirt.engine.core.vdsbrok<wbr>er.UpdateVmDynamicDataVDSComma<wbr>nd]<br>
(EE-ManagedThreadFactory-engin<wbr>e-Thread-25)<br>
[f855b54a-56d9-4708-8a67-56094<wbr>38ddadb] START,<br>
UpdateVmDynamicDataVDSCommand(<br>
UpdateVmDynamicDataVDSCommandP<wbr>arameters:{hostId='null',<br>
vmId='a7bc4124-06cb-4909-9389-<wbr>bcf727df1304',<br>
vmDynamic='<a
href="http://org.ovirt.engine.co" rel="noreferrer"
target="_blank">org.ovirt.engine.co</a><br></span>
<<a
href="http://org.ovirt.engine.co" rel="noreferrer"
target="_blank">http://org.ovirt.engine.co</a>>re<wbr>.common.businessentities.VmDyn<wbr>amic@491983e9'}),<div><div
class="gmail-h5"><br>
log id: 7d49849e<br>
2018-03-07 14:51:52,509+01 INFO<br>
[org.ovirt.engine.core.vdsbrok<wbr>er.UpdateVmDynamicDataVDSComma<wbr>nd]<br>
(EE-ManagedThreadFactory-engin<wbr>e-Thread-25)<br>
[f855b54a-56d9-4708-8a67-56094<wbr>38ddadb] FINISH,<br>
UpdateVmDynamicDataVDSCommand, log id:
7d49849e<br>
2018-03-07 14:51:52,531+01 INFO<br>
[org.ovirt.engine.core.vdsbrok<wbr>er.CreateVDSCommand]<br>
(EE-ManagedThreadFactory-engin<wbr>e-Thread-25)<br>
[f855b54a-56d9-4708-8a67-56094<wbr>38ddadb] START, CreateVDSCommand(<br>
CreateVDSCommandParameters:{ho<wbr>stId='0add031e-c72f-473f-ab2f-<wbr>4f7abd1f402b',<br>
vmId='a7bc4124-06cb-4909-9389-<wbr>bcf727df1304', vm='VM<br>
[prod-hub-201]'}), log id:
4af1f227<br>
2018-03-07 14:51:52,533+01 INFO<br>
[org.ovirt.engine.core.vdsbrok<wbr>er.vdsbroker.CreateBrokerVDSCo<wbr>mmand]<br>
(EE-ManagedThreadFactory-engin<wbr>e-Thread-25)<br>
[f855b54a-56d9-4708-8a67-56094<wbr>38ddadb] START,<br>
CreateBrokerVDSCommand(HostNam<wbr>e =
prod-node-210,<br>
CreateVDSCommandParameters:{ho<wbr>stId='0add031e-c72f-473f-ab2f-<wbr>4f7abd1f402b',<br>
vmId='a7bc4124-06cb-4909-9389-<wbr>bcf727df1304', vm='VM<br>
[prod-hub-201]'}), log id:
71dcc8e7<br>
2018-03-07 14:51:52,545+01 ERROR<br>
[org.ovirt.engine.core.vdsbrok<wbr>er.vdsbroker.CreateBrokerVDSCo<wbr>mmand]<br>
(EE-ManagedThreadFactory-engin<wbr>e-Thread-25)<br>
[f855b54a-56d9-4708-8a67-56094<wbr>38ddadb] Failed in<br>
'CreateBrokerVDS' method, for vds:
'prod-node-210'; host:<br>
'prod-node-210': null<br>
2018-03-07 14:51:52,546+01 ERROR<br>
[org.ovirt.engine.core.vdsbrok<wbr>er.vdsbroker.CreateBrokerVDSCo<wbr>mmand]<br>
(EE-ManagedThreadFactory-engin<wbr>e-Thread-25)<br>
[f855b54a-56d9-4708-8a67-56094<wbr>38ddadb] Command<br>
'CreateBrokerVDSCommand(HostNa<wbr>me = prod-node-210,<br>
CreateVDSCommandParameters:{ho<wbr>stId='0add031e-c72f-473f-ab2f-<wbr>4f7abd1f402b',<br>
vmId='a7bc4124-06cb-4909-9389-<wbr>bcf727df1304', vm='VM<br>
[prod-hub-201]'})' execution failed:
null<br>
2018-03-07 14:51:52,546+01 INFO<br>
[org.ovirt.engine.core.vdsbrok<wbr>er.vdsbroker.CreateBrokerVDSCo<wbr>mmand]<br>
(EE-ManagedThreadFactory-engin<wbr>e-Thread-25)<br>
[f855b54a-56d9-4708-8a67-56094<wbr>38ddadb] FINISH,<br>
CreateBrokerVDSCommand, log id:
71dcc8e7<br>
2018-03-07 14:51:52,546+01 ERROR<br>
[org.ovirt.engine.core.vdsbrok<wbr>er.CreateVDSCommand]<br>
(EE-ManagedThreadFactory-engin<wbr>e-Thread-25) [f855b5<br>
4a-56d9-4708-8a67-5609438ddadb<wbr>]
Failed to create VM:<br>
java.lang.NullPointerException<br>
at<br>
org.ovirt.engine.core.vdsbroke<wbr>r.builder.vminfo.LibvirtVmXmlB<wbr>uilder.lambda$writeInterfaces$<wbr>23(LibvirtVmXmlBuilder.java:<wbr>1066)<br>
[vdsbroker.jar:]<br>
<br>
[...]<br>
<br>
But this doesn't lead us to the root
cause. I haven't found any<br>
matching bug tickets in release notes for
upcoming 4.2.1. Can<br>
anyone help here?<br>
<br>
<br>
What's the mac address of that VM?<br>
You can find it in the UI or with:<br>
<br>
select mac_addr from vm_interface where vm_guid in (select
vm_guid<br>
from vm_static where
vm_name='<vm_name>');<br>
<br>
<br>
Actually, different question - does this VM has unplugged network interface?<br>
</div></div></blockquote>
<br>
The VM has two NICs. Both are plugged.<br>
<br>
The MAC addresses are 00:1a:4a:18:01:52 for nic1 and 00:1a:4a:36:01:67 for
nic2.<br></blockquote><div><br></div><div>OK, those
seem like two valid mac addresses so maybe something is wrong with the vm
devices.</div><div>Could you please provide the output
of:</div><div><p
style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span
style="font-variant-ligatures:no-common-ligatures">select type, device,
address, is_managed, is_plugged, alias from vm_device where vm_id in (select vm_guid from
vm_static where
vm_name='<vm_name>');</span></p></div><div> </div><blockquote
class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
<br>
Regards<span class="gmail-HOEnZb"><font
color="#888888"><br>
<br>
Jan<br>
</font></span></blockquote></div><br></div></div>
</div></blockquote><blockquote
type="cite"><div><span>_______________________________________________</span><br><span>Users
mailing list</span><br><span><a
href="mailto:Users@ovirt.org">Users@ovirt.org</a></span><br><span><a
href="http://lists.ovirt.org/mailman/listinfo/users">http://...
--Apple-Mail-1637D078-944C-455A-B1FA-357A09FC915B--