cs:xenial/postgresql fails to deploy: pip conflict

Bug #1585810 reported by Andreas Hasenack
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
postgresql (Juju Charms Collection)
Fix Released
High
Stuart Bishop

Bug Description

cs:xenial/postgresql-42

2016-05-25 21:26:54 INFO install Ignoring indexes: https://pypi.python.org/simple
2016-05-25 21:26:54 INFO install Requirement already up-to-date: pip in /usr/lib/python3/dist-packages
2016-05-25 21:26:55 INFO install Ignoring indexes: https://pypi.python.org/simple
2016-05-25 21:26:55 INFO install Processing ./wheelhouse/pip-7.1.2.tar.gz
2016-05-25 21:26:56 INFO install Exception:
2016-05-25 21:26:56 INFO install Traceback (most recent call last):
2016-05-25 21:26:56 INFO install File "/usr/lib/python3/dist-packages/pip/req/req_install.py", line 1006, in check_if_exists
2016-05-25 21:26:56 INFO install self.satisfied_by = pkg_resources.get_distribution(str(no_marker))
2016-05-25 21:26:56 INFO install File "/usr/share/python-wheels/pkg_resources-0.0.0-py2.py3-none-any.whl/pkg_resources/__init__.py", line 535, in get_distribution
2016-05-25 21:26:56 INFO install dist = get_provider(dist)
2016-05-25 21:26:56 INFO install File "/usr/share/python-wheels/pkg_resources-0.0.0-py2.py3-none-any.whl/pkg_resources/__init__.py", line 415, in get_provider
2016-05-25 21:26:56 INFO install return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
2016-05-25 21:26:56 INFO install File "/usr/share/python-wheels/pkg_resources-0.0.0-py2.py3-none-any.whl/pkg_resources/__init__.py", line 695, in find
2016-05-25 21:26:56 INFO install raise VersionConflict(dist, req)
2016-05-25 21:26:56 INFO install pkg_resources.VersionConflict: (pip 8.1.1 (/usr/lib/python3/dist-packages), Requirement.parse('pip===7.1.2'))
2016-05-25 21:26:56 INFO install
2016-05-25 21:26:56 INFO install During handling of the above exception, another exception occurred:
2016-05-25 21:26:56 INFO install
2016-05-25 21:26:56 INFO install Traceback (most recent call last):
2016-05-25 21:26:56 INFO install File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 209, in main
2016-05-25 21:26:56 INFO install status = self.run(options, args)
2016-05-25 21:26:56 INFO install File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 328, in run
2016-05-25 21:26:56 INFO install wb.build(autobuilding=True)
2016-05-25 21:26:56 INFO install File "/usr/lib/python3/dist-packages/pip/wheel.py", line 748, in build
2016-05-25 21:26:56 INFO install self.requirement_set.prepare_files(self.finder)
2016-05-25 21:26:56 INFO install File "/usr/lib/python3/dist-packages/pip/req/req_set.py", line 360, in prepare_files
2016-05-25 21:26:56 INFO install ignore_dependencies=self.ignore_dependencies))
2016-05-25 21:26:56 INFO install File "/usr/lib/python3/dist-packages/pip/req/req_set.py", line 600, in _prepare_file
2016-05-25 21:26:56 INFO install req_to_install.check_if_exists()
2016-05-25 21:26:56 INFO install File "/usr/lib/python3/dist-packages/pip/req/req_install.py", line 1011, in check_if_exists
2016-05-25 21:26:56 INFO install self.req.project_name
2016-05-25 21:26:56 INFO install AttributeError: 'Requirement' object has no attribute 'project_name'
2016-05-25 21:26:57 INFO install Traceback (most recent call last):
2016-05-25 21:26:57 INFO install File "/var/lib/juju/agents/unit-postgresql-0/charm/hooks/install", line 8, in <module>
2016-05-25 21:26:57 INFO install basic.bootstrap_charm_deps()
2016-05-25 21:26:57 INFO install File "lib/charms/layer/basic.py", line 72, in bootstrap_charm_deps
2016-05-25 21:26:57 INFO install glob('wheelhouse/*'))
2016-05-25 21:26:57 INFO install File "/usr/lib/python3.5/subprocess.py", line 581, in check_call
2016-05-25 21:26:57 INFO install raise CalledProcessError(retcode, cmd)
2016-05-25 21:26:57 INFO install subprocess.CalledProcessError: Command '['pip3', 'install', '-U', '--no-index', '-f', 'wheelhouse', 'wheelhouse/pip-7.1.2.tar.gz', 'wheelhouse/charmhelpers-0.7.0.tar.gz', 'wheelhouse/pyaml-15.8.2.tar.gz', 'wheelhouse/charms.reactive-0.4.3.tar.gz', 'wheelhouse/netaddr-0.7.18.tar.gz', 'wheelhouse/Jinja2-2.8.tar.gz', 'wheelhouse/PyYAML-3.11.zip', 'wheelhouse/Tempita-0.5.2.tar.gz', 'wheelhouse/MarkupSafe-0.23.tar.gz', 'wheelhouse/six-1.10.0.tar.gz']' returned non-zero exit status 2

description: updated
Revision history for this message
David Britton (dpb) wrote :
Changed in postgresql (Juju Charms Collection):
importance: Undecided → High
tags: added: kanban-cross-team landscape
Revision history for this message
Stuart Bishop (stub) wrote :

Pump out a rebuild once this is fixed in charms.reactive

Changed in postgresql (Juju Charms Collection):
status: New → Triaged
Revision history for this message
David Britton (dpb) wrote :

Hi stub -- think you could put up a new rebuild? I think the upstream issue #70 is addressed.

Stuart Bishop (stub)
Changed in postgresql (Juju Charms Collection):
status: Triaged → Fix Released
assignee: nobody → Stuart Bishop (stub)
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.