unit tests fail with novaclient 6.0.0

Bug #1619093 reported by Matt Riedemann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Critical
Matt Riedemann

Bug Description

Seen here:

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

http://logs.openstack.org/16/363516/1/check/gate-cross-horizon-python27-ubuntu-xenial/2644145/console.html

Looks like there are problems with the stub_novaclient stuff in the api tests, probably need to set a fake api_version on the stubbed novaclient.

Matt Riedemann (mriedem)
Changed in horizon:
status: New → Confirmed
Matt Riedemann (mriedem)
Changed in horizon:
assignee: nobody → Matt Riedemann (mriedem)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

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

Changed in horizon:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/364029
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=9db0f0c0fdf32f21e22a3263332dcff29b42ccf2
Submitter: Jenkins
Branch: master

commit 9db0f0c0fdf32f21e22a3263332dcff29b42ccf2
Author: Matt Riedemann <email address hidden>
Date: Wed Aug 31 22:31:17 2016 -0400

    Hard-code stubbed novaclient api_version to 2.1

    The unit tests fail with novaclient 6.0.0 which requires
    the use of an api_version property on the base Client class.

    This change hard-codes the stubbed api_version attribute to
    be 2.1 which is equivalent to the preferred version used in
    the actual openstack_dashboard.api.nova.VERSSIONS code.

    Change-Id: I9b89a224ad715cd0933d9757ca70e8a577eefc95
    Closes-Bug: #1619093

Changed in horizon:
status: In Progress → Fix Released
Changed in horizon:
importance: Undecided → Critical
milestone: none → newton-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/horizon 10.0.0.0rc1

This issue was fixed in the openstack/horizon 10.0.0.0rc1 release candidate.

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.