[ovs-dev] [PATCH] xenserver: make ovs-xenserverd startup configurable and disable it for 5.6.0 onwards.

Ian Campbell Ian.Campbell at citrix.com
Thu Jun 3 19:40:46 UTC 2010


On Thu, 2010-06-03 at 20:17 +0100, Ben Pfaff wrote: 
> On Thu, Jun 3, 2010 at 9:45 AM, Ben Pfaff <blp at nicira.com> wrote:
> > On Thu, Jun 03, 2010 at 03:35:51PM +0100, Ian Campbell wrote:
> >> In my testing with XenServer 5.6.810 without ovs-xenserverd the
> >> vswitch bridge external-id network-uuid field was always kept up to
> >> date over both pool join and pool eject. I believe this is because
> >> xapi is restarted on both pool join and pool eject and on restart all
> >> PIFs are plugged again. This causes the vswitch field to be updated,
> >> either via a call to interface reconfigure or via an explicit
> >> ovs-vsctl call in the case of internal networks.
> >>
> >> I think the only reason this daemon would still be required with
> >> XenServer 5.5 is that the explicit call to ovs-vsctl for internl
> >> networks is not present there.
> >
> > Thank you.  I pushed this to "master".
> 
> I've unfortunately had a report here, which I've confirmed, that network
> UUIDs are not being updated on 5.6.810-31078p.  Is this build new
> enough that you would expect ovs-xenserverd to be unnecessary, or
> should we expect to update to a newer build first?

I would have expected this to work on any build since I added the call
to set the network uuids for internal networks explicitly, which was
ages ago (before the switch to 5.6.810 numbering I think). I thought
xapi had always replugged all PIFs at start of day (Rob, is my
understanding here correct?).

Do you know if it is pool join or eject (or both) which has the issue?
is it all network types or just External/Internal/CHIN? Do the logs show
interface-reconfigure or ovs-vsctl being called when xapi restarts after
whichever event it was?

I'll retest with the older build in the morning, it's possible something
changed recently but I can't see anything apart from a bunch of CHIN
updates between 31078 and now.

Hopefully we can find a way to fix this on the xapi side but the
fallback would likely be to add an network-uuid update to the
openvswitch-cfg-update plugin. In any case I don't want a loop
polling /etc/xensource-inventory in the version integrated into
XenServer.

Ian.






More information about the dev mailing list