Re: [Freeipa-devel] [PATCH] 775 wait for memberof task during install

2011-04-22 Thread Martin Kosek
On Thu, 2011-04-21 at 15:10 -0600, Rich Megginson wrote:
 On 04/21/2011 02:47 PM, Rob Crittenden wrote: 
  Wait for memberof task and DS to start before proceeding in
  installation. 
  
  This was causing a replica DS instance to crash if the task was not
  completed when we attempted a shutdown to do a restart. 
  
  In replication.py we were restarting the DS instance without waiting
  for the ports to become available. 
  
  It is unlikely that the dn of the memberof task will change but just
  in case I noted it in the two places it is referenced. 
 ack
  
  ticket 1188 
  
  rob 

It's OK with me too. Tested on F-15, pylint is clean.

Pushed to master, ipa-2-0.

I have a related question:
Is it intentional that we don't run chkconfig ipa on for the replica?
It surprised me when IPA replica did not start after the restart. If it
is a bug, I will open a ticket for that.

Martin

___
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel


Re: [Freeipa-devel] [PATCH] 775 wait for memberof task during install

2011-04-22 Thread Rob Crittenden

Martin Kosek wrote:

On Thu, 2011-04-21 at 15:10 -0600, Rich Megginson wrote:

On 04/21/2011 02:47 PM, Rob Crittenden wrote:

Wait for memberof task and DS to start before proceeding in
installation.

This was causing a replica DS instance to crash if the task was not
completed when we attempted a shutdown to do a restart.

In replication.py we were restarting the DS instance without waiting
for the ports to become available.

It is unlikely that the dn of the memberof task will change but just
in case I noted it in the two places it is referenced.

ack


ticket 1188

rob


It's OK with me too. Tested on F-15, pylint is clean.

Pushed to master, ipa-2-0.

I have a related question:
Is it intentional that we don't run chkconfig ipa on for the replica?
It surprised me when IPA replica did not start after the restart. If it
is a bug, I will open a ticket for that.

Martin



I think that's a bug, please open a ticket.

rob

___
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel


Re: [Freeipa-devel] [PATCH] 775 wait for memberof task during install

2011-04-21 Thread Rich Megginson

On 04/21/2011 02:47 PM, Rob Crittenden wrote:

Wait for memberof task and DS to start before proceeding in installation.

This was causing a replica DS instance to crash if the task was not 
completed when we attempted a shutdown to do a restart.


In replication.py we were restarting the DS instance without waiting 
for the ports to become available.


It is unlikely that the dn of the memberof task will change but just 
in case I noted it in the two places it is referenced.

ack


ticket 1188

rob


___
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel


___
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel