[libvirt] [OpenVZ]

Ivan Vovk ivovk at intermedia.net
Sat Dec 13 15:52:55 UTC 2008


Hello,



after updating to the last official release 0.5.1 my application stopped working. No errors to the log file though i raised exceptions where it was possible.

i checked with virsh xml description used for creating OpenVZ container and got the following:



virsh # create ovz.xml
Segmentation fault



after that virsh just closed (as well as my application did before). But itself container was created:



[root at alt-03 ~]# vzlist -a
      CTID      NPROC STATUS  IP_ADDR         HOSTNAME
      3005          5 running -               -



Ovz.xml looks like this:



<domain type="openvz" id="3005">
                <name>3005</name>
                <memory>131072</memory>
                <vcpu>1</vcpu>
                <os>
                                <type>exe</type>
                                <init>/sbin/init</init>
                </os>
                <devices>
                                <filesystem type="template">
                                                <source name="altlinux-4.0"/>
                                                <target dir="/"/>
                                </filesystem>
                                <interface type="bridge">
                                                <source bridge="vzrb1"/>
                                                <target dev="veth3005.0"/>
                                </interface>
                </devices>
<domain>



With previous version it worked just fine.



Further, it is impossible to create OpenVZ container without <memory> tag though i didn't notice any effects from it. Does it realy needed?



<vcpu> tag stopped working. Previously it added in config file of the container a record like CPUS="1". No it doesn't add anything.



Mac generation still an issue. It seems my notification about it was missed. Here is a string from config file for created container.



[root at alt-03 ~]# cat /etc/vz/conf/3005.conf | grep NETIF
NETIF="ifname=eth0,bridge=vzrb1,mac=52:54:00:4B:BB:F4,host_ifname=veth3005.0,host_mac=52:54:00:4B:BB:F4"



mac = host_mac = network issue.

________________________________
This message (including attachments) is private and confidential. If you have received this message in error, please notify us and remove it from your system.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20081213/99a22e3b/attachment-0001.htm>


More information about the libvir-list mailing list