Bug 1719203 - Errata install via katello-agent fails on rhel8 content host
Summary: Errata install via katello-agent fails on rhel8 content host
Keywords:
Status: CLOSED DUPLICATE of bug 1713417
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: katello-agent
Version: 6.6.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: vkaushik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-06-11 09:58 UTC by vkaushik
Modified: 2019-06-13 11:50 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-13 11:50:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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


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