Skip to contentSkip to conversation

BUG? domu network interface configuration

DISCUSSION Michal Ostrowski 3 participants 3 messages Aug 31, 2005

lore
Share & tools
lore
#0 lore raw

I have a config file to specify a domU that contains the following:

nics=1
vif = [ 'mac=aa:00:00:00:00:11,ip=9.2.209.165' ]

(The rest of the config is nothing special; sets up kernel arguments for nfsroot.)

- xend is configured to use routing.

- xend.log now contains:

[2005-08-30 15:14:01 xend] ERROR (XendDomainInfo:434) ['vif', ['mac', 'aa:00:00:00:00:11'], ['ip', '9.2.209.165']] [2005-08-30 15:14:01 xend] ERROR (XendDomainInfo:454) aa:00:00:00:00:11

- vif-route has never been called, so the domain's networking doesn't come up, even though the domain runs.

- this same configuration was working prior to an update this afternoon (previous snapshot was from last Thursday).

Signature · 1 line
Michal Ostrowski

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw
Quoted 5 lines · Michal Ostrowski

- vif-route has never been called, so the domain's networking doesn't come up, even though the domain runs.

- this same configuration was working prior to an update this afternoon (previous snapshot was from last Thursday).

The changes to xenbus mean that we call vif up/down via hotplug, and our hotplug script is hardcoded to call the bridge script. Probably it ought to pull stuff out of xenstore to work out what to do, but that's not implemented right now.

One fix would be for you to just hack the hotplug script. Another, slightly better, way would be to grep around in xend's config script to find out what script should be run, and call that. We might even take that as an interim patch.

-- Keir

#2 lore raw
Quoted 13 lines · Keir Fraser
Quoted 5 lines · Michal Ostrowski

- vif-route has never been called, so the domain's networking doesn't come up, even though the domain runs.

- this same configuration was working prior to an update this afternoon (previous snapshot was from last Thursday).

The changes to xenbus mean that we call vif up/down via hotplug, and our hotplug script is hardcoded to call the bridge script. Probably it ought to pull stuff out of xenstore to work out what to do, but that's not implemented right now.

Quoted 7 lines

One fix would be for you to just hack the hotplug script. Another, slightly better, way would be to grep around in xend's config script to find out what script should be run, and call that. We might even take that as an interim patch.

-- Keir

Any idea when this would be implemented?

Regards,
Ted