swift containers install some python packages twice

Bug #1402672 reported by Jesse Pretorius
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Low
Darren Birkett
Icehouse
Fix Released
Low
Jesse Pretorius
Juno
Fix Released
Low
Darren Birkett

Bug Description

vars/repo_packages/all_common.yml includes setuptools, pip in pip_common_packages.
vars/repo_packages/swift.yml includes python-pip, python-setuptools in container_packages.

It would appear that we therefore end up with the same applications deployed through different methods.

There may be more duplication elsewhere.

description: updated
tags: added: juno-backport-potential
Revision history for this message
Darren Birkett (darren-birkett) wrote :

Not sure why the linkage isn't working, but the review is here:

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

Changed in openstack-ansible:
status: New → 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:
status: Fix Committed → Fix Released
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

Changed in openstack-ansible:
assignee: nobody → Darren Birkett (darren-birkett)
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.

Other bug subscribers

Remote bug watches

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