<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Itamar,<br>
      <br>
      Selecting the protocol:VNC disables the USB support selection and
      it defaults to disabled.<br>
      This happens in both the cases, creating a new VM or editing an
      existing one.<br>
      <br>
      We can go for the nightly as ours is a test server. Could you
      please guide us to do the nightly?<br>
      Is there any documentation for the same?<br>
      <br>
      Regards,<br>
      Fasil.<br>
      <br>
      <font face="Arial">
        <!--<font color=green size=1><b>Please do not print this email unless you really need to</b></font> 
</font>
</html>
</div>--></font>On 11/16/2012 06:54 PM, Itamar Heim wrote:<br>
    </div>
    <blockquote cite="mid:50A6619C.7000407@redhat.com" type="cite">On
      11/16/2012 05:41 PM, Fasil wrote:
      <br>
      <blockquote type="cite">Hi Itamar,
        <br>
        <br>
        We have tried both, creating a new VM with native USB support
        and
        <br>
        editing an existing one.
        <br>
        Also, the CD/DVD drive is not getting detected in the VM.
        <br>
      </blockquote>
      <br>
      1. please try with vnc vs. spice as well.
      <br>
      2. any chance you can check this with nightly as well?
      <br>
      <br>
      <br>
      <blockquote type="cite">
        <br>
        Regards.
        <br>
        Fasil.
        <br>
        <br>
        On 11/16/2012 04:37 PM, Itamar Heim wrote:
        <br>
        <blockquote type="cite">On 11/15/2012 08:59 PM, Fasil wrote:
          <br>
          <blockquote type="cite">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
            <br>
            start the VM, it is returning to the down state. The below
            engine.log
            <br>
            shows some error.
            <br>
            <br>
            2012-11-15 21:45:42,924 INFO
            <br>
[org.ovirt.engine.core.vdsbroker.irsbroker.IsValidVDSCommand]
            <br>
            (ajp--0.0.0.0-8009-5) START, IsValidVDSCommand(storagePoolId
            =
            <br>
            9febe320-e6d5-4b91-a1c5-614c3a24ebe4, ignoreFailoverLimit =
            false,
            <br>
            compatabilityVersion = null), log id: 6dc08bad
            <br>
            2012-11-15 21:45:42,925 INFO
            <br>
[org.ovirt.engine.core.vdsbroker.irsbroker.IsValidVDSCommand]
            <br>
            (ajp--0.0.0.0-8009-5) FINISH, IsValidVDSCommand, return:
            true, log id:
            <br>
            6dc08bad
            <br>
            2012-11-15 21:45:43,003 INFO
            <br>
[org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand]
            <br>
            (ajp--0.0.0.0-8009-5) START,
            IsVmDuringInitiatingVDSCommand(vmId =
            <br>
            2aedea82-0dcf-4f93-994d-425ed01c1479), log id: 4a2ace14
            <br>
            2012-11-15 21:45:43,003 INFO
            <br>
[org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand]
            <br>
            (ajp--0.0.0.0-8009-5) FINISH,
            IsVmDuringInitiatingVDSCommand, return:
            <br>
            false, log id: 4a2ace14
            <br>
            2012-11-15 21:45:43,051 INFO
            [org.ovirt.engine.core.bll.RunVmCommand]
            <br>
            (pool-3-thread-49) [2fccb65f] Lock Acquired to object
            EngineLock
            <br>
            [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]
            <br>
            (pool-3-thread-49) [2fccb65f] Running command: RunVmCommand
            internal:
            <br>
            false. Entities affected :&nbsp; ID:
            2aedea82-0dcf-4f93-994d-425ed01c1479
            <br>
            Type: VM
            <br>
            2012-11-15 21:45:43,102 INFO
            <br>
            [org.ovirt.engine.core.vdsbroker.CreateVmVDSCommand]
            (pool-3-thread-49)
            <br>
            [2fccb65f] START, CreateVmVDSCommand(vdsId =
            <br>
            a2f20736-2da8-11e2-a9ac-bb1cd2496234,
            <br>
            vmId=2aedea82-0dcf-4f93-994d-425ed01c1479,
            <br>
            vm=org.ovirt.engine.core.common.businessentities.VM@600411f2),
            log id:
            <br>
            377110c5
            <br>
            2012-11-15 21:45:43,104 INFO
            <br>
            [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand]
            <br>
            (pool-3-thread-49) [2fccb65f] START, CreateVDSCommand(vdsId
            =
            <br>
            a2f20736-2da8-11e2-a9ac-bb1cd2496234,
            <br>
            vmId=2aedea82-0dcf-4f93-994d-425ed01c1479,
            <br>
            vm=org.ovirt.engine.core.common.businessentities.VM@600411f2),
            log id:
            <br>
            4847feea
            <br>
            2012-11-15 21:45:43,126 INFO
            <br>
            [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand]
            <br>
            (pool-3-thread-49) [2fccb65f]
            <br>
            org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand
            <br>
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,
            <br>
            <br>
            domain=0x0000, type=pci, slot=0x01,
            <br>
function=0x1},IsManaged=false,IsPlugged=true,IsReadOnly=false,alias=ide0,
            <br>
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,
            <br>
            <br>
            bus=0, controller=0,
            <br>
type=virtio-serial},IsManaged=false,IsPlugged=true,IsReadOnly=false,alias=channel0,
            <br>
            <br>
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,
            <br>
            <br>
            domain=0x0000, type=pci, slot=0x01,
            <br>
function=0x2},IsManaged=false,IsPlugged=true,IsReadOnly=false,alias=usb0,
            <br>
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,
            <br>
            <br>
            bus=0, controller=0,
            <br>
type=virtio-serial},IsManaged=false,IsPlugged=true,IsReadOnly=false,alias=channel1,
            <br>
            <br>
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,
            <br>
            <br>
            domain=0x0000, type=pci, slot=0x05,
            <br>
function=0x0},IsManaged=false,IsPlugged=true,IsReadOnly=false,alias=virtio-serial0}
            <br>
            <br>
            2012-11-15 21:45:43,132 INFO
            <br>
            [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand]
            <br>
            (pool-3-thread-49) [2fccb65f] FINISH, CreateVDSCommand, log
            id: 4847feea
            <br>
            2012-11-15 21:45:43,134 INFO
            <br>
            [org.ovirt.engine.core.vdsbroker.CreateVmVDSCommand]
            (pool-3-thread-49)
            <br>
            [2fccb65f] IncreasePendingVms::CreateVmIncreasing vds
            local_host pending
            <br>
            vcpu count, now 1. Vm: win73
            <br>
            2012-11-15 21:45:43,184 INFO
            <br>
            [org.ovirt.engine.core.vdsbroker.CreateVmVDSCommand]
            (pool-3-thread-49)
            <br>
            [2fccb65f] FINISH, CreateVmVDSCommand, return:
            WaitForLaunch, log id:
            <br>
            377110c5
            <br>
            2012-11-15 21:45:43,188 INFO
            [org.ovirt.engine.core.bll.RunVmCommand]
            <br>
            (pool-3-thread-49) [2fccb65f] Lock freed to object
            EngineLock
            <br>
            [exclusiveLocks= key: 2aedea82-0dcf-4f93-994d-425ed01c1479
            value: VM
            <br>
            , sharedLocks= ]
            <br>
            2012-11-15 21:45:44,340 INFO
            <br>
[org.ovirt.engine.core.vdsbroker.vdsbroker.DestroyVDSCommand]
            <br>
            (QuartzScheduler_Worker-4) START, DestroyVDSCommand(vdsId =
            <br>
            a2f20736-2da8-11e2-a9ac-bb1cd2496234,
            <br>
            vmId=2aedea82-0dcf-4f93-994d-425ed01c1479, force=false,
            secondsToWait=0,
            <br>
            gracefully=false), log id: 39e6d7f3
            <br>
            2012-11-15 21:45:44,378 INFO
            <br>
