gate-tempest-dsvm-large-ops fails in stable/juno due to uncapped dep problems with osc

Bug #1482350 reported by Matt Riedemann
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devstack
Fix Released
Undecided
Matt Riedemann

Bug Description

http://logs.openstack.org/86/194486/2/check/gate-tempest-dsvm-large-ops/8e77f2f//logs/devstacklog.txt.gz#_2015-08-06_03_49_44_423

ERROR: openstackclient.shell Exception raised: (python-keystoneclient 1.1.1 (/usr/local/lib/python2.7/dist-packages), Requirement.parse('python-keystoneclient>=1.3.0'), set(['python-novaclient']))

It looks like gate-tempest-dsvm-large-ops is failing because of an unsatisfiable dependency, preventing the openstack client from working. http://logs.openstack.org/86/194486/2/check/gate-tempest-dsvm-large-ops/8e77f2f//logs/devstacklog.txt.gz#_2015-08-06_03_49_44_423

keystonemiddleware requires python-keystoneclient <1.2.0,>=0.10.0 http://logs.openstack.org/86/194486/2/check/gate-tempest-dsvm-large-ops/8e77f2f//logs/devstacklog.txt.gz#_2015-08-06_03_48_27_408

python-openstackclient 1.0.1 requires python-novaclient>=2.18.0 http://logs.openstack.org/86/194486/2/check/gate-tempest-dsvm-large-ops/8e77f2f//logs/devstacklog.txt.gz#_2015-08-06_03_49_30_062

python-novaclient 2.26.0 requires python-keystoneclient>=1.3.0 https://github.com/openstack/python-novaclient/blob/2.26.0/requirements.txt#L15

http://logstash.openstack.org/#eyJzZWFyY2giOiJtZXNzYWdlOlwiRVJST1I6IG9wZW5zdGFja2NsaWVudC5zaGVsbCBFeGNlcHRpb24gcmFpc2VkOiAocHl0aG9uLWtleXN0b25lY2xpZW50IDEuMS4xICgvdXNyL2xvY2FsL2xpYi9weXRob24yLjcvZGlzdC1wYWNrYWdlcyksIFJlcXVpcmVtZW50LnBhcnNlKCdweXRob24ta2V5c3RvbmVjbGllbnQ+PTEuMy4wJyksIHNldChbJ3B5dGhvbi1ub3ZhY2xpZW50J10pKVwiIEFORCB0YWdzOlwiY29uc29sZVwiIiwiZmllbGRzIjpbXSwib2Zmc2V0IjowLCJ0aW1lZnJhbWUiOiI2MDQ4MDAiLCJncmFwaG1vZGUiOiJjb3VudCIsInRpbWUiOnsidXNlcl9pbnRlcnZhbCI6MH0sInN0YW1wIjoxNDM4ODg4NzYxNzU5LCJtb2RlIjoiIiwiYW5hbHl6ZV9maWVsZCI6IiJ9

Looks like something was released on 8/5 to introduce the issue.

Matt Riedemann (mriedem)
Changed in openstack-gate:
status: New → Confirmed
Revision history for this message
Matt Riedemann (mriedem) wrote :

Tracking in https://etherpad.openstack.org/p/stable-tracker with steps on how I think we can unwedge juno.

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

I think installing the needed deps at the start of the job would avoid the problem, since we deliberately don't use -U within devstack.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to devstack (stable/juno)

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

Matt Riedemann (mriedem)
Changed in devstack:
status: New → In Progress
assignee: nobody → Matt Riedemann (mriedem)
no longer affects: openstack-gate
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to devstack (stable/juno)

Reviewed: https://review.openstack.org/212135
Committed: https://git.openstack.org/cgit/openstack-dev/devstack/commit/?id=001b1cdddc8cda6dd9eea51ef91eec589dfd88e6
Submitter: Jenkins
Branch: stable/juno

commit 001b1cdddc8cda6dd9eea51ef91eec589dfd88e6
Author: Matt Riedemann <email address hidden>
Date: Wed Aug 12 11:14:23 2015 -0700

    Workaround large-ops wedge with uncapped novaclient in osc 1.0.1

    python-openstackclient 1.0.1 pulls in uncapped novaclient which breaks
    the caps for novaclient in other projects in Juno. This only happens in
    the large-ops job because cinder isn't installed and therefore cinder
    doesn't install capped novaclient per juno global-requirements before osc
    is installed. We can't fix osc and bump it to 1.0.2 since osc is capped
    at <=1.0.1 in global-requirements for stable/juno, so we're stuck.

    So the workaround is to install python-novaclient from
    global-requirements prior to installing python-openstackclient but only
    in the case of the large-ops job, which we identify from the usage of
    the fake virt driver.

    Closes-Bug: #1482350

    Change-Id: Id8cc112800d757bfd509cc48087b769410356920

tags: added: in-stable-juno
Tony Breeds (o-tony)
Changed in devstack:
status: In Progress → Fix Committed
Sean Dague (sdague)
Changed in devstack:
status: Fix Committed → Fix Released
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.