proposed charm install fails on missing requirement

Bug #1855744 reported by Alexander Balderson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Octavia Charm
Fix Released
High
Alex Kavanagh

Bug Description

While testing openstack-chamers-next octavia; the install failed while looking for ampq from pip.
Crashdump is attached
bundle to follow.

2019-12-09 09:13:24 DEBUG install Collecting amqp>=2.5.2 (from oslo.messaging==10.4.0)
2019-12-09 09:13:24 DEBUG install Could not find a version that satisfies the requirement amqp>=2.5.2 (from oslo.messaging==10.4.0) (from versions: 2.5.1)
2019-12-09 09:13:26 DEBUG install No matching distribution found for amqp>=2.5.2 (from oslo.messaging==10.4.0)
2019-12-09 09:13:26 DEBUG install Traceback (most recent call last):
2019-12-09 09:13:26 DEBUG install File "/var/lib/juju/agents/unit-octavia-0/charm/hooks/install", line 8, in <module>
2019-12-09 09:13:26 DEBUG install basic.bootstrap_charm_deps()
2019-12-09 09:13:26 DEBUG install File "lib/charms/layer/basic.py", line 117, in bootstrap_charm_deps
2019-12-09 09:13:26 DEBUG install '-f', 'wheelhouse'] + glob('wheelhouse/*'))
2019-12-09 09:13:26 DEBUG install File "/usr/lib/python3.6/subprocess.py", line 311, in check_call
2019-12-09 09:13:26 DEBUG install raise CalledProcessError(retcode, cmd)
2019-12-09 09:13:26 DEBUG install subprocess.CalledProcessError: Command '['/var/lib/juju/agents/unit-octavia-0/.venv/bin/pip', 'install', '-U', '--ignore-installed', '--no-index', '-f', 'wheelhouse', 'wheelhouse/requests-2.22.0.tar.gz', 'wheelhouse/Tempita-0.5.2.tar.gz', 'wheelhouse/Paste-3.2.3.tar.gz', 'wheelhouse/os-ken-0.4.1.tar.gz', 'wheelhouse/tinyrpc-1.0.4.tar.gz', 'wheelhouse/jsonpointer-2.0.tar.gz', 'wheelhouse/pyaml-19.4.1.tar.gz', 'wheelhouse/MarkupSafe-1.1.1.tar.gz', 'wheelhouse/Jinja2-2.10.3.tar.gz', 'wheelhouse/oslo.policy-2.4.0.tar.gz', 'wheelhouse/setuptools-41.6.0.zip', 'wheelhouse/pytz-2019.3.tar.gz', 'wheelhouse/jmespath-0.9.4.tar.gz', 'wheelhouse/vine-1.3.0.tar.gz', 'wheelhouse/unittest2-1.1.0.tar.gz', 'wheelhouse/testtools-2.3.0.tar.gz', 'wheelhouse/pyinotify-0.9.6.tar.gz', 'wheelhouse/oslo.i18n-3.25.0.tar.gz', 'wheelhouse/requestsexceptions-1.4.0.tar.gz', 'wheelhouse/Routes-2.4.1.tar.gz', 'wheelhouse/cliff-2.16.0.tar.gz', 'wheelhouse/dnspython-1.16.0.zip', 'wheelhouse/statsd-3.3.0.tar.gz', 'wheelhouse/more-itertools-8.0.0.tar.gz', 'wheelhouse/netaddr-0.7.19.tar.gz', 'wheelhouse/neutron-lib-1.29.1.tar.gz', 'wheelhouse/testscenarios-0.5.0.tar.gz', 'wheelhouse/oslo.concurrency-3.30.0.tar.gz', 'wheelhouse/cffi-1.13.2.tar.gz', 'wheelhouse/oslo.middleware-3.38.1.tar.gz', 'wheelhouse/os-traits-1.1.0.tar.gz', 'wheelhouse/sortedcontainers-2.1.0.tar.gz', 'wheelhouse/charms.openstack-0.0.1.dev1.zip', 'wheelhouse/oslo.config-6.12.0.tar.gz', 'wheelhouse/certifi-2019.11.28.tar.gz', 'wheelhouse/WebTest-2.0.33.tar.gz', 'wheelhouse/wrapt-1.11.2.tar.gz', 'wheelhouse/setuptools_scm-1.17.0.tar.gz', 'wheelhouse/decorator-4.4.1.tar.gz', 'wheelhouse/ovs-2.11.0.tar.gz', 'wheelhouse/python-dateutil-2.8.1.tar.gz', 'wheelhouse/zipp-0.6.0.tar.gz', 'wheelhouse/cmd2-0.8.9.tar.gz', 'wheelhouse/chardet-3.0.4.tar.gz', 'wheelhouse/beautifulsoup4-4.8.1.tar.gz', 'wheelhouse/python-keystoneclient-3.22.0.tar.gz', 'wheelhouse/appdirs-1.4.3.tar.gz', 'wheelhouse/wcwidth-0.1.7.tar.gz', 'wheelhouse/stevedore-1.31.0.tar.gz', 'wheelhouse/keystoneauth1-3.18.0.tar.gz', 'wheelhouse/osprofiler-2.9.0.tar.gz', 'wheelhouse/openstacksdk-0.38.0.tar.gz', 'wheelhouse/PyYAML-5.1.2.tar.gz', 'wheelhouse/setproctitle-1.1.10.tar.gz', 'wheelhouse/Mako-1.1.0.tar.gz', 'wheelhouse/fasteners-0.15.tar.gz', 'wheelhouse/python-neutronclient-6.14.0.tar.gz', 'wheelhouse/logutils-0.3.5.tar.gz', 'wheelhouse/oslo.versionedobjects-1.36.1.tar.gz', 'wheelhouse/msgpack-0.6.2.tar.gz', 'wheelhouse/charmhelpers-0.20.7.tar.gz', 'wheelhouse/oslo.context-2.23.0.tar.gz', 'wheelhouse/python-mimeparse-1.6.0.tar.gz', 'wheelhouse/yappi-1.0.tar.gz', 'wheelhouse/python-editor-1.0.4.tar.gz', 'wheelhouse/eventlet-0.25.1.tar.gz', 'wheelhouse/oslo.messaging-10.4.0.tar.gz', 'wheelhouse/python-novaclient-16.0.0.tar.gz', 'wheelhouse/charms.reactive-1.3.0.tar.gz', 'wheelhouse/iso8601-0.1.12.tar.gz', 'wheelhouse/SQLAlchemy-1.3.11.tar.gz', 'wheelhouse/jsonpatch-1.24.tar.gz', 'wheelhouse/argparse-1.4.0.tar.gz', 'wheelhouse/importlib_metadata-1.1.0.tar.gz', 'wheelhouse/cachetools-3.1.1.tar.gz', 'wheelhouse/oslo.db-5.0.2.tar.gz', 'wheelhouse/testresources-2.0.1.tar.gz', 'wheelhouse/prettytable-0.7.2.tar.bz2', 'wheelhouse/netifaces-0.10.9.tar.gz', 'wheelhouse/six-1.13.0.tar.gz', 'wheelhouse/pyparsing-2.4.2.tar.gz', 'wheelhouse/waitress-1.3.1.tar.gz', 'wheelhouse/repoze.lru-0.7.tar.gz', 'wheelhouse/sqlparse-0.3.0.tar.gz', 'wheelhouse/pycparser-2.19.tar.gz', 'wheelhouse/pip-18.1.tar.gz', 'wheelhouse/os-client-config-1.33.0.tar.gz', 'wheelhouse/idna-2.8.tar.gz', 'wheelhouse/amqp-2.5.1.tar.gz', 'wheelhouse/pytest-runner-5.2.tar.gz', 'wheelhouse/urllib3-1.25.7.tar.gz', 'wheelhouse/osc-lib-1.14.1.tar.gz', 'wheelhouse/soupsieve-1.9.5.tar.gz', 'wheelhouse/extras-1.0.0.tar.gz', 'wheelhouse/PasteDeploy-2.0.1.tar.gz', 'wheelhouse/pecan-1.3.3.tar.gz', 'wheelhouse/oslo.serialization-2.29.2.tar.gz', 'wheelhouse/greenlet-0.4.15.tar.gz', 'wheelhouse/alembic-1.3.1.tar.gz', 'wheelhouse/futurist-1.10.0.tar.gz', 'wheelhouse/debtcollector-1.22.0.tar.gz', 'wheelhouse/traceback2-1.4.0.tar.gz', 'wheelhouse/dogpile.cache-0.9.0.tar.gz', 'wheelhouse/os-service-t
2019-12-09 09:13:26 DEBUG install ypes-1.7.0.tar.gz', 'wheelhouse/rfc3986-1.3.2.tar.gz', 'wheelhouse/oslo.service-1.40.2.tar.gz', 'wheelhouse/WebOb-1.8.5.tar.gz', 'wheelhouse/oslo.log-3.45.0.tar.gz', 'wheelhouse/simplejson-3.17.0.tar.gz', 'wheelhouse/fixtures-3.0.0.tar.gz', 'wheelhouse/cryptography-2.8.tar.gz', 'wheelhouse/munch-2.5.0.tar.gz', 'wheelhouse/kombu-4.6.6.tar.gz', 'wheelhouse/pyperclip-1.7.0.tar.gz', 'wheelhouse/oslo.utils-3.42.0.tar.gz', 'wheelhouse/linecache2-1.0.0.tar.gz', 'wheelhouse/sqlalchemy-migrate-0.13.0.tar.gz', 'wheelhouse/psutil-5.6.7.tar.gz', 'wheelhouse/monotonic-1.5.tar.gz', 'wheelhouse/Babel-2.7.0.tar.gz', 'wheelhouse/wheel-0.33.6.tar.gz', 'wheelhouse/pbr-5.4.4.tar.gz']' returned non-zero exit status 1.
2019-12-09 09:13:26 ERROR juju.worker.uniter.operation runhook.go:132 hook "install" failed: exit status 1

