Conflicting openstacksdk_upper_constraints_file and pip_upper_constraints_file

Bug #2059135 reported by Nathan Harper
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kayobe
Fix Committed
Medium
Unassigned
Antelope
Fix Released
Medium
Bartosz Bezak

Bug Description

This relates to https://bugs.launchpad.net/kayobe/+bug/2053128, where openstacksdk_upper_constraints_file is set to 'yoga' even on 2023.1 release.

pip_upper_constraints_file is still set to use the 2023.1 upper constraints file. This causes kayobe overcloud post configure to fail at task:

TASK [Gather facts about provisioning network]

with error:

msg: 'Incompatible openstacksdk library found: Version MUST be >=0.36 and <=0.98.999, but 1.0.1 is larger than maximum version 0.98.999.'

Although the openstacksdk is installed using the yoga upper contstraints, other modules are installed using the 2023.1 upper constraints, which will then cause the opesntacksdk to be updated.

(truncated log)
      Attempting uninstall: openstacksdk
        Found existing installation: openstacksdk 0.62.0
        Uninstalling openstacksdk-0.62.0:
          Successfully uninstalled openstacksdk-0.62.0
    Successfully installed cffi-1.15.1 charset-normalizer-2.1.1 cryptography-38.0.2 dogpile.cache-1.1.8 idna-3.4 iso8601-1.1.0 jmespath-1.0.1 jsonpointer-2.3 keystoneauth1-5.1.2 openstacksdk-1.0.1 pbr-5.11.1 requests-2.28.1 stevedore-5.0.0 urllib3-1.26.12

Revision history for this message
Nathan Harper (nathharp) wrote :

Verbose output attached

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kayobe (stable/2023.1)

Reviewed: https://review.opendev.org/c/openstack/kayobe/+/914242
Committed: https://opendev.org/openstack/kayobe/commit/941ee319236218e57feee13158b4a4d29eb29e19
Submitter: "Zuul (22348)"
Branch: stable/2023.1

commit 941ee319236218e57feee13158b4a4d29eb29e19
Author: Bartosz Bezak <email address hidden>
Date: Tue Mar 26 14:11:19 2024 +0100

    Fix for post configure upgrading openstacksdk

    provision-net post configure interim unshare task is using regular
    pip_upper_constraints_file which upgrades openstacksdk to version
    higher than supported by currently used openstack cloud modules

    Closes-Bug: #2059135

    Change-Id: Ib4cfe7c592fc8b5ae353406ad675b61c3120e0e3

Changed in kayobe:
status: New → Fix Committed
Will Szumski (willjs)
Changed in kayobe:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kayobe 14.6.0

This issue was fixed in the openstack/kayobe 14.6.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.