[Users] native USB redirection

Fasil fasil at cubixys.com
Fri Nov 16 17:35:50 UTC 2012


Itamar,

We are ready to go for the nightly as it is a test/demo server.
As my installation is a CentOS6.3/Ovirt3.1/win7, could you please 
specify the specific package to install?

Regards,
Fasil.

On 11/16/2012 07:27 PM, Itamar Heim wrote:
> On 11/16/2012 06:23 PM, Fasil wrote:
>> Itamar,
>>
>> Selecting the protocol:VNC disables the USB support selection and it
>> defaults to disabled.
>> This happens in both the cases, creating a new VM or editing an existing
>> one.
>>
>> We can go for the nightly as ours is a test server. Could you please
>> guide us to do the nightly?
>> Is there any documentation for the same?
>
> nightly is just a newer set of rpms
> http://www.ovirt.org/releases/nightly/rpm/Fedora/17/noarch/
>
> but we still don't have an .el6 for nightly (well, or for stable, i 
> assume you are using another repo than ovirt.org).
> we are working on adding .el6 builds as well to ovirt.
>
>
>>
>> Regards,
>> Fasil.
>>
>> On 11/16/2012 06:54 PM, Itamar Heim wrote:
>>> On 11/16/2012 05:41 PM, Fasil wrote:
>>>> Hi Itamar,
>>>>
>>>> We have tried both, creating a new VM with native USB support and
>>>> editing an existing one.
>>>> Also, the CD/DVD drive is not getting detected in the VM.
>>>
>>> 1. please try with vnc vs. spice as well.
>>> 2. any chance you can check this with nightly as well?
>>>
>>>
>>>>
>>>> Regards.
>>>> Fasil.
>>>>
>>>> On 11/16/2012 04:37 PM, Itamar Heim wrote:
>>>>> On 11/15/2012 08:59 PM, Fasil wrote:
>>>>>> Hi,
>>>>>>
>>>>>> I am having issues in getting the native USB redirection.
>>>>>> 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.
>>>>>>
>>>>>> 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
>>>>>> 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
>>>>>> 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
>>>>>> 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
>>>>>> 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
>>>>>> , sharedLocks= ]
>>>>>> 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
>>>>>> 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 at 600411f2), 
>>>>>> log id:
>>>>>> 377110c5
>>>>>> 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 at 600411f2), 
>>>>>> log id:
>>>>>> 4847feea
>>>>>> 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} 
>>>>>>
>>>>>>
>>>>>>
>>>>>> 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
>>>>>> 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
>>>>>> 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
>>>>>> 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
>>>>>> , sharedLocks= ]
>>>>>> 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
>>>>>> 2012-11-15 21:45:44,378 INFO
>>>>>> [org.ovirt.engine.core.vdsbroker.vdsbroker.DestroyVDSCommand]
>>>>>> (QuartzScheduler_Worker-4) FINISH, DestroyVDSCommand, log id: 
>>>>>> 39e6d7f3
>>>>>> 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
>>>>>> 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
>>>>>> 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
>>>>>> 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 at 8fa7e67e), 
>>>>>>
>>>>>>
>>>>>>
>>>>>> log id: 4f197787
>>>>>> 2012-11-15 21:45:44,416 INFO
>>>>>> [org.ovirt.engine.core.vdsbroker.UpdateVdsDynamicDataVDSCommand]
>>>>>> (pool-3-thread-49) FINISH, UpdateVdsDynamicDataVDSCommand, log id:
>>>>>> 4f197787
>>>>>> 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
>>>>>> , sharedLocks= ]
>>>>>> 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
>>>>>> 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
>>>>>> 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
>>>>>> 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
>>>>>> 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 
>>>>>>
>>>>>>
>>>>>>
>>>>>> 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
>>>>>> , sharedLocks= ]
>>>>>>
>>>>>> But when I select the legacy USB support, the system is getting 
>>>>>> booted
>>>>>> and I cannot see my attached USB devices in my guests.
>>>>>> I have already followed the thread
>>>>>> http://www.mail-archive.com/users@ovirt.org/msg03822.html without 
>>>>>> any
>>>>>> success. There is a work around mentioned in the last post of the
>>>>>> thread
>>>>>> by Itamar. Where can find that work around?
>>>>>>
>>>>>> My Installation:
>>>>>> Centos 6.3
>>>>>> Ovirt 3.1
>>>>>> Windows 7 client
>>>>>> spice-gtk-0.11-11.el6_3.1.x86_64
>>>>>> spice-server-0.10.1-10.el6.x86_64
>>>>>> spice-protocol-0.10.1-5.el6.noarch
>>>>>> spice-xpi-2.7-20.el6.x86_64
>>>>>> spice-client-0.8.2-15.el6.x86_64
>>>>>> spice-glib-0.11-11.el6_3.1.x86_64
>>>>>> spice-gtk-python-0.11-11.el6_3.1.x86_64
>>>>>> spice-vdagent-0.8.1-3.el6.x86_64
>>>>>>
>>>>>> Regards,
>>>>>> Fasil.
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Users mailing list
>>>>>> Users at ovirt.org
>>>>>> http://lists.ovirt.org/mailman/listinfo/users
>>>>>>
>>>>>
>>>>> I'm pretty sure this is fixed already in nightly by one of these
>>>>> patches:
>>>>> http://gerrit.ovirt.org/#/c/8610
>>>>> http://gerrit.ovirt.org/#/c/7544
>>>>> http://gerrit.ovirt.org/#/c/6549/
>>>>>
>>>>> are you trying to create the VM from the start with native usb, or
>>>>> editing it?
>>>>>
>>>>
>>>
>>>
>>
>
>




More information about the Users mailing list