wheelhouse could not find a version that satisfies the requirement poetry-core>=1.0.

Bug #1952659 reported by Corey Bryant
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Ironic Conductor Charm
Fix Released
Medium
Corey Bryant

Bug Description

This is seen here:
https://review.opendev.org/c/openstack/charm-ironic-conductor/+/816022

2021-11-29 15:15:06 DEBUG install Complete output from command /var/lib/juju/agents/unit-ironic-conductor-0/.venv/bin/python3 -m pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-spi3gaa_ --no-warn-script-location --no-binary :none: --only-binary :none: --no-index --find-links wheelhouse -- poetry-core>=1.0.0:
2021-11-29 15:15:06 DEBUG install Looking in links: wheelhouse
2021-11-29 15:15:06 DEBUG install Collecting poetry-core>=1.0.0
2021-11-29 15:15:06 DEBUG install Could not find a version that satisfies the requirement poetry-core>=1.0.0 (from versions: )
2021-11-29 15:15:06 DEBUG install No matching distribution found for poetry-core>=1.0.0
2021-11-29 15:15:06 DEBUG install
2021-11-29 15:15:06 DEBUG install ----------------------------------------
2021-11-29 15:15:07 WARNING install Command "/var/lib/juju/agents/unit-ironic-conductor-0/.venv/bin/python3 -m pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-spi3gaa_ --no-warn-script-location --no-binary :none: --only-binary :none: --no-index --find-links wheelhouse -- poetry-core>=1.0.0" failed with error code 1 in None
2021-11-29 15:15:07 WARNING install Traceback (most recent call last):
2021-11-29 15:15:07 WARNING install File "/var/lib/juju/agents/unit-ironic-conductor-0/charm/hooks/install", line 8, in <module>
2021-11-29 15:15:07 WARNING install basic.bootstrap_charm_deps()
2021-11-29 15:15:07 WARNING install File "lib/charms/layer/basic.py", line 214, in bootstrap_charm_deps
2021-11-29 15:15:07 WARNING install env=_get_subprocess_env())
2021-11-29 15:15:07 WARNING install File "/usr/lib/python3.6/subprocess.py", line 311, in check_call
2021-11-29 15:15:07 WARNING install raise CalledProcessError(retcode, cmd)
2021-11-29 15:15:07 WARNING install subprocess.CalledProcessError: Command '['/var/lib/juju/agents/unit-ironic-conductor-0/.venv/bin/pip', 'install', '-U', '--force-reinstall', '--no-index', '--no-cache-dir', '-f', 'wheelhouse', 'urllib3==1.26.7', 'oslo.i18n==5.1.0', 'attrs==21.2.0', 'asn1crypto==1.4.0', 'pyaml==21.10.1', 'os-service-types==1.7.0', 'cryptography==2.3.1', 'zipp==1.2.0', 'toml==0.10.2', 'psutil==5.8.0', 'python-swiftclient==3.13.0', 'MarkupSafe==1.1.1', 'charmhelpers==0.20.25.dev2', 'Jinja2==2.10.1', 'keystoneauth1==4.4.0', 'six==1.16.0', 'pyparsing==3.0.6', 'certifi==2021.10.8', 'charms.openstack==0.0.1.dev1', 'importlib-metadata==2.1.2', 'PyYAML==5.2', 'iso8601==1.0.2', 'python-keystoneclient==4.3.0', 'netifaces==0.11.0', 'oslo.utils==4.12.0', 'pycparser==2.21', 'pyrsistent==0.17.3', 'importlib-resources==2.0.1', 'jsonpointer==2.2', 'netaddr==0.7.19', 'pyOpenSSL==19.0.0', 'wheel==0.33.6', 'jsonschema==3.2.0', 'rfc3986==1.5.0', 'charms.reactive==1.4.1', 'packaging==21.3', 'debtcollector==2.3.0', 'prettytable==2.4.0', 'idna==3.3', 'charset-normalizer==2.0.8', 'oslo.config==8.7.1', 'pbr==5.8.0', 'wrapt==1.13.3', 'dnspython==1.16.0', 'wcwidth==0.2.5', 'requests==2.26.0', 'jsonpatch==1.32', 'python-glanceclient==3.5.0', 'warlock==1.3.3', 'cffi==1.15.0', 'oslo.serialization==4.2.0', 'Tempita==0.4', 'msgpack==1.0.3', 'stevedore==3.5.0', 'pytz==2021.3']' returned non-zero exit status 1.

