2022-11-21 23:47:36 |
Javier Diaz Jr |
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'.
```
Repo needs to be fixed to install the proper version of 8.x.x for Xena and 9.x.x for Yoga, etc. |
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: openstack-discuss@lists.openstack.org
```
Repo needs to be fixed to install the proper version of 8.x.x for Xena and 9.x.x for Yoga, etc. |
|