Bug 2240021
| Summary: | An upgrade of cockpit-389-ds should update other 389-ds packages. | ||
|---|---|---|---|
| Product: | Red Hat Directory Server | Reporter: | Têko Mihinto <tmihinto> |
| Component: | cockpit-389-ds | Assignee: | LDAP Maintainers <idm-ds-dev-bugs> |
| Status: | CLOSED ERRATA | QA Contact: | LDAP QA Team <idm-ds-qe-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 11.7 | CC: | emartyny, idm-ds-dev-bugs, mreynolds, tbordaz, vashirov |
| Target Milestone: | --- | ||
| Target Release: | dirsrv-12.3 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
.The `cockpit-389-ds` package upgrade now updates the `389-ds-base` and `python3-lib389` packages
Previously, the `cockpit-389-ds` package did not specify the version of the `389-ds-base` package it depends on. As a result, the upgrade of the `cockpit-389-ds` package alone did not update the `389-ds-base` and `python3-lib389` packages which could lead to misalignment and compatibility issues between packages. With this update, the `cockpit-389-ds` package depends on the `389-ds-base` exact version and the update of the `cockpit-389-ds` package also upgrades `389-ds-base` and `python3-lib389` packages.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-11-21 15:13:17 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: | |||
# dnf update cockpit-389-ds Updating Subscription Management repositories. Unable to read consumer identity This system is not registered with an entitlement server. You can use subscription-manager to register. rhds11-latest 476 kB/s | 17 kB 00:00 Dependencies resolved. =============================================================================================================================================== Package Architecture Version Repository Size =============================================================================================================================================== Upgrading: 389-ds-base x86_64 1.4.3.37-6.module+el8dsrv+20535+685d3379 rhds 3.3 M 389-ds-base-libs x86_64 1.4.3.37-6.module+el8dsrv+20535+685d3379 rhds 1.5 M cockpit-389-ds noarch 1.4.3.37-6.module+el8dsrv+20535+685d3379 rhds 687 k python3-lib389 noarch 1.4.3.37-6.module+el8dsrv+20535+685d3379 rhds 970 k Transaction Summary =============================================================================================================================================== Upgrade 4 Packages Total download size: 6.4 M Is this ok [y/N]: Updating only cockpit-389-ds pulls in 389-ds-base and lib389. Marking as VERIFIED. Previous comment has output for RHDS 11.8. For RHDS 12.3: # dnf update cockpit-389-ds Updating Subscription Management repositories. Unable to read consumer identity This system is not registered with an entitlement server. You can use subscription-manager to register. rhds12-latest 67 kB/s | 15 kB 00:00 Dependencies resolved. =============================================================================================================================================== Package Architecture Version Repository Size =============================================================================================================================================== Upgrading: 389-ds-base x86_64 2.3.6-6.module+el9dsrv+20623+7a2dd55b rhds 2.9 M 389-ds-base-libs x86_64 2.3.6-6.module+el9dsrv+20623+7a2dd55b rhds 1.5 M cockpit-389-ds noarch 2.3.6-6.module+el9dsrv+20623+7a2dd55b rhds 770 k python3-lib389 noarch 2.3.6-6.module+el9dsrv+20623+7a2dd55b rhds 891 k Transaction Summary =============================================================================================================================================== Upgrade 4 Packages Total download size: 6.1 M Is this ok [y/N]: RN text has passed all reviews 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 (redhat-ds:12 bug fix and enhancement update), 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-2023:7429 |
Description of problem: The documentation way of upgrading RHDS packages is to update the redhat-ds module: https://access.redhat.com/documentation/en-us/red_hat_directory_server/11/html/installation_guide/assembly_updating-directory-server_installation-guide#proc_updating-the-directory-server-packages_assembly_updating-directory-server Nonetheless one could directly upgrade the packages. Some customers are trying to update the cockpit-389-ds to fix known issues. A "yum update cockpit-389-ds" is not aligning the other related packages ( 389-ds-base* and python3-lib389 ). Thus the following discrepancy can happen: $ rpm -qa | grep 389-ds cockpit-389-ds-1.4.3.34-1.module+el8dsrv+18528+22f7779f.noarch 389-ds-base-libs-1.4.3.31-11.module+el8dsrv+17815+4f95348d.x86_64 389-ds-base-1.4.3.31-11.module+el8dsrv+17815+4f95348d.x86_64 $ where we can see an updated cockpit-389-ds to 1.4.3.34-1 while other packages are still at 1.4.3.31-11. Such misalignment was causing several issues with the RHDS Console mostly because of missing options in the dsconf tool ( only present in the newer version ). It would be nice to add dependencies so an upgrade of cockpit-389-ds triggers updates of 389-ds-base* and python3-lib389 too. Version-Release number of selected component (if applicable): $ cat /etc/redhat-release Red Hat Enterprise Linux release 8.7 (Ootpa) $ How reproducible: Always. Steps to Reproduce: Upgrade only cockpit-389-ds and check other 389-ds packages. Actual results: Different versions of the packages. Expected results: Related packages should be updated too. Additional info: There is a dependency on python3-lib389 but not for a specific version: $ rpm -qaR cockpit-389-ds cockpit platform-python python3-lib389 rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(PayloadIsXz) <= 5.2-1 $