gate-trove-functional-dsvm-mysql is broken on stable/kilo due to older openstackclient

Bug #1479358 reported by Matt Riedemann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Trove Integration
Fix Released
Undecided
Nikhil Manchanda

Bug Description

http://logs.openstack.org/81/206681/1/gate/gate-trove-functional-dsvm-mysql/798984d/console.html#_2015-07-28_23_15_04_488

The trove job on stable/kilo is trying to use a version of openstackclient that isn't available in stable/kilo:

openstack endpoint list: error: argument -f/--format: invalid choice: 'value' (choose from 'csv', 'html', 'json', 'table', 'yaml')

osc is capped at python-openstackclient>=1.0.3,<1.1.0 on stable/kilo:

https://github.com/openstack/requirements/blob/stable/kilo/global-requirements.txt#L135

python-openstackclient==1.0.4 is what's being used in this job:

http://logs.openstack.org/81/206681/1/gate/gate-trove-functional-dsvm-mysql/798984d/logs/pip-freeze.txt.gz

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

This is the breaker: https://review.openstack.org/#/c/202005/

If that job is going to be branchless it should be tested against stable branches as well, like we do for Tempest.

no longer affects: trove
Changed in trove-integration:
status: New → In Progress
assignee: nobody → Matt Riedemann (mriedem)
Revision history for this message
Matt Riedemann (mriedem) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on trove-integration (master)

Change abandoned by Matt Riedemann (<email address hidden>) on branch: master
Review: https://review.openstack.org/207054
Reason: This isn't going to work.

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

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

Changed in trove-integration:
assignee: Matt Riedemann (mriedem) → Nikhil Manchanda (slicknik)
Changed in trove-integration:
assignee: Nikhil Manchanda (slicknik) → Peter Stachowski (peterstac)
Changed in trove-integration:
assignee: Peter Stachowski (peterstac) → Nikhil Manchanda (slicknik)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to trove-integration (master)

Reviewed: https://review.openstack.org/207193
Committed: https://git.openstack.org/cgit/openstack/trove-integration/commit/?id=4ae66606e8fae2a4c92e320d86049edf51c6f6ac
Submitter: Jenkins
Branch: master

commit 4ae66606e8fae2a4c92e320d86049edf51c6f6ac
Author: Nikhil Manchanda <email address hidden>
Date: Wed Jul 29 12:39:24 2015 -0700

    Fix gate-trove-functional-dsvm-mysql for stable branches

    Fix the gate-trove-functional-dsvm-mysql job for the stable/juno
    and the stable/kilo branches. Specifically:

    - Commit fd52298c7911f92eb8930fe1a8cff0f3798f2967 did not take into
      account capped versions of python-openstackclient so the stable
      branches are broken with them. This fix now conditionally uses the
      old pre-keystone v3 commands explictly to work with stable/juno and
      stable/kilo

    - Sourcing of the devstack localrc and openrc files fails in stable/juno
      and stable/kilo since 'enable_plugin' doesn't exist. This fix updates
      how we source these files.

    - The requirements on the guest images are different for stable/juno and
      stable/kilo. There have been some recently introduced breaking changes
      (e.g. change in oslo module namespaces) which means that we now have to
      build images with different sets of requirements for stable/juno and
      stable/kilo.

    Co-Authored-By: Matt Riedemann <email address hidden>
    Closes-Bug: #1479358

    Change-Id: Iddeaaaf77b326945200be0e59df73745122b7f7b

Changed in trove-integration:
status: In Progress → Fix Committed
Amrith Kumar (amrith)
Changed in trove-integration:
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.