Retype volume in volumes_client doesn't return a response body

Bug #1703997 reported by Felipe Monteiro
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
Fix Released
Undecided
Nishad Shah

Bug Description

The API retype_volume in v2 volumes_client doesn't return a response body, which is incorrect. Reference: https://github.com/openstack/tempest/blob/18ca366ebeabc87c977a92dbbeeba2cdd49b3947/tempest/lib/services/volume/v2/volumes_client.py#L320

Felipe Monteiro (fm577c)
Changed in tempest:
assignee: nobody → Felipe Monteiro (fm577c)
Nishad Shah (raigax9)
Changed in tempest:
assignee: Felipe Monteiro (fm577c) → Nishad Shah (raigax9)
Revision history for this message
Nishad Shah (raigax9) wrote :

https://review.openstack.org/#/c/483115/ (Added return statement in retype_volume)
https://review.openstack.org/#/c/483116/ (Added test case for retype_volume)

Changed in tempest:
status: New → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tempest (master)

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

commit d850882db21e718ad3d8cfea6ecc3b1336b7fc9c
Author: raigax9 <email address hidden>
Date: Wed Jul 12 18:31:39 2017 -0400

    Added return statement to retype_volume in v2 volumes_client

    This commit adds a missing return statement to the retype_volume API
    endpoint in the v2 volumes_client. Otherwise, None, instead of an
    empty dict, is returned for the response body.

    Closes-Bug: #1703997
    Partially Implements: blueprint tempest-lib-missing-test-coverage
    Change-Id: I1a308f486fd7b14a9111a3433284e3c4abf65bd3

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

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