setuptools 8 breaks python-openstackclient

Bug #1402679 reported by Jesse Pretorius
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Critical
Darren Birkett
Icehouse
Fix Released
Critical
Jesse Pretorius
python-openstackclient
Invalid
Undecided
Unassigned

Bug Description

If setuptools 8.0, 8.0.1, 8.0.2 is installed, python-openstackclient no longer works. It would seem that the way the version checking operates has changed since setuptools 7.x

The symptom is:

(openstack) image list
python-glanceclient 0.14.2.2.gb126351 is installed but python-glanceclient>=0.9.0 is required by []
(openstack) project list
python-glanceclient 0.14.2.2.gb126351 is installed but python-glanceclient>=0.9.0 is required by []

The only workaround I have at present is to downgrade setuptools to 7.x

Revision history for this message
Steve Martinelli (stevemar) wrote :

A few other projects are hitting this issue, see http://openstack.markmail.org/search/?q=#query:%20list%3Aorg.openstack.lists.openstack-dev+page:1+mid:rh6en53bdwsibqha+state:results for more details, I'll keep this as Confirmed for now, but not sure what we can do from our end.

Changed in python-openstackclient:
status: New → Confirmed
Ian Cordasco (icordasc)
Changed in openstack-ansible:
status: New → Triaged
importance: Undecided → Critical
assignee: nobody → Darren Birkett (darren-birkett)
Revision history for this message
Dean Troyer (dtroyer) wrote :

This is totally due to the setuptools release over the weekend and is being worked by the OpenStack infrastructure team (pbr) and dstufft (pip/setuptools). The indicated issue is due to the git sha in the python-glanceclient version.

I'm closing this for OSC as there is nothing we can do, unless the ultimate fix requires changes to global requirements to get the correct updated pbr. Will reopen if that is the case.

Changed in python-openstackclient:
status: Confirmed → Invalid
Revision history for this message
Darren Birkett (darren-birkett) wrote :

Not sure why the linkage is not working, but the review to pin this in openstack-ansible is here:

https://review.openstack.org/#/c/141811/

Changed in openstack-ansible:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to os-ansible-deployment (stable/juno)

Fix proposed to branch: stable/juno
Review: https://review.openstack.org/142110

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to os-ansible-deployment (stable/juno)

Reviewed: https://review.openstack.org/142110
Committed: https://git.openstack.org/cgit/stackforge/os-ansible-deployment/commit/?id=7ea012643aa90f5f8369bd4d7e62b5d4fef2d0cf
Submitter: Jenkins
Branch: stable/juno

commit 7ea012643aa90f5f8369bd4d7e62b5d4fef2d0cf
Author: Darren Birkett <email address hidden>
Date: Mon Dec 15 14:38:56 2014 +0000

    pin setuptools to 7.0 to workaround brokenness in 8.x

    setuptools 8.0 (and subsequently 8.0.1, 8.0.2) were released over the
    weekend. This introduces a breaking change whereby python packages
    installed from SHA, rather than with a proper release version, do not
    have their version numbers parsed properly due to the appended sha.
    Eg python-glanceclient 0.14.2.2.gb126351

    This commit:

    - pins setuptools to 7.0, to workaround this issue until a fix
    is made upstream, inside the global requirements.txt

    - removes package installations of python-setuptools and
    python-pip which had potential to further conflict.

    - removes the list pip_common_packages from the all_common vars file

    Closes-Bug: 1402679

    Closes-Bug: 1402672

    Change-Id: Idb75f816f47740ee28ec5d7d8afb118acf4a71bb
    (cherry picked from commit 2793a1dbcb73d1ebc8ed31a6e75fc31506b0c4e8)

tags: added: in-stable-juno
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to os-ansible-deployment (master)

Reviewed: https://review.openstack.org/141811
Committed: https://git.openstack.org/cgit/stackforge/os-ansible-deployment/commit/?id=2793a1dbcb73d1ebc8ed31a6e75fc31506b0c4e8
Submitter: Jenkins
Branch: master

commit 2793a1dbcb73d1ebc8ed31a6e75fc31506b0c4e8
Author: Darren Birkett <email address hidden>
Date: Mon Dec 15 14:38:56 2014 +0000

    pin setuptools to 7.0 to workaround brokenness in 8.x

    setuptools 8.0 (and subsequently 8.0.1, 8.0.2) were released over the
    weekend. This introduces a breaking change whereby python packages
    installed from SHA, rather than with a proper release version, do not
    have their version numbers parsed properly due to the appended sha.
    Eg python-glanceclient 0.14.2.2.gb126351

    This commit:

    - pins setuptools to 7.0, to workaround this issue until a fix
    is made upstream, inside the global requirements.txt

    - removes package installations of python-setuptools and
    python-pip which had potential to further conflict.

    - removes the list pip_common_packages from the all_common vars file

    Closes-Bug: 1402679

    Closes-Bug: 1402672

    Change-Id: Idb75f816f47740ee28ec5d7d8afb118acf4a71bb

Changed in openstack-ansible:
status: In Progress → Fix Committed
Changed in openstack-ansible:
milestone: none → 10.1.0
Changed in openstack-ansible:
milestone: 10.1.0 → 10.1.1
Changed in openstack-ansible:
milestone: 10.1.1 → 10.1.0
status: Fix Committed → Fix Released
no longer affects: openstack-ansible/juno
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on os-ansible-deployment (icehouse)

Change abandoned by Jesse Pretorius (<email address hidden>) on branch: icehouse
Review: https://review.openstack.org/149213
Reason: This patch was an investigation to figure out what needed to go into the branch in order to get the gate operational. Now that we know, we can cherry-pick the patches individually.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to os-ansible-deployment (icehouse)

Fix proposed to branch: icehouse
Review: https://review.openstack.org/149639

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on os-ansible-deployment (icehouse)

Change abandoned by Jesse Pretorius (<email address hidden>) on branch: icehouse
Review: https://review.openstack.org/149639
Reason: This is no longer required.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to os-ansible-deployment (icehouse)

Reviewed: https://review.openstack.org/149639
Committed: https://git.openstack.org/cgit/stackforge/os-ansible-deployment/commit/?id=1d749d5718e35919b79e49d195ac9c6306f2a5dd
Submitter: Jenkins
Branch: icehouse

commit 1d749d5718e35919b79e49d195ac9c6306f2a5dd
Author: Darren Birkett <email address hidden>
Date: Mon Dec 15 14:38:56 2014 +0000

    pin setuptools to 7.0 to workaround brokenness in 8.x

    setuptools 8.0 (and subsequently 8.0.1, 8.0.2) were released over the
    weekend. This introduces a breaking change whereby python packages
    installed from SHA, rather than with a proper release version, do not
    have their version numbers parsed properly due to the appended sha.
    Eg python-glanceclient 0.14.2.2.gb126351

    This commit:
    - pins setuptools to 7.0, to workaround this issue until a fix
    is made upstream, inside the global requirements.txt
    - removes package installations of python-setuptools and
    python-pip which had potential to further conflict.
    - removes the list pip_common_packages from the all_common vars file

    Closes-Bug: #1402679
    Closes-Bug: #1402672

    Conflicts:
            requirements.txt
            rpc_deployment/vars/repo_packages/swift.yml

    Change-Id: Idb75f816f47740ee28ec5d7d8afb118acf4a71bb
    (cherry picked from commit 2793a1dbcb73d1ebc8ed31a6e75fc31506b0c4e8)

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.