[Freeipa-devel] topology plugin woes

Simo Sorce simo at redhat.com
Wed Jul 1 20:15:34 UTC 2015


On Wed, 2015-07-01 at 15:00 -0400, Simo Sorce wrote:
> On Wed, 2015-07-01 at 14:44 -0400, Simo Sorce wrote:
> > On Wed, 2015-07-01 at 14:34 -0400, Simo Sorce wrote:
> > > I am working on the replica promotion code and suddenly the topology
> > > plugin is getting in the way.
> > > 
> > > First thing I noticed is that it converted an agreement into a segment
> > > even though my domain level is 0, is this expected ? I thought we'd
> > > enable the plugin only when level -> 1
> > > 
> > > By taking over immediately it will break ipa management tools from older
> > > serves which know nothing about dealing with segments, they only know
> > > about direct removal of replication agreements.
> > > 
> > > The other problem is that it seem I can't remove the replication
> > > agreement even if I removed all references to the (failed) replica I
> > > installed. It complains it would cause split brain .. but this is the
> > > last replica and I already removed the master's computer object, why is
> > > the topology plugin not recognizing the master is no more and not
> > > letting me remove the segment ?
> > 
> > Ugh, I just found the Domain Level is set to 1 ... ok so it is ok the
> > topology is managed, but why can't I remove the segment if the server
> > object is gone ?
> > 
> > Simo.
> > 
> > -- 
> > Simo Sorce * Red Hat, Inc * New York
> > 
> 
> Patch 0018 fully solved this problem, next time I'll dig the uncommitted
> patches before opening my mouth :-)

A followup question though, why is the toplogy plugin not seeing a new
agreement (created by another replica that is being installed) until the
server is restarted ?

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York




More information about the Freeipa-devel mailing list