<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
I am having issues in getting the native USB redirection.<br>
I have selected the native USB support for my console options. When
I start the VM, it is returning to the down state. The below
engine.log shows some error.<br>
<br>
2012-11-15 21:45:42,924 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.IsValidVDSCommand]
(ajp--0.0.0.0-8009-5) START, IsValidVDSCommand(storagePoolId =
9febe320-e6d5-4b91-a1c5-614c3a24ebe4, ignoreFailoverLimit = false,
compatabilityVersion = null), log id: 6dc08bad<br>
2012-11-15 21:45:42,925 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.IsValidVDSCommand]
(ajp--0.0.0.0-8009-5) FINISH, IsValidVDSCommand, return: true, log
id: 6dc08bad<br>
2012-11-15 21:45:43,003 INFO
[org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand]
(ajp--0.0.0.0-8009-5) START, IsVmDuringInitiatingVDSCommand(vmId =
2aedea82-0dcf-4f93-994d-425ed01c1479), log id: 4a2ace14<br>
2012-11-15 21:45:43,003 INFO
[org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand]
(ajp--0.0.0.0-8009-5) FINISH, IsVmDuringInitiatingVDSCommand,
return: false, log id: 4a2ace14<br>
2012-11-15 21:45:43,051 INFO
[org.ovirt.engine.core.bll.RunVmCommand] (pool-3-thread-49)
[2fccb65f] Lock Acquired to object EngineLock [exclusiveLocks= key:
2aedea82-0dcf-4f93-994d-425ed01c1479 value: VM<br>
, sharedLocks= ]<br>
2012-11-15 21:45:43,068 INFO
[org.ovirt.engine.core.bll.RunVmCommand] (pool-3-thread-49)
[2fccb65f] Running command: RunVmCommand internal: false. Entities
affected : ID: 2aedea82-0dcf-4f93-994d-425ed01c1479 Type: VM<br>
2012-11-15 21:45:43,102 INFO
[org.ovirt.engine.core.vdsbroker.CreateVmVDSCommand]
(pool-3-thread-49) [2fccb65f] START, CreateVmVDSCommand(vdsId =
a2f20736-2da8-11e2-a9ac-bb1cd2496234,
vmId=2aedea82-0dcf-4f93-994d-425ed01c1479,
vm=org.ovirt.engine.core.common.businessentities.VM@600411f2), log
id: 377110c5<br>
2012-11-15 21:45:43,104 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand]
(pool-3-thread-49) [2fccb65f] START, CreateVDSCommand(vdsId =
a2f20736-2da8-11e2-a9ac-bb1cd2496234,
vmId=2aedea82-0dcf-4f93-994d-425ed01c1479,
vm=org.ovirt.engine.core.common.businessentities.VM@600411f2), log
id: 4847feea<br>
2012-11-15 21:45:43,126 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand]
(pool-3-thread-49) [2fccb65f]
org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand
spiceSslCipherSuite=DEFAULT,memSize=2048,kvmEnable=true,smp=1,emulatedMachine=pc,vmType=kvm,keyboardLayout=en-us,nice=0,display=qxl,smpCoresPerSocket=1,spiceSecureChannels=smain,sinputs,scursor,splayback,srecord,sdisplay,timeOffset=0,transparentHugePages=true,vmId=2aedea82-0dcf-4f93-994d-425ed01c1479,devices=[Ljava.util.Map;@18cc1b1b,acpiEnable=true,vmName=win73,cpuType=Westmere,custom={device_88276577-7921-4e39-82a2-267c8bcd3744device_66fa5d8f-6544-4e84-a1de-87c673c9611c=VmId=2aedea82-0dcf-4f93-994d-425ed01c1479,DeviceId=66fa5d8f-6544-4e84-a1de-87c673c9611c,Device=ide,Type=controller,BootOrder=0,SpecParams={},Address={bus=0x00,
domain=0x0000, type=pci, slot=0x01,
function=0x1},IsManaged=false,IsPlugged=true,IsReadOnly=false,alias=ide0,
device_88276577-7921-4e39-82a2-267c8bcd3744device_66fa5d8f-6544-4e84-a1de-87c673c9611cdevice_5db33cc1-ed1d-4c21-b1bf-de0cbe76b778device_48d5a447-92e1-4cb3-81cc-104ab634ffa2=VmId=2aedea82-0dcf-4f93-994d-425ed01c1479,DeviceId=48d5a447-92e1-4cb3-81cc-104ab634ffa2,Device=unix,Type=channel,BootOrder=0,SpecParams={},Address={port=1,
bus=0, controller=0,
type=virtio-serial},IsManaged=false,IsPlugged=true,IsReadOnly=false,alias=channel0,
device_88276577-7921-4e39-82a2-267c8bcd3744=VmId=2aedea82-0dcf-4f93-994d-425ed01c1479,DeviceId=88276577-7921-4e39-82a2-267c8bcd3744,Device=usb,Type=controller,BootOrder=0,SpecParams={},Address={bus=0x00,
domain=0x0000, type=pci, slot=0x01,
function=0x2},IsManaged=false,IsPlugged=true,IsReadOnly=false,alias=usb0,
device_88276577-7921-4e39-82a2-267c8bcd3744device_66fa5d8f-6544-4e84-a1de-87c673c9611cdevice_5db33cc1-ed1d-4c21-b1bf-de0cbe76b778device_48d5a447-92e1-4cb3-81cc-104ab634ffa2device_85265b4d-e652-434e-9247-40ff1ad07e99=VmId=2aedea82-0dcf-4f93-994d-425ed01c1479,DeviceId=85265b4d-e652-434e-9247-40ff1ad07e99,Device=spicevmc,Type=channel,BootOrder=0,SpecParams={},Address={port=2,
bus=0, controller=0,
type=virtio-serial},IsManaged=false,IsPlugged=true,IsReadOnly=false,alias=channel1,
device_88276577-7921-4e39-82a2-267c8bcd3744device_66fa5d8f-6544-4e84-a1de-87c673c9611cdevice_5db33cc1-ed1d-4c21-b1bf-de0cbe76b778=VmId=2aedea82-0dcf-4f93-994d-425ed01c1479,DeviceId=5db33cc1-ed1d-4c21-b1bf-de0cbe76b778,Device=virtio-serial,Type=controller,BootOrder=0,SpecParams={},Address={bus=0x00,
domain=0x0000, type=pci, slot=0x05,
function=0x0},IsManaged=false,IsPlugged=true,IsReadOnly=false,alias=virtio-serial0}<br>
2012-11-15 21:45:43,132 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand]
(pool-3-thread-49) [2fccb65f] FINISH, CreateVDSCommand, log id:
4847feea<br>
2012-11-15 21:45:43,134 INFO
[org.ovirt.engine.core.vdsbroker.CreateVmVDSCommand]
(pool-3-thread-49) [2fccb65f] IncreasePendingVms::CreateVmIncreasing
vds local_host pending vcpu count, now 1. Vm: win73<br>
2012-11-15 21:45:43,184 INFO
[org.ovirt.engine.core.vdsbroker.CreateVmVDSCommand]
(pool-3-thread-49) [2fccb65f] FINISH, CreateVmVDSCommand, return:
WaitForLaunch, log id: 377110c5<br>
2012-11-15 21:45:43,188 INFO
[org.ovirt.engine.core.bll.RunVmCommand] (pool-3-thread-49)
[2fccb65f] Lock freed to object EngineLock [exclusiveLocks= key:
2aedea82-0dcf-4f93-994d-425ed01c1479 value: VM<br>
, sharedLocks= ]<br>
2012-11-15 21:45:44,340 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.DestroyVDSCommand]
(QuartzScheduler_Worker-4) START, DestroyVDSCommand(vdsId =
a2f20736-2da8-11e2-a9ac-bb1cd2496234,
vmId=2aedea82-0dcf-4f93-994d-425ed01c1479, force=false,
secondsToWait=0, gracefully=false), log id: 39e6d7f3<br>
2012-11-15 21:45:44,378 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.DestroyVDSCommand]
(QuartzScheduler_Worker-4) FINISH, DestroyVDSCommand, log id:
39e6d7f3<br>
2012-11-15 21:45:44,391 INFO
[org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
(QuartzScheduler_Worker-4) Running on vds during rerun failed vm:
null<br>
2012-11-15 21:45:44,394 INFO
[org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
(QuartzScheduler_Worker-4) vm win73 running in db and not running in
vds - add to rerun treatment. vds local_host<br>
2012-11-15 21:45:44,408 ERROR
[org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
(QuartzScheduler_Worker-4) Rerun vm
2aedea82-0dcf-4f93-994d-425ed01c1479. Called from vds local_host<br>
2012-11-15 21:45:44,410 INFO
[org.ovirt.engine.core.vdsbroker.UpdateVdsDynamicDataVDSCommand]
(pool-3-thread-49) START, UpdateVdsDynamicDataVDSCommand(vdsId =
a2f20736-2da8-11e2-a9ac-bb1cd2496234,
vdsDynamic=org.ovirt.engine.core.common.businessentities.VdsDynamic@8fa7e67e),
log id: 4f197787<br>
2012-11-15 21:45:44,416 INFO
[org.ovirt.engine.core.vdsbroker.UpdateVdsDynamicDataVDSCommand]
(pool-3-thread-49) FINISH, UpdateVdsDynamicDataVDSCommand, log id:
4f197787<br>
2012-11-15 21:45:44,433 INFO
[org.ovirt.engine.core.bll.RunVmCommand] (pool-3-thread-49) Lock
Acquired to object EngineLock [exclusiveLocks= key:
2aedea82-0dcf-4f93-994d-425ed01c1479 value: VM<br>
, sharedLocks= ]<br>
2012-11-15 21:45:44,439 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.IsValidVDSCommand]
(pool-3-thread-49) START, IsValidVDSCommand(storagePoolId =
9febe320-e6d5-4b91-a1c5-614c3a24ebe4, ignoreFailoverLimit = false,
compatabilityVersion = null), log id: 5daaa874<br>
2012-11-15 21:45:44,440 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.IsValidVDSCommand]
(pool-3-thread-49) FINISH, IsValidVDSCommand, return: true, log id:
5daaa874<br>
2012-11-15 21:45:44,467 INFO
[org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand]
(pool-3-thread-49) START, IsVmDuringInitiatingVDSCommand(vmId =
2aedea82-0dcf-4f93-994d-425ed01c1479), log id: 4125b681<br>
2012-11-15 21:45:44,467 INFO
[org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand]
(pool-3-thread-49) FINISH, IsVmDuringInitiatingVDSCommand, return:
false, log id: 4125b681<br>
2012-11-15 21:45:44,469 WARN
[org.ovirt.engine.core.bll.RunVmCommand] (pool-3-thread-49)
CanDoAction of action RunVm failed.
Reasons:VAR__ACTION__RUN,VAR__TYPE__VM,VAR__ACTION__RUN,VAR__TYPE__VM,VAR__ACTION__RUN,VAR__TYPE__VM,ACTION_TYPE_FAILED_VDS_VM_CLUSTER<br>
2012-11-15 21:45:44,470 INFO
[org.ovirt.engine.core.bll.RunVmCommand] (pool-3-thread-49) Lock
freed to object EngineLock [exclusiveLocks= key:
2aedea82-0dcf-4f93-994d-425ed01c1479 value: VM<br>
, sharedLocks= ]<br>
<br>
But when I select the legacy USB support, the system is getting
booted and I cannot see my attached USB devices in my guests.<br>
I have already followed the thread
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a href="http://www.mail-archive.com/users@ovirt.org/msg03822.html">http://www.mail-archive.com/users@ovirt.org/msg03822.html</a>
without any success. There is a work around mentioned in the last
post of the thread by Itamar. Where can find that work around?<br>
<br>
My Installation:<br>
Centos 6.3<br>
Ovirt 3.1<br>
Windows 7 client<br>
spice-gtk-0.11-11.el6_3.1.x86_64<br>
spice-server-0.10.1-10.el6.x86_64<br>
spice-protocol-0.10.1-5.el6.noarch<br>
spice-xpi-2.7-20.el6.x86_64<br>
spice-client-0.8.2-15.el6.x86_64<br>
spice-glib-0.11-11.el6_3.1.x86_64<br>
spice-gtk-python-0.11-11.el6_3.1.x86_64<br>
spice-vdagent-0.8.1-3.el6.x86_64<font face="Arial"><br>
<br>
Regards,<br>
Fasil.<br>
<!--<font color=green size=1><b>Please do not print this email unless you really need to</b></font>
</font>
</html>
</div>--></font>
</body>
</html>