stable:kilo: testresources 2.0.0 require pbr > 1.8 but pbr is capped too low in kilo

Bug #1572417 reported by Tony Breeds
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack-Gate
Fix Released
Undecided
Unassigned
devstack
Fix Released
Undecided
Unassigned
oslo.db
Fix Released
Undecided
Unassigned

Bug Description

Testresources 2.0.0 was released recently, this release included adding pbr>=1.8 to its requirements list. However, on the kilo we cap pbr at <1.0. So pulling in testresources 2.0.0 (and future versions) will break things.

Revision history for this message
Tony Breeds (o-tony) wrote :

We can't just cap testresources in kilo as oslo.db has an uncapped requirement on testresources. So when we install from pypi we fail anyway with:

http://logs.openstack.org/58/307858/2/check/gate-tempest-dsvm-full/8bf74ba/logs/devstacklog.txt.gz#_2016-04-19_23_28_21_422

So the way forward is
1. Land a devstack chnage that manually installs testresources<2.0.0
2. Land a review to cap testresources
3. Sync oslo.db with g-r
4. release oslo.db as 1.7.5
5. revert the patch in 1

Revision history for this message
Tony Breeds (o-tony) wrote :

I'll create the require reviews and set the topic to fix_testresources

Changed in openstack-gate:
status: New → Confirmed
Changed in devstack:
status: New → Confirmed
Changed in oslo.db:
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to devstack (stable/kilo)

Related fix proposed to branch: stable/kilo
Review: https://review.openstack.org/308157

Revision history for this message
Tony Breeds (o-tony) wrote :

1. Land a devstack change that manually installs testresources<2.0.0
    https://review.openstack.org/#/c/308157/

2. Land a review to cap testresources
    https://review.openstack.org/#/c/307858/

3. Sync oslo.db with g-r
    https://review.openstack.org/#/c/308162/

4. release oslo.db as 1.7.5
    https://review.openstack.org/#/c/308163/
5. revert the patch in 1
    Later

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to devstack (stable/kilo)

Reviewed: https://review.openstack.org/308157
Committed: https://git.openstack.org/cgit/openstack-dev/devstack/commit/?id=af5c5e656a2b0da4f23875d782ea8a91a3d5cd82
Submitter: Jenkins
Branch: stable/kilo

commit af5c5e656a2b0da4f23875d782ea8a91a3d5cd82
Author: Tony Breeds <email address hidden>
Date: Wed Apr 20 17:01:40 2016 +1000

    Force testresources<2.0.0 outside of g-r

    There exists a chicken'n'egg problem where we need to capp testresources
    but we can't because testresources is messing up the gate.

    Manually for that cap until we can land and release fixed packages.

    Change-Id: Ieb2cf6c2a06ccd5d49f36fa2055e9087e33f17ca
    Related-Bug: 1572417

tags: added: in-stable-kilo
Revision history for this message
Tony Breeds (o-tony) wrote :

So Steps 1-4 are complete

step 5 has been proposed https://review.openstack.org/#/c/308702/ but waiting on merging to verify it works as expected.

Once 308702 merges we can close this bug

Revision history for this message
Sean Dague (sdague) wrote :

This devstack bug was last updated over 180 days ago, as devstack
is a fast moving project and we'd like to get the tracker down to
currently actionable bugs, this is getting marked as Invalid. If the
issue still exists, please feel free to reopen it.

Changed in devstack:
status: Confirmed → Invalid
Tony Breeds (o-tony)
Changed in oslo.db:
status: Confirmed → Fix Committed
Changed in devstack:
status: Invalid → Fix Committed
Changed in openstack-gate:
status: Confirmed → Fix Committed
Changed in devstack:
status: Fix Committed → Fix Released
Changed in openstack-gate:
status: Fix Committed → Fix Released
Ben Nemec (bnemec)
Changed in oslo.db:
status: Fix Committed → Fix Released
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.