[GH-ISSUE #441] Cannot create new instance on Archlinux #271

Closed
opened 2026-02-27 15:58:03 +03:00 by kerem · 3 comments
Owner

Originally created by @wongsyrone on GitHub (May 27, 2021).
Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/441

It shows XML error: unexpected root element <domain> expecting <device>

virsh output:

virsh # version
Compiled against library: libvirt 7.3.0
Using library: libvirt 7.3.0
Using API: QEMU 7.3.0
Running hypervisor: QEMU 6.0.0
Originally created by @wongsyrone on GitHub (May 27, 2021). Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/441 It shows `XML error: unexpected root element <domain> expecting <device>` virsh output: ``` virsh # version Compiled against library: libvirt 7.3.0 Using library: libvirt 7.3.0 Using API: QEMU 7.3.0 Running hypervisor: QEMU 6.0.0 ```
kerem closed this issue 2026-02-27 15:58:03 +03:00
Author
Owner

@wongsyrone commented on GitHub (May 27, 2021):

PKGBUILD for Archlinux: https://github.com/wongsyrone/self-PKGBUILDs/tree/master/webvirtcloud-git

<!-- gh-comment-id:849212867 --> @wongsyrone commented on GitHub (May 27, 2021): PKGBUILD for Archlinux: https://github.com/wongsyrone/self-PKGBUILDs/tree/master/webvirtcloud-git
Author
Owner

@wongsyrone commented on GitHub (May 27, 2021):

I tried to paste the content of https://github.com/retspen/webvirtcloud/blob/master/conf/test-vm.xml to the XML page when creating a new VM. it failed again.

While it passes virt-xml-validate

[admin@linux ~]$ virt-xml-validate test-kvm-vm.xml 
test-kvm-vm.xml validates
<!-- gh-comment-id:849216510 --> @wongsyrone commented on GitHub (May 27, 2021): I tried to paste the content of https://github.com/retspen/webvirtcloud/blob/master/conf/test-vm.xml to the XML page when creating a new VM. it failed again. While it passes `virt-xml-validate` ``` [admin@linux ~]$ virt-xml-validate test-kvm-vm.xml test-kvm-vm.xml validates ```
Author
Owner

@wongsyrone commented on GitHub (May 27, 2021):

Issue solved when removing libvirt-python==7.2.0 from https://github.com/retspen/webvirtcloud/blob/master/conf/requirements.txt as Archlinux already uses 7.3.0 now.

It's caused by mismatching version of libvirt-python on the system and the bundled libvirt-python.

<!-- gh-comment-id:849233424 --> @wongsyrone commented on GitHub (May 27, 2021): Issue solved when removing `libvirt-python==7.2.0` from https://github.com/retspen/webvirtcloud/blob/master/conf/requirements.txt as Archlinux already uses 7.3.0 now. It's caused by mismatching version of libvirt-python on the system and the bundled libvirt-python.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtcloud#271
No description provided.