Re: [ovirt-users] VM with attached host USB device failed to run

2017-08-21 Thread Michal Skrivanek
On 16 Aug 2017, at 13:57, Дровалев Роман  wrote:

Sorry, did not notice that the letter directly from you.

In the attachment vdsm.log

16.08.2017 14:36, Yaniv Kaul пишет:

No need to share it privately with me - share it with the users mailing
list.
I see that it's the latest VDSM.
It'd be interesting to get the VDSM log as well.
Y.


On Wed, Aug 16, 2017 at 2:07 PM, Дровалев Роман 
wrote:

> Thanks for the answer.
> >Would you like to share with us your version of oVirt?
>
>  Manager 
> oVirt Engine Version: 4.1.4.2-1.el7.centos
>
> #engine-config -g UserDefinedVMProperties
> UserDefinedVMProperties:  version: 3.6
> UserDefinedVMProperties:  version: 4.0
> UserDefinedVMProperties: hostusb=[\w:&]+ version: 4.1
>

I see you set the user properties, do you use the old hostusb hook by any
chance? There is no need for that as we have a native support now. It is
possible that the hook is broken


>  host -
> OS Version:
> RHEL - 7 - 3.1611.el7.centos
> OS Description:
> CentOS Linux 7 (Core)
> Kernel Version:
> 3.10.0 - 514.26.2.el7.x86_64
> KVM Version:
> 2.6.0 - 28.el7.10.1
> LIBVIRT Version:
> libvirt-2.0.0-10.el7_3.9
> VDSM Version:
> vdsm-4.19.24-1.el7.centos
> SPICE Version:
> 0.12.4 - 20.el7_3
> GlusterFS Version:
> [N/A]
> CEPH Version:
> librbd1-0.94.5-1.el7
>
>
>
> 16.08.2017 12:54, Yaniv Kaul пишет:
>
>
>
> On Wed, Aug 16, 2017 at 12:05 PM, Дровалев Роман 
> wrote:
>
>> Hello,
>>
>> I connected a USB to the VM, writes this error: VM Win2012 is down with
>> error. Exit message: local variable 'device' referenced before assignment.
>>
>
> Would you like to share with us your version of oVirt?
>
>
>>
>> I found this bug - https://bugzilla.redhat.com/show_bug.cgi?id=1261075
>
>
> This is a duplicate of a bug that was fixed >1 year ago.
> Y.
>
>
>>
>>
>> Does anyone have a working USB forwarding in a virtual machine? If
>> "YES", how did you solve this problem?
>>
>> If this problem is not solved, unfortunately, the ovirt will have to
>> completely abandon. ((
>>
>>
>>
>>
>>
>>
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>
>
> --
> С уважением, Дровалев Роман
> инженер ГБУЗ "МИАЦ",
> Калужской области.
> тел. 4842 705 004
>
>

-- 
С уважением, Дровалев Роман
инженер ГБУЗ "МИАЦ",
Калужской области.
тел. 4842 705 004



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VM with attached host USB device failed to run

2017-08-18 Thread Roman Drovalev
Michal, Thank you very much!!! ))

Everything works according to your link.


18.08.2017 11:29, Michal Skrivanek пишет:
>> On 18 Aug 2017, at 08:23, Дровалев Роман  wrote:
>>
>> Hello, Please  help!
>>
>> Does anyone have a working USB forwarding in a virtual machine? If
>> "YES", how did you solve this problem?
> well, yes. 
> But unless you share a bit about what your problem is I doubt it’s of any 
> help…
> are you talking about passing through a host usb controller into a VM? Is 
> your host capable of proper hardware device isolation? If not, it may need 
> some workarounds. Going through [1] might help too, most of the constraints 
> are applicable to USB passthrough as well
>
> Thanks,
> michal
>
> [1] https://mpolednik.github.io/2017/03/19/hostdev-passthrough-pci/
>> If this problem is not solved, unfortunately, the ovirt will have to
>> completely abandon. ((
>>
>> oVirt Engine Version: 4.1.4.2-1.el7.centos
>>
>> Thanks.
>>
>>
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>

-- 
С уважением, Дровалев Роман
инженер ГБУЗ "МИАЦ",
Калужской области.
тел. 4842 705 004


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VM with attached host USB device failed to run

2017-08-18 Thread Michal Skrivanek

> On 18 Aug 2017, at 08:23, Дровалев Роман  wrote:
> 
> Hello, Please  help!
> 
> Does anyone have a working USB forwarding in a virtual machine? If
> "YES", how did you solve this problem?

well, yes. 
But unless you share a bit about what your problem is I doubt it’s of any help…
are you talking about passing through a host usb controller into a VM? Is your 
host capable of proper hardware device isolation? If not, it may need some 
workarounds. Going through [1] might help too, most of the constraints are 
applicable to USB passthrough as well

Thanks,
michal

[1] https://mpolednik.github.io/2017/03/19/hostdev-passthrough-pci/
> 
> If this problem is not solved, unfortunately, the ovirt will have to
> completely abandon. ((
> 
> oVirt Engine Version: 4.1.4.2-1.el7.centos
> 
> Thanks.
> 
> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
> 

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] VM with attached host USB device failed to run

2017-08-18 Thread Дровалев Роман
Hello, Please  help!

Does anyone have a working USB forwarding in a virtual machine? If
"YES", how did you solve this problem?

If this problem is not solved, unfortunately, the ovirt will have to
completely abandon. ((

oVirt Engine Version: 4.1.4.2-1.el7.centos

Thanks.



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VM with attached host USB device failed to run

2017-08-16 Thread Yaniv Kaul
On Wed, Aug 16, 2017 at 12:05 PM, Дровалев Роман 
wrote:

> Hello,
>
> I connected a USB to the VM, writes this error: VM Win2012 is down with
> error. Exit message: local variable 'device' referenced before assignment.
>

Would you like to share with us your version of oVirt?


>
> I found this bug - https://bugzilla.redhat.com/show_bug.cgi?id=1261075


This is a duplicate of a bug that was fixed >1 year ago.
Y.


>
>
> Does anyone have a working USB forwarding in a virtual machine? If
> "YES", how did you solve this problem?
>
> If this problem is not solved, unfortunately, the ovirt will have to
> completely abandon. ((
>
>
>
>
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] VM with attached host USB device failed to run

2017-08-16 Thread Дровалев Роман
Hello,

I connected a USB to the VM, writes this error: VM Win2012 is down with
error. Exit message: local variable 'device' referenced before assignment.

I found this bug - https://bugzilla.redhat.com/show_bug.cgi?id=1261075

Does anyone have a working USB forwarding in a virtual machine? If
"YES", how did you solve this problem?

If this problem is not solved, unfortunately, the ovirt will have to
completely abandon. ((







___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users