<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Dan Kenigsberg wrote:
<blockquote cite="mid:20121224132932.GF22351@redhat.com" type="cite">
  <pre wrap="">On Mon, Dec 24, 2012 at 02:18:48PM +0100, Joop wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Dan Kenigsberg wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">Which version of libvirt is installed on your host?

      </pre>
    </blockquote>
    <pre wrap="">libvirt-1.0.1-2.fc17.x86_64
libvirt-client-1.0.1-2.fc17.x86_64
libvirt-daemon-1.0.1-2.fc17.x86_64
libvirt-daemon-config-network-1.0.1-2.fc17.x86_64
libvirt-daemon-config-nwfilter-1.0.1-2.fc17.x86_64
libvirt-daemon-driver-interface-1.0.1-2.fc17.x86_64
libvirt-daemon-driver-lxc-1.0.1-2.fc17.x86_64
libvirt-daemon-driver-network-1.0.1-2.fc17.x86_64
libvirt-daemon-driver-nodedev-1.0.1-2.fc17.x86_64
libvirt-daemon-driver-nwfilter-1.0.1-2.fc17.x86_64
libvirt-daemon-driver-qemu-1.0.1-2.fc17.x86_64
libvirt-daemon-driver-secret-1.0.1-2.fc17.x86_64
libvirt-daemon-driver-storage-1.0.1-2.fc17.x86_64
libvirt-daemon-driver-uml-1.0.1-2.fc17.x86_64
libvirt-daemon-driver-xen-1.0.1-2.fc17.x86_64
libvirt-lock-sanlock-1.0.1-2.fc17.x86_64
libvirt-python-1.0.1-2.fc17.x86_64

>From virt-preview repo
[fedora-virt-preview]
name=Virtualization packages from Rawhide built for latest Fedora
baseurl=<a class="moz-txt-link-freetext" href="http://fedorapeople.org/groups/virt/virt-preview/fedora-$releasever/$basearch">http://fedorapeople.org/groups/virt/virt-preview/fedora-$releasever/$basearch</a>
enabled=1
skip_if_unavailable=1
gpgcheck=0

    </pre>
    <blockquote type="cite">
      <pre wrap="">What is the output of the following python script on your machine? Mine
says "1". Could it be that your libvirt says "0"?

=============

      </pre>
    </blockquote>
    <pre wrap="">>from vdsm import libvirtconnection
    </pre>
    <blockquote type="cite">
      <pre wrap="">conn = libvirtconnection.get()
netXml = """<network>
 <name>test</name>
 <forward mode='passthrough'>
   <interface dev='em1'/>
 </forward>
</network>
"""

net = conn.networkDefineXML(netXml)
net.create()
print net.isPersistent()
net.destroy()
net.undefine()


      </pre>
    </blockquote>
    <pre wrap="">0
libvir: Network Driver error : Network not found: no network with
matching uuid
Traceback (most recent call last):
 File "test.py", line 16, in <module>
   net.undefine()
 File "/usr/lib64/python2.7/site-packages/libvirt.py", line 2154, in
undefine
   if ret == -1: raise libvirtError ('virNetworkUndefine() failed',
net=self)
libvirt.libvirtError: Network not found: no network with matching uuid

So '0' :-((
Suppose that error isn't good either.
Should I downgrade to an earlier version of libvirt?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Please try. My guess is that this is a libvirt bug added by
<a class="moz-txt-link-freetext" href="http://libvirt.org/git/?p=libvirt.git;a=commitdiff;h=0211fd6e04cdc402da20818df54299c6ded3d3cb">http://libvirt.org/git/?p=libvirt.git;a=commitdiff;h=0211fd6e04cdc402da20818df54299c6ded3d3cb</a>
in libvirt 1.0.1. More authoritative answer is expected by those added
to the CC line.

  </pre>
</blockquote>
Went back to libvirt-0.10. from the danken repo and now it works. Will
reinstall st01 in the same way as a test.<br>
<br>
Thanks for the help and have a nice X-mas.<br>
<br>
Joop<br>
<br>
</body>
</html>