tags: added: unstable-test
Revision history for this message
Corey Bryant (corey.bryant) wrote :
Download full text (8.7 KiB)

This seems to require more than just updating wheelhouse with poetry-core:

ubuntu@juju-0dcb55-zaza-746d13a3f208-12:/var/lib/juju/agents/unit-ironic-conductor-0/charm$ sudo /var/lib/juju/agents/unit-ironic-conductor-0/.venv/bin/pip install -U --force-reinstall --no-index --no-cache-dir
-f wheelhouse cffi==1.15.0 attrs==21.2.0 pytz==2021.3 requests==2.26.0 certifi==2021.10.8 os-service-types==1.7.0 Jinja2==2.10.1 prettytable==2.4.0 charms.reactive==1.4.1 urllib3==1.26.7 rfc3986==1.5.0 psutil==5
.8.0 zipp==1.2.0 Tempita==0.4 oslo.utils==4.12.0 packaging==21.3 jsonpatch==1.32 pyrsistent==0.17.3 jsonschema==3.2.0 dnspython==1.16.0 MarkupSafe==1.1.1 charms.openstack==0.0.1.dev1 PyYAML==5.2 poetry-core==1.0
.7 toml==0.10.2 netifaces==0.11.0 python-keystoneclient==4.3.0 idna==3.3 pyparsing==3.0.6 pyOpenSSL==21.0.0 iso8601==1.0.2 pyaml==21.10.1 python-glanceclient==3.5.0 wheel==0.33.6 charmhelpers==0.20.25.dev2 wcwid
th==0.2.5 cryptography==3.3.2 pbr==5.8.0 charset-normalizer==2.0.8 wrapt==1.13.3 oslo.serialization==4.2.0 six==1.16.0 importlib-resources==2.0.1 jsonpointer==2.2 keystoneauth1==4.4.0 oslo.i18n==5.1.0 importlib-
metadata==2.1.2 pycparser==2.21 msgpack==1.0.3 python-swiftclient==3.13.0 warlock==1.3.3 debtcollector==2.3.0 oslo.config==8.7.1 stevedore==3.5.0 netaddr==0.7.19
Looking in links: wheelhouse
Collecting cffi==1.15.0
Collecting attrs==21.2.0
  Installing build dependencies ... done
Collecting pytz==2021.3
Collecting requests==2.26.0
Collecting certifi==2021.10.8
Collecting os-service-types==1.7.0
Collecting Jinja2==2.10.1 ...

Read more...

Changed in charm-ironic-conductor:
status: New → In Progress
Changed in charm-ironic-conductor:
status: In Progress → New
Revision history for this message
Corey Bryant (corey.bryant) wrote :
Download full text (3.5 KiB)

I'm confused by this, when I add poetry-core>=1.0.0 to wheelhouse.txt:

ubuntu@juju-fd7eb1-zaza-db1d02a94f3e-12:/var/lib/juju/agents/unit-ironic-conductor-0/charm$ sudo /var/lib/juju/agents/unit-ironic-conductor-0/.venv/bin/pip install -U --force-reinstall --no-index --no-cache-dir -f wheelhouse Tempita==0.4 prettytable==2.4.0 certifi==2021.10.8 stevedore==3.5.0 python-swiftclient==3.13.0 pytz==2021.3 pyparsing==3.0.6 pycparser==2.21 charms.reactive==1.5.0 os-service-types==1.7.0 MarkupSafe==1.1.1 python-keystoneclient==4.3.0 idna==3.3 toml==0.10.2 oslo.i18n==5.1.0 zipp==1.2.0 jsonschema==3.2.0 oslo.serialization==4.2.0 rfc3986==1.5.0 netaddr==0.7.19 requests==2.26.0 attrs==21.2.0 pyOpenSSL==21.0.0 pyaml==21.10.1 oslo.config==8.7.1 wcwidth==0.2.5 wheel==0.33.6 netifaces==0.11.0 charset-normalizer==2.0.8 dnspython==1.16.0 PyYAML==5.2 msgpack==1.0.3 packaging==21.3 poetry-core==1.0.7 iso8601==1.0.2 warlock==1.3.3 wrapt==1.13.3 urllib3==1.26.7 six==1.16.0 psutil==5.8.0 Jinja2==2.10.1 charmhelpers==0.20.25.dev2 jsonpointer==2.2 importlib-metadata==2.1.2 oslo.utils==4.12.0 python-glanceclient==3.5.0 pbr==5.8.0 keystoneauth1==4.4.0 importlib-resources==2.0.1 cryptography==3.3.2 jsonpatch==1.32 charms.openstack==0.0.1.dev1 pyrsistent==0.17.3 debtcollector==2.3.0 cffi==1.15.0
Looking in links: wheelhouse
Collecting Tempita==0.4
Collecting prettytable==2.4.0
Collecting certifi==2021.10.8
Collecting stevedore==3.5.0
Collecting python-swiftclient==3.13.0
Collecting pytz==2021.3
Collecting pyparsing==3.0.6
Collecting pycparser==2.21
Collecting charms.reactive==1.5.0
Collecting os-service-types==1.7.0
Collecting MarkupSafe==1.1.1
Collecting python-keystoneclient==4.3.0
Collecting idna==3.3
Collecting toml==0.10.2
Collecting oslo.i18n==5.1.0
Collecting zipp==1.2.0
  Installing build dependencies ... done
Collecting jsonschema==3.2.0
  Installing build dependencies ... done
Collecting oslo.serialization==4.2.0
Collecting rfc3986==1.5.0
Collecting netaddr==0.7.19
Collecting requests==2.26.0
Collecting attrs==21.2.0
  Installing build dependencies ... done
Collecting pyOpenSSL==21.0.0
  Installing build dependencies ... done
Collecting pyaml==21.10.1
Collecting oslo.config==8.7.1
Collecting wcwidth==0.2.5
Collecting wheel==0.33.6
Collecting netifaces==0.11.0
Collecting charset-normalizer==2.0.8
Collecting dnspython==1.16.0
Collecting PyYAML==5.2
Collecting msgpack==1.0.3
Collecting packaging==21.3
  Installing build dependencies ... done
Collecting poetry-core==1.0.7
  Installing build dependencies ... error
  Complete output from command /var/lib/juju/agents/unit-ironic-conductor-0/.venv/bin/python3 -m pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-2rem7e2_ --no-warn-script-location --no-binary :none: --only-binary :none: --no-index --find-links wheelhouse --:
  The directory '/home/ubuntu/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that direc...

Read more...

Changed in charm-ironic-conductor:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-ironic-conductor (master)

Reviewed: https://review.opendev.org/c/openstack/charm-ironic-conductor/+/816022
Committed: https://opendev.org/openstack/charm-ironic-conductor/commit/40d33362a62fb1b41dd8bc15e240bc7985effd2c
Submitter: "Zuul (22348)"
Branch: master

commit 40d33362a62fb1b41dd8bc15e240bc7985effd2c
Author: Corey Bryant <email address hidden>
Date: Fri Oct 29 17:00:41 2021 -0400

    Add yoga bundles and release-tool syncs

    * charm-helpers sync for classic charms
    * sync from release-tools
    * switch to release-specific zosci functional tests
    * run focal-ussuri as smoke tests
    * remove trusty, xenial, and groovy metadata/tests
    * drop py35 and add py39
    * pin iso8601<1.0.0

    Closes-Bug: #1952659
    Change-Id: I3a48a669c922dabd781fcd92c18faa2d155736a5

Changed in charm-ironic-conductor:
status: In Progress → Fix Committed
Changed in charm-ironic-conductor:
importance: Undecided → Medium
assignee: nobody → Corey Bryant (corey.bryant)
Changed in charm-ironic-conductor:
milestone: none → 22.04
Changed in charm-ironic-conductor:
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