Fail to start org.openbmc.managers.System.service
Andrew Geissler
geissonator at gmail.com
Tue May 29 22:52:57 AEST 2018
On Mon, May 28, 2018 at 5:02 AM, Brad Chou <chou.brad at gmail.com> wrote:
> Hi all,
> I have s problem while start the org.openbmc.managers.System.service
> The log says it fail to import obmc.inventory
> Then every other service that required org.openbmc.managers.System.service just forced to be stoped.
> Can anyone tell me what the obmc.inventory is ?
> How can I fix this problem ?
This inventory module comes from
https://github.com/openbmc/skeleton/tree/master/pyinventorymgr
I believe all you need to do is ensure you bring in this recipe when
you build your image:
https://github.com/openbmc/openbmc/blob/master/meta-phosphor/common/recipes-phosphor/chassis/obmc-mgr-inventory.bb
Your image should then have the inventory module:
ls /usr/lib/python2.7/site-packages/obmc/
__init__.py __init__.pyc dbuslib enums.py enums.pyc
inventory mapper sensors.py sensors.pyc system
utils wsgi
> Thanks.
>
> May 25 11:20:58 system_manager.py[1015]: Traceback (most recent call last):
> May 25 11:20:58 system_manager.py[1015]: File "/usr/sbin/system_manager.py", line 15, in <module>
> May 25 11:20:58 system_manager.py[1015]: import obmc.inventory
> May 25 11:20:58 system_manager.py[1015]: ImportError: No module named inventory
> May 25 11:20:59 systemd[1]: org.openbmc.managers.System.service: Main process exited, code=exited, status=1/FAILURE
> May 25 11:20:59 systemd[1]: Failed to start Phoshpor System Manager.
> May 25 11:20:59 systemd[1]: org.openbmc.managers.System.service: Unit entered failed state.
> May 25 11:20:59 systemd[1]: org.openbmc.managers.System.service: Failed with result 'exit-code'.
More information about the openbmc
mailing list