It probably is a bug on libvirt 0.8.7, and I haven't met this issue using your XML template on sorry , i send an error template , our template like this:
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'><name>one-9</name><vcpu>1</vcpu><memory>524288</memory><os><type arch='x86_64'>hvm</type><boot dev='hd'/></os><devices><emulator>/usr/bin/kvm</emulator><disk type='file' device='disk'><source file='/one_images/9/images/disk.0'/><target dev='hda'/><driver name='qemu' type='raw' cache='default'/></disk><disk type='file' device='cdrom'><source file='/one_images/9/images/disk.1'/><target dev='hdc'/><readonly/><driver name='qemu' type='raw'/></disk><interface type='bridge'><source bridge='kvmbr0'/><mac address='02:00:0b:01:01:03'/></interface><graphics type='vnc' listen='0.0.0.0' port='5909'/></devices><features><acpi/></features></domain>
张光鹏---------------------------------------------------------------------------------------------------Hi,my libvirt version is 0.8.7 and qemu-kvm-0.12.1.2 on redhat6.1.I don't set libvirt log, so thank you for reminding me.I think my template is right ,because my code generate automatically. But i would like to share with you and find the problem.By the way , i configured the libvirt log, and i find this file kept getting bigger. If this file becomes large enough , i don't think it's a good thing , so, you must have some advise to handle it ,right?Thanks.
张光鹏发件人: Alex Jia发送时间: 2012-03-15 16:56收件人: 张光鹏抄送: libvirt-users主题: Re: [libvirt-users] virsh create error : monitor socket did notOn 03/15/2012 11:31 AM, 张光鹏 wrote:Could you provide your libvirt & qemu-kvm version ? what's your platform? fedora or others?Hi,Occasionally I run into this situation , i created a vm-template and i use "virsh create vm-template " to start a vm .After a pause , i got this error :virsh create error : monitor socket did not ;
However, it's helpful if you may attach the above log as a attachment. in addition, you may add the following lines intoThen i try again with the same template and the same command , my vm created successfully.I try to find something in the file of /var/log/libvrit/qemu/vm-template.log, but i cannot find useful things except some parameters.
/etc/libvirt/libvirtd.conf and restart libvirtd service then repeat 'virsh create vm-template' again:
log_filters="3:remote 3:event 1:qemu 1:libvirt 1:conf"
log_outputs="1:file:/var/log/libvirt/libvirtd.log"
Could you attach /var/log/libvirt/libvirtd.log as a attachment in here?
But if you can attach your guest XML template as a attachment, maybe, I can exclude other reason.So , i wonder whether my host running vms too much ? I make sure that my template is right, and this error occasionally appear a few times.
Regards,
Alex
Can someone teach me ?Thanks.Best regards.
---------------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s)
is intended only for the use of the intended recipient and may be confidential and/or privileged of
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is
not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying
is strictly prohibited, and may be unlawful.If you have received this communication in error,please
immediately notify the sender by return e-mail, and delete the original message and all copies from
your system. Thank you.
--------------------------------------------------------------------------------------------------- _______________________________________________ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s)
is intended only for the use of the intended recipient and may be confidential and/or privileged of
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is
not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying
is strictly prohibited, and may be unlawful.If you have received this communication in error,please
immediately notify the sender by return e-mail, and delete the original message and all copies from
your system. Thank you.
---------------------------------------------------------------------------------------------------