[Bug 1746992] Re: [SRU] gnocchi-api in Bionic uses python3, and libapache2-mod-wsgi-py3 conflicts with the python 2 version
pablobrunetti
pablobrunetti at hotmail.com
Thu Jul 19 17:34:59 UTC 2018
This new package works in Ubuntu 16.04(Xenial)?
I tested this new package, but an error occurred.
2018-07-19 14:24:20.189154 mod_wsgi (pid=17181): Target WSGI script '/usr/bin/gnocchi-api' cannot be loaded as Python module.
2018-07-19 14:24:20.189172 mod_wsgi (pid=17181): Exception occurred processing WSGI script '/usr/bin/gnocchi-api'.
2018-07-19 14:24:20.189196 Traceback (most recent call last):
2018-07-19 14:24:20.189217 File "/usr/bin/gnocchi-api", line 20, in <module>
2018-07-19 14:24:20.189250 from gnocchi.cli import api
2018-07-19 14:24:20.189271 ImportError: No module named gnocchi.cli
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to Ubuntu Cloud Archive.
https://bugs.launchpad.net/bugs/1746992
Title:
[SRU] gnocchi-api in Bionic uses python3, and libapache2-mod-wsgi-py3
conflicts with the python 2 version
Status in Ubuntu Cloud Archive:
Fix Committed
Status in Ubuntu Cloud Archive queens series:
Triaged
Status in Ubuntu Cloud Archive rocky series:
Fix Committed
Status in gnocchi package in Ubuntu:
Fix Released
Status in gnocchi source package in Bionic:
Fix Committed
Status in gnocchi source package in Cosmic:
Fix Released
Bug description:
Since the two wsgi modules are conflicting, installing gnocchi-api
breaks other OpenStack services.
[Impact]
Installation of gnocchi-api (which is currently py3 only) on the same machine as other OpenStack services that are py2 only causes conflicts. libapache2-mod-wsgi-py3 and libapache2-mod-wsgi conflict with each other.
[Test Case]
Ensure cinder-api (py2 only atm) and gnocchi-api (with new py2 alternatives) can be installed on the same machine.
[Regression Potential]
Low. This doesn't make any changes to the existing py3 version of gnocchi-api. It only adds alternatives that enable a py2 version of gnocchi-api.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1746992/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list