This is a multi-part message in MIME format.
--------------086582DB53F1173A72275579
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Worked like a charm. Double thanks, for helping and for helping so fast!
Best regards,
Eduardo Mayoral Jimeno (emayoral(a)arsys.es)
Administrador de sistemas. Departamento de Plataformas. Arsys internet.
+34 941 620 145 ext. 5153
On 06/02/18 12:25, Arik Hadas wrote:
Hi,
The problem you had is fixed already by
https://gerrit.ovirt.org/#/c/86367/.
I'm afraid you'll need to manually set the VM to Down in the database:
update vm_dynamic set status=0 where vm_guid in (select vm_guid from
vm_static where vm_name='<vm name>')
On Tue, Feb 6, 2018 at 11:20 AM, Eduardo Mayoral <emayoral(a)arsys.es
<mailto:emayoral@arsys.es>> wrote:
Hi,
Got a problem with oVirt 4.2
While putting a Host in maintenance mode, an VM has failed to migrate.
The end state is that the Web UI shows the VM as "Migrating from".
The VM is not running in any Host in the cluster.
This is the relevant message in the /var/log/ovirt-engine/engine.log
2018-02-06 09:09:05,379Z INFO
[org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer]
(EE-ManagedThreadFactory-engineScheduled-Thread-14) [] VM
'ab158ff3-a716-4655-9269-11738cd53b05'(repositorionuget) is running in
db and not running on VDS
'82b49615-9c65-4d8e-80e0-f10089cb4225'(llkh456.arsyslan.es
<
http://llkh456.arsyslan.es>)
2018-02-06 09:09:05,381Z ERROR
[org.ovirt.engine.core.vdsbroker.monitoring.VmsMonitoring]
(EE-ManagedThreadFactory-engineScheduled-Thread-14) [] Failed during
monitoring vm: ab158ff3-a716-4655-9269-11738cd53b05 , error is: {}:
java.lang.NullPointerException
at
org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer.auditVmMigrationAbort(VmAnalyzer.java:440)
[vdsbroker.jar:]
at
org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer.abortVmMigration(VmAnalyzer.java:432)
[vdsbroker.jar:]
at
org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer.proceedDisappearedVm(VmAnalyzer.java:794)
[vdsbroker.jar:]
at
org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer.analyze(VmAnalyzer.java:135)
[vdsbroker.jar:]
at
org.ovirt.engine.core.vdsbroker.monitoring.VmsMonitoring.lambda$analyzeVms$1(VmsMonitoring.java:136)
[vdsbroker.jar:]
at java.util.ArrayList.forEach(ArrayList.java:1255)
[rt.jar:1.8.0_151]
at
org.ovirt.engine.core.vdsbroker.monitoring.VmsMonitoring.analyzeVms(VmsMonitoring.java:131)
[vdsbroker.jar:]
at
org.ovirt.engine.core.vdsbroker.monitoring.VmsMonitoring.perform(VmsMonitoring.java:94)
[vdsbroker.jar:]
at
org.ovirt.engine.core.vdsbroker.monitoring.PollVmStatsRefresher.poll(PollVmStatsRefresher.java:43)
[vdsbroker.jar:]
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[rt.jar:1.8.0_151]
at
java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
[rt.jar:1.8.0_151]
at
org.glassfish.enterprise.concurrent.internal.ManagedScheduledThreadPoolExecutor$ManagedScheduledFutureTask.access$201(ManagedScheduledThreadPoolExecutor.java:383)
[javax.enterprise.concurrent-1.0.jar:]
at
org.glassfish.enterprise.concurrent.internal.ManagedScheduledThreadPoolExecutor$ManagedScheduledFutureTask.run(ManagedScheduledThreadPoolExecutor.java:534)
[javax.enterprise.concurrent-1.0.jar:]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[rt.jar:1.8.0_151]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[rt.jar:1.8.0_151]
at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_151]
at
org.glassfish.enterprise.concurrent.ManagedThreadFactoryImpl$ManagedThread.run(ManagedThreadFactoryImpl.java:250)
[javax.enterprise.concurrent-1.0.jar:]
at
org.jboss.as.ee.concurrent.service.ElytronManagedThreadFactory$ElytronManagedThread.run(ElytronManagedThreadFactory.java:78)
2018-02-06 09:09:05,381Z ERROR
[org.ovirt.engine.core.vdsbroker.monitoring.VmsMonitoring]
(EE-ManagedThreadFactory-engineScheduled-Thread-14) [] Exception::
java.lang.NullPointerException
at
org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer.auditVmMigrationAbort(VmAnalyzer.java:440)
[vdsbroker.jar:]
at
org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer.abortVmMigration(VmAnalyzer.java:432)
[vdsbroker.jar:]
at
org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer.proceedDisappearedVm(VmAnalyzer.java:794)
[vdsbroker.jar:]
at
org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer.analyze(VmAnalyzer.java:135)
[vdsbroker.jar:]
at
org.ovirt.engine.core.vdsbroker.monitoring.VmsMonitoring.lambda$analyzeVms$1(VmsMonitoring.java:136)
[vdsbroker.jar:]
at java.util.ArrayList.forEach(ArrayList.java:1255)
[rt.jar:1.8.0_151]
at
org.ovirt.engine.core.vdsbroker.monitoring.VmsMonitoring.analyzeVms(VmsMonitoring.java:131)
[vdsbroker.jar:]
at
org.ovirt.engine.core.vdsbroker.monitoring.VmsMonitoring.perform(VmsMonitoring.java:94)
[vdsbroker.jar:]
at
org.ovirt.engine.core.vdsbroker.monitoring.PollVmStatsRefresher.poll(PollVmStatsRefresher.java:43)
[vdsbroker.jar:]
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[rt.jar:1.8.0_151]
at
java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
[rt.jar:1.8.0_151]
at
org.glassfish.enterprise.concurrent.internal.ManagedScheduledThreadPoolExecutor$ManagedScheduledFutureTask.access$201(ManagedScheduledThreadPoolExecutor.java:383)
[javax.enterprise.concurrent-1.0.jar:]
at
org.glassfish.enterprise.concurrent.internal.ManagedScheduledThreadPoolExecutor$ManagedScheduledFutureTask.run(ManagedScheduledThreadPoolExecutor.java:534)
[javax.enterprise.concurrent-1.0.jar:]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[rt.jar:1.8.0_151]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[rt.jar:1.8.0_151]
at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_151]
at
org.glassfish.enterprise.concurrent.ManagedThreadFactoryImpl$ManagedThread.run(ManagedThreadFactoryImpl.java:250)
[javax.enterprise.concurrent-1.0.jar:]
at
org.jboss.as.ee.concurrent.service.ElytronManagedThreadFactory$ElytronManagedThread.run(ElytronManagedThreadFactory.java:78)
I already tried canceling the migration, powering off the VM,
restarting
the engine service and restarting the vdsm on the host which is
supposed
to have that VM. No success so far. unlock_entity.sh shows no locked
entities.
Can somebody help on how to recover from this?
Thanks!
--
Eduardo Mayoral Jimeno (emayoral(a)arsys.es <mailto:emayoral@arsys.es>)
Administrador de sistemas. Departamento de Plataformas. Arsys
internet.
+34 941 620 145 ext. 5153 <tel:%2B34%20941%20620%20145%20ext.%205153>
_______________________________________________
Users mailing list
Users(a)ovirt.org <mailto:Users@ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users
<
http://lists.ovirt.org/mailman/listinfo/users>
--------------086582DB53F1173A72275579
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Worked like a charm. Double thanks, for helping and for helping
so fast!</p>
<p>Best regards,<br>
</p>
<pre class="moz-signature" cols="72">Eduardo Mayoral Jimeno
(<a class="moz-txt-link-abbreviated"
href="mailto:emayoral@arsys.es">emayoral@arsys.es</a>)
Administrador de sistemas. Departamento de Plataformas. Arsys internet.
+34 941 620 145 ext. 5153</pre>
<div class="moz-cite-prefix">On 06/02/18 12:25, Arik Hadas
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAMCgCFFahRv=-qoMxt=nAPx2wJXSpb9h8H43wHodosyo+1Rrow@mail.gmail.com">
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
<div dir="ltr">Hi,
<div><br>
</div>
<div>The problem you had is fixed already by <a
href="https://gerrit.ovirt.org/#/c/86367/"
moz-do-not-send="true">https://gerrit.ovirt.org/#/c/86367/&l...
<div>I'm afraid you'll need to manually set the VM to Down in
the database:</div>
<div>update vm_dynamic set status=0 where vm_guid in (select
vm_guid from vm_static where vm_name='<vm
name>')</div>
<div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Feb 6, 2018 at 11:20 AM,
Eduardo Mayoral <span dir="ltr"><<a
href="mailto:emayoral@arsys.es" target="_blank"
moz-do-not-send="true">emayoral(a)arsys.es</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">Hi,<br>
<br>
Got a problem with oVirt 4.2<br>
<br>
While putting a Host in maintenance mode, an VM has
failed to migrate.<br>
The end state is that the Web UI shows the VM as
"Migrating from".<br>
<br>
The VM is not running in any Host in the cluster.<br>
<br>
This is the relevant message in the
/var/log/ovirt-engine/engine.<wbr>log<br>
<br>
2018-02-06 09:09:05,379Z INFO <br>
[org.ovirt.engine.core.<wbr>vdsbroker.monitoring.<wbr>VmAnalyzer]<br>
(EE-ManagedThreadFactory-<wbr>engineScheduled-Thread-14)
[] VM<br>
'ab158ff3-a716-4655-9269-<wbr>11738cd53b05'(<wbr>repositorionuget)
is running in<br>
db and not running on VDS<br>
'82b49615-9c65-4d8e-80e0-<wbr>f10089cb4225'(<a
href="http://llkh456.arsyslan.es" rel="noreferrer"
target="_blank"
moz-do-not-send="true">llkh456.<wbr>arsyslan.es</a>)<br>
2018-02-06 09:09:05,381Z ERROR<br>
[org.ovirt.engine.core.<wbr>vdsbroker.monitoring.<wbr>VmsMonitoring]<br>
(EE-ManagedThreadFactory-<wbr>engineScheduled-Thread-14)
[] Failed during<br>
monitoring vm: ab158ff3-a716-4655-9269-<wbr>11738cd53b05
, error is: {}:<br>
java.lang.NullPointerException<br>
at<br>
org.ovirt.engine.core.<wbr>vdsbroker.monitoring.<wbr>VmAnalyzer.<wbr>auditVmMigrationAbort(<wbr>VmAnalyzer.java:440)<br>
[vdsbroker.jar:]<br>
at<br>
org.ovirt.engine.core.<wbr>vdsbroker.monitoring.<wbr>VmAnalyzer.abortVmMigration(<wbr>VmAnalyzer.java:432)<br>
[vdsbroker.jar:]<br>
at<br>
org.ovirt.engine.core.<wbr>vdsbroker.monitoring.<wbr>VmAnalyzer.<wbr>proceedDisappearedVm(<wbr>VmAnalyzer.java:794)<br>
[vdsbroker.jar:]<br>
at<br>
org.ovirt.engine.core.<wbr>vdsbroker.monitoring.<wbr>VmAnalyzer.analyze(VmAnalyzer.<wbr>java:135)<br>
[vdsbroker.jar:]<br>
at<br>
org.ovirt.engine.core.<wbr>vdsbroker.monitoring.<wbr>VmsMonitoring.lambda$<wbr>analyzeVms$1(VmsMonitoring.<wbr>java:136)<br>
[vdsbroker.jar:]<br>
at
java.util.ArrayList.forEach(<wbr>ArrayList.java:1255)<br>
[rt.jar:1.8.0_151]<br>
at<br>
org.ovirt.engine.core.<wbr>vdsbroker.monitoring.<wbr>VmsMonitoring.analyzeVms(<wbr>VmsMonitoring.java:131)<br>
[vdsbroker.jar:]<br>
at<br>
org.ovirt.engine.core.<wbr>vdsbroker.monitoring.<wbr>VmsMonitoring.perform(<wbr>VmsMonitoring.java:94)<br>
[vdsbroker.jar:]<br>
at<br>
org.ovirt.engine.core.<wbr>vdsbroker.monitoring.<wbr>PollVmStatsRefresher.poll(<wbr>PollVmStatsRefresher.java:43)<br>
[vdsbroker.jar:]<br>
at<br>
java.util.concurrent.<wbr>Executors$RunnableAdapter.<wbr>call(Executors.java:511)<br>
[rt.jar:1.8.0_151]<br>
at<br>
java.util.concurrent.<wbr>FutureTask.runAndReset(<wbr>FutureTask.java:308)<br>
[rt.jar:1.8.0_151]<br>
at<br>
org.glassfish.enterprise.<wbr>concurrent.internal.<wbr>ManagedScheduledThreadPoolExec<wbr>utor$<wbr>ManagedScheduledFutureTask.<wbr>access$201(<wbr>ManagedScheduledThreadPoolExec<wbr>utor.java:383)<br>
[javax.enterprise.concurrent-<wbr>1.0.jar:]<br>
at<br>
org.glassfish.enterprise.<wbr>concurrent.internal.<wbr>ManagedScheduledThreadPoolExec<wbr>utor$<wbr>ManagedScheduledFutureTask.<wbr>run(<wbr>ManagedScheduledThreadPoolExec<wbr>utor.java:534)<br>
[javax.enterprise.concurrent-<wbr>1.0.jar:]<br>
at<br>
java.util.concurrent.<wbr>ThreadPoolExecutor.runWorker(<wbr>ThreadPoolExecutor.java:1149)<br>
[rt.jar:1.8.0_151]<br>
at<br>
java.util.concurrent.<wbr>ThreadPoolExecutor$Worker.run(<wbr>ThreadPoolExecutor.java:624)<br>
[rt.jar:1.8.0_151]<br>
at java.lang.Thread.run(Thread.<wbr>java:748)
[rt.jar:1.8.0_151]<br>
at<br>
org.glassfish.enterprise.<wbr>concurrent.<wbr>ManagedThreadFactoryImpl$<wbr>ManagedThread.run(<wbr>ManagedThreadFactoryImpl.java:<wbr>250)<br>
[javax.enterprise.concurrent-<wbr>1.0.jar:]<br>
at<br>
org.jboss.as.ee.concurrent.<wbr>service.<wbr>ElytronManagedThreadFactory$<wbr>ElytronManagedThread.run(<wbr>ElytronManagedThreadFactory.<wbr>java:78)<br>
<br>
2018-02-06 09:09:05,381Z ERROR<br>
[org.ovirt.engine.core.<wbr>vdsbroker.monitoring.<wbr>VmsMonitoring]<br>
(EE-ManagedThreadFactory-<wbr>engineScheduled-Thread-14)
[] Exception::<br>
java.lang.NullPointerException<br>
at<br>
org.ovirt.engine.core.<wbr>vdsbroker.monitoring.<wbr>VmAnalyzer.<wbr>auditVmMigrationAbort(<wbr>VmAnalyzer.java:440)<br>
[vdsbroker.jar:]<br>
at<br>
org.ovirt.engine.core.<wbr>vdsbroker.monitoring.<wbr>VmAnalyzer.abortVmMigration(<wbr>VmAnalyzer.java:432)<br>
[vdsbroker.jar:]<br>
at<br>
org.ovirt.engine.core.<wbr>vdsbroker.monitoring.<wbr>VmAnalyzer.<wbr>proceedDisappearedVm(<wbr>VmAnalyzer.java:794)<br>
[vdsbroker.jar:]<br>
at<br>
org.ovirt.engine.core.<wbr>vdsbroker.monitoring.<wbr>VmAnalyzer.analyze(VmAnalyzer.<wbr>java:135)<br>
[vdsbroker.jar:]<br>
at<br>
org.ovirt.engine.core.<wbr>vdsbroker.monitoring.<wbr>VmsMonitoring.lambda$<wbr>analyzeVms$1(VmsMonitoring.<wbr>java:136)<br>
[vdsbroker.jar:]<br>
at
java.util.ArrayList.forEach(<wbr>ArrayList.java:1255)<br>
[rt.jar:1.8.0_151]<br>
at<br>
org.ovirt.engine.core.<wbr>vdsbroker.monitoring.<wbr>VmsMonitoring.analyzeVms(<wbr>VmsMonitoring.java:131)<br>
[vdsbroker.jar:]<br>
at<br>
org.ovirt.engine.core.<wbr>vdsbroker.monitoring.<wbr>VmsMonitoring.perform(<wbr>VmsMonitoring.java:94)<br>
[vdsbroker.jar:]<br>
at<br>
org.ovirt.engine.core.<wbr>vdsbroker.monitoring.<wbr>PollVmStatsRefresher.poll(<wbr>PollVmStatsRefresher.java:43)<br>
[vdsbroker.jar:]<br>
at<br>
java.util.concurrent.<wbr>Executors$RunnableAdapter.<wbr>call(Executors.java:511)<br>
[rt.jar:1.8.0_151]<br>
at<br>
java.util.concurrent.<wbr>FutureTask.runAndReset(<wbr>FutureTask.java:308)<br>
[rt.jar:1.8.0_151]<br>
at<br>
org.glassfish.enterprise.<wbr>concurrent.internal.<wbr>ManagedScheduledThreadPoolExec<wbr>utor$<wbr>ManagedScheduledFutureTask.<wbr>access$201(<wbr>ManagedScheduledThreadPoolExec<wbr>utor.java:383)<br>
[javax.enterprise.concurrent-<wbr>1.0.jar:]<br>
at<br>
org.glassfish.enterprise.<wbr>concurrent.internal.<wbr>ManagedScheduledThreadPoolExec<wbr>utor$<wbr>ManagedScheduledFutureTask.<wbr>run(<wbr>ManagedScheduledThreadPoolExec<wbr>utor.java:534)<br>
[javax.enterprise.concurrent-<wbr>1.0.jar:]<br>
at<br>
java.util.concurrent.<wbr>ThreadPoolExecutor.runWorker(<wbr>ThreadPoolExecutor.java:1149)<br>
[rt.jar:1.8.0_151]<br>
at<br>
java.util.concurrent.<wbr>ThreadPoolExecutor$Worker.run(<wbr>ThreadPoolExecutor.java:624)<br>
[rt.jar:1.8.0_151]<br>
at java.lang.Thread.run(Thread.<wbr>java:748)
[rt.jar:1.8.0_151]<br>
at<br>
org.glassfish.enterprise.<wbr>concurrent.<wbr>ManagedThreadFactoryImpl$<wbr>ManagedThread.run(<wbr>ManagedThreadFactoryImpl.java:<wbr>250)<br>
[javax.enterprise.concurrent-<wbr>1.0.jar:]<br>
at<br>
org.jboss.as.ee.concurrent.<wbr>service.<wbr>ElytronManagedThreadFactory$<wbr>ElytronManagedThread.run(<wbr>ElytronManagedThreadFactory.<wbr>java:78)<br>
<br>
I already tried canceling the migration, powering off
the VM, restarting<br>
the engine service and restarting the vdsm on the host
which is supposed<br>
to have that VM. No success so far. unlock_entity.sh
shows no locked<br>
entities.<br>
<br>
Can somebody help on how to recover from this?<br>
<br>
Thanks!<br>
<span class="gmail-HOEnZb"><font
color="#888888"><br>
<br>
--<br>
Eduardo Mayoral Jimeno (<a
href="mailto:emayoral@arsys.es"
moz-do-not-send="true">emayoral(a)arsys.es</a>)<br>
Administrador de sistemas. Departamento de
Plataformas. Arsys internet.<br>
<a href="tel:%2B34%20941%20620%20145%20ext.%205153"
value="+34941620145"
moz-do-not-send="true">+34
941 620 145 ext. 5153</a><br>
<br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org"
moz-do-not-send="true">Users(a)ovirt.org</a><br>
<a
href="http://lists.ovirt.org/mailman/listinfo/users"
rel="noreferrer" target="_blank"
moz-do-not-send="true">http://lists.ovirt.org/<wbr>mai...
</font></span></blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>
--------------086582DB53F1173A72275579--