Zun

zun defaults to Zed release on Yoga and Xena branches.

Bug #1997286 reported by Javier Diaz Jr
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Zun
New
Undecided
Unassigned

Bug Description

In an effort to deploy zun with stable/xena and stable/yoga we somehow end up installing zun version 10.1.0.dev5.

This leads to issues as we are running on Ubuntu 20.04 where Zed has dependency issues.

```
root@zun-9585329e-fcd4-5fc1-b0ea-e7d26a27d7c3:~# 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 Mon 2022-11-21 18:41:38 EST; 3min 26s ago
    Process: 767 ExecStart=/usr/local/bin/zun-api (code=exited, status=1/FAILURE)
   Main PID: 767 (code=exited, status=1/FAILURE)

Nov 21 18:41:38 zun-9585329e-fcd4-5fc1-b0ea-e7d26a27d7c3 zun-api[767]: from zun import objects
Nov 21 18:41:38 zun-9585329e-fcd4-5fc1-b0ea-e7d26a27d7c3 zun-api[767]: File "/usr/local/lib/python3.8/dist-packages/zun/objects/__init__.py", line 13, in <module>
Nov 21 18:41:38 zun-9585329e-fcd4-5fc1-b0ea-e7d26a27d7c3 zun-api[767]: from zun.objects import compute_node
Nov 21 18:41:38 zun-9585329e-fcd4-5fc1-b0ea-e7d26a27d7c3 zun-api[767]: File "/usr/local/lib/python3.8/dist-packages/zun/objects/compute_node.py", line 16, in <module>
Nov 21 18:41:38 zun-9585329e-fcd4-5fc1-b0ea-e7d26a27d7c3 zun-api[767]: from zun.db import api as dbapi
Nov 21 18:41:38 zun-9585329e-fcd4-5fc1-b0ea-e7d26a27d7c3 zun-api[767]: File "/usr/local/lib/python3.8/dist-packages/zun/db/api.py", line 32, in <module>
Nov 21 18:41:38 zun-9585329e-fcd4-5fc1-b0ea-e7d26a27d7c3 zun-api[767]: @profiler.trace("db")
Nov 21 18:41:38 zun-9585329e-fcd4-5fc1-b0ea-e7d26a27d7c3 zun-api[767]: AttributeError: partially initialized module 'zun.common.profiler' has no attribute 'trace' (most likely due to a circular import)
Nov 21 18:41:38 zun-9585329e-fcd4-5fc1-b0ea-e7d26a27d7c3 systemd[1]: zun-api.service: Main process exited, code=exited, status=1/FAILURE
Nov 21 18:41:38 zun-9585329e-fcd4-5fc1-b0ea-e7d26a27d7c3 systemd[1]: zun-api.service: Failed with result 'exit-code'.

root@zun-9585329e-fcd4-5fc1-b0ea-e7d26a27d7c3:/var/lib/zun# git status
On branch stable/xena
nothing to commit, working tree clean
root@zun-9585329e-fcd4-5fc1-b0ea-e7d26a27d7c3:/var/lib/zun# cat zun.egg-info/
PKG-INFO SOURCES.txt dependency_links.txt entry_points.txt not-zip-safe requires.txt top_level.txt
root@zun-9585329e-fcd4-5fc1-b0ea-e7d26a27d7c3:/var/lib/zun# cat zun.egg-info/PKG-INFO
Metadata-Version: 2.1
Name: zun
Version: 10.1.0.dev5
Summary: OpenStack Containers service
Home-page: https://docs.openstack.org/zun/latest/
Author: OpenStack
Author-email: <email address hidden>
```

Repo needs to be fixed to install the proper version of 8.x.x for Xena and 9.x.x for Yoga, etc.

Revision history for this message
Javier Diaz Jr (javierdiazcharles) wrote :
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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