Remove dangling RUVs even if replicas are offline

Previously, an offline replica would mean the RUVs cannot
be removed otherwise the task would be hanging in the DS.
This is fixed in 389-ds 1.3.5.

https://fedorahosted.org/freeipa/ticket/5396

Reviewed-By: Martin Basti <mbasti@redhat.com>
Reviewed-By: Ludwig Krispenz <lkrispen@redhat.com>
This commit is contained in:
Stanislav Laznicka
2016-05-18 16:27:26 +02:00
committed by Martin Basti
parent 72f5c52d8c
commit 0492ab9c0a
3 changed files with 4 additions and 7 deletions

View File

@@ -1353,6 +1353,7 @@ class ReplicationManager(object):
'cn': ['clean %d' % replicaId],
'replica-base-dn': [self.db_suffix],
'replica-id': [replicaId],
'replica-force-cleaning': ['yes'],
}
)
try: