Bug 621821 - unexpected domain xml error
Summary: unexpected domain xml error
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libvirt
Version: 6.0
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Daniel Veillard
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-06 08:10 UTC by Dan Kenigsberg
Modified: 2010-08-06 08:12 UTC (History)
2 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2010-08-06 08:12:21 UTC


Attachments (Terms of Use)

Description Dan Kenigsberg 2010-08-06 08:10:56 UTC
Description of problem:
I generated a somewhat odd-indented domain xml and fed it into createXML. On first attempt I an error, but following attempts succeed.

Version-Release number of selected component (if applicable):
libvirt-0.8.1-20.el6.x86_64

How reproducible:
sometime

03:53:12.098: debug : virDomainCreateXML:1937 : conn=0x7f39b800d670, xmlDesc=Starting vhostmd: [  OK  ]
<?xml version="1.0" ?><domain type="kvm">
        <name>ayal</name>
        <uuid>9ffe28b6-6134-4b1e-8804-1185f49c436f</uuid>
        <memory>262144</memory>
        <currentMemory>262144</currentMemory>
        <vcpu>1</vcpu>
        <devices>
                <controller index="0" ports="16" type="virtio-serial"/>
                <channel type="unix">
                        <target name="org.linux-kvm.port.0" type="virtio"/>
                        <source mode="bind" path="/var/lib/libvirt/qemu/channels/ayal.org.linux-kvm.port.0"/>
                </channel>
                <interface type="bridge">
                        <mac address="aa:bb:dd:dd:aa:bb"/>
                        <model type="virtio"/>
                        <source bridge="rhevm"/>
                </interface>
                <input bus="ps2" type="mouse"/>
                <graphics autoport="yes" listen="0" passwd="*****" passwdValidTo="1970-01-01T00:00:01" port="-1" type="vnc"/>
        <disk device="disk" type="file"><source file="/dev/shm/vhostmd0"/><target bus="virtio" dev="vdzz"/><readonly/></disk></devices>
        <os>
                <type arch="x86_64" machine="pc">hvm</type>
                <boot dev="cdrom"/>
        </os>
        <clock adjustment="8" offset="variable"/>
        <cpu match="exact">
                <model>qemu64</model>
                <feature name="svm" policy="disable"/>
        </cpu>
</domain>, flags=0
03:53:12.098: error : catchXMLError:590 : at line 1: Start tag expected, '<' not found

Comment 1 Dan Kenigsberg 2010-08-06 08:12:21 UTC
sorry, my bug.


Note You need to log in before you can comment on or make changes to this bug.