<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="GENERATOR" content="GtkHTML/4.4.4">
</head>
<body>
mån 2013-04-15 klockan 09:43 +0000 skrev Karli Sjöberg:<br>
<blockquote type="CITE">Hey all,<br>
<br>
after finally being able to use SPICE console through the User portal, I have created a VMPool to start testing out oVirt´s VDI capabilities. One bug I´ve noticed is that if you set VM's to be prestarted, users cannot "Take VM" at all, it bombs out with error:
"Failed to attach User testuser to VM from VM Pool Testing (User: testuser)". Without having VM's prestarted makes the process complete as expected, but then users have to wait for VM to start before having access to the console. I´ve pasted snippets from
engine.log out on pastebin.<br>
<br>
Successful "Take" with coldstart:<br>
<a href="http://pastebin.com/4Aw9DHmd">http://pastebin.com/4Aw9DHmd</a><br>
<br>
Failed "Take" with prestart:<br>
<a href="http://pastebin.com/ES5F3sD1">http://pastebin.com/ES5F3sD1</a><br>
<br>
# rpm -qa | grep engine<br>
ovirt-engine-config-3.1.0-4.fc17.noarch<br>
ovirt-engine-dbscripts-3.1.0-4.fc17.noarch<br>
ovirt-engine-restapi-3.1.0-4.fc17.noarch<br>
ovirt-engine-genericapi-3.1.0-4.fc17.noarch<br>
ovirt-engine-webadmin-portal-3.1.0-4.fc17.noarch<br>
ovirt-engine-setup-3.1.0-4.fc17.noarch<br>
ovirt-engine-sdk-3.2.0.2-1.fc17.noarch<br>
ovirt-engine-backend-3.1.0-4.fc17.noarch<br>
ovirt-engine-tools-common-3.1.0-4.fc17.noarch<br>
ovirt-engine-3.1.0-4.fc17.noarch<br>
ovirt-engine-userportal-3.1.0-4.fc17.noarch<br>
ovirt-engine-notification-service-3.1.0-4.fc17.noarch<br>
<br>
Is there anything else I can bring to help iron out this kink?<br>
</blockquote>
<br>
Similarly, if I create a new VMPool and manually prestart all VM's, I get: "Cannot allocate and run VM from VM-Pool. There are no available VMs in the VM-Pool.", and this printed in engine.log:<br>
<br>
2013-04-15 12:10:31,468 INFO [org.ovirt.engine.core.bll.AttachUserToVmFromPoolAndRunCommand] (ajp--0.0.0.0-8009-19) [48bdde29] Lock Acquired to object EngineLock [exclusiveLocks= key: de526322-d046-4a06-911e-546e7159556e value: org.ovirt.engine.core.bll.AttachUserToVmFromPoolAndRunCommand,
sharedLocks= ]<br>
2013-04-15 12:10:31,511 WARN [org.ovirt.engine.core.bll.AttachUserToVmFromPoolAndRunCommand] (ajp--0.0.0.0-8009-19) [48bdde29] CanDoAction of action AttachUserToVmFromPoolAndRun failed. Reasons:ACTION_TYPE_FAILED_NO_AVAILABLE_POOL_VMS,VAR__ACTION__ALLOCATE_AND_RUN,VAR__TYPE__VM_FROM_VM_POOL<br>
2013-04-15 12:10:31,513 INFO [org.ovirt.engine.core.bll.AttachUserToVmFromPoolAndRunCommand] (ajp--0.0.0.0-8009-19) [48bdde29] Lock freed to object EngineLock [exclusiveLocks= key: de526322-d046-4a06-911e-546e7159556e value: org.ovirt.engine.core.bll.AttachUserToVmFromPoolAndRunCommand,
sharedLocks= ]<br>
<br>
<blockquote type="CITE"><br>
<table cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td>-- <br>
<br>
Med Vänliga Hälsningar<br>
-------------------------------------------------------------------------------<br>
Karli Sjöberg<br>
Swedish University of Agricultural Sciences<br>
Box 7079 (Visiting Address Kronåsvägen 8)<br>
S-750 07 Uppsala, Sweden<br>
Phone: +46-(0)18-67 15 66<br>
<a href="mailto:karli.sjoberg@adm.slu.se">karli.sjoberg@slu.se</a> </td>
</tr>
</tbody>
</table>
</blockquote>
<br>
<table cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td>-- <br>
<br>
Med Vänliga Hälsningar<br>
-------------------------------------------------------------------------------<br>
Karli Sjöberg<br>
Swedish University of Agricultural Sciences<br>
Box 7079 (Visiting Address Kronåsvägen 8)<br>
S-750 07 Uppsala, Sweden<br>
Phone: +46-(0)18-67 15 66<br>
<a href="mailto:karli.sjoberg@adm.slu.se">karli.sjoberg@slu.se</a> </td>
</tr>
</tbody>
</table>
</body>
</html>