<div dir="ltr"><div><div><div><div><div><div>For anyone that might be wondering, this errors disappeared after removing/adding the leases. <br><br></div>The tasks were showing still the "Editing VM configuration" as not completed. <br><br></div>I removed them by cleaning the tasks from the psql: <br><br></div>Within engine: <br></div><div><br></div>su - postgres</div><div>psql<br></div>\c engine<br>select * from job order by start_time desc;<br>select DeleteJob('<job id>');<br><br></div>Alex<br><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 18, 2017 at 1:07 PM, Alex K <span dir="ltr"><<a href="mailto:rightkicktech@gmail.com" target="_blank">rightkicktech@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi all, <br><br></div>While attempting to enable the VM leases for a specific VM I am receiving the following error within the engine.log: <br></div><div><span style="font-family:monospace,monospace"><br></span></div><div><span style="font-family:monospace,monospace">2017-10-18 07:56:03,186Z ERROR [org.ovirt.engine.core.dal.<wbr>dbbroker.auditloghandling.<wbr>AuditLogDirector] (org.ovirt.thread.pool-6-<wbr>thread-18) [37c74b60] EVENT_ID: HOT_PLUG_LEASE_FAILED(1,220), Correlation ID: 37c74b60, Job ID: fb7b0b47-3ca1-4588-99b6-<wbr>2203337bcae5, Call Stack: null, Custom ID: null, Custom Event ID: -1, Message: Failed to hot plug lease to the VM Win-DC. The VM is running without a VM lease.<br>2017-10-18 07:56:15,162Z ERROR [org.ovirt.engine.core.bll.<wbr>storage.lease.<wbr>AddVmLeaseCommand] (org.ovirt.thread.pool-6-<wbr>thread-12) [37c74b60] Failure in hot plugging a lease to VM 9f9a8be1-c4ed-4de8-a600-<wbr>a751ae70a76b, message: EngineException: org.ovirt.engine.core.<wbr>vdsbroker.vdsbroker.<wbr>VDSErrorException: VDSGenericException: VDSErrorException: Failed to HotPlugLeaseVDS, error = Virtual machine does not exist: {'vmId': u'9f9a8be1-c4ed-4de8-a600-<wbr>a751ae70a76b'}, code = 1 (Failed with error noVM and code 1)</span><br></div><div><br></div><div>Also the tasks logs at dashboard is showing the "Editing VM configuration" always as running, without the tasks completing. <br></div><div><br></div><div>The SPM host does nto lsit any running tasks: <br></div><div><br></div><div>vdsClient -s 0 getAllTasksStatuses<br>{'status': {'message': 'OK', 'code': 0}, 'allTasksStatus': {}}<br></div><div><br></div><div><br></div><div>Any ideas?</div><div><br></div><div>Than, <br></div><div>Alex<br></div></div>
</blockquote></div><br></div>