Bug 1919414 - Wrong deps are added when publishing content view with "solve_dependencies=true"
Summary: Wrong deps are added when publishing content view with "solve_dependencies=true"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Pulp
Version: 6.7.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: 6.8.4
Assignee: satellite6-bugs
QA Contact: Lai
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-22 20:08 UTC by James Jeffers
Modified: 2021-02-24 12:47 UTC (History)
8 users (show)

Fixed In Version: pulp-rpm-2.21.3.2-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1917076
Environment:
Last Closed: 2021-02-24 12:47:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github pulp pulp_rpm pull 1918 0 None closed Fix pulp depsolv issue when copy rpms with recursive config 2021-02-08 19:54:15 UTC
Github pulp pulp_rpm pull 1926 0 None closed Fix pulp depsolv issue when copy rpms with recursive config 2/2 2021-02-08 19:54:15 UTC
Pulp Redmine 8110 0 None None None 2021-01-22 20:08:28 UTC
Red Hat Product Errata RHBA-2021:0654 0 None None None 2021-02-24 12:47:36 UTC

Comment 5 Lai 2021-02-11 19:13:57 UTC
Followed Hao's steps:

Steps to Reproduce:
1. Enable the pulp debug log level and restart Pulp services
2. On Satellite Web UI, create a content view name "cv_rhel_8", set the "solve dependencies" to "Yes"
3. Add "Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)" repository to the CV.
4. Create a filter to include all errata until 1st Oct 2020.
5. Create a filter to include all rpms without errata.
6. Create a filter to Include all Module Streams with no errata
7. Publish the content view
8. Register a rhel 8 host to the CV.
9. Run dnf update on the host.

Expected:
Content view should be published successfully.
Any packages that needed update should be updated successfully.

Actual
Content view is published successfully.
Packages updated successfully:

Upgraded:
  selinux-policy-3.14.3-54.el8_3.2.noarch   selinux-policy-targeted-3.14.3-54.el8_3.2.noarch   sudo-1.8.29-6.el8_3.1.x86_64   tzdata-2021a-1.el8.noarch  

Verified on 6.8.4_01, pulp-server-2.21.4-2.el7sat.noarch, pulp-rpm-plugins-2.21.4-2.el7sat.noarch

Comment 6 Lai 2021-02-11 21:41:32 UTC
My apologies, I put the wrong version of pulp in the previous comment.

The correct versions are: pulp-rpm-plugins-2.21.3.3-1.el7sat.noarch and pulp-server-2.21.3.2-1.el7sat.noarch

Comment 11 errata-xmlrpc 2021-02-24 12:47:13 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 (Satellite 6.8.4 Async Bug Fix 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/RHBA-2021:0654


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