Skip to content

libvirt XML error: device type video not supported (Ignore or support) #11

Description

@tunicashashi

I tried to run a VM on ACRN hypervisior compute node using Devstack controller but fails as compute node libvirt XML is not parsed completely. It is because of device type video not supported.

I have installead acrn hypervisior and acrn-libvirt on my compute node. I can see node and hypervisor type when I list in the openstack controller.

be75ee97451d),plugin='ovs',port_profile=VIFPortProfileOpenVSwitch,preserve_on_delete=False,vif_name='tap028b3c79-ea') {{(pid=2
0748) nova_to_osvif_vif /opt/stack/nova/nova/network/os_vif_util.py:553}}
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]: DEBUG os_vif [None req-1a621e09-f10b-47ed-bae9-e82107b7292b admin admin] Plugging vif VIFOpenVSwitch(active=False,address=fa:16:3e:74:29:ec,bridge_name='br-int',has_traffic_filteri
ng=True,id=028b3c79-ea40-43e8-a5cb-a3fe0311ee3b,network=Network(09038790-cbed-4306-916a-be75ee97451d),plugin='ovs',port_profile=VIFPortProfileOpenVSwitch,preserve_on_delete=False,vif_name='tap028b3c79-ea') {{(pid=20748) plug /usr/local/
lib/python3.6/dist-packages/os_vif/init.py:76}}
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]: INFO os_vif [None req-1a621e09-f10b-47ed-bae9-e82107b7292b admin admin] Successfully plugged vif VIFOpenVSwitch(active=False,address=fa:16:3e:74:29:ec
,bridge_name='br-int',has_traffic_filtering=True,id=028b3c79-ea40-43e8-a5cb-a3fe0311ee3b,network=Network(09038790-cbed-4306-916a-be75ee97451d),plugin='ovs',port_profile=VIFPortProfileOpenVSwitch,preserve_on_delete=False,vif_name='tap028b3c79-ea')
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]: ERROR nova.virt.libvirt.guest [None req-1a621e09-f10b-47ed-bae9-e82107b7292b admin admin] Error defining a guest with XML:
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]: 84fc9c92-a8bb-4e96-b48b-9693330a1cde
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]: instance-00000007
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]: 262144
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]: 3
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]:
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]: <nova:instance xmlns:nova="http://openstack.org/xmlns/libvirt/nova/1.0">
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]: <nova:package version="20.1.2"/>
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]: nova:namecl_lix_nova</nova:name>
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]: nova:creationTime2020-09-29 08:51:40</nova:creationTime>
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]: <nova:flavor name="acrn3cpu">
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]: nova:memory256</nova:memory>
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]: nova:disk2</nova:disk>
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]: nova:swap0</nova:swap>
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]: nova:ephemeral0</nova:ephemeral>
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]: nova:vcpus3</nova:vcpus>
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]: </nova:flavor>
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]: nova:owner
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]: <nova:user uuid="5c9ed052493b4870a09851205d9b81c8">admin</nova:user>
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]: <nova:project uuid="c58523ed741e4eac8c320e189d27d1d9">admin</nova:project>
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]: </nova:owner>
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]: <nova:root type="image" uuid="7cf56dcd-17f4-40ff-b00e-6219a2f07137"/>
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]: </nova:instance>
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]:
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]:
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]: hvm
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]: /opt/stack/OVMF.fd
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]:
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]:
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]:
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]:
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]:
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]:
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]:
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]:
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]:
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]:
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]:
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]:
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]:
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]:
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]:
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]:
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]:
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]:
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]:
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]:
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]:
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]:
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]:
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]:
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]:
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]:
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]:
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]:
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]:
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]: : libvirt.libvirtError: XML error: device type video not supported
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]: ERROR nova.virt.libvirt.driver [None req-1a621e09-f10b-47ed-bae9-e82107b7292b admin admin] [instance: 84fc9c92-a8bb-4e96-b48b-9693330a1cde] Failed to start libvirt guest: libvirt.libvirtError: XML error: device type video not supported
Sep 29 10:51:40 acrnoff-NUC7i7DNHE nova-compute[20748]: DEBUG nova.virt.libvirt.vif [None req-1a621e09-f10b-47ed-bae9-e82107b7292b admin admin] vif_type=ovs instance=Instance(access_ip_v4=None,access_ip_v6=None,architecture=None,auto_disk_config=True,availability_zone='nova',cell_name=None,cleaned

  • Is there any way to ignore from acrn-libvirt or better will be to provide support for it?
    If i can ignore which src code can I change with what parameter?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions