Bug 2074228
Summary: | DBus error: The name com.redhat.SubscriptionManager was not provided by any .service files | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Jan Stavel <jstavel> | |
Component: | subscription-manager | Assignee: | Jiri Hnidek <jhnidek> | |
Status: | CLOSED ERRATA | QA Contact: | Red Hat subscription-manager QE Team <rhsm-qe> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 8.7 | CC: | jhnidek, jsefler, redakkan | |
Target Milestone: | rc | Keywords: | Triaged | |
Target Release: | 8.7 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | subscription-manager-1.28.30-1.el8 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 2078817 (view as bug list) | Environment: | ||
Last Closed: | 2022-11-08 10:48:23 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: | 2078817 |
Description
Jan Stavel
2022-04-11 19:35:11 UTC
I have started systemd service 'rhsm'. I have replied the scenario. The error "The name com.redhat.SubscriptionManager was not provided by any .service files" still appears. The systemd service did not crash after I finish the scenario. A list of messages appeared in dbus during the scenario run. method call time=1649753910.010430 sender=:1.2273 -> destination=org.freedesktop.DBus serial=1 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=Hello method return time=1649753910.010447 sender=org.freedesktop.DBus -> destination=:1.2273 serial=1 reply_serial=1 string ":1.2273" signal time=1649753910.010454 sender=org.freedesktop.DBus -> destination=(null destination) serial=4542 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged string ":1.2273" string "" string ":1.2273" signal time=1649753910.010463 sender=org.freedesktop.DBus -> destination=:1.2273 serial=128 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired string ":1.2273" method call time=1649753910.010948 sender=:1.2273 -> destination=org.freedesktop.DBus serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner string "com.redhat.SubscriptionManager" error time=1649753910.010976 sender=org.freedesktop.DBus -> destination=:1.2273 error_name=org.freedesktop.DBus.Error.NameHasNoOwner reply_serial=2 string "Could not get owner of name 'com.redhat.SubscriptionManager': no such name" method call time=1649753910.011337 sender=:1.2273 -> destination=org.freedesktop.DBus serial=3 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=StartServiceByName string "com.redhat.SubscriptionManager" uint32 0 error time=1649753910.011350 sender=org.freedesktop.DBus -> destination=:1.2273 error_name=org.freedesktop.DBus.Error.ServiceUnknown reply_serial=3 string "The name com.redhat.SubscriptionManager was not provided by any .service files" signal time=1649753911.570835 sender=:1.2267 -> destination=(null destination) serial=11 path=/com/redhat/RHSM1/Syspurpose; interface=com.redhat.RHSM1.Syspurpose; member=SyspurposeChanged signal time=1649753911.723011 sender=:1.2267 -> destination=(null destination) serial=12 path=/com/redhat/RHSM1/Syspurpose; interface=com.redhat.RHSM1.Syspurpose; member=SyspurposeChanged signal time=1649753912.872663 sender=:1.2267 -> destination=(null destination) serial=13 path=/com/redhat/RHSM1/Entitlement; interface=com.redhat.RHSM1.Entitlement; member=EntitlementChanged signal time=1649753913.070471 sender=:1.2267 -> destination=(null destination) serial=14 path=/com/redhat/RHSM1/Entitlement; interface=com.redhat.RHSM1.Entitlement; member=EntitlementChanged signal time=1649753916.301331 sender=org.freedesktop.DBus -> destination=:1.2273 serial=129 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost string ":1.2273" signal time=1649753916.301351 sender=org.freedesktop.DBus -> destination=(null destination) serial=4543 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged string ":1.2273" string ":1.2273" string "" The unused com.redhat.SubscriptionManager D-Bus interface was removed only in main with commit 599af9b3b487373a443d676fb0935a2ac800fffb, from the PR #2864 [1]. It should be easy to backport it to the subscription-manager-1.28 branch as well. [1] https://github.com/candlepin/subscription-manager/pull/2864 No error message appears in dbus. version of the package: "server type: Red Hat Subscription Management", "subscription management server: 3.2.22-1", "subscription management rules: 5.41", "subscription-manager: 1.28.29-1.git.25.680c90d.el8" a scenario I has played: - I have used stage candlepin. - dbus monitor in the second terminal busctl --system monitor - registration using activation key subscription-manager register --activationkey=MY_STAGE_KEY --org=13267397 > The system has been registered with ID: 67363d2a-d7bb-4cd4-a213-c759535c31f4 The registered system name is: kvm-01-guest08.lab.eng.brq.redhat.com Installed Product Current Status: Product Name: Red Hat Enterprise Linux for x86_64 Beta Status: Not Subscribed Unable to find available subscriptions for all your installed products. No message related SubscriptionManager appeared in the dbus monitor output. build version: RHEL-8.7.0-20220520.d.0 BaseOS x86_64 TASK [Version of installed subscription-manager] ******************************* ok: [hp-z600-02.ml3.eng.bos.redhat.com] => {} MSG: server type: This system is currently not registered. subscription management server: 3.2.22-1 subscription management rules: 5.41 subscription-manager: 1.28.30-1.el8 systemctl enable --now rhsm TASK [start a dbus monitor on background] ************************************** TASK [register a system using activation key] ********************************** subscription-manager register --activationkey=stage_rhsmqe_testuser01_13267397-ActivationKey1645276042189 --org=13267397 > The system has been registered with ID: e96d7bd7-5168-4841-9e72-744138e006e3 The registered system name is: hp-z600-02.ml3.eng.bos.redhat.com Installed Product Current Status: Product Name: Red Hat Enterprise Linux for x86_64 Beta Status: Not Subscribed dbus events appeared: Type=signal Endian=l Flags=1 Version=1 Priority=0 Cookie=11 Timestamp="Fri 2022-05-20 19:55:23.386210 UTC" Sender=:1.49 Path=/com/redhat/RHSM1/Consumer Interface=com.redhat.RHSM1.Consumer Member=ConsumerChanged UniqueName=:1.49 MESSAGE "" { }; > Type=signal Endian=l Flags=1 Version=1 Priority=0 Cookie=12 Timestamp="Fri 2022-05-20 19:55:23.537152 UTC" Sender=:1.49 Path=/com/redhat/RHSM1/Consumer Interface=com.redhat.RHSM1.Consumer Member=ConsumerChanged UniqueName=:1.49 MESSAGE "" { }; > Type=signal Endian=l Flags=1 Version=1 Priority=0 Cookie=13 Timestamp="Fri 2022-05-20 19:55:23.674829 UTC" Sender=:1.49 Path=/com/redhat/RHSM1/Syspurpose Interface=com.redhat.RHSM1.Syspurpose Member=SyspurposeChanged UniqueName=:1.49 MESSAGE "" { }; > Type=signal Endian=l Flags=1 Version=1 Priority=0 Cookie=14 Timestamp="Fri 2022-05-20 19:55:28.900176 UTC" Sender=:1.49 Path=/com/redhat/RHSM1/Syspurpose Interface=com.redhat.RHSM1.Syspurpose Member=SyspurposeChanged UniqueName=:1.49 MESSAGE "" { }; > Type=signal Endian=l Flags=1 Version=1 Priority=0 Cookie=15 Timestamp="Fri 2022-05-20 19:55:29.025862 UTC" Sender=:1.49 Path=/com/redhat/RHSM1/Syspurpose Interface=com.redhat.RHSM1.Syspurpose Member=SyspurposeChanged UniqueName=:1.49 MESSAGE "" { }; > Type=signal Endian=l Flags=1 Version=1 Priority=0 Cookie=16 Timestamp="Fri 2022-05-20 19:55:30.215760 UTC" Sender=:1.49 Path=/com/redhat/RHSM1/Entitlement Interface=com.redhat.RHSM1.Entitlement Member=EntitlementChanged UniqueName=:1.49 MESSAGE "" { }; > Type=signal Endian=l Flags=1 Version=1 Priority=0 Cookie=17 Timestamp="Fri 2022-05-20 19:55:30.331608 UTC" Sender=:1.49 Path=/com/redhat/RHSM1/Entitlement Interface=com.redhat.RHSM1.Entitlement Member=EntitlementChanged UniqueName=:1.49 MESSAGE "" { }; 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/RHEA-2022:7719 |