the zun server (zun-api) in controller host error(s)
Hongbin Lu
hongbin034 at gmail.com
Sat Dec 24 08:55:39 UTC 2022
Hi,
I submitted a fix for it:
https://review.opendev.org/c/openstack/zun/+/868513 . Thanks for reporting.
Best regards,
Hongbin
On Mon, Dec 12, 2022 at 11:11 PM 无数的星球 <2292613444 at qq.com> wrote:
> 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/20221224/7712aca2/attachment-0001.htm>
More information about the openstack-discuss
mailing list