Bug 2184390 - Failed to start LVM2 D-Bus service - ModuleNotFoundError: No module named 'utils'
Summary: Failed to start LVM2 D-Bus service - ModuleNotFoundError: No module named 'ut...
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: lvm2
Version: 9.3
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: LVM Team
QA Contact: cluster-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-04 14:04 UTC by Corey Marthaler
Modified: 2023-08-10 15:41 UTC (History)
8 users (show)

Fixed In Version: lvm2-2.03.20-2.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker CLUSTERQE-6647 0 None None None 2023-04-19 22:20:37 UTC
Red Hat Issue Tracker RHELPLAN-154016 0 None None None 2023-04-04 14:05:30 UTC

Description Corey Marthaler 2023-04-04 14:04:08 UTC
Description of problem:
[root@virt-517 ~]# systemctl start lvm2-lvmdbusd
Job for lvm2-lvmdbusd.service failed because the control process exited with error code.
See "systemctl status lvm2-lvmdbusd.service" and "journalctl -xeu lvm2-lvmdbusd.service" for details.
[root@virt-517 ~]# systemctl status lvm2-lvmdbusd.service
× lvm2-lvmdbusd.service - LVM2 D-Bus service
     Loaded: loaded (/usr/lib/systemd/system/lvm2-lvmdbusd.service; disabled; preset: disabled)
     Active: failed (Result: exit-code) since Mon 2023-04-03 18:42:57 CEST; 13s ago
       Docs: man:lvmdbusd(8)
    Process: 4040 ExecStart=/usr/sbin/lvmdbusd (code=exited, status=1/FAILURE)
   Main PID: 4040 (code=exited, status=1/FAILURE)
        CPU: 44ms
 
Apr 03 18:42:57 virt-517.cluster-qe.lab.eng.brq.redhat.com lvmdbusd[4040]:   File "/usr/lib/python3.9/site-packages/lvmdbusd/__init__.py", line 10, in <module>
Apr 03 18:42:57 virt-517.cluster-qe.lab.eng.brq.redhat.com lvmdbusd[4040]:     from .main import main
Apr 03 18:42:57 virt-517.cluster-qe.lab.eng.brq.redhat.com lvmdbusd[4040]:   File "/usr/lib/python3.9/site-packages/lvmdbusd/main.py", line 10, in <module>
Apr 03 18:42:57 virt-517.cluster-qe.lab.eng.brq.redhat.com lvmdbusd[4040]:     from . import cfg
Apr 03 18:42:57 virt-517.cluster-qe.lab.eng.brq.redhat.com lvmdbusd[4040]:   File "/usr/lib/python3.9/site-packages/lvmdbusd/cfg.py", line 14, in <module>
Apr 03 18:42:57 virt-517.cluster-qe.lab.eng.brq.redhat.com lvmdbusd[4040]:     from utils import LvmDebugData
Apr 03 18:42:57 virt-517.cluster-qe.lab.eng.brq.redhat.com lvmdbusd[4040]: ModuleNotFoundError: No module named 'utils'
Apr 03 18:42:57 virt-517.cluster-qe.lab.eng.brq.redhat.com systemd[1]: lvm2-lvmdbusd.service: Main process exited, code=exited, status=1/FAILURE
Apr 03 18:42:57 virt-517.cluster-qe.lab.eng.brq.redhat.com systemd[1]: lvm2-lvmdbusd.service: Failed with result 'exit-code'.
Apr 03 18:42:57 virt-517.cluster-qe.lab.eng.brq.redhat.com systemd[1]: Failed to start LVM2 D-Bus service.


Version-Release number of selected component (if applicable):
lvm2-2.03.20-1.el9    BUILT: Wed Mar 22 09:13:10 AM CET 2023
lvm2-libs-2.03.20-1.el9    BUILT: Wed Mar 22 09:13:10 AM CET 2023
lvm2-dbusd-2.03.20-1.el9    BUILT: Wed Mar 22 09:13:02 AM CET 2023

How reproducible:
Everytime

Comment 1 Corey Marthaler 2023-04-24 16:38:03 UTC
Marking Verfied:Tested with the latest rpms.

kernel-5.14.0-284.11.1.el9_2    BUILT: Wed Apr 12 04:16:55 PM CEST 2023
lvm2-2.03.21-1.el9    BUILT: Fri Apr 21 02:33:33 PM CEST 2023
lvm2-libs-2.03.21-1.el9    BUILT: Fri Apr 21 02:33:33 PM CEST 2023




[root@grant-03 ~]# systemctl start lvm2-lvmdbusd
[root@grant-03 ~]# systemctl status lvm2-lvmdbusd.service
â— lvm2-lvmdbusd.service - LVM2 D-Bus service
     Loaded: loaded (/usr/lib/systemd/system/lvm2-lvmdbusd.service; disabled; preset: disabled)
     Active: active (running) since Mon 2023-04-24 18:36:06 CEST; 22s ago
       Docs: man:lvmdbusd(8)
   Main PID: 4633 (lvmdbusd)
      Tasks: 5 (limit: 1643684)
     Memory: 16.7M
        CPU: 126ms
     CGroup: /system.slice/lvm2-lvmdbusd.service
             └─4633 /usr/bin/python3 /usr/sbin/lvmdbusd

Apr 24 18:36:06 grant-03.6a2m.lab.eng.bos.redhat.com systemd[1]: Starting LVM2 D-Bus service...
Apr 24 18:36:06 grant-03.6a2m.lab.eng.bos.redhat.com systemd[1]: Started LVM2 D-Bus service.


Apr 24 18:36:06 grant-03 systemd[1]: Starting LVM2 D-Bus service...
Apr 24 18:36:06 grant-03 systemd[1]: Started LVM2 D-Bus service.

Comment 7 Corey Marthaler 2023-05-25 23:55:13 UTC
Works with the latest build as well. Marking VERIFIED.

lvm2-2.03.21-2.el9    BUILT: Thu May 25 12:03:04 AM CEST 2023
lvm2-libs-2.03.21-2.el9    BUILT: Thu May 25 12:03:04 AM CEST 2023



[root@grant-01 ~]# systemctl start lvm2-lvmdbusd
[root@grant-01 ~]# systemctl status lvm2-lvmdbusd.service
â— lvm2-lvmdbusd.service - LVM2 D-Bus service
     Loaded: loaded (/usr/lib/systemd/system/lvm2-lvmdbusd.service; disabled; preset: disabled)
     Active: active (running) since Fri 2023-05-26 01:53:57 CEST; 9s ago
       Docs: man:lvmdbusd(8)
   Main PID: 23722 (lvmdbusd)
      Tasks: 5 (limit: 1643669)
     Memory: 14.9M
        CPU: 129ms
     CGroup: /system.slice/lvm2-lvmdbusd.service
             └─23722 /usr/bin/python3 /usr/sbin/lvmdbusd

May 26 01:53:57 grant-01.6a2m.lab.eng.bos.redhat.com systemd[1]: Starting LVM2 D-Bus service...
May 26 01:53:57 grant-01.6a2m.lab.eng.bos.redhat.com systemd[1]: Started LVM2 D-Bus service.


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