Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: "Hotplug scripts not working" again



>>> xm create foo
>>> It hangs for a while, then prints:
>>> Error: Device 0 (vif) could not be connected. Hotplug scripts not working.
>> This is usually when it tries to connect the vif to a non-existing bridge
> Yeah, that's what I figured, but I'm pretty sure I've got the bridge
> created.  [...]

Back when I was playing with xen, I had superficially similar problems.
That was at least one version ago, but perhaps it might help - in my
case, it turned out the script in question was copied from an
out-of-date place and was using the wrong constants to determine what
it was supposed to do.  I eventually tracked this down by adding
debugging to the script and finding that the numbers being passed were
not what the script was expecting.

Might be worth coming at it from that angle: start with the script, add
debugging to see what's getting passed to it when, and make sure it
matches what the script's expecting.

/~\ The ASCII                             Mouse
\ / Ribbon Campaign
 X  Against HTML                mouse%rodents-montreal.org@localhost
/ \ Email!           7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B


Home | Main Index | Thread Index | Old Index