Problem in running libvirt-cim test suite

Hi, I trying to install libvirt-cim in my ubuntu-xen-3.2.1 machine. I am able to install all dependencies and libvirt-cim , but when I run cimtest which has given in libvirt.org, I am getting following error message * Starting test suite: libvirt-cim ERROR - Failed to create Virtual Network 'cimtest-networkpool' Unable to create network pool cimtest-networkpool Please check your environment.* Is there any special networking setup is require to run cimtest. Any help would be appreciated. Apologies if this topic has been covered already. I can't find it anywhere using Google Thanks, seenu.

What is the o/p of the command virsh net-list --all ? Also, Can you give me the o/p of the command: virsh --help | grep -i net Regards, Deepti. srinivas k wrote:
Hi,
I trying to install libvirt-cim in my ubuntu-xen-3.2.1 machine. I am able to install all dependencies and libvirt-cim , but when I run cimtest which has given in libvirt.org <http://libvirt.org>, I am getting following error message * Starting test suite: libvirt-cim ERROR - Failed to create Virtual Network 'cimtest-networkpool'
Unable to create network pool cimtest-networkpool Please check your environment.* Is there any special networking setup is require to run cimtest. Any help would be appreciated. Apologies if this topic has been covered already. I can't find it anywhere using Google
Thanks, seenu.
------------------------------------------------------------------------
_______________________________________________ Libvirt-cim mailing list Libvirt-cim@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim

Hi Deepthi, Command output is. root@luser-desktop:~# virsh net-list --all Connecting to uri: xen:/// Name State Autostart ----------------------------------------- default inactive no root@luser-desktop:~# virsh --help | grep -i net attach-interface attach network interface detach-interface detach network interface domifstat get network interface stats for a domain net-autostart autostart a network net-create create a network from an XML file net-define define (but don't start) a network from an XML file net-destroy destroy a network net-dumpxml network information in XML net-list list networks net-name convert a network UUID to network name net-start start a (previously defined) inactive network net-undefine undefine an inactive network net-uuid convert a network name to network UUID Thanks, Seenu On Thu, Oct 23, 2008 at 12:32 PM, Deepti B Kalakeri < deeptik@linux.vnet.ibm.com> wrote:
What is the o/p of the command
virsh net-list --all ?
Also, Can you give me the o/p of the command: virsh --help | grep -i net
Regards, Deepti.
srinivas k wrote:
Hi,
I trying to install libvirt-cim in my ubuntu-xen-3.2.1 machine. I am able to install all dependencies and libvirt-cim , but when I run cimtest which has given in libvirt.org <http://libvirt.org>, I am getting following error message * Starting test suite: libvirt-cim ERROR - Failed to create Virtual Network 'cimtest-networkpool'
Unable to create network pool cimtest-networkpool Please check your environment.* Is there any special networking setup is require to run cimtest. Any help would be appreciated. Apologies if this topic has been covered already. I can't find it anywhere using Google
Thanks, seenu.
------------------------------------------------------------------------
_______________________________________________ Libvirt-cim mailing list Libvirt-cim@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim
_______________________________________________ Libvirt-cim mailing list Libvirt-cim@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim

srinivas k wrote:
Hi Deepthi,
Command output is.
root@luser-desktop:~# virsh net-list --all Connecting to uri: xen:/// Name State Autostart ----------------------------------------- default inactive no
Thanks, Seenu
Hi Seenu, Which version of libvirt are you using? cimtest is attempting to setup a virtual network for all of the guests to use while the suite runs. Are you running cimtest as root? Also, if you run cimtest with the -d option, do you see any additional debug? One thing to try is to make sure you can define and start a network pool using virsh. You can do the following: sudo virsh net-start default This will start the existing network you have. This should succeed without any errors. If that works, you can put the following XML in a file: <?xml version="1.0" ?> <network> <name>cimtest-networkpool</name> <forward/> <bridge forwardDelay="0" name="testbridge" stp="on"/> <ip address="192.168.122.1" netmask="255.255.255.0"> <dhcp> <range end="192.168.122.254" start="192.168.122.2"/> </dhcp> </ip> </network> Then call the following commands: sudo virsh net-create filename If this is successful, you can destroy the network pool using: sudo virsh net-destroy cimtest-networkpool If all of this works for you, you can try running cimtest again. Let us know if you hit any errors. -- Kaitlin Rupert IBM Linux Technology Center kaitlin@linux.vnet.ibm.com
participants (3)
-
Deepti B Kalakeri
-
Kaitlin Rupert
-
srinivas k