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