Zun

the install zun error(s) run "zun-api.service"

Bug #2000386 reported by sam
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Zun
Fix Released
Undecided
Unassigned

Bug Description

 此错误跟踪器适用于文档错误,请使用以下内容作为模板,并根据需要删除或添加字段。将 [ ] 转换为 [x] 以复选框:

- [ ] 此文档以这种方式不准确:______
- [ ] 这是一个文档添加请求。
- [ ] 我对文档有一个修复程序,我可以粘贴到下面,包括示例:输入和输出。

如果您有故障排除或支持问题,请使用以下资源:

- 邮件列表:https://lists.openstack.org
 - IRC:Freenode上的“openstack”通道

-----------------------------------
发布: 7.0.1.dev3 在 2017-09-15 18:56:48
SHA: d9b470bdab254f6deae74b424eb3d68259c2c067
来源: https://opendev.org/openstack/zun/src/doc/source/install/index.rst
网址: https://docs.openstack.org/zun/wallaby/install/

use:https://docs.openstack.org/zun/wallaby/install/
root@controller:/var/lib/zun/zun# 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 Fri 2022-12-23 17:30:28 CST; 9s ago
    Process: 29779 ExecStart=/usr/local/bin/zun-api (code=exited, status=1/FAILURE)
   Main PID: 29779 (code=exited, status=1/FAILURE)

Dec 23 17:30:28 controller zun-api[29779]: from zun import objects
Dec 23 17:30:28 controller zun-api[29779]: File "/usr/local/lib/python3.8/dist-packages/zun/objects/__init__.py", line 13, in <module>
Dec 23 17:30:28 controller zun-api[29779]: from zun.objects import compute_node
Dec 23 17:30:28 controller zun-api[29779]: File "/usr/local/lib/python3.8/dist-packages/zun/objects/compute_node.py", line 16, in <module>
Dec 23 17:30:28 controller zun-api[29779]: from zun.db import api as dbapi
Dec 23 17:30:28 controller zun-api[29779]: File "/usr/local/lib/python3.8/dist-packages/zun/db/api.py", line 32, in <module>
Dec 23 17:30:28 controller zun-api[29779]: @profiler.trace("db")
Dec 23 17:30:28 controller zun-api[29779]: AttributeError: partially initialized module 'zun.common.profiler' has no attribute 'trace' (most likely due to a circular import)
Dec 23 17:30:28 controller systemd[1]: zun-api.service: Main process exited, code=exited, status=1/FAILURE
Dec 23 17:30:28 controller systemd[1]: zun-api.service: Failed with result 'exit-code'.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to zun (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/zun/+/868513

Changed in zun:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to zun (master)

Reviewed: https://review.opendev.org/c/openstack/zun/+/868513
Committed: https://opendev.org/openstack/zun/commit/f4e8f995b55e7cdbfdd46eabfa2af62dd5b769a0
Submitter: "Zuul (22348)"
Branch: master

commit f4e8f995b55e7cdbfdd46eabfa2af62dd5b769a0
Author: Hongbin Lu <email address hidden>
Date: Sat Dec 24 08:52:49 2022 +0000

    Fix circular import

    Closes-Bug: #2000386
    Change-Id: I41f2cd5e5bcfa3192a761d4fb72663ff4b27b78e

Changed in zun:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to zun (stable/zed)

Fix proposed to branch: stable/zed
Review: https://review.opendev.org/c/openstack/zun/+/868557

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to zun (stable/zed)

Reviewed: https://review.opendev.org/c/openstack/zun/+/868557
Committed: https://opendev.org/openstack/zun/commit/d5f102d740c51ea94a2a2478f941da4a2c3fa0b9
Submitter: "Zuul (22348)"
Branch: stable/zed

commit d5f102d740c51ea94a2a2478f941da4a2c3fa0b9
Author: Hongbin Lu <email address hidden>
Date: Sat Dec 24 08:52:49 2022 +0000

    Fix circular import

    Closes-Bug: #2000386
    Change-Id: I41f2cd5e5bcfa3192a761d4fb72663ff4b27b78e
    (cherry picked from commit f4e8f995b55e7cdbfdd46eabfa2af62dd5b769a0)

tags: added: in-stable-zed
Revision history for this message
sam (sam22926) wrote :

thanks!

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/zun 11.0.0.0rc1

This issue was fixed in the openstack/zun 11.0.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/zun 10.0.1

This issue was fixed in the openstack/zun 10.0.1 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.