Volume v2 capabilities & scheduler-stats service clients makes v1 APIs call

Bug #1667354 reported by Ghanshyam Mann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
Fix Released
Medium
Ghanshyam Mann

Bug Description

Below Volume v2 service clients makes call t v1 APIs instead of v2 API.
- SchedulerStatsClient - tempest/lib/services/volume/v2/scheduler_stats_client.py
- CapabilitiesClient - tempest/lib/services/volume/v2/capabilities_client.py

Those service clients were added for v2 APIs as mentioned in release notes (https://docs.openstack.org/releasenotes/tempest/v14.0.0.html).
Those clients did not mention the api_version and it goes on default version which is v1.

Fix should be to make v2 API call as being promised via these stable interfaces.

Changed in tempest:
assignee: nobody → Ghanshyam Mann (ghanshyammann)
Changed in tempest:
status: New → In Progress
Changed in tempest:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tempest (master)

Reviewed: https://review.openstack.org/437443
Committed: https://git.openstack.org/cgit/openstack/tempest/commit/?id=49f99e7ece9f84af06bf1d0aa4f3dbe1c41ef3dc
Submitter: Jenkins
Branch: master

commit 49f99e7ece9f84af06bf1d0aa4f3dbe1c41ef3dc
Author: ghanshyam <email address hidden>
Date: Thu Feb 23 15:34:26 2017 +0000

    Fix volume v2 capabilities/scheduler-stats tests to test v2 APIs

    Currently capabilities/scheduler-stats tests for volume v2 APIs are
    making call to v1 API instead of v2. Because api_version is missing in
    respective service clients.

    This commit fix the issue by specifying the api_version as v2 on
    service clients to make API call on v2 endpoints.

    Closes-Bug: #1667354

    Change-Id: I9002c5ef8b4641597561d2b909bf5914ab8d9995

Changed in tempest:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tempest 16.0.0

This issue was fixed in the openstack/tempest 16.0.0 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.