Bug 1917076
Summary: | Wrong deps are added when publishing content view with "solve_dependencies=true" | |||
---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Hao Chang Yu <hyu> | |
Component: | Pulp | Assignee: | satellite6-bugs <satellite6-bugs> | |
Status: | CLOSED ERRATA | QA Contact: | Danny Synk <dsynk> | |
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | 6.7.0 | CC: | bmbouter, fratto, ggainey, ipanova, jalviso, kagarwal, mmccune, pmoravec, rchan, satellite6-bugs, ttereshc, zhunting | |
Target Milestone: | 6.9.0 | Keywords: | Patch, Triaged | |
Target Release: | Unused | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | pulp-rpm-2.21.5 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1919414 (view as bug list) | Environment: | ||
Last Closed: | 2021-04-21 13:25:03 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
Hao Chang Yu
2021-01-17 02:01:43 UTC
Severity and priority raised to urgent since the CU is blocked in its day to day update operations wich also blocks developers This affects Sat6.7 the same way like 6.8 (and in fact it was discovered on 6.7 where we request a fix as well for the customer behind the bug). Hao++ for finding the cause and patch proposal. The Pulp upstream bug status is at POST. Updating the external tracker on this bug. The Pulp upstream bug priority is at Normal. Updating the external tracker on this bug. The Pulp upstream bug status is at MODIFIED. Updating the external tracker on this bug. All upstream Pulp bugs are at MODIFIED+. Moving this bug to POST. Good Morning We ask urgent hotfix to solve the issue It looks the proposed workaround failed and the CU is blocked in his update activities Thanks for the support please when you will release the hotfix add advices about which filter should be applied based on Hao first comment many thanks Francesco We need to apply the same code change also here: https://github.com/pulp/pulp_rpm/blob/2-master/plugins/pulp_rpm/plugins/importers/yum/pulp_solv.py#L305 I will file pulp-2 upstream issue tomorrow for this (until somebody will be faster). All upstream Pulp bugs are at MODIFIED+. Moving this bug to POST. Important note for backporting: The upstream pulp issue #8110 requires _two_ upstream PRs backport: #1918 and also #1926 (and optionally #1923 also (fixes typos in debug logs)). The Pulp upstream bug status is at CLOSED - CURRENTRELEASE. Updating the external tracker on this bug. Steps to test: - Deploy a Satellite 6.9, snap 17. - Create a content view containing the "Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)" repository. - Register and subscribe a RHEL 8 content host and add it to the content view. - Install the packages bluez-5.50-1.el8.x86_64 and bluez-obexd-5.50-1.el8.x86_64.rpm. - Create two Yum content filters on the content view: 1) a filter with Inclusion type "include," Content Type "Errata - Date and Type," all Errata Types selected, Date Type "Updated On," and an end date of 1 October 2020; and 2) a filter with Content Type "RPM," Inclusion Type "Include," and the option "Include all RPMs with no errata" selected. - Publish a new version of the content view. - Run `dnf update` on the content host. Expected Results: 1. The new content view version is published without libsolv errors in /var/log/messages. 2. The content host is able to update packages without errors. Actual Results: 1. No libsolv errors are present in /var/log/messages on the Satellite. 2. The content host successfully updated bluez, bluez-libs, and bluez-obexd to the expected versions: ~~~ [root@dhcp-2-61 ~]# dnf update Updating Subscription Management repositories. Red Hat Enterprise Linux 8 for x86_64 - B 24 kB/s | 2.4 kB 00:00 Red Hat Enterprise Linux 8 for x86_64 - A 27 kB/s | 2.8 kB 00:00 Dependencies resolved. ========================================================================== Package Arch Version Repository Size ========================================================================== Upgrading: bluez x86_64 5.50-3.el8 rhel-8-for-x86_64-baseos-rpms 1.2 M bluez-libs x86_64 5.50-3.el8 rhel-8-for-x86_64-baseos-rpms 92 k bluez-obexd x86_64 5.50-3.el8 rhel-8-for-x86_64-baseos-rpms 210 k Transaction Summary ========================================================================== Upgrade 3 Packages Total download size: 1.5 M Is this ok [y/N]: y Downloading Packages: (1/3): bluez-libs-5.50-3.el8.x86_64.rpm 630 kB/s | 92 kB 00:00 (2/3): bluez-obexd-5.50-3.el8.x86_64.rpm 1.4 MB/s | 210 kB 00:00 (3/3): bluez-5.50-3.el8.x86_64.rpm 7.5 MB/s | 1.2 MB 00:00 -------------------------------------------------------------------------- Total 9.2 MB/s | 1.5 MB 00:00 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Running scriptlet: bluez-libs-5.50-3.el8.x86_64 1/1 Upgrading : bluez-libs-5.50-3.el8.x86_64 1/6 Upgrading : bluez-5.50-3.el8.x86_64 2/6 Running scriptlet: bluez-5.50-3.el8.x86_64 2/6 Upgrading : bluez-obexd-5.50-3.el8.x86_64 3/6 Running scriptlet: bluez-obexd-5.50-3.el8.x86_64 3/6 Running scriptlet: bluez-obexd-5.50-1.el8.x86_64 4/6 Cleanup : bluez-obexd-5.50-1.el8.x86_64 4/6 Running scriptlet: bluez-5.50-1.el8.x86_64 5/6 Cleanup : bluez-5.50-1.el8.x86_64 5/6 Running scriptlet: bluez-5.50-1.el8.x86_64 5/6 Cleanup : bluez-libs-5.50-1.el8.x86_64 6/6 Running scriptlet: bluez-libs-5.50-1.el8.x86_64 6/6 Verifying : bluez-5.50-3.el8.x86_64 1/6 Verifying : bluez-5.50-1.el8.x86_64 2/6 Verifying : bluez-libs-5.50-3.el8.x86_64 3/6 Verifying : bluez-libs-5.50-1.el8.x86_64 4/6 Verifying : bluez-obexd-5.50-3.el8.x86_64 5/6 Verifying : bluez-obexd-5.50-1.el8.x86_64 6/6 Installed products updated. Upgraded: bluez-5.50-3.el8.x86_64 bluez-libs-5.50-3.el8.x86_64 bluez-obexd-5.50-3.el8.x86_64 Complete! ~~~ Verified on Satellite 6.9, snap 17. 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 (Moderate: Satellite 6.9 Release), 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/RHSA-2021:1313 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days |