Re: [ovirt-users] host usb

2016-06-16 Thread Fernando Fuentes
Giorgio,

Thanks! The update to vdsm did the trick.

Thanks again!

Regards,

-- 
Fernando Fuentes
ffuen...@txweather.org
http://www.txweather.org

On Thu, Jun 16, 2016, at 09:21 AM, Giorgio Bersano wrote:
> 2016-06-16 14:59 GMT+02:00 ffuentes :
> > Giorgio,
> >
> > Thanks for your reply.
> >
> > Where can I get vdsm from 3.6.7* for my host?
> >
> > Thanks again!
> >
> > Regards,
> >
> > Fernando Fuentes
> 
> 
> From the oVIrt site: "In order to install oVirt 3.6.7 Release
> Candidate you've to enable oVirt 3.6 release candidate repository" so
> you better use intructions in http://www.ovirt.org/release/3.6.7/
> 
> Obviously you have to put the host in mantenance before upgrading vdsm
> but this is a normal operating procedure.
> 
> Best Regards,
> Giorgio.
> ___
> 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] host usb

2016-06-16 Thread Giorgio Bersano
2016-06-16 14:59 GMT+02:00 ffuentes :
> Giorgio,
>
> Thanks for your reply.
>
> Where can I get vdsm from 3.6.7* for my host?
>
> Thanks again!
>
> Regards,
>
> Fernando Fuentes


>From the oVIrt site: "In order to install oVirt 3.6.7 Release
Candidate you've to enable oVirt 3.6 release candidate repository" so
you better use intructions in http://www.ovirt.org/release/3.6.7/

Obviously you have to put the host in mantenance before upgrading vdsm
but this is a normal operating procedure.

Best Regards,
Giorgio.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] host usb

2016-06-16 Thread ffuentes

Giorgio,

Thanks for your reply.

Where can I get vdsm from 3.6.7* for my host?

Thanks again!

Regards,

Fernando Fuentes
Supervisor & Senior Systems Administrator
Email: ffuen...@aasteel.com
 
American Alloy Steel, Inc.

Houston, Texas
Website: http://www.aasteel.com
 
Phone: 713-744-4222

Fax:   713-300-5688

On 06/16/2016 05:52 AM, Giorgio Bersano wrote:

2016-06-16 6:39 GMT+02:00 Fernando Fuentes :

I am now getting this when I try to start it:


VM methub is down with error. Exit message: Hook Error.

To get the hostusb setup I did:

engine-config -s
"UserDefinedVMProperties=hostusb=^0x[0-9a-fA-F]{4}:0x[0-9a-fA-F]{4}$"
ovirt-engine restart

and the host has the usb hooked installed.
But when I go an add the custom property "hostusb" the vm wont start.

Again this is on oVirt 3.6 Centos 6.5 x86_64
and a host of Centos 7 x86_64

Any ideas?

TIA!


Hi Fernando,
in 3.6 to pass an host USB device to a VM you don't need an hook as it
is now standard in the system.

But if you have vdsm from 3.6.6 it doesn't work because of a bug. It
has already been corrected and if you update vdsm* to 3.6.7rc it will
work. I had the same problem but now it's OK.

Going to the administration portal after the upgrade you should see
your USB device in the "Host devices" tab of the "Host"; if it isn't
there clik "Refresh Capabilities" and it should come up.
Then you go to "Virtual Machines", select your VM, then "Host devices"
and "Add device" and you're almost there.

I learned this thanks to something posted in this list and probably a
bugzilla too but I'm unable to find it ATM.
If you see references to IOMMU ignore them unless you need to expose a
PCI device.

HTH,
Giorgio.
___
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] host usb

2016-06-16 Thread Giorgio Bersano
2016-06-16 6:39 GMT+02:00 Fernando Fuentes :
> I am now getting this when I try to start it:
>
>
> VM methub is down with error. Exit message: Hook Error.
>
> To get the hostusb setup I did:
>
> engine-config -s
> "UserDefinedVMProperties=hostusb=^0x[0-9a-fA-F]{4}:0x[0-9a-fA-F]{4}$"
> ovirt-engine restart
>
> and the host has the usb hooked installed.
> But when I go an add the custom property "hostusb" the vm wont start.
>
> Again this is on oVirt 3.6 Centos 6.5 x86_64
> and a host of Centos 7 x86_64
>
> Any ideas?
>
> TIA!
>

Hi Fernando,
in 3.6 to pass an host USB device to a VM you don't need an hook as it
is now standard in the system.

But if you have vdsm from 3.6.6 it doesn't work because of a bug. It
has already been corrected and if you update vdsm* to 3.6.7rc it will
work. I had the same problem but now it's OK.

Going to the administration portal after the upgrade you should see
your USB device in the "Host devices" tab of the "Host"; if it isn't
there clik "Refresh Capabilities" and it should come up.
Then you go to "Virtual Machines", select your VM, then "Host devices"
and "Add device" and you're almost there.

I learned this thanks to something posted in this list and probably a
bugzilla too but I'm unable to find it ATM.
If you see references to IOMMU ignore them unless you need to expose a
PCI device.

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


Re: [ovirt-users] host usb

2016-06-16 Thread Martin Polednik

On 15/06/16 23:39 -0500, Fernando Fuentes wrote:

I am now getting this when I try to start it:


VM methub is down with error. Exit message: Hook Error.

To get the hostusb setup I did:

engine-config -s
"UserDefinedVMProperties=hostusb=^0x[0-9a-fA-F]{4}:0x[0-9a-fA-F]{4}$"
ovirt-engine restart

and the host has the usb hooked installed.
But when I go an add the custom property "hostusb" the vm wont start.

Again this is on oVirt 3.6 Centos 6.5 x86_64
and a host of Centos 7 x86_64

Any ideas?


I'm not sure how hostusb hook and proper hostdev solutions work
together, could assigning the device through the more robust
'hostdev passthrough'[1] feature work for you?

[1] 
http://www.ovirt.org/develop/release-management/features/engine/hostdev-passthrough/

TIA!

Regards,

--
Fernando Fuentes
ffuen...@txweather.org
http://www.txweather.org

On Wed, Jun 15, 2016, at 11:30 PM, Fernando Fuentes wrote:

I got the vm to start but the vm wont see the usb device.

Any idaes?

--
Fernando Fuentes
ffuen...@txweather.org
http://www.txweather.org

On Wed, Jun 15, 2016, at 09:21 PM, Fernando Fuentes wrote:
> After upgrading my ovirt to 3.6 and configuring my host usb passthrough
> again. My vm is unable to start with the following error message:
>
> VM methub is down with error. Exit message: Node device not found: no
> node device with matching name 'usb'
>
> The host is running Centos 7 x86_64
> Any ideas?
>
> Regards,
>
>
> --
> Fernando Fuentes
> ffuen...@txweather.org
> http://www.txweather.org
> ___
> 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

___
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] host usb

2016-06-15 Thread Fernando Fuentes
I got the vm to start but the vm wont see the usb device.

Any idaes?

-- 
Fernando Fuentes
ffuen...@txweather.org
http://www.txweather.org

On Wed, Jun 15, 2016, at 09:21 PM, Fernando Fuentes wrote:
> After upgrading my ovirt to 3.6 and configuring my host usb passthrough
> again. My vm is unable to start with the following error message:
> 
> VM methub is down with error. Exit message: Node device not found: no
> node device with matching name 'usb'
> 
> The host is running Centos 7 x86_64
> Any ideas?
> 
> Regards,
> 
> 
> -- 
> Fernando Fuentes
> ffuen...@txweather.org
> http://www.txweather.org
> ___
> 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