Bug 1840364
| Summary: | ERROR:dbus.proxies:Introspect error on :1.1185298:/EntitlementStatus: dbus.exceptions.DBusException | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | John Sefler <jsefler> |
| Component: | subscription-manager | Assignee: | Jiri Hnidek <jhnidek> |
| Status: | CLOSED ERRATA | QA Contact: | Red Hat subscription-manager QE Team <rhsm-qe> |
| Severity: | high | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 8.3 | CC: | csnyder, jhnidek, jstavel, redakkan |
| Target Milestone: | rc | Keywords: | EasyFix, Regression, Triaged |
| Target Release: | 8.3 | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | subscription-manager-1.27.9-1 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-11-04 01:39:09 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: | |||
| Bug Blocks: | 1842946 | ||
|
Description
John Sefler
2020-05-26 19:21:06 UTC
I have verified, that it works in version - ie. no rhsmd dbus service anymore.
And no traceback appears after I register a system.
[root@kvm-08-guest16 ~]# rpm -qa | grep subscription
python3-subscription-manager-rhsm-1.27.9-1.git.0.189a976.el8.x86_64
dnf-plugin-subscription-manager-1.27.9-1.git.0.189a976.el8.x86_64
subscription-manager-rhsm-certificates-1.27.9-1.git.0.189a976.el8.x86_64
subscription-manager-1.27.9-1.git.0.189a976.el8.x86_64
root@kvm-08-guest16 ~]# systemctl status dbus.service
● dbus.service - D-Bus System Message Bus
Loaded: loaded (/usr/lib/systemd/system/dbus.service; static; vendor preset: disabled)
Active: active (running) since Thu 2020-07-02 13:43:26 EDT; 1h 19min left
Docs: man:dbus-daemon(1)
Main PID: 822 (dbus-daemon)
Tasks: 2 (limit: 23960)
Memory: 3.8M
CGroup: /system.slice/dbus.service
└─822 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
Jul 02 12:16:02 kvm-08-guest16.hv2.lab.eng.bos.redhat.com dbus-daemon[19351]: [system] Failed to reset fd limit before activating service: org.freedesktop.DBus.Error.AccessDenied: Failed to restore old fd limit: Operation n>
Jul 02 12:16:02 kvm-08-guest16.hv2.lab.eng.bos.redhat.com dbus-daemon[822]: [system] Successfully activated service 'com.redhat.SubscriptionManager'
Jul 02 12:16:06 kvm-08-guest16.hv2.lab.eng.bos.redhat.com dbus-daemon[822]: [system] Activating service name='com.redhat.SubscriptionManager' requested by ':1.53' (uid=0 pid=19356 comm="/usr/libexec/platform-python /usr/sbi>
Jul 02 12:16:06 kvm-08-guest16.hv2.lab.eng.bos.redhat.com dbus-daemon[19359]: [system] Failed to reset fd limit before activating service: org.freedesktop.DBus.Error.AccessDenied: Failed to restore old fd limit: Operation n>
Jul 02 12:16:06 kvm-08-guest16.hv2.lab.eng.bos.redhat.com dbus-daemon[822]: [system] Successfully activated service 'com.redhat.SubscriptionManager'
Jul 02 12:20:07 kvm-08-guest16.hv2.lab.eng.bos.redhat.com dbus-daemon[822]: [system] Reloaded configuration
Jul 02 12:20:07 kvm-08-guest16.hv2.lab.eng.bos.redhat.com dbus-daemon[822]: [system] Reloaded configuration
Jul 02 12:20:08 kvm-08-guest16.hv2.lab.eng.bos.redhat.com dbus-daemon[822]: [system] Reloaded configuration
Jul 02 12:20:08 kvm-08-guest16.hv2.lab.eng.bos.redhat.com dbus-daemon[822]: [system] Reloaded configuration
Jul 02 12:20:08 kvm-08-guest16.hv2.lab.eng.bos.redhat.com dbus-daemon[822]: [system] Reloaded configuration
I have used our repo build in our rhsm-qe jenkins job. Verifying upgrade from subscription-manager-1.26.16-1.el8 on RHEL-8.2 to subscription-manager-1.27.10-1.el8 on RHEL-8.3...
[root@kvm-08-guest15 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux release 8.2 (Ootpa)
[root@kvm-08-guest15 ~]# subscription-manager version
server type: This system is currently not registered.
subscription management server: 3.1.16-1
subscription management rules: 5.40
subscription-manager: 1.26.16-1.el8
[root@kvm-08-guest15 ~]#
[root@kvm-08-guest15 ~]# subscription-manager identity
This system is not yet registered. Try 'subscription-manager register --help' for more information.
[root@kvm-08-guest15 ~]#
[root@kvm-08-guest15 ~]# systemctl status dbus.service
● dbus.service - D-Bus System Message Bus
Loaded: loaded (/usr/lib/systemd/system/dbus.service; static; vendor preset: disabled)
Active: active (running) since Mon 2020-07-20 14:31:24 EDT; 3h 17min left
Docs: man:dbus-daemon(1)
Main PID: 838 (dbus-daemon)
Tasks: 3 (limit: 23960)
Memory: 31.1M
CGroup: /system.slice/dbus.service
├─ 838 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
└─16076 /usr/libexec/platform-python /usr/libexec/rhsmd
Jul 20 10:32:02 kvm-08-guest15.hv2.lab.eng.bos.redhat.com dbus-daemon[838]: [system] Reloaded configuration
Jul 20 10:47:15 kvm-08-guest15.hv2.lab.eng.bos.redhat.com dbus-daemon[838]: [system] Activating service name='com.redhat.SubscriptionManager' requested by ':1.39' (uid=0 pid=15>
Jul 20 10:47:15 kvm-08-guest15.hv2.lab.eng.bos.redhat.com dbus-daemon[15320]: [system] Failed to reset fd limit before activating service: org.freedesktop.DBus.Error.AccessDeni>
Jul 20 10:47:16 kvm-08-guest15.hv2.lab.eng.bos.redhat.com dbus-daemon[838]: [system] Successfully activated service 'com.redhat.SubscriptionManager'
Jul 20 11:10:57 kvm-08-guest15.hv2.lab.eng.bos.redhat.com dbus-daemon[838]: [system] Activating service name='com.redhat.SubscriptionManager' requested by ':1.49' (uid=0 pid=16>
Jul 20 11:10:57 kvm-08-guest15.hv2.lab.eng.bos.redhat.com dbus-daemon[16055]: [system] Failed to reset fd limit before activating service: org.freedesktop.DBus.Error.AccessDeni>
Jul 20 11:10:58 kvm-08-guest15.hv2.lab.eng.bos.redhat.com dbus-daemon[838]: [system] Successfully activated service 'com.redhat.SubscriptionManager'
Jul 20 11:11:23 kvm-08-guest15.hv2.lab.eng.bos.redhat.com dbus-daemon[838]: [system] Activating service name='com.redhat.SubscriptionManager' requested by ':1.53' (uid=0 pid=16>
Jul 20 11:11:23 kvm-08-guest15.hv2.lab.eng.bos.redhat.com dbus-daemon[16076]: [system] Failed to reset fd limit before activating service: org.freedesktop.DBus.Error.AccessDeni>
Jul 20 11:11:23 kvm-08-guest15.hv2.lab.eng.bos.redhat.com dbus-daemon[838]: [system] Successfully activated service 'com.redhat.SubscriptionManager'
[root@kvm-08-guest15 ~]#
Now upgrade subscription-manager (using a nightly RHEL8.3 beaker repo for the upgrade)
[root@kvm-08-guest15 ~]# yum update subscription-manager* --enablerepo=beaker*
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Last metadata expiration check: 0:00:51 ago on Mon 20 Jul 2020 11:18:31 AM EDT.
Dependencies resolved.
====================================================================================================
Package Arch Version Repository Size
====================================================================================================
Upgrading:
dnf-plugin-subscription-manager x86_64 1.27.10-1.el8 beaker-BaseOS 285 k
python3-subscription-manager-rhsm x86_64 1.27.10-1.el8 beaker-BaseOS 357 k
subscription-manager x86_64 1.27.10-1.el8 beaker-BaseOS 1.1 M
subscription-manager-rhsm-certificates x86_64 1.27.10-1.el8 beaker-BaseOS 258 k
Transaction Summary
====================================================================================================
Upgrade 4 Packages
Total download size: 2.0 M
Is this ok [y/N]: y
Downloading Packages:
(1/4): dnf-plugin-subscription-manager-1.27.10-1.el8.x86_64.rpm 15 MB/s | 285 kB 00:00
(2/4): python3-subscription-manager-rhsm-1.27.10-1.el8.x86_64.rpm 18 MB/s | 357 kB 00:00
(3/4): subscription-manager-1.27.10-1.el8.x86_64.rpm 33 MB/s | 1.1 MB 00:00
(4/4): subscription-manager-rhsm-certificates-1.27.10-1.el8.x86_64. 15 MB/s | 258 kB 00:00
----------------------------------------------------------------------------------------------------
Total 54 MB/s | 2.0 MB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Running scriptlet: subscription-manager-rhsm-certificates-1.27.10-1.el8.x86_64 1/1
Upgrading : subscription-manager-rhsm-certificates-1.27.10-1.el8.x86_64 1/8
Upgrading : python3-subscription-manager-rhsm-1.27.10-1.el8.x86_64 2/8
Upgrading : dnf-plugin-subscription-manager-1.27.10-1.el8.x86_64 3/8
Upgrading : subscription-manager-1.27.10-1.el8.x86_64 4/8
Running scriptlet: subscription-manager-1.27.10-1.el8.x86_64 4/8
Running scriptlet: subscription-manager-1.26.16-1.el8.x86_64 5/8
Cleanup : subscription-manager-1.26.16-1.el8.x86_64 5/8
Running scriptlet: subscription-manager-1.26.16-1.el8.x86_64 5/8
Cleanup : python3-subscription-manager-rhsm-1.26.16-1.el8.x86_64 6/8
Cleanup : subscription-manager-rhsm-certificates-1.26.16-1.el8.x86_64 7/8
Cleanup : dnf-plugin-subscription-manager-1.26.16-1.el8.x86_64 8/8
Running scriptlet: dnf-plugin-subscription-manager-1.26.16-1.el8.x86_64 8/8
Verifying : dnf-plugin-subscription-manager-1.27.10-1.el8.x86_64 1/8
Verifying : dnf-plugin-subscription-manager-1.26.16-1.el8.x86_64 2/8
Verifying : python3-subscription-manager-rhsm-1.27.10-1.el8.x86_64 3/8
Verifying : python3-subscription-manager-rhsm-1.26.16-1.el8.x86_64 4/8
Verifying : subscription-manager-1.27.10-1.el8.x86_64 5/8
Verifying : subscription-manager-1.26.16-1.el8.x86_64 6/8
Verifying : subscription-manager-rhsm-certificates-1.27.10-1.el8.x86_64 7/8
Verifying : subscription-manager-rhsm-certificates-1.26.16-1.el8.x86_64 8/8
Installed products updated.
Upgraded:
dnf-plugin-subscription-manager-1.27.10-1.el8.x86_64
python3-subscription-manager-rhsm-1.27.10-1.el8.x86_64
subscription-manager-1.27.10-1.el8.x86_64
subscription-manager-rhsm-certificates-1.27.10-1.el8.x86_64
Complete!
[root@kvm-08-guest15 ~]# systemctl status dbus.service
● dbus.service - D-Bus System Message Bus
Loaded: loaded (/usr/lib/systemd/system/dbus.service; static; vendor preset: disabled)
Active: active (running) since Mon 2020-07-20 14:31:24 EDT; 3h 11min left
Docs: man:dbus-daemon(1)
Main PID: 838 (dbus-daemon)
Tasks: 2 (limit: 23960)
Memory: 4.1M
CGroup: /system.slice/dbus.service
└─838 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-ac>
Jul 20 11:10:57 kvm-08-guest15.hv2.lab.eng.bos.redhat.com dbus-daemon[16055]: [system] Failed to re>
Jul 20 11:10:58 kvm-08-guest15.hv2.lab.eng.bos.redhat.com dbus-daemon[838]: [system] Successfully a>
Jul 20 11:11:23 kvm-08-guest15.hv2.lab.eng.bos.redhat.com dbus-daemon[838]: [system] Activating ser>
Jul 20 11:11:23 kvm-08-guest15.hv2.lab.eng.bos.redhat.com dbus-daemon[16076]: [system] Failed to re>
Jul 20 11:11:23 kvm-08-guest15.hv2.lab.eng.bos.redhat.com dbus-daemon[838]: [system] Successfully a>
Jul 20 11:19:30 kvm-08-guest15.hv2.lab.eng.bos.redhat.com dbus-daemon[838]: [system] Reloaded confi>
Jul 20 11:19:30 kvm-08-guest15.hv2.lab.eng.bos.redhat.com dbus-daemon[838]: [system] Reloaded confi>
Jul 20 11:19:31 kvm-08-guest15.hv2.lab.eng.bos.redhat.com dbus-daemon[838]: [system] Reloaded confi>
Jul 20 11:19:31 kvm-08-guest15.hv2.lab.eng.bos.redhat.com dbus-daemon[838]: [system] Reloaded confi>
Jul 20 11:19:31 kvm-08-guest15.hv2.lab.eng.bos.redhat.com dbus-daemon[838]: [system] Reloaded confi>
[root@kvm-08-guest15 ~]#
VERIFIED: The running /usr/libexec/rhsmd process was killed as part of the upgrade.
[root@kvm-08-guest15 ~]# subscription-manager register --serverurl=subscription.rhsm.stage.redhat.com --username=stage_auto_testuser
Registering to: subscription.rhsm.stage.redhat.com:443/subscription
Password:
The system has been registered with ID: 983068f8-22e4-4a11-9050-28fc670bdae8
The registered system name is: kvm-08-guest15.hv2.lab.eng.bos.redhat.com
[root@kvm-08-guest15 ~]#
[root@kvm-08-guest15 ~]# rpm -q subscription-manager --changelog | grep 1840364
- 1840364: Kill rhsmd during post-install on rhel8
[root@kvm-08-guest15 ~]#
VERIFIED: Registration after the upgrade succeeds without a traceback for org.freedesktop.DBus.Error.AccessDenied
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 (subscription-manager bug fix and enhancement update), 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:4460 |