<div dir="ltr"><div><div>I think the same, it tries to relogin after the VM is created and tries to start it...<br><br></div>When I cancel the VM in Foreman it stops... <br><br></div>So the question is, why can Foreman login for create but not login for start, is there something changed in oVirt for starting VM&#39;s ?<br>

<div><div><br><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-04-24 10:10 GMT+02:00 Oved Ourfalli <span dir="ltr">&lt;<a href="mailto:ovedo@redhat.com" target="_blank">ovedo@redhat.com</a>&gt;</span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Aren&#39;t these the API calls that Foreman does for the provisioning?<br>
Each API call both logs in at start and logs out when done.<br>
<div class="HOEnZb"><div class="h5"><br>
----- Original Message -----<br>
&gt; From: &quot;Itamar Heim&quot; &lt;<a href="mailto:iheim@redhat.com">iheim@redhat.com</a>&gt;<br>
&gt; To: &quot;Matt .&quot; &lt;<a href="mailto:yamakasi.014@gmail.com">yamakasi.014@gmail.com</a>&gt;<br>
&gt; Cc: &quot;users&quot; &lt;<a href="mailto:users@ovirt.org">users@ovirt.org</a>&gt;, &quot;Oved Ourfalli&quot; &lt;<a href="mailto:oourfali@redhat.com">oourfali@redhat.com</a>&gt;, &quot;Yair Zaslavsky&quot; &lt;<a href="mailto:yzaslavs@redhat.com">yzaslavs@redhat.com</a>&gt;<br>

&gt; Sent: Thursday, April 24, 2014 11:06:44 AM<br>
&gt; Subject: Re: [ovirt-users] Foreman not starting VM, hangs on finishing creating a new VM<br>
&gt;<br>
&gt; On 04/24/2014 11:05 AM, Matt . wrote:<br>
&gt; &gt; Would it be normal that it does this login runs a couple of times per<br>
&gt; &gt; second ?<br>
&gt;<br>
&gt; oved/yair?<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; 2014-04-24 7:50 GMT+02:00 Itamar Heim &lt;<a href="mailto:iheim@redhat.com">iheim@redhat.com</a><br>
&gt; &gt; &lt;mailto:<a href="mailto:iheim@redhat.com">iheim@redhat.com</a>&gt;&gt;:<br>
&gt; &gt;<br>
&gt; &gt;     On 04/23/2014 09:50 PM, Matt . wrote:<br>
&gt; &gt;<br>
&gt; &gt;         Hi All,<br>
&gt; &gt;<br>
&gt; &gt;         I&#39;m having an issue with oVirt 3.4 and Foreman 1.5 RC1 at the<br>
&gt; &gt;         moment, it<br>
&gt; &gt;         does not start/finish a new provisioned VM/Host., it creates it<br>
&gt; &gt;         well on<br>
&gt; &gt;         oVirt.<br>
&gt; &gt;<br>
&gt; &gt;         I&#39;m sure this worked well on a nightly some dags ago and I<br>
&gt; &gt;         didn&#39;t update<br>
&gt; &gt;         it after it.<br>
&gt; &gt;<br>
&gt; &gt;         The foreman bug is shown here:<br>
&gt; &gt;         <a href="http://projects.theforeman." target="_blank">http://projects.theforeman.</a>__org/issues/5132<br>
&gt; &gt;         &lt;<a href="http://projects.theforeman.org/issues/5132" target="_blank">http://projects.theforeman.org/issues/5132</a>&gt;<br>
&gt; &gt;<br>
&gt; &gt;         What I also see in the engine log is a bunch of admin login<br>
&gt; &gt;         errors which<br>
&gt; &gt;         I cannot place anywhere:<br>
&gt; &gt;<br>
&gt; &gt;         2014-04-23 20:26:44,203 INFO<br>
&gt; &gt;         [org.ovirt.engine.core.bll.__LoginUserCommand]<br>
&gt; &gt;         (ajp--127.0.0.1-8702-6)<br>
&gt; &gt;         Running command: LoginUserCommand internal: false.<br>
&gt; &gt;         2014-04-23 20:26:44,242 INFO<br>
&gt; &gt;         [org.ovirt.engine.core.bll.__LogoutUserCommand]<br>
&gt; &gt;         (ajp--127.0.0.1-8702-6)<br>
&gt; &gt;         [2e4a8183] Running command: LogoutUserCommand internal: false.<br>
&gt; &gt;         2014-04-23 20:26:44,276 INFO<br>
&gt; &gt;         [org.ovirt.engine.core.dal.__dbbroker.auditloghandling.__AuditLogDirector]<br>
&gt; &gt;         (ajp--127.0.0.1-8702-6) [2e4a8183] Correlation ID: 2e4a8183,<br>
&gt; &gt;         Call Stack:<br>
&gt; &gt;         null, Custom Event ID: -1, Message: User admin logged out.<br>
&gt; &gt;         2014-04-23 20:26:44,470 INFO<br>
&gt; &gt;         [org.ovirt.engine.core.bll.__LoginUserCommand]<br>
&gt; &gt;         (ajp--127.0.0.1-8702-1)<br>
&gt; &gt;         Running command: LoginUserCommand internal: false.<br>
&gt; &gt;         2014-04-23 20:26:44,510 INFO<br>
&gt; &gt;         [org.ovirt.engine.core.bll.__LogoutUserCommand]<br>
&gt; &gt;         (ajp--127.0.0.1-8702-1)<br>
&gt; &gt;         [5d731a43] Running command: LogoutUserCommand internal: false.<br>
&gt; &gt;         2014-04-23 20:26:44,542 INFO<br>
&gt; &gt;         [org.ovirt.engine.core.dal.__dbbroker.auditloghandling.__AuditLogDirector]<br>
&gt; &gt;         (ajp--127.0.0.1-8702-1) [5d731a43] Correlation ID: 5d731a43,<br>
&gt; &gt;         Call Stack:<br>
&gt; &gt;         null, Custom Event ID: -1, Message: User admin logged out.<br>
&gt; &gt;         2014-04-23 20:26:44,575 INFO<br>
&gt; &gt;         [org.ovirt.engine.core.bll.__LoginUserCommand]<br>
&gt; &gt;         (ajp--127.0.0.1-8702-3)<br>
&gt; &gt;         Running command: LoginUserCommand internal: false.<br>
&gt; &gt;         2014-04-23 20:26:44,623 INFO<br>
&gt; &gt;         [org.ovirt.engine.core.bll.__RemoveVmCommand]<br>
&gt; &gt;         (ajp--127.0.0.1-8702-3)<br>
&gt; &gt;         [708f0b9a] Lock Acquired to object EngineLock [exclusiveLocks= key:<br>
&gt; &gt;         7bfc175c-dbcd-43c9-9549-__cde8d3b3b731 value: VM<br>
&gt; &gt;<br>
&gt; &gt;         I get the feeling this has something todo with eachother.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;     why do you think above snippet contain an error?<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br></div>