[Users] Fail to attach user to VM from VMPool when VM's are prestarted
Karli Sjöberg
Karli.Sjoberg at slu.se
Mon Apr 15 06:14:37 EDT 2013
mån 2013-04-15 klockan 09:43 +0000 skrev Karli Sjöberg:
Hey all,
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.
Successful "Take" with coldstart:
http://pastebin.com/4Aw9DHmd
Failed "Take" with prestart:
http://pastebin.com/ES5F3sD1
# rpm -qa | grep engine
ovirt-engine-config-3.1.0-4.fc17.noarch
ovirt-engine-dbscripts-3.1.0-4.fc17.noarch
ovirt-engine-restapi-3.1.0-4.fc17.noarch
ovirt-engine-genericapi-3.1.0-4.fc17.noarch
ovirt-engine-webadmin-portal-3.1.0-4.fc17.noarch
ovirt-engine-setup-3.1.0-4.fc17.noarch
ovirt-engine-sdk-3.2.0.2-1.fc17.noarch
ovirt-engine-backend-3.1.0-4.fc17.noarch
ovirt-engine-tools-common-3.1.0-4.fc17.noarch
ovirt-engine-3.1.0-4.fc17.noarch
ovirt-engine-userportal-3.1.0-4.fc17.noarch
ovirt-engine-notification-service-3.1.0-4.fc17.noarch
Is there anything else I can bring to help iron out this kink?
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:
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= ]
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
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= ]
--
Med Vänliga Hälsningar
-------------------------------------------------------------------------------
Karli Sjöberg
Swedish University of Agricultural Sciences
Box 7079 (Visiting Address Kronåsvägen 8)
S-750 07 Uppsala, Sweden
Phone: +46-(0)18-67 15 66
karli.sjoberg at slu.se<mailto:karli.sjoberg at adm.slu.se>
--
Med Vänliga Hälsningar
-------------------------------------------------------------------------------
Karli Sjöberg
Swedish University of Agricultural Sciences
Box 7079 (Visiting Address Kronåsvägen 8)
S-750 07 Uppsala, Sweden
Phone: +46-(0)18-67 15 66
karli.sjoberg at slu.se<mailto:karli.sjoberg at adm.slu.se>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20130415/065514d1/attachment.html>
More information about the Users
mailing list