[org.ovirt.engine.core.vdsbroker.vdsbroker.DestroyVDSCommand]
            <br>
            (QuartzScheduler_Worker-4) FINISH, DestroyVDSCommand, log
            id: 39e6d7f3
            <br>
            2012-11-15 21:45:44,391 INFO
            <br>
            [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
            <br>
            (QuartzScheduler_Worker-4) Running on vds during rerun
            failed vm: null
            <br>
            2012-11-15 21:45:44,394 INFO
            <br>
            [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
            <br>
            (QuartzScheduler_Worker-4) vm win73 running in db and not
            running in vds
            <br>
            - add to rerun treatment. vds local_host
            <br>
            2012-11-15 21:45:44,408 ERROR
            <br>
            [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
            <br>
            (QuartzScheduler_Worker-4) Rerun vm
            <br>
            2aedea82-0dcf-4f93-994d-425ed01c1479. Called from vds
            local_host
            <br>
            2012-11-15 21:45:44,410 INFO
            <br>
[org.ovirt.engine.core.vdsbroker.UpdateVdsDynamicDataVDSCommand]
            <br>
            (pool-3-thread-49) START,
            UpdateVdsDynamicDataVDSCommand(vdsId =
            <br>
            a2f20736-2da8-11e2-a9ac-bb1cd2496234,
            <br>
vdsDynamic=org.ovirt.engine.core.common.businessentities.VdsDynamic@8fa7e67e),
            <br>
            <br>
            log id: 4f197787
            <br>
            2012-11-15 21:45:44,416 INFO
            <br>
[org.ovirt.engine.core.vdsbroker.UpdateVdsDynamicDataVDSCommand]
            <br>
            (pool-3-thread-49) FINISH, UpdateVdsDynamicDataVDSCommand,
            log id:
            <br>
            4f197787
            <br>
            2012-11-15 21:45:44,433 INFO
            [org.ovirt.engine.core.bll.RunVmCommand]
            <br>
            (pool-3-thread-49) Lock Acquired to object EngineLock
            [exclusiveLocks=
            <br>
            key: 2aedea82-0dcf-4f93-994d-425ed01c1479 value: VM
            <br>
            , sharedLocks= ]
            <br>
            2012-11-15 21:45:44,439 INFO
            <br>
[org.ovirt.engine.core.vdsbroker.irsbroker.IsValidVDSCommand]
            <br>
            (pool-3-thread-49) START, IsValidVDSCommand(storagePoolId =
            <br>
            9febe320-e6d5-4b91-a1c5-614c3a24ebe4, ignoreFailoverLimit =
            false,
            <br>
            compatabilityVersion = null), log id: 5daaa874
            <br>
            2012-11-15 21:45:44,440 INFO
            <br>
[org.ovirt.engine.core.vdsbroker.irsbroker.IsValidVDSCommand]
            <br>
            (pool-3-thread-49) FINISH, IsValidVDSCommand, return: true,
            log id:
            <br>
            5daaa874
            <br>
            2012-11-15 21:45:44,467 INFO
            <br>
[org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand]
            <br>
            (pool-3-thread-49) START,
            IsVmDuringInitiatingVDSCommand(vmId =
            <br>
            2aedea82-0dcf-4f93-994d-425ed01c1479), log id: 4125b681
            <br>
            2012-11-15 21:45:44,467 INFO
            <br>
[org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand]
            <br>
            (pool-3-thread-49) FINISH, IsVmDuringInitiatingVDSCommand,
            return:
            <br>
            false, log id: 4125b681
            <br>
            2012-11-15 21:45:44,469 WARN
            [org.ovirt.engine.core.bll.RunVmCommand]
            <br>
            (pool-3-thread-49) CanDoAction of action RunVm failed.
            <br>
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>
            <br>
            2012-11-15 21:45:44,470 INFO
            [org.ovirt.engine.core.bll.RunVmCommand]
            <br>
            (pool-3-thread-49) Lock freed to object EngineLock
            [exclusiveLocks= key:
            <br>
            2aedea82-0dcf-4f93-994d-425ed01c1479 value: VM
            <br>
            , sharedLocks= ]
            <br>
            <br>
            But when I select the legacy USB support, the system is
            getting booted
            <br>
            and I cannot see my attached USB devices in my guests.
            <br>
            I have already followed the thread
            <br>
            <a class="moz-txt-link-freetext" href="http://www.mail-archive.com/users@ovirt.org/msg03822.html">http://www.mail-archive.com/users@ovirt.org/msg03822.html</a>
            without any
            <br>
            success. There is a work around mentioned in the last post
            of the thread
            <br>
            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
            <br>
            <br>
            Regards,
            <br>
            Fasil.
            <br>
            <br>
            <br>
            _______________________________________________
            <br>
            Users mailing list
            <br>
            <a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a>
            <br>
            <a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a>
            <br>
            <br>
          </blockquote>
          <br>
          I'm pretty sure this is fixed already in nightly by one of
          these patches:
          <br>
          <a class="moz-txt-link-freetext" href="http://gerrit.ovirt.org/#/c/8610">http://gerrit.ovirt.org/#/c/8610</a>
          <br>
          <a class="moz-txt-link-freetext" href="http://gerrit.ovirt.org/#/c/7544">http://gerrit.ovirt.org/#/c/7544</a>
          <br>
          <a class="moz-txt-link-freetext" href="http://gerrit.ovirt.org/#/c/6549/">http://gerrit.ovirt.org/#/c/6549/</a>
          <br>
          <br>
          are you trying to create the VM from the start with native
          usb, or
          <br>
          editing it?
          <br>
          <br>
        </blockquote>
        <br>
      </blockquote>
      <br>
      <br>
    </blockquote>
    <br>
  </body>
</html>