Revision history for this message
Alexander Balderson (asbalderson) wrote :
tags: added: cdo-qa founations-engine
Revision history for this message
Alexander Balderson (asbalderson) wrote :
Revision history for this message
Alex Kavanagh (ajkavanagh) wrote :

This is due to https://github.com/celery/kombu/issues/1105 where we had to pin tactically to get octavia to install. I'll unpin it and do some testing, and see if we can't get it sorted.

Changed in charm-octavia:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Alex Kavanagh (ajkavanagh)
Changed in charm-octavia:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-octavia (master)

Fix proposed to branch: master
Review: https://review.opendev.org/698060

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-octavia (master)

Reviewed: https://review.opendev.org/698060
Committed: https://git.openstack.org/cgit/openstack/charm-octavia/commit/?id=dce4c7eddaa82cae834115d76f77049bfddb4a1a
Submitter: Zuul
Branch: master

commit dce4c7eddaa82cae834115d76f77049bfddb4a1a
Author: Alex Kavanagh <email address hidden>
Date: Mon Dec 9 18:34:18 2019 +0000

    Revert pin of amqp as upstream now appears fixed

    amqp was pined to 2.5.1, but upstream is now asking for 2.5.2. This
    reverts the tactical fix that was for
    https://github.com/celery/kombu/issues/1105.

    Change-Id: Ic16205c9976bff910719fab015c8654328811fe5
    Closes-Bug: #1855744

Changed in charm-octavia:
status: In Progress → Fix Committed
James Page (james-page)
Changed in charm-octavia:
milestone: none → 20.02
Liam Young (gnuoy)
Changed in charm-octavia:
status: Fix Committed → Fix Released
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.