Bug 1919414

Summary: Wrong deps are added when publishing content view with "solve_dependencies=true"
Product: Red Hat Satellite Reporter: James Jeffers <jjeffers>
Component: PulpAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Lai <ltran>
Severity: high Docs Contact:
Priority: high    
Version: 6.7.0CC: bmbouter, egolov, fratto, ggainey, ipanova, pmoravec, rchan, satellite6-bugs
Target Milestone: 6.8.4Keywords: Patch, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pulp-rpm-2.21.3.2-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1917076 Environment:
Last Closed: 2021-02-24 12:47:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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