Unable to build contrib packages due to pbr 0.11.0 bump

Bug #1450733 reported by Matt Thompson
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
High
Steve Baker
Kilo
Fix Released
Undecided
Unassigned
OpenStack-Ansible
Fix Released
Medium
Kevin Carter
Kilo
Fix Released
Critical
Jesse Pretorius
Trunk
Fix Released
Medium
Kevin Carter

Bug Description

Hi All,

Our env requires extraroute contrib package and it's failing to build now that pbr 0.11.0 has been released. I'm seeing the following:

ValueError: git history requires a target version of pbr.version.SemanticVersion(2015.1.0.0rc2), but target version is pbr.version.SemanticVersion(0.1.0)
error in setup command: Error parsing /tmp/openstack-builder/heat_contrib_extraroute/contrib/extraroute/setup.cfg: ValueError: git history requires a target version of pbr.version.SemanticVersion(2015.1.0.0rc2), but target version is pbr.version.SemanticVersion(0.1.0)

Thanks!

--Matt

Revision history for this message
Robert Collins (lifeless) wrote :

Hi - this is covered in http://lists.openstack.org/pipermail/openstack-dev/2015-April/063063.html - in short your setup.cfg is old (it contains 0.1.0, which is < your most recent tag (2015.1.0.0rc2), and pbr cannot both satisfy your setup.cfg request and the historical reality that you've released newer versions.

So either:
 a) (my recommendation) remove version= from setup.cfg
or
 b) update the version to specify the next version you intend to release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

Fix proposed to branch: master
Review: https://review.openstack.org/179349

Changed in heat:
assignee: nobody → Matt Thompson (mattt416)
status: New → In Progress
no longer affects: openstack-ansible/kilo
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to os-ansible-deployment (master)

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

commit 688516acf0cd3f658b9c0c46ca877ca1b9b7edd3
Author: Kevin Carter <email address hidden>
Date: Fri May 1 09:40:14 2015 -0500

    Lock down PBR to < version 0.11.0

    This change was made to ensure that PBR is using version < 0.11.0.
    This is because changes in upstream PBR have made it impossible to
    build contributing packages in heat and will likely impact other
    services until the switch to liberty is in full effect. To ensure
    consistent building of OpenStack packages PBR is now being installed
    in the repo server containers which will ensure there are no
    assumptions being made when creating python packages from OpenStack
    contributing sources that may not be as well maintained as others.

    Change-Id: I20c216543e63ef142119c2625fb219e030a708dd
    Partial-bug: 1450733

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

Fix proposed to branch: kilo
Review: https://review.openstack.org/179462

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

Fix proposed to branch: master
Review: https://review.openstack.org/179671

Changed in heat:
assignee: Matt Thompson (mattt416) → Steve Baker (steve-stevebaker)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on os-ansible-deployment (kilo)

Change abandoned by Kevin Carter (<email address hidden>) on branch: kilo
Review: https://review.openstack.org/179462
Reason: this is no longer needed at this time as such it has been abandoned.

Changed in heat:
importance: Undecided → Critical
importance: Critical → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on heat (master)

Change abandoned by Matt Thompson (<email address hidden>) on branch: master
Review: https://review.openstack.org/179349
Reason: Abandoned in favour of https://review.openstack.org/#/c/179671/

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/179671
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=bb4c91543462863cf8f6f6370aeb8180ecab75e4
Submitter: Jenkins
Branch: master

commit bb4c91543462863cf8f6f6370aeb8180ecab75e4
Author: Steve Baker <email address hidden>
Date: Mon May 4 10:33:23 2015 +1200

    Do not specify version for contrib plugins

    The pbr 0.11.0 release has shown that having multiple trees in a repo
    each with their on version that is different to the git history is
    really not going to work.

    This change means that the version will be derived from git history,
    which will still be useful for operators managing what version of a
    plugin they have installed.

    Running sudo python setup.py install (as documented) is known to work
    with the latest pbr.

    Change-Id: I716a5374bb283d11e26459b5866a0437ab6fe0dd
    Closes-Bug: #1450733

Changed in heat:
status: In Progress → Fix Committed
Changed in openstack-ansible:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: none → liberty-1
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (stable/kilo)

Fix proposed to branch: stable/kilo
Review: https://review.openstack.org/211800

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

Reviewed: https://review.openstack.org/211800
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=03ac6b1455fb335ffc1b46633dc13b969257d4d1
Submitter: Jenkins
Branch: stable/kilo

commit 03ac6b1455fb335ffc1b46633dc13b969257d4d1
Author: Steve Baker <email address hidden>
Date: Mon May 4 10:33:23 2015 +1200

    Do not specify version for contrib plugins

    The pbr 0.11.0 release has shown that having multiple trees in a repo
    each with their on version that is different to the git history is
    really not going to work.

    This change means that the version will be derived from git history,
    which will still be useful for operators managing what version of a
    plugin they have installed.

    Running sudo python setup.py install (as documented) is known to work
    with the latest pbr.

    Change-Id: I716a5374bb283d11e26459b5866a0437ab6fe0dd
    Closes-Bug: #1450733

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

Reviewed: https://review.openstack.org/211265
Committed: https://git.openstack.org/cgit/stackforge/os-ansible-deployment/commit/?id=0f7f92b122df3d219ab86a95f2888dcffb12dd33
Submitter: Jenkins
Branch: kilo

commit 0f7f92b122df3d219ab86a95f2888dcffb12dd33
Author: Jesse Pretorius <email address hidden>
Date: Mon Aug 10 18:05:24 2015 +0100

    Update kilo for new dev work - 10 Aug 2015

    Update all repo SHAs for new work on 11.1.1

    The python package pbr needs to be capped to <0.11
    until https://review.openstack.org/211800 merges
    in upstream heat.

    Due to a build failure in the required python-openstacksdk
    this patch temporarily fixes the version to one that builds
    successfully. More information about this in:
     - https://launchpad.net/bugs/1484011

    Related-Bug: #1484011
    Closes-Bug: #1450733
    Change-Id: I415e23f2d4e4f1770ac4a03313b0dd984db8a671

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

Fix proposed to branch: kilo
Review: https://review.openstack.org/213439

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

Reviewed: https://review.openstack.org/213439
Committed: https://git.openstack.org/cgit/stackforge/os-ansible-deployment/commit/?id=a7e94d8a5d8d715c042b27e8c2973c81dd6551d4
Submitter: Jenkins
Branch: kilo

commit a7e94d8a5d8d715c042b27e8c2973c81dd6551d4
Author: Jesse Pretorius <email address hidden>
Date: Sat Aug 15 14:02:24 2015 +0100

    Update kilo for new dev work - 15 Aug 2015

    Update all repo SHAs for new work on 11.1.2

    The python package pbr cap has been removed due to
    https://review.openstack.org/211800 merging in openstack heat.

    Change-Id: I22532e797897be2e7ae75cd987170de28e37c3a3
    Closes-Bug: #1450733

Thierry Carrez (ttx)
Changed in heat:
milestone: liberty-1 → 5.0.0
Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote : Fix included in openstack/openstack-ansible 11.2.11

This issue was fixed in the openstack/openstack-ansible 11.2.11 release.

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/openstack-ansible 11.2.12

This issue was fixed in the openstack/openstack-ansible 11.2.12 release.

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote : Fix included in openstack/openstack-ansible 11.2.14

This issue was fixed in the openstack/openstack-ansible 11.2.14 release.

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.