Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1950385

Summary: Freeipa nightly test failure: ipa_topo_util_cleanruv: failed to create cleanalltuv task
Product: Red Hat Enterprise Linux 8 Reporter: thierry bordaz <tbordaz>
Component: ipaAssignee: Florence Blanc-Renaud <frenaud>
Status: CLOSED MIGRATED QA Contact: ipa-qe
Severity: high Docs Contact:
Priority: high    
Version: 8.4CC: frenaud, idm-ds-dev-bugs, mreynolds, progier, rcritten, tscherf
Target Milestone: betaKeywords: MigratedToJIRA, Reopened, Triaged
Target Release: 8.9Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: sync-to-jira
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-09-18 18:45:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description thierry bordaz 2021-04-16 13:49:59 UTC
Description of problem:
FreeIPA nightly tests frequently fail in the test test_integration/test_topology.py::TestCASpecificRUVs::test_replica_uninstall_deletes_ruvs. See for instance PR #533 in the test testing-fedora/test_topology_TestCASpecificRUVs.

Version-Release number of selected component (if applicable):
It popup in RHEL8 but it may also apply before


How reproducible:
It occurs not systematically on several ipa tests.
This bug is a mistery when looking at the task code but clearly it happens from time to time

Steps to Reproduce:
Not clearly identified

Actual results:
RUV task cleared too early

Expected results:
RUV task should stay longer (1day IIRC)

Comment 2 thierry bordaz 2021-10-06 15:15:10 UTC
Florence, do you know if this problem still occurs in your environment ?
Possibly already fix (monotonic time)

Comment 3 Florence Blanc-Renaud 2021-10-06 15:28:55 UTC
Thierry, we still see the issue in fedora (for instance with 389-ds-base-2.0.7-1.fc35.1.x86_64 389-ds-base-2.0.7-1.fc34.x86_64 or 389-ds-base-1.4.4.16-1.fc33.x86_64).

Comment 9 RHEL Program Management 2022-12-16 07:30:43 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.

Comment 10 Florence Blanc-Renaud 2022-12-16 07:45:42 UTC
Reopening as the issue is still happening.

Comment 13 Florence Blanc-Renaud 2023-05-17 09:10:59 UTC
The issue is still happening, see for instance this nightly run: http://freeipa-org-pr-ci.s3-website.eu-central-1.amazonaws.com/jobs/5cdc5c3c-f396-11ed-92d8-fa163ea04eff/report.html
Moving the stale date +6months to avoid auto-closure.

Comment 15 Pierre Rogier 2023-08-07 12:54:16 UTC
Moving back the bug to ipa component.

Last year, Mark's was right in assuming that the issue is not on 389ds side.
The latest report shows clearly that the problem is in freeipa code:

grep -Eni   "RUN \['ipa-replica-manage'|Background task created to clean replication data." report.html
shows that 'Background task created to clean replication data' is only printed twice: 
 while running 'ipa-replica-manage clean-ruv' (but not while running 'ipa-replica-manage del').

This means that cleanallruv function in ./freeipa/ipaserver/install/replication.py is not called while deleting a replica.
  (and a grep in freeipa code shows it is the only place that generate the ldap cleanallruv task) 
So RUV is not cleaned because nobody requested the ldap server to clean it.

Comment 17 RHEL Program Management 2023-09-18 18:42:54 UTC
Issue migration from Bugzilla to Jira is in process at this time. This will be the last message in Jira copied from the Bugzilla bug.

Comment 18 RHEL Program Management 2023-09-18 18:45:00 UTC
This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there.

Due to differences in account names between systems, some fields were not replicated.  Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information.

To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "RHEL-" followed by an integer.  You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like:

"Bugzilla Bug" = 1234567

In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information.