Bug 1750546
Summary: | Got "TypeError: object of type 'NoneType' has no len()" error when applying errata from WebUI for RHEL 8 | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Ganesh Payelkar <gpayelka> |
Component: | subscription-manager | Assignee: | candlepin-bugs |
Status: | CLOSED ERRATA | QA Contact: | Red Hat subscription-manager QE Team <rhsm-qe> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 8.0 | CC: | bbuckingham, cdonnell, csnyder, jhnidek, wchadwic, yvan.broccard |
Target Milestone: | rc | Keywords: | Regression, Triaged |
Target Release: | 8.2 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | subscription-manager-1.26.5-1 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-04-28 16:54: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: | |||
Bug Depends On: | 1720639 | ||
Bug Blocks: |
Description
Ganesh Payelkar
2019-09-09 20:56:06 UTC
Can I see the entire dnf log as well as the /var/log/rhsm/rhsm.log from the time the errata was applied? These will help in determining the proper solution. Thank you! Verifying against RHEL 8.2 Snapshot 3.0 with subscription-manager-1.26.14-1.el8.x86_64: [root@dhcp-8-30-97 ~]# cat /etc/redhat-release Red Hat Enterprise Linux release 8.2 Beta (Ootpa) [root@dhcp-8-30-97 ~]# rpm -q redhat-release redhat-release-8.2-0.9.el8.x86_64 [root@dhcp-8-30-97 ~]# rpm -q subscription-manager subscription-manager-1.26.14-1.el8.x86_64 [root@dhcp-8-30-97 ~]# rpm -qa | grep selinux | sort libselinux-2.9-3.el8.x86_64 libselinux-utils-2.9-3.el8.x86_64 python3-libselinux-2.9-3.el8.x86_64 rpm-plugin-selinux-4.14.2-37.el8.x86_64 selinux-policy-3.14.3-40.el8.noarch selinux-policy-targeted-3.14.3-40.el8.noarch [root@dhcp-8-30-97 ~]# rpm -Uvh http://sat66.com/pub/katello-ca-consumer-latest.noarch.rpm Retrieving http://sat66.com/pub/katello-ca-consumer-latest.noarch.rpm Verifying... ################################# [100%] Preparing... ################################# [100%] Updating / installing... 1:katello-ca-consumer-sat66.use################################# [100%] [root@dhcp-8-30-97 ~]# subscription-manager register Registering to: sat66.com:443/rhsm Username: admin Password: The system has been registered with ID: 8cc2d140-2b68-49cf-845a-d172c35e3595 The registered system name is: dhcp-8-30-97-.com [root@dhcp-8-30-97 ~]# subscription-manager attach --auto Installed Product Current Status: Product Name: Red Hat Enterprise Linux for x86_64 Status: Subscribed [root@dhcp-8-30-97 ~]# subscription-manager repos --enable satellite-tools-6.6-for-rhel-8-x86_64-rpms Repository 'satellite-tools-6.6-for-rhel-8-x86_64-rpms' is enabled for this system. [root@dhcp-8-30-97 ~]# yum list katello-agent Updating Subscription Management repositories. Red Hat Satellite Tools 6.6 for RHEL 8 x86_64 (RPMs) 564 kB/s | 147 kB 00:00 Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs) 31 MB/s | 14 MB 00:00 Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs) 30 MB/s | 14 MB 00:00 Available Packages katello-agent.noarch 3.5.1-2.el8sat satellite-tools-6.6-for-rhel-8-x86_64-rpms ==== [root@dhcp-8-30-97 ~]# yum install katello-agent -y Updating Subscription Management repositories. Red Hat Satellite Tools 6.6 for RHEL 8 x86_64 (RPMs) 25 kB/s | 2.1 kB 00:00 Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs) 30 kB/s | 2.4 kB 00:00 Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs) 33 kB/s | 2.8 kB 00:00 Dependencies resolved. ============================================================================================================================================================= Package Architecture Version Repository Size ============================================================================================================================================================= Installing: katello-agent noarch 3.5.1-2.el8sat satellite-tools-6.6-for-rhel-8-x86_64-rpms 46 k Installing dependencies: gofer noarch 2.12.5-5.el8sat satellite-tools-6.6-for-rhel-8-x86_64-rpms 56 k katello-host-tools noarch 3.5.1-2.el8sat satellite-tools-6.6-for-rhel-8-x86_64-rpms 35 k python2 x86_64 2.7.16-12.module+el8.1.0+4148+33a50073 rhel-8-for-x86_64-appstream-rpms 109 k python2-gofer noarch 2.12.5-5.el8sat satellite-tools-6.6-for-rhel-8-x86_64-rpms 198 k python2-libs x86_64 2.7.16-12.module+el8.1.0+4148+33a50073 rhel-8-for-x86_64-appstream-rpms 6.0 M python2-pip-wheel noarch 9.0.3-14.module+el8.1.0+3446+c3d52da3 rhel-8-for-x86_64-appstream-rpms 1.2 M python2-setuptools-wheel noarch 39.0.1-11.module+el8.1.0+3446+c3d52da3 rhel-8-for-x86_64-appstream-rpms 289 k python2-six noarch 1.11.0-5.module+el8.1.0+3111+de3f2d8e rhel-8-for-x86_64-appstream-rpms 38 k python3-gofer noarch 2.12.5-5.el8sat satellite-tools-6.6-for-rhel-8-x86_64-rpms 202 k python3-gofer-proton noarch 2.12.5-5.el8sat satellite-tools-6.6-for-rhel-8-x86_64-rpms 63 k python3-pip noarch 9.0.3-15.el8 rhel-8-for-x86_64-appstream-rpms 19 k python3-qpid-proton x86_64 0.28.0-2.el8 satellite-tools-6.6-for-rhel-8-x86_64-rpms 358 k python3-setuptools noarch 39.2.0-5.el8 rhel-8-for-x86_64-baseos-rpms 163 k python36 x86_64 3.6.8-2.module+el8.1.0+3334+5cb623d7 rhel-8-for-x86_64-appstream-rpms 19 k qpid-proton-c x86_64 0.28.0-2.el8 satellite-tools-6.6-for-rhel-8-x86_64-rpms 195 k Installing weak dependencies: python2-pip noarch 9.0.3-14.module+el8.1.0+3446+c3d52da3 rhel-8-for-x86_64-appstream-rpms 2.0 M python2-setuptools noarch 39.0.1-11.module+el8.1.0+3446+c3d52da3 rhel-8-for-x86_64-appstream-rpms 643 k Downgrading: platform-python-pip noarch 9.0.3-15.el8 rhel-8-for-x86_64-baseos-rpms 1.8 M Enabling module streams: python27 2.7 python36 3.6 Transaction Summary ============================================================================================================================================================= Install 18 Packages Downgrade 1 Package Total download size: 13 M Downloading Packages: (1/19): platform-python-pip-9.0.3-15.el8.noarch.rpm 1.0 MB/s | 1.8 MB 00:01 (2/19): python3-gofer-2.12.5-5.el8sat.noarch.rpm 108 kB/s | 202 kB 00:01 (3/19): katello-agent-3.5.1-2.el8sat.noarch.rpm 24 kB/s | 46 kB 00:01 (4/19): gofer-2.12.5-5.el8sat.noarch.rpm 74 kB/s | 56 kB 00:00 (5/19): katello-host-tools-3.5.1-2.el8sat.noarch.rpm 51 kB/s | 35 kB 00:00 (6/19): python2-gofer-2.12.5-5.el8sat.noarch.rpm 261 kB/s | 198 kB 00:00 (7/19): python3-gofer-proton-2.12.5-5.el8sat.noarch.rpm 112 kB/s | 63 kB 00:00 (8/19): python3-setuptools-39.2.0-5.el8.noarch.rpm 632 kB/s | 163 kB 00:00 (9/19): python3-qpid-proton-0.28.0-2.el8.x86_64.rpm 465 kB/s | 358 kB 00:00 (10/19): qpid-proton-c-0.28.0-2.el8.x86_64.rpm 252 kB/s | 195 kB 00:00 (11/19): python36-3.6.8-2.module+el8.1.0+3334+5cb623d7.x86_64.rpm 74 kB/s | 19 kB 00:00 (12/19): python2-setuptools-wheel-39.0.1-11.module+el8.1.0+3446+c3d52da3.noarch.rpm 1.0 MB/s | 289 kB 00:00 (13/19): python2-pip-wheel-9.0.3-14.module+el8.1.0+3446+c3d52da3.noarch.rpm 3.4 MB/s | 1.2 MB 00:00 (14/19): python2-six-1.11.0-5.module+el8.1.0+3111+de3f2d8e.noarch.rpm 70 kB/s | 38 kB 00:00 (15/19): python3-pip-9.0.3-15.el8.noarch.rpm 77 kB/s | 19 kB 00:00 (16/19): python2-2.7.16-12.module+el8.1.0+4148+33a50073.x86_64.rpm 376 kB/s | 109 kB 00:00 (17/19): python2-libs-2.7.16-12.module+el8.1.0+4148+33a50073.x86_64.rpm 8.7 MB/s | 6.0 MB 00:00 (18/19): python2-setuptools-39.0.1-11.module+el8.1.0+3446+c3d52da3.noarch.rpm 1.9 MB/s | 643 kB 00:00 (19/19): python2-pip-9.0.3-14.module+el8.1.0+3446+c3d52da3.noarch.rpm 3.3 MB/s | 2.0 MB 00:00 ------------------------------------------------------------------------------------------------------------------------------------------------------------- Total 2.8 MB/s | 13 MB 00:04 warning: /var/cache/dnf/rhel-8-for-x86_64-baseos-rpms-df203a69e7d051e4/packages/platform-python-pip-9.0.3-15.el8.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs) 1.6 MB/s | 5.0 kB 00:00 Importing GPG key 0xFD431D51: Userid : "Red Hat, Inc. (release key 2) <security>" Fingerprint: 567E 347A D004 4ADE 55BA 8A5F 199E 2F91 FD43 1D51 From : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release Key imported successfully Importing GPG key 0xD4082792: Userid : "Red Hat, Inc. (auxiliary key) <security>" Fingerprint: 6A6A A7C9 7C88 90AE C6AE BFE2 F76F 66C3 D408 2792 From : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release Key imported successfully Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : python2-pip-wheel-9.0.3-14.module+el8.1.0+3446+c3d52da3.noarch 1/20 Installing : python2-setuptools-wheel-39.0.1-11.module+el8.1.0+3446+c3d52da3.noarch 2/20 Installing : python2-setuptools-39.0.1-11.module+el8.1.0+3446+c3d52da3.noarch 3/20 Installing : python2-pip-9.0.3-14.module+el8.1.0+3446+c3d52da3.noarch 4/20 Installing : python2-2.7.16-12.module+el8.1.0+4148+33a50073.x86_64 5/20 Running scriptlet: python2-2.7.16-12.module+el8.1.0+4148+33a50073.x86_64 5/20 Installing : python2-libs-2.7.16-12.module+el8.1.0+4148+33a50073.x86_64 6/20 Installing : python2-six-1.11.0-5.module+el8.1.0+3111+de3f2d8e.noarch 7/20 Installing : python2-gofer-2.12.5-5.el8sat.noarch 8/20 Installing : gofer-2.12.5-5.el8sat.noarch 9/20 Running scriptlet: gofer-2.12.5-5.el8sat.noarch 9/20 Installing : python3-setuptools-39.2.0-5.el8.noarch 10/20 Installing : qpid-proton-c-0.28.0-2.el8.x86_64 11/20 Running scriptlet: qpid-proton-c-0.28.0-2.el8.x86_64 11/20 Installing : katello-host-tools-3.5.1-2.el8sat.noarch 12/20 Installing : python3-gofer-2.12.5-5.el8sat.noarch 13/20 Downgrading : platform-python-pip-9.0.3-15.el8.noarch 14/20 Installing : python36-3.6.8-2.module+el8.1.0+3334+5cb623d7.x86_64 15/20 Running scriptlet: python36-3.6.8-2.module+el8.1.0+3334+5cb623d7.x86_64 15/20 Installing : python3-pip-9.0.3-15.el8.noarch 16/20 Installing : python3-qpid-proton-0.28.0-2.el8.x86_64 17/20 Installing : python3-gofer-proton-2.12.5-5.el8sat.noarch 18/20 Installing : katello-agent-3.5.1-2.el8sat.noarch 19/20 Running scriptlet: katello-agent-3.5.1-2.el8sat.noarch 19/20 Created symlink /etc/systemd/system/multi-user.target.wants/goferd.service → /usr/lib/systemd/system/goferd.service. Cleanup : platform-python-pip-9.0.3-16.el8.noarch 20/20 Running scriptlet: katello-host-tools-3.5.1-2.el8sat.noarch 20/20 Running scriptlet: platform-python-pip-9.0.3-16.el8.noarch 20/20 Verifying : platform-python-pip-9.0.3-15.el8.noarch 1/20 Verifying : platform-python-pip-9.0.3-16.el8.noarch 2/20 Verifying : python3-gofer-2.12.5-5.el8sat.noarch 3/20 Verifying : katello-agent-3.5.1-2.el8sat.noarch 4/20 Verifying : gofer-2.12.5-5.el8sat.noarch 5/20 Verifying : python2-gofer-2.12.5-5.el8sat.noarch 6/20 Verifying : katello-host-tools-3.5.1-2.el8sat.noarch 7/20 Verifying : python3-gofer-proton-2.12.5-5.el8sat.noarch 8/20 Verifying : python3-qpid-proton-0.28.0-2.el8.x86_64 9/20 Verifying : qpid-proton-c-0.28.0-2.el8.x86_64 10/20 Verifying : python3-setuptools-39.2.0-5.el8.noarch 11/20 Verifying : python2-setuptools-wheel-39.0.1-11.module+el8.1.0+3446+c3d52da3.noarch 12/20 Verifying : python36-3.6.8-2.module+el8.1.0+3334+5cb623d7.x86_64 13/20 Verifying : python2-six-1.11.0-5.module+el8.1.0+3111+de3f2d8e.noarch 14/20 Verifying : python2-libs-2.7.16-12.module+el8.1.0+4148+33a50073.x86_64 15/20 Verifying : python2-pip-wheel-9.0.3-14.module+el8.1.0+3446+c3d52da3.noarch 16/20 Verifying : python3-pip-9.0.3-15.el8.noarch 17/20 Verifying : python2-2.7.16-12.module+el8.1.0+4148+33a50073.x86_64 18/20 Verifying : python2-setuptools-39.0.1-11.module+el8.1.0+3446+c3d52da3.noarch 19/20 Verifying : python2-pip-9.0.3-14.module+el8.1.0+3446+c3d52da3.noarch 20/20 Installed products updated. Downgraded: platform-python-pip-9.0.3-15.el8.noarch Installed: gofer-2.12.5-5.el8sat.noarch katello-agent-3.5.1-2.el8sat.noarch katello-host-tools-3.5.1-2.el8sat.noarch python2-2.7.16-12.module+el8.1.0+4148+33a50073.x86_64 python2-gofer-2.12.5-5.el8sat.noarch python2-libs-2.7.16-12.module+el8.1.0+4148+33a50073.x86_64 python2-pip-9.0.3-14.module+el8.1.0+3446+c3d52da3.noarch python2-pip-wheel-9.0.3-14.module+el8.1.0+3446+c3d52da3.noarch python2-setuptools-39.0.1-11.module+el8.1.0+3446+c3d52da3.noarch python2-setuptools-wheel-39.0.1-11.module+el8.1.0+3446+c3d52da3.noarch python2-six-1.11.0-5.module+el8.1.0+3111+de3f2d8e.noarch python3-gofer-2.12.5-5.el8sat.noarch python3-gofer-proton-2.12.5-5.el8sat.noarch python3-pip-9.0.3-15.el8.noarch python3-qpid-proton-0.28.0-2.el8.x86_64 python3-setuptools-39.2.0-5.el8.noarch python36-3.6.8-2.module+el8.1.0+3334+5cb623d7.x86_64 qpid-proton-c-0.28.0-2.el8.x86_64 Complete! [root@dhcp-8-30-97 ~]# yum check-update Updating Subscription Management repositories. Red Hat Satellite Tools 6.6 for RHEL 8 x86_64 (RPMs) 30 kB/s | 2.1 kB 00:00 Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs) 33 kB/s | 2.4 kB 00:00 Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs) 40 kB/s | 2.8 kB 00:00 openldap.x86_64 2.4.46-11.el8_1 rhel-8-for-x86_64-baseos-rpms rhnsd.x86_64 5.0.35-3.module+el8+2754+6a08e8f4 rhel-8-for-x86_64-appstream-rpms >> Going into Satellite 6.6 UI to trigger errata application against openldap package (Errata RHBA-2020:0341). >> Logs from the katello-agent errata run: ==> /var/log/rhsm/rhsm.log <== 2020-03-18 09:27:50,086 [INFO] goferd:16127:worker-0 @connection.py:905 - Connection built: host=sat66.com port=443 handler=/rhsm auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False 2020-03-18 09:27:50,087 [INFO] goferd:16127:worker-0 @connection.py:905 - Connection built: host=sat66.com port=443 handler=/rhsm auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False 2020-03-18 09:27:50,218 [INFO] goferd:16127:worker-0 @entcertlib.py:131 - certs updated: Total updates: 0 Found (local) serial# [7227948937495117725] Expected (UEP) serial# [7227948937495117725] Added (new) <NONE> Deleted (rogue): <NONE> ==> /var/log/hawkey.log <== INFO Mar-18 09:27:50 === Started libdnf-0.39.1 === INFO Mar-18 09:27:54 === Started libdnf-0.39.1 === INFO Mar-18 09:27:55 === Started libdnf-0.39.1 === ==> /var/log/rhsm/rhsm.log <== 2020-03-18 09:27:55,352 [WARNING] goferd:16127:worker-0 @logutil.py:154 - logging already initialized ==> /var/log/hawkey.log <== INFO Mar-18 09:27:55 === Started libdnf-0.39.1 === ==> /var/log/rhsm/rhsm.log <== 2020-03-18 09:27:55,548 [INFO] goferd:16127:worker-0 @connection.py:905 - Connection built: host=sat66.com port=443 handler=/rhsm auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False ==> /var/log/hawkey.log <== INFO Mar-18 09:27:55 === Started libdnf-0.39.1 === >> Checking selinux alerts: # ausearch -m avc -m user_avc -i -ts today -- >> No AVCs. [root@dhcp-8-30-97 ~]# date Wed Mar 18 09:33:49 EDT 2020 >> No Errors for RHSM in dnf.log: [root@dhcp-8-30-97 ~]# grep -e Unknown -e CRITICAL /var/log/dnf.log -A5 2020-03-18T13:21:25Z CRITICAL Importing GPG key 0xFD431D51: Userid : "Red Hat, Inc. (release key 2) <security>" Fingerprint: 567E 347A D004 4ADE 55BA 8A5F 199E 2F91 FD43 1D51 From : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release 2020-03-18T13:21:25Z INFO Key imported successfully 2020-03-18T13:21:25Z CRITICAL Importing GPG key 0xD4082792: Userid : "Red Hat, Inc. (auxiliary key) <security>" Fingerprint: 6A6A A7C9 7C88 90AE C6AE BFE2 F76F 66C3 D408 2792 From : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release 2020-03-18T13:21:25Z INFO Key imported successfully 2020-03-18T13:21:25Z INFO Running transaction check >> VERIFIED. 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, 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-2020:1849 |