You are herevirt-manager cannot select shared physical device when configuring network

virt-manager cannot select shared physical device when configuring network


By thomas - Posted on 17 July 2009

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.
Tags

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

thanks for this trick

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.

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

Had the same problem. Thanks for the tip!

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

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options