Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite 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 "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. 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 "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-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 1805059

Summary: Packages are not updating on RHEL 8 content host from Satellite 6.7 using katello-agent.
Product: Red Hat Satellite Reporter: Kshitij <kupadhya>
Component: katello-agentAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Radovan Drazny <rdrazny>
Severity: high Docs Contact:
Priority: medium    
Version: 6.7.0   
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-02 17:43:00 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 Kshitij 2020-02-20 07:47:40 UTC
Description of problem:

The packages update on RHEL 8 host from Satellite Web UI using katello-agent is failing.

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

Satellite Version 6.7(beta)

How reproducible:


1.) Create a host collection on Satellite Web UI and add RHEL 8 host in the same.

2.)  On Satellite web UI >> Host >> Host Collections >> Click on the Host Collections >> From the Actions tab  Select "Package Installation, Removal, and Update" >> Select Update all Package.

3.)  A task will be generated on the Satellite server and will be completed successfully but no package will be updated on the client.



Actual results:

- No package got updated on RHEL 8 host.

Expected results:

-  All packages should be updated on RHEL8 content host


Additional info:

The following errors are observed on the RHEL 8 hosts /var/log/messages.

===
Feb 20 02:00:34 vm251-92 goferd[26062]: [INFO][worker-0] dnf.plugin:82 - Updating Subscription Management repositories.
Feb 20 02:01:34 vm251-92 goferd[26062]: [DDEBUG][worker-0] dnf:187 - timer: sack setup: 10765 ms
Feb 20 02:01:34 vm251-92 goferd[26062]: [DDEBUG][worker-0] dnf:574 - Getting group metadata
Feb 20 02:01:34 vm251-92 goferd[26062]: [DDEBUG][worker-0] dnf:585 - Adding group file from repository: rhel-8-for-x86_64-appstream-rpms
Feb 20 02:01:34 vm251-92 goferd[26062]: [DDEBUG][worker-0] dnf:585 - Adding group file from repository: rhel-8-for-x86_64-baseos-rpms
Feb 20 02:01:34 vm251-92 goferd[26062]: [DDEBUG][worker-0] dnf:585 - Adding group file from repository: satellite-tools-6-beta-for-rhel-8-x86_64-rpms
Feb 20 02:01:34 vm251-92 goferd[26062]: [DDEBUG][worker-0] dnf:187 - timer: loading comps: 74 ms
Feb 20 02:01:34 vm251-92 env[26042]: Traceback (most recent call last):
Feb 20 02:01:34 vm251-92 env[26042]:  File "/usr/lib/python3.6/site-packages/dnf/plugin.py", line 102, in _caller
Feb 20 02:01:34 vm251-92 env[26042]:    getattr(plugin, method)()
Feb 20 02:01:34 vm251-92 env[26042]:  File "/usr/lib/python3.6/site-packages/dnf-plugins/product-id.py", line 59, in transaction
Feb 20 02:01:34 vm251-92 env[26042]:    if len(self.base.transaction) == 0:
Feb 20 02:01:34 vm251-92 env[26042]: TypeError: object of type 'NoneType' has no len()
Feb 20 02:01:34 vm251-92 goferd[26062]: [CRITICAL][worker-0] dnf:106 - Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/dnf/plugin.py", line 102, in _caller getattr(plugin, method)() File "/usr/lib/python3.6/site-packages/dnf-plugins/product-id.py", line 59, in transaction if len(self.base.transaction) == 0: TypeError: object of type 'NoneType' has no len()
Feb 20 02:01:34 vm251-92 goferd[26062]: [DDEBUG][worker-0] dnf:470 - Cleaning up.
===

Comment 3 Brad Buckingham 2020-02-26 13:09:17 UTC
This appears to be a duplicate of bug 1782352.  Can you take a quick look and confirm?  If so, we can close this one.

Comment 4 Kshitij 2020-03-02 11:18:34 UTC
Hello,

Yes it seems the root cause is same for both the Bugzilla's. Yes we can close this one.

Comment 5 Brad Buckingham 2020-03-02 17:43:00 UTC

*** This bug has been marked as a duplicate of bug 1782352 ***