[Bug 1794733] Re: python3-glance (2:17.0.0-0ubuntu3) isn't installing in cosmic
Alex Kavanagh
1794733 at bugs.launchpad.net
Fri Sep 28 07:27:44 UTC 2018
Yeah, this is a pain. cosmic-rocky is going to be a 'thing' though for
our OpenStack releases, so this is going to be awkward to fix if
upstream glance won't take the backport to rocky.
Is it possible to change the package to use py3compile with the -V
option: (from the help):
-V VRANGE force private modules to be bytecompiled with Python
version from given range, regardless of the default
Python version in the system. If there are no other
options, bytecompile all public modules for installed
Python versions that match given range. VERSION_RANGE
examples: '3.1' (version 3.1 only), '3.1-' (version
3.1 or newer), '3.1-3.3' (version 3.1 or 3.2), '-4.0'
(all supported 3.X versions)
i.e. we could exclude 3.7 from py3compile on pkg install?
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to glance in Ubuntu.
https://bugs.launchpad.net/bugs/1794733
Title:
python3-glance (2:17.0.0-0ubuntu3) isn't installing in cosmic
Status in glance package in Ubuntu:
Triaged
Bug description:
The following is the stack track from install:
2018-09-27 11:28:44 DEBUG install Setting up python3-glance (2:17.0.0-0ubuntu3) ...
2018-09-27 11:28:45 DEBUG install File "/usr/lib/python3/dist-packages/glance/async/flows/api_image_import.py", line 26
2018-09-27 11:28:45 DEBUG install import glance.async.flows._internal_plugins as internal_plugins
2018-09-27 11:28:45 DEBUG install ^
2018-09-27 11:28:45 DEBUG install SyntaxError: invalid syntax
2018-09-27 11:28:45 DEBUG install
2018-09-27 11:28:45 DEBUG install File "/usr/lib/python3/dist-packages/glance/async/flows/base_import.py", line 33
2018-09-27 11:28:45 DEBUG install from glance.async import utils
2018-09-27 11:28:45 DEBUG install ^
2018-09-27 11:28:45 DEBUG install SyntaxError: invalid syntax
2018-09-27 11:28:45 DEBUG install
2018-09-27 11:28:45 DEBUG install File "/usr/lib/python3/dist-packages/glance/async/flows/introspect.py", line 24
2018-09-27 11:28:45 DEBUG install from glance.async import utils
2018-09-27 11:28:45 DEBUG install ^
2018-09-27 11:28:45 DEBUG install SyntaxError: invalid syntax
2018-09-27 11:28:45 DEBUG install
2018-09-27 11:28:45 DEBUG install File "/usr/lib/python3/dist-packages/glance/async/flows/plugins/image_conversion.py", line
27
2018-09-27 11:28:45 DEBUG install from glance.async import utils
2018-09-27 11:28:45 DEBUG install ^
2018-09-27 11:28:45 DEBUG install SyntaxError: invalid syntax
2018-09-27 11:28:45 DEBUG install
2018-09-27 11:28:45 DEBUG install File "/usr/lib/python3/dist-packages/glance/async/flows/plugins/plugin_opts.py", line 17
2018-09-27 11:28:45 DEBUG install import glance.async.flows.plugins.image_conversion
2018-09-27 11:28:45 DEBUG install ^
2018-09-27 11:28:45 DEBUG install SyntaxError: invalid syntax
2018-09-27 11:28:45 DEBUG install
2018-09-27 11:28:45 DEBUG install File "/usr/lib/python3/dist-packages/glance/async/taskflow_executor.py", line 26
2018-09-27 11:28:45 DEBUG install import glance.async
2018-09-27 11:28:45 DEBUG install ^
2018-09-27 11:28:45 DEBUG install SyntaxError: invalid syntax
2018-09-27 11:28:45 DEBUG install
2018-09-27 11:28:45 DEBUG install File "/usr/lib/python3/dist-packages/glance/opts.py", line 31
2018-09-27 11:28:45 DEBUG install import glance.async.flows._internal_plugins
2018-09-27 11:28:45 DEBUG install ^
2018-09-27 11:28:45 DEBUG install SyntaxError: invalid syntax
2018-09-27 11:28:45 DEBUG install
2018-09-27 11:28:45 DEBUG install File "/usr/lib/python3/dist-packages/glance/tests/unit/async/flows/plugins/test_inject_image_metadata.py", line 22
2018-09-27 11:28:45 DEBUG install import glance.async.flows.plugins.inject_image_metadata as inject_metadata
2018-09-27 11:28:45 DEBUG install ^
2018-09-27 11:28:45 DEBUG install SyntaxError: invalid syntax
2018-09-27 11:28:45 DEBUG install
2018-09-27 11:28:45 DEBUG install File "/usr/lib/python3/dist-packages/glance/tests/unit/async/flows/test_api_image_import.py", line 20
2018-09-27 11:28:45 DEBUG install import glance.async.flows.api_image_import as import_flow
2018-09-27 11:28:45 DEBUG install ^
2018-09-27 11:28:45 DEBUG install SyntaxError: invalid syntax
2018-09-27 11:28:45 DEBUG install
2018-09-27 11:28:45 DEBUG install File "/usr/lib/python3/dist-packages/glance/tests/unit/async/flows/test_convert.py", line 25
2018-09-27 11:28:45 DEBUG install from glance.async.flows import convert
2018-09-27 11:28:45 DEBUG install ^
2018-09-27 11:28:45 DEBUG install SyntaxError: invalid syntax
2018-09-27 11:28:45 DEBUG install
2018-09-27 11:28:45 DEBUG install File "/usr/lib/python3/dist-packages/glance/tests/unit/async/flows/test_import.py", line 28
2018-09-27 11:28:45 DEBUG install import glance.async.flows.base_import as import_flow
2018-09-27 11:28:45 DEBUG install ^
2018-09-27 11:28:45 DEBUG install SyntaxError: invalid syntax
2018-09-27 11:28:45 DEBUG install
2018-09-27 11:28:45 DEBUG install File "/usr/lib/python3/dist-packages/glance/tests/unit/async/flows/test_introspect.py", line 23
2018-09-27 11:28:45 DEBUG install from glance.async.flows import introspect
2018-09-27 11:28:45 DEBUG install ^
2018-09-27 11:28:45 DEBUG install SyntaxError: invalid syntax
2018-09-27 11:28:45 DEBUG install
2018-09-27 11:28:45 DEBUG install File "/usr/lib/python3/dist-packages/glance/tests/unit/async/flows/test_ovf_process.py", line 27
2018-09-27 11:28:45 DEBUG install from glance.async.flows import ovf_process
2018-09-27 11:28:45 DEBUG install ^
2018-09-27 11:28:45 DEBUG install SyntaxError: invalid syntax
2018-09-27 11:28:45 DEBUG install
2018-09-27 11:28:45 DEBUG install File "/usr/lib/python3/dist-packages/glance/tests/unit/async/flows/test_web_download.py", line 22
2018-09-27 11:28:45 DEBUG install from glance.async.flows._internal_plugins import web_download
2018-09-27 11:28:45 DEBUG install ^
2018-09-27 11:28:45 DEBUG install SyntaxError: invalid syntax
2018-09-27 11:28:45 DEBUG install
2018-09-27 11:28:45 DEBUG install File "/usr/lib/python3/dist-packages/glance/tests/unit/async/test_async.py", line 19
2018-09-27 11:28:45 DEBUG install import glance.async
2018-09-27 11:28:45 DEBUG install ^
2018-09-27 11:28:45 DEBUG install SyntaxError: invalid syntax
2018-09-27 11:28:45 DEBUG install
2018-09-27 11:28:45 DEBUG install File "/usr/lib/python3/dist-packages/glance/tests/unit/async/test_taskflow_executor.py", line 22
2018-09-27 11:28:45 DEBUG install from glance.async import taskflow_executor
2018-09-27 11:28:45 DEBUG install ^
2018-09-27 11:28:45 DEBUG install SyntaxError: invalid syntax
2018-09-27 11:28:45 DEBUG install
2018-09-27 11:28:45 DEBUG install File "/usr/lib/python3/dist-packages/glance/tests/unit/test_domain.py", line 24
2018-09-27 11:28:45 DEBUG install import glance.async
2018-09-27 11:28:45 DEBUG install ^
2018-09-27 11:28:45 DEBUG install SyntaxError: invalid syntax
2018-09-27 11:28:45 DEBUG install
2018-09-27 11:28:45 DEBUG install File "/usr/lib/python3/dist-packages/glance/tests/unit/test_notifier.py", line 25
2018-09-27 11:28:45 DEBUG install import glance.async
2018-09-27 11:28:45 DEBUG install ^
2018-09-27 11:28:45 DEBUG install SyntaxError: invalid syntax
2018-09-27 11:28:45 DEBUG install
2018-09-27 11:28:45 DEBUG install dpkg: error processing package python3-glance (--configure):
2018-09-27 11:28:45 DEBUG install installed python3-glance package post-installation script subprocess returned error exit status 1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glance/+bug/1794733/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list