Bug 1257200
Summary: | virt-xml-validate fails for openstack instance | ||||||
---|---|---|---|---|---|---|---|
Product: | [Community] Virtualization Tools | Reporter: | Timofey Durakov <tdurakov> | ||||
Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | unspecified | CC: | jtomko, rbalakri | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2015-08-31 10:14:52 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Fixed upstream by: commit adff345e1ec9a6f528731ae40168a76b8e7620e0 Author: Martin Kletzander <mkletzan> AuthorDate: 2015-01-05 17:03:58 +0100 Commit: Martin Kletzander <mkletzan> CommitDate: 2015-01-13 08:51:01 +0100 qemu: Allow enabling/disabling features with host-passthrough QEMU supports feature specification with -cpu host and we just skip using that. Since QEMU developers themselves would like to use this feature, this patch modifies the code to work. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1178850 Signed-off-by: Martin Kletzander <mkletzan> git describe: v1.2.11-143-gadff345 contains: v1.2.12-rc1~66 commit dfc708750bb62cabd4617f3c0cf29beb27f28c28 Author: Eric Blake <eblake> AuthorDate: 2015-03-26 16:48:07 -0600 Commit: Eric Blake <eblake> CommitDate: 2015-03-26 16:57:26 -0600 relaxng: allow : in /dev/disk/by-path names On IRC, Hydrar pointed a problem where 'virsh edit' failed on his domain created through an ISCSI pool managed by virt-manager, all because the XML included a block device with colons in the name. * docs/schemas/basictypes.rng (absFilePath): Add colon as safe. * tests/qemuxml2argvdata/qemuxml2argv-disk-iscsi.xml: New file. * tests/qemuxml2argvdata/qemuxml2argv-disk-iscsi.args: Likewise. * tests/qemuxml2argvtest.c (mymain): Test it. Signed-off-by: Eric Blake <eblake> git describe: v1.2.14-rc1 contains: v1.2.14-rc1^0 |
Created attachment 1067254 [details] domain xml dump Description of problem: Version-Release number of selected component (if applicable): 1.2.2 How reproducible: always Steps to Reproduce: 1. deploy devstack 2. start instance 3. validate xml of newly created instance Actual results: stack@node2:/opt/stack/data/nova/instances/e6817eb9-0af6-4265-b77c-d0a4df79c1a8$ virt-xml-validate libvirt.xml Relax-NG validity error : Extra element cpu in interleave libvirt.xml:53: element cpu: Relax-NG validity error : Element domain failed to validate content libvirt.xml fails to validate Expected results: domain.xml validates Additional info: