[one.vm.updateconf] Invalid RAW section: cannot validate DATA with domain.rng schema

Hello,

I have this error when I want to map a usb key in my VM

image

my config file for update

I use

  • OpenNebula 6.0.0.2 on Ubuntu 18.04
  • libvirtd (libvirt) 4.0.0

I modified the files as shown here but without success

Thanks

Hi @TiDjY35,

Please make sure your raw section can be validated against the libvirt schema that you can find in /usr/share/one/schemas/libvirt/domaincommon.rng.

Cheers.

Hi @rdiaz

How to do this ?

Thanks

Please try with: <devices><hostdev mode='subsystem' type='usb'><source><vendor id='0x1cf1'/><product id='0x0030'/></source></hostdev></devices>

Note that in the screenshot you sent there is no space between product and id.

Hope this helps.

:astonished:

I could have damaged my eyes for a long time before seeing this. I have made a copy / paste of the return provided by the DMESG.

it works with ZeroorMore modification in /usr/share/one/schemas/libvirt/domaincommon.rng

image

image

Merci @rdiaz