<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 18, 2018 at 3:43 PM, maoz zadok <span dir="ltr">&lt;<a href="mailto:maozza@gmail.com" target="_blank">maozza@gmail.com</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"><div dir="ltr"><div><div>Hello All,<br></div>I&#39;m receiving this message every time that I try to start VM, <br></div><div>any idea? <br></div></div></blockquote><div><br></div><div>Seems you enounter [1] that is solved in 4.2.2.</div><div>I assume you&#39;re using 4.2.1, right? By just looking at the code, it seems that restarting the engine could be a possible workaround for this.</div><div><br></div><div>[1] <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1532884">https://bugzilla.redhat.com/show_bug.cgi?id=1532884</a></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"><div dir="ltr"><div><br></div><div><div><div><br><br>2018-03-18 09:39:51,479-04 ERROR [org.ovirt.engine.core.<wbr>vdsbroker.monitoring.<wbr>VmsMonitoring] (EE-ManagedThreadFactory-<wbr>engineScheduled-Thread-11) [] Failed during monitoring vm: 2445a47e-b102-11e6-ad11-<wbr>1866da511add , error is: {}: java.lang.NullPointerException<br><br>2018-03-18 09:39:51,480-04 ERROR [org.ovirt.engine.core.<wbr>vdsbroker.monitoring.<wbr>VmsMonitoring] (EE-ManagedThreadFactory-<wbr>engineScheduled-Thread-11) [] Exception:: java.lang.NullPointerException<br><br>2018-03-18 09:39:57,802-04 INFO  [org.ovirt.engine.core.bll.<wbr>RunVmCommand] (default task-79) [b3b98e2c-6176-413d-9d75-<wbr>315626918150] Lock Acquired to object &#39;EngineLock:{exclusiveLocks=&#39;[<wbr>fccee2da-92a3-4187-8aad-<wbr>d6c1f9d5a3fb=VM]&#39;, sharedLocks=&#39;&#39;}&#39;<br>2018-03-18 09:39:57,822-04 INFO  [org.ovirt.engine.core.<wbr>vdsbroker.<wbr>IsVmDuringInitiatingVDSCommand<wbr>] (default task-79) [b3b98e2c-6176-413d-9d75-<wbr>315626918150] START, IsVmDuringInitiatingVDSCommand<wbr>( IsVmDuringInitiatingVDSCommand<wbr>Parameters:{vmId=&#39;fccee2da-<wbr>92a3-4187-8aad-d6c1f9d5a3fb&#39;})<wbr>, log id: 2217c887<br>2018-03-18 09:39:57,822-04 INFO  [org.ovirt.engine.core.<wbr>vdsbroker.<wbr>IsVmDuringInitiatingVDSCommand<wbr>] (default task-79) [b3b98e2c-6176-413d-9d75-<wbr>315626918150] FINISH, IsVmDuringInitiatingVDSCommand<wbr>, return: false, log id: 2217c887<br>2018-03-18 09:39:57,927-04 INFO  [org.ovirt.engine.core.bll.<wbr>RunVmCommand] (EE-ManagedThreadFactory-<wbr>engine-Thread-929544) [b3b98e2c-6176-413d-9d75-<wbr>315626918150] Running command: RunVmCommand internal: false. Entities affected :  ID: fccee2da-92a3-4187-8aad-<wbr>d6c1f9d5a3fb Type: VMAction group RUN_VM with role type USER<br>2018-03-18 09:39:57,944-04 INFO  [org.ovirt.engine.core.bll.<wbr>scheduling.policyunits.<wbr>PreferredHostsWeightPolicyUnit<wbr>] (EE-ManagedThreadFactory-<wbr>engine-Thread-929544) [b3b98e2c-6176-413d-9d75-<wbr>315626918150] Penalizing host &#39;kvm5&#39; because it is not preferred.<br>2018-03-18 09:39:57,944-04 INFO  [org.ovirt.engine.core.bll.<wbr>scheduling.policyunits.<wbr>PreferredHostsWeightPolicyUnit<wbr>] (EE-ManagedThreadFactory-<wbr>engine-Thread-929544) [b3b98e2c-6176-413d-9d75-<wbr>315626918150] Penalizing host &#39;kvm6&#39; because it is not preferred.<br>2018-03-18 09:39:57,944-04 INFO  [org.ovirt.engine.core.bll.<wbr>scheduling.policyunits.<wbr>PreferredHostsWeightPolicyUnit<wbr>] (EE-ManagedThreadFactory-<wbr>engine-Thread-929544) [b3b98e2c-6176-413d-9d75-<wbr>315626918150] Penalizing host &#39;kvm7&#39; because it is not preferred.<br>2018-03-18 09:39:57,945-04 WARN  [org.ovirt.engine.core.bll.<wbr>scheduling.pending.<wbr>PendingResourceManager] (EE-ManagedThreadFactory-<wbr>engine-Thread-929544) [b3b98e2c-6176-413d-9d75-<wbr>315626918150] Clearing stale pending resource org.ovirt.engine.core.bll.<wbr>scheduling.pending.<wbr>PendingCpuCores@1d15d667 (host: e044db3f-c49b-467f-9f04-<wbr>21b44ffe78c4, vm: fccee2da-92a3-4187-8aad-<wbr>d6c1f9d5a3fb)<br>2018-03-18 09:39:57,945-04 WARN  [org.ovirt.engine.core.bll.<wbr>scheduling.pending.<wbr>PendingResourceManager] (EE-ManagedThreadFactory-<wbr>engine-Thread-929544) [b3b98e2c-6176-413d-9d75-<wbr>315626918150] Clearing stale pending resource org.ovirt.engine.core.bll.<wbr>scheduling.pending.<wbr>PendingMemory@1d15d667 (host: e044db3f-c49b-467f-9f04-<wbr>21b44ffe78c4, vm: fccee2da-92a3-4187-8aad-<wbr>d6c1f9d5a3fb)<br>2018-03-18 09:39:57,946-04 WARN  [org.ovirt.engine.core.bll.<wbr>scheduling.pending.<wbr>PendingResourceManager] (EE-ManagedThreadFactory-<wbr>engine-Thread-929544) [b3b98e2c-6176-413d-9d75-<wbr>315626918150] Clearing stale pending resource org.ovirt.engine.core.bll.<wbr>scheduling.pending.<wbr>PendingOvercommitMemory@<wbr>1d15d667 (host: e044db3f-c49b-467f-9f04-<wbr>21b44ffe78c4, vm: fccee2da-92a3-4187-8aad-<wbr>d6c1f9d5a3fb)<br>2018-03-18 09:39:57,946-04 WARN  [org.ovirt.engine.core.bll.<wbr>scheduling.pending.<wbr>PendingResourceManager] (EE-ManagedThreadFactory-<wbr>engine-Thread-929544) [b3b98e2c-6176-413d-9d75-<wbr>315626918150] Clearing stale pending resource org.ovirt.engine.core.bll.<wbr>scheduling.pending.PendingVM@<wbr>1d15d667 (host: e044db3f-c49b-467f-9f04-<wbr>21b44ffe78c4, vm: fccee2da-92a3-4187-8aad-<wbr>d6c1f9d5a3fb)<br>2018-03-18 09:39:57,946-04 ERROR [org.ovirt.engine.core.bll.<wbr>RunVmCommand] (EE-ManagedThreadFactory-<wbr>engine-Thread-929544) [b3b98e2c-6176-413d-9d75-<wbr>315626918150] Command &#39;org.ovirt.engine.core.bll.<wbr>RunVmCommand&#39; failed: null<br>2018-03-18 09:39:57,946-04 ERROR [org.ovirt.engine.core.bll.<wbr>RunVmCommand] (EE-ManagedThreadFactory-<wbr>engine-Thread-929544) [b3b98e2c-6176-413d-9d75-<wbr>315626918150] Exception: java.lang.NullPointerException<br>    at org.ovirt.engine.core.<wbr>vdsbroker.monitoring.<wbr>HostMonitoring.<wbr>refreshCommitedMemory(<wbr>HostMonitoring.java:687) [vdsbroker.jar:]<br>    at org.ovirt.engine.core.<wbr>vdsbroker.VdsManager.<wbr>updatePendingData(VdsManager.<wbr>java:476) [vdsbroker.jar:]<br>    at org.ovirt.engine.core.bll.<wbr>scheduling.pending.<wbr>PendingResourceManager.<wbr>notifyHostManagers(<wbr>PendingResourceManager.java:<wbr>227) [bll.jar:]<br>    at org.ovirt.engine.core.bll.<wbr>scheduling.SchedulingManager.<wbr>schedule(SchedulingManager.<wbr>java:361) [bll.jar:]<br>    at org.ovirt.engine.core.bll.<wbr>RunVmCommand.getVdsToRunOn(<wbr>RunVmCommand.java:878) [bll.jar:]<br>    at org.ovirt.engine.core.bll.<wbr>RunVmCommand.runVm(<wbr>RunVmCommand.java:266) [bll.jar:]<br>    at org.ovirt.engine.core.bll.<wbr>RunVmCommand.perform(<wbr>RunVmCommand.java:440) [bll.jar:]<br>    at org.ovirt.engine.core.bll.<wbr>RunVmCommand.executeVmCommand(<wbr>RunVmCommand.java:365) [bll.jar:]<br>    at org.ovirt.engine.core.bll.<wbr>VmCommand.executeCommand(<wbr>VmCommand.java:147) [bll.jar:]<br>    at org.ovirt.engine.core.bll.<wbr>CommandBase.<wbr>executeWithoutTransaction(<wbr>CommandBase.java:1205) [bll.jar:]<br>    at org.ovirt.engine.core.bll.<wbr>CommandBase.<wbr>executeActionInTransactionScop<wbr>e(CommandBase.java:1345) [bll.jar:]<br>    at org.ovirt.engine.core.bll.<wbr>CommandBase.runInTransaction(<wbr>CommandBase.java:1987) [bll.jar:]<br>    at org.ovirt.engine.core.utils.<wbr>transaction.<wbr>TransactionSupport.<wbr>executeInSuppressed(<wbr>TransactionSupport.java:164) [utils.jar:]<br>    at org.ovirt.engine.core.utils.<wbr>transaction.<wbr>TransactionSupport.<wbr>executeInScope(<wbr>TransactionSupport.java:103) [utils.jar:]<br>    at org.ovirt.engine.core.bll.<wbr>CommandBase.execute(<wbr>CommandBase.java:1405) [bll.jar:]<br>    at org.ovirt.engine.core.bll.<wbr>CommandBase.executeAction(<wbr>CommandBase.java:412) [bll.jar:]<br>    at org.ovirt.engine.core.bll.<wbr>PrevalidatingMultipleActionsRu<wbr>nner.executeValidatedCommand(<wbr>PrevalidatingMultipleActionsRu<wbr>nner.java:204) [bll.jar:]<br>    at org.ovirt.engine.core.bll.<wbr>PrevalidatingMultipleActionsRu<wbr>nner.runCommands(<wbr>PrevalidatingMultipleActionsRu<wbr>nner.java:176) [bll.jar:]<br>    at org.ovirt.engine.core.bll.<wbr>SortedMultipleActionsRunnerBas<wbr>e.runCommands(<wbr>SortedMultipleActionsRunnerBas<wbr>e.java:20) [bll.jar:]<br>    at org.ovirt.engine.core.bll.<wbr>PrevalidatingMultipleActionsRu<wbr>nner.lambda$invokeCommands$3(<wbr>PrevalidatingMultipleActionsRu<wbr>nner.java:182) [bll.jar:]<br>    at org.ovirt.engine.core.utils.<wbr>threadpool.ThreadPoolUtil$<wbr>InternalWrapperRunnable.run(<wbr>ThreadPoolUtil.java:96) [utils.jar:]<br>    at java.util.concurrent.<wbr>Executors$RunnableAdapter.<wbr>call(Executors.java:511) [rt.jar:1.8.0_161]<br>    at java.util.concurrent.<wbr>FutureTask.run(FutureTask.<wbr>java:266) [rt.jar:1.8.0_161]<br>    at java.util.concurrent.<wbr>ThreadPoolExecutor.runWorker(<wbr>ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_161]<br>    at java.util.concurrent.<wbr>ThreadPoolExecutor$Worker.run(<wbr>ThreadPoolExecutor.java:624) [rt.jar:1.8.0_161]<br>    at java.lang.Thread.run(Thread.<wbr>java:748) [rt.jar:1.8.0_161]<br>    at org.glassfish.enterprise.<wbr>concurrent.<wbr>ManagedThreadFactoryImpl$<wbr>ManagedThread.run(<wbr>ManagedThreadFactoryImpl.java:<wbr>250) [javax.enterprise.concurrent-<wbr>1.0.jar:]<br>    at org.jboss.as.ee.concurrent.<wbr>service.<wbr>ElytronManagedThreadFactory$<wbr>ElytronManagedThread.run(<wbr>ElytronManagedThreadFactory.<wbr>java:78)<br><br>2018-03-18 09:39:57,969-04 ERROR [org.ovirt.engine.core.dal.<wbr>dbbroker.auditloghandling.<wbr>AuditLogDirector] (EE-ManagedThreadFactory-<wbr>engine-Thread-929544) [b3b98e2c-6176-413d-9d75-<wbr>315626918150] EVENT_ID: USER_FAILED_RUN_VM(54), Failed to run VM centos7-template (User: admin@internal-authz).<br>2018-03-18 09:39:57,976-04 INFO  [org.ovirt.engine.core.bll.<wbr>RunVmCommand] (EE-ManagedThreadFactory-<wbr>engine-Thread-929544) [b3b98e2c-6176-413d-9d75-<wbr>315626918150] Lock freed to object &#39;EngineLock:{exclusiveLocks=&#39;[<wbr>fccee2da-92a3-4187-8aad-<wbr>d6c1f9d5a3fb=VM]&#39;, sharedLocks=&#39;&#39;}&#39;<br><br></div></div></div></div>
<br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
<br></blockquote></div><br></div></div>