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 1771710 - Provide core processing functionality as an individual library
Summary: Provide core processing functionality as an individual library
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: ipa-healthcheck
Version: 8.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.0
Assignee: Rob Crittenden
QA Contact: ipa-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-11-12 20:03 UTC by Dinesh Prasanth
Modified: 2023-04-11 16:48 UTC (History)
5 users (show)

Fixed In Version: ipa-healthcheck-0.4-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-28 15:44:10 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FREEIPA-9675 0 None None None 2023-04-11 16:48:15 UTC
Red Hat Issue Tracker RHELPLAN-30418 0 None None None 2023-04-11 16:47:12 UTC
Red Hat Product Errata RHEA-2020:1640 0 None None None 2020-04-28 15:44:31 UTC

Description Dinesh Prasanth 2019-11-12 20:03:10 UTC
Description of problem:
The ipa-healthcheck contains library code that provides functionality
to read registries, execute tests and much more. This functionality
is shared by 3 different healthcheck tools: pki-healthcheck, ds-healthcheck
and ipa-healthcheck itself.

These functionalities must be offered as a library and packaged
individually to be reused.


Version-Release number of selected component (if applicable):
0.3

How reproducible:
<not a bug>

Steps to Reproduce:
<NA>

Actual results:
Introduces circular dependency (ie) pki-healthcheck requires
ipa-healthcheck to use the library functions and ipa-healthcheck
requires pki-healthcheck to run the tests.


Expected results:
A common library that can be reused by all 3 healthcheck tools thereby
reducing the chances of divergence and breaking one another

Additional info:

Comment 1 Rob Crittenden 2019-12-02 15:03:36 UTC
Upstream 0.4 abstracted the plugin execution.

This makes it possible to split the package so the core processing, ipa-healthcheck-core, is shipped as a subpackage of ipa-healthcheck.

ipa-healthcheck requires ipa-healthcheck-core but not vice-versa. Other packages can depend on ipa-healthcheck-core and not get all the unnecessary dependencies.

Comment 5 Michal Polovka 2020-02-03 12:55:57 UTC
**Old package:**

[root@ci-vm-10-0-136-170 ~]# dnf list ipa-healthcheck 
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Last metadata expiration check: 0:09:10 ago on Mon 03 Feb 2020 04:05:41 AM EST.
Available Packages
ipa-healthcheck.noarch     

[root@ci-vm-10-0-137-156 ~]# dnf search ipa-healthcheck
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Last metadata expiration check: 0:00:13 ago on Mon 03 Feb 2020 07:54:13 AM EST.
=========================================================================== Name Exactly Matched: ipa-healthcheck ============================================================================
ipa-healthcheck.noarch : Health check tool for IdM
                                                       0.3-4.module+el8.1.0+4098+f286395e                                                            rhel-AppStream
No core dependency while installing.


**New package:**
[root@ci-vm-10-0-137-156 ~]# dnf list ipa-healthcheck
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Last metadata expiration check: 0:01:02 ago on Mon 03 Feb 2020 04:19:08 AM EST.
Available Packages
ipa-healthcheck.noarch                                                            0.4-3.module+el8.2.0+5089+8260dc50                                                            rhel-AppStream

[root@ci-vm-10-0-137-156 ~]# dnf search ipa-healthcheck
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Last metadata expiration check: 0:01:52 ago on Mon 03 Feb 2020 04:19:08 AM EST.
=========================================================================== Name Exactly Matched: ipa-healthcheck ============================================================================
ipa-healthcheck.noarch : Health check tool for IdM
=============================================================================== Name Matched: ipa-healthcheck ================================================================================
ipa-healthcheck-core.noarch : Core plugin system for healthcheck

[root@ci-vm-10-0-137-156 ~]# dnf install ipa-healthcheck 
Installing dependencies:
...
 ipa-client                                          x86_64                     4.8.4-2.module+el8.2.0+5265+c70de5c4                                 rhel-AppStream                     267 k
 ipa-client-common                                   noarch                     4.8.4-2.module+el8.2.0+5265+c70de5c4                                 rhel-AppStream                     173 k
 ipa-common                                          noarch                     4.8.4-2.module+el8.2.0+5265+c70de5c4                                 rhel-AppStream                     764 k
 ipa-healthcheck-core                                noarch                     0.4-3.module+el8.2.0+5089+8260dc50                                   rhel-AppStream                      49 k
...

Comment 9 errata-xmlrpc 2020-04-28 15:44:10 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2020:1640


Note You need to log in before you can comment on or make changes to this bug.