All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: help with bugs
@ 2005-08-04 21:48 Ian Pratt
  2005-08-04 22:21 ` Sean Dague
  2005-08-05  0:07 ` [PATCH] network -> network-bridge rename WAS: Re: " Nivedita Singhvi
  0 siblings, 2 replies; 7+ messages in thread
From: Ian Pratt @ 2005-08-04 21:48 UTC (permalink / raw)
  To: Sean Dague; +Cc: xen-devel

> >  BUG62  eth0 -> veth0 in network script can loose network
> I can make this bug come and go at will based on which of the 
> 2 network interfaces are part of the bridge.  I added that 
> information into the bugzilla bug, hopefully that helps.

Are you changing the default 'netdev' at the top of the network script?

I take it that if you try and get it to work on eth1 it fails?

BTW: I'd like to see a few changes in the way this stuff works anyhow.

Firstly, rename network to network-bridge.

Next, I'd make it such that it's possible to have multiple
network-script lines, each with parameters e.g. something like:

(network-script ( network-bridge ( bridge xen-br0 ) ( netdev eth0 ) ) )
(network-script ( network-bridge ( bridge xen-br1 ) ( netdev eth1 ) ) )

[having multiple interfaces should result in multiple vif0.x and vethX
devices]

And then the vif-script along with default parameters e.g.

( vif-script ( vif-bridge ( bridge xen-br0 ) ( antispoof no ) ) )

Do others agree?
Could someone work up a patch?

Thanks,
Ian

 

^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: [PATCH] network -> network-bridge rename WAS: Re: RE: help with bugs
@ 2005-08-05  0:55 Ian Pratt
  2005-08-05 12:18 ` Sean Dague
  0 siblings, 1 reply; 7+ messages in thread
From: Ian Pratt @ 2005-08-05  0:55 UTC (permalink / raw)
  To: Nivedita Singhvi; +Cc: xen-devel, Sean Dague

> > Next, I'd make it such that it's possible to have multiple 
> > network-script lines, each with parameters e.g. something like:
> 
> I started this - but it became less than desirable to stick 
> all of this into xend. That is, what I was thinking was - we 
> simply point the tools to a configuration file that's a top 
> level script, and hide all of the meat of the work inside 
> those scripts. If we change the syntax, we wouldn't require a 
> change to the tools, would be one advantage.
> 
> > (network-script ( network-bridge ( bridge xen-br0 ) ( 
> netdev eth0 ) ) 
> > ) (network-script ( network-bridge ( bridge xen-br1 ) ( 
> netdev eth1 ) 
> > ) )

I guess we could just point it at a top-level script, but it seems a bit
of a cop out, and rather different to the way we configure and invoke
other helper scripts. 

I think at the very least we should allow the 'netdev' to be cloned and
added to the bridge to be specified in xend-config.sxp. I guess this
could be another top-level variable, or better specified as a parameter
to the network-script (as above).

I guess setups with multiple active NICs are relatively rare and can be
dealt with using a top-level script (or configured manually).

NB: The default for 'network-script' should be to run no script at all.


Ian 

^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: [PATCH] network -> network-bridge rename WAS: Re: RE: help with bugs
@ 2005-08-05 14:13 Ian Pratt
  2005-08-09 13:00 ` Sean Dague
  0 siblings, 1 reply; 7+ messages in thread
From: Ian Pratt @ 2005-08-05 14:13 UTC (permalink / raw)
  To: Sean Dague; +Cc: xen-devel

> > I guess setups with multiple active NICs are relatively 
> rare and can 
> > be dealt with using a top-level script (or configured manually).
> 
> I'd disagree with that (unless I am misunderstanding the 
> definition of active).  Every pizza box server I've seen ship 
> in the last 3 years has had dual onboard nics.  Dual nic 
> setup for server (one for production and one for 
> administration) is best practice for any reasonable size 
> server environment.

I think you're actually agreeing with me.

Having a separate dom0 interface for administration is certainly good
practice. 
However, having multiple bridges is probably relatively rare, so we can
probably get away with not having multiple network-script lines.
However, I'd prefer that we could.

> > NB: The default for 'network-script' should be to run no 
> script at all.

That's true for versions shipped with a distro, but right now, having
the network-bridge script as the default when xend starts should
actually work for most people.

It probably won't if you're using NFS root or anything else fancy, but I
still think its worth having.

The current observed flakiness by some people is disturbing and we need
to understand why. Please can someone who is seeing this problem please
dig in to it. We've run the script on lots of different machines without
seeing problems.

Thanks,
Ian

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-08-09 13:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-04 21:48 help with bugs Ian Pratt
2005-08-04 22:21 ` Sean Dague
2005-08-05  0:07 ` [PATCH] network -> network-bridge rename WAS: Re: " Nivedita Singhvi
  -- strict thread matches above, loose matches on Subject: below --
2005-08-05  0:55 Ian Pratt
2005-08-05 12:18 ` Sean Dague
2005-08-05 14:13 Ian Pratt
2005-08-09 13:00 ` Sean Dague

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.