[Bug 1794733] Re: python3-glance (2:17.0.0-0ubuntu3) isn't installing in cosmic

Corey Bryant corey.bryant at canonical.com
Thu Sep 27 16:12:28 UTC 2018


python3.7 isn't installed by default on cosmic, however it gets
installed as a result of python3-glance.

py3.7 gets installed indirectly through the dependnecy chain. 'apt
depends --recurse python3-glance' gives more visibility into this.
Notably the following pull in python3.7:

libapache2-mod-wsgi-py3 depends on libpython3.7
python3-all depends on python3.7
python3-numpy depends on python3.7

-- 
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