Bug 1805059 - Packages are not updating on RHEL 8 content host from Satellite 6.7 using katello-agent.
Summary: Packages are not updating on RHEL 8 content host from Satellite 6.7 using k...
Keywords:
Status: CLOSED DUPLICATE of bug 1782352
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: katello-agent
Version: 6.7.0
Hardware: x86_64
OS: Linux
medium
high
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Radovan Drazny
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-02-20 07:47 UTC by Kshitij
Modified: 2020-03-02 17:43 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-02 17:43:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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 ***


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