gnocchi-base is unbuildable due to upper-constraints pinning pyparsing to 3.1.1

Bug #2039051 reported by Sven Kieske
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
In Progress
Undecided
Sven Kieske

Bug Description

Hi,

I prepared a workaround: https://review.opendev.org/c/openstack/kolla/+/897924

see also upstream bugreport: https://github.com/gnocchixyz/gnocchi/issues/1345

the build was broken by this update, 5 days ago: https://review.opendev.org/c/openstack/requirements/+/884564

error message from my local build:

```
python3 -m pip install 'kolla @ git+https://opendev.org/openstack/kolla@52c441bb6b6bcd9e7c0088f07951b38b67d156a8'
kolla-build --nopush --base debian --base-tag bookworm --namespace gnocchi-base
[...]
ERROR:kolla.common.utils.gnocchi-base:Collecting daiquiri (from gnocchi==4.6.0)
ERROR:kolla.common.utils.gnocchi-base:Downloading daiquiri-3.2.1-py3-none-any.whl (19 kB)
ERROR:kolla.common.utils.gnocchi-base:INFO: pip is looking at multiple versions of gnocchi[ceph,file,keystone,mysql,s3] to determine which version is compatible with other requirements. This could take a while.
ERROR:kolla.common.utils.gnocchi-base:ERROR: Cannot install gnocchi[ceph,file,keystone,mysql,s3]==4.6.0 because these package versions have conflicting dependencies.

ERROR:kolla.common.utils.gnocchi-base:The conflict is caused by:
    gnocchi[ceph,file,keystone,mysql,s3] 4.6.0 depends on pyparsing<3.1.0 and >=2.2.0
    The user requested (constraint) pyparsing===3.1.1

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
ERROR:kolla.common.utils.gnocchi-base:ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

ERROR:kolla.common.utils.gnocchi-base:Removing intermediate container 69820b03ef37
ERROR:kolla.common.utils.gnocchi-base:Unknown container engine error when building
Traceback (most recent call last):
  File "/home/sven/Dokumente/osism/code/opendev/kolla/.kollatest2/lib/python3.11/site-packages/kolla/image/tasks.py", line 390, in builder
    for stream in self.engine_client.images.build(
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/sven/Dokumente/osism/code/opendev/kolla/.kollatest2/lib/python3.11/site-packages/docker/models/images.py", line 306, in build
    raise BuildError(chunk['error'], result_stream)
docker.errors.BuildError: The command '/bin/sh -c ln -s gnocchi-base-source/* gnocchi && python3 -m pip --no-cache-dir install --upgrade -c /requirements/upper-constraints.txt gnocchiclient /gnocchi[keystone,mysql,file,ceph,s3] && mkdir -p /etc/gnocchi && chmod 750 /etc/sudoers.d && chmod 640 /etc/sudoers.d/kolla_gnocchi_sudoers && touch /usr/local/bin/kolla_gnocchi_extend_start && chmod 644 /usr/local/bin/kolla_extend_start /usr/local/bin/kolla_gnocchi_extend_start' returned a non-zero code: 1

```

Sven Kieske (s-kieske)
Changed in kolla:
status: New → In Progress
assignee: nobody → Sven Kieske (s-kieske)
assignee: Sven Kieske (s-kieske) → nobody
Sven Kieske (s-kieske)
Changed in kolla:
assignee: nobody → Sven Kieske (s-kieske)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to kolla (master)

Reviewed: https://review.opendev.org/c/openstack/kolla/+/897924
Committed: https://opendev.org/openstack/kolla/commit/e4df04e9615b19e8fb0bcd1b192928815b027b82
Submitter: "Zuul (22348)"
Branch: master

commit e4df04e9615b19e8fb0bcd1b192928815b027b82
Author: Sven Kieske <email address hidden>
Date: Wed Oct 11 09:58:16 2023 +0200

    mark gnocchi-base as unbuildable

    Related-Bug: 2039051

    Change-Id: If374f086e54be5b9799db7661c88b0204c4f507c
    Signed-off-by: Sven Kieske <email address hidden>

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.