the zun server (zun-api) in controller host error(s)

无数的星球 2292613444 at qq.com
Sun Dec 11 04:01:27 UTC 2022


iAfter I followed the official documentation and fixed a 'pip3' error, it still failed to run successfully. This is an error reported by the zun api. Other components work normally. If you need my profile, it is attached


root at controller:~# systemctl status zun-api
● zun-api.service - OpenStack Container Service API
     Loaded: loaded (/etc/systemd/system/zun-api.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Sun 2022-12-11 11:43:04 CST; 1min 38s ago
    Process: 1017 ExecStart=/usr/local/bin/zun-api (code=exited, status=1/FAILURE)
   Main PID: 1017 (code=exited, status=1/FAILURE)


Dec 11 11:43:04 controller zun-api[1017]:     from zun import objects
Dec 11 11:43:04 controller zun-api[1017]:   File "/usr/local/lib/python3.8/dist-packages/zun/objects/__init__.py", line 13, in <module>
Dec 11 11:43:04 controller zun-api[1017]:     from zun.objects import compute_node
Dec 11 11:43:04 controller zun-api[1017]:   File "/usr/local/lib/python3.8/dist-packages/zun/objects/compute_node.py", line 16, in <module>
Dec 11 11:43:04 controller zun-api[1017]:     from zun.db import api as dbapi
Dec 11 11:43:04 controller zun-api[1017]:   File "/usr/local/lib/python3.8/dist-packages/zun/db/api.py", line 32, in <module>
Dec 11 11:43:04 controller zun-api[1017]:     @profiler.trace("db")
Dec 11 11:43:04 controller zun-api[1017]: AttributeError: partially initialized module 'zun.common.profiler' has no attribute 'trace' (most likely due to a circular import)
Dec 11 11:43:04 controller systemd[1]: zun-api.service: Main process exited, code=exited, status=1/FAILURE
Dec 11 11:43:04 controller systemd[1]: zun-api.service: Failed with result 'exit-code'.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.openstack.org/pipermail/openstack-discuss/attachments/20221211/15167eae/attachment.htm>


More information about the openstack-discuss mailing list