Google

virt-manager cannot select shared physical device when configuring network

I use puppet to keep my machines in sync with each other. Our default configuration has haldaemon and messagebus (dbus) off. I ran into a problem when I tried to create a new vm and there was no option to use the shared phyical device (the bridge) In order for virt-manager to see the bridge, I needed to have haldaemon and messagebus turned on. Silly problem, but I couldn’t find the answer without using strace myself…hope that helps someone.

6 Responses to “virt-manager cannot select shared physical device when configuring network”

  1. Johan Högdahl Says:

    Im very GRATEFULL, this has been irritating me for a long time,
    my workaround has been to manipulate files by hand, works but not nice :-)

    Johan

  2. Sean Says:

    Had the same problem. Thanks for the tip!

  3. abr Says:

    thanks that solved my problem.
    im curious to see how did you find that with strace
    please could you add this here.

  4. uphill Says:

    I started up virt-manager with strace

    strace -o /tmp/virt-manager.trace -f virt-manager

    I went through the install to the point of networking and then killed the strace and looked at the trace file.
    There was a connect near the end pointing to dbus that obviously was failing

    6370 connect(14, {sa_family=AF_FILE, path=”/var/run/dbus/system_bus_socket”…}, 33) = 0

    after that it was pretty simple to figure out that hal needed to be on to talk to dbus…

    hope that helps.

  5. abr Says:

    thanks for this trick

  6. Alfonzo Says:

    I got same error. After a lot serch I found the same answer. There is a tip RH Kbase.
    http://kbase.redhat.com/faq/docs/DOC-19071

Leave a Reply