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 1719203

Summary: Errata install via katello-agent fails on rhel8 content host
Product: Red Hat Satellite Reporter: vkaushik
Component: katello-agentAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: vkaushik
Severity: high Docs Contact:
Priority: high    
Version: 6.6.0CC: mmccune, sghai, vijsingh
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-13 11:50:53 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 vkaushik 2019-06-11 09:58:28 UTC
Created attachment 1579305 [details]
RHEL8 content host logs

Description of problem:
Errata install via katello-agent fails on Satellite 6 content host


Version-Release number of selected component (if applicable):
Satellite version - 6.6.0 snap 6
katello-agent version - 3.5.0-2.el8sat.noarch


How reproducible:
Always


Steps to Reproduce:
1. Select a RHEL8 content host and click on errata.
2. Select an installable errata and apply it via katello-agent.
3. Observe the result on satellite WebUI.


Actual results:
Installation progress shows message "No new packages installed" with result: success.
Errata installation fails.


Expected results:
Errata should be installed successfully.


Additional info:
Manual updation of same package is successful via CLI on RHEL8 content host.

Comment 5 vkaushik 2019-06-11 12:21:45 UTC
Traceback occurred during errata install on the RHEL8 host (var/log/messages):
------------------------------------------------------------------------------

Jun 11 02:37:28 intel-sharkbay-dh-02 goferd[15862]: [DDEBUG][worker-0] dnf:187 - timer: loading comps: 28 ms
Jun 11 02:37:29 intel-sharkbay-dh-02 env[28154]: Traceback (most recent call last):
Jun 11 02:37:29 intel-sharkbay-dh-02 env[28154]:  File "/usr/lib/python3.6/site-packages/dnf/plugin.py", line 102, in _caller
Jun 11 02:37:29 intel-sharkbay-dh-02 env[28154]:    getattr(plugin, method)()
Jun 11 02:37:29 intel-sharkbay-dh-02 env[28154]:  File "/usr/lib/python3.6/site-packages/dnf-plugins/product-id.py", line 59, in transaction
Jun 11 02:37:29 intel-sharkbay-dh-02 env[28154]:    if len(self.base.transaction) == 0:
Jun 11 02:37:29 intel-sharkbay-dh-02 env[28154]: TypeError: object of type 'NoneType' has no len()
Jun 11 02:37:29 intel-sharkbay-dh-02 goferd[15862]: [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()

Comment 6 Sachin Ghai 2019-06-13 11:50:53 UTC

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