Volume transfer functionality is broken by microversion 3.55 introducing multiple issues

Bug #1784703 reported by Jay Bryant on 2018-07-31
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sean McGinnis

Bug Description

It was first discovered last night that the master level of devstack (rocky) is unable to list volumes in Horizon. It just reports an error and no data is displayed. The Horizon logs show:

WARNING horizon.exceptions Recoverable error: API version '3.0' is not supported on 'cinderclient.v3.volume_transfers.list' method.

Others noticed that OSC functional tests were failing when trying to create a transfer:

openstack --os-volume-api-version 3 volume transfer request create -f json 91b3cac4a12f46fabe450b7f0b1d57e6 --name d605ccafffda4b0a88db50e509d2e675
API version '3.0' is not supported on 'cinderclient.v3.volume_transfers.create' method.

Upon investigation it appears that the change to implement transferring snapshots with volumes was improperly implemented. It wrapped all volume transfer functions with Micro Version 3.55 instead of just the added functionality. The change is here: https://github.com/openstack/python-cinderclient/commit/a554faa6530fa0bb70430572869a6a2555783912

We need to only wrap handling the change that allows volume transfers with the MicroVersion check.

Jay Bryant (jsbryant) on 2018-07-31
Changed in cinder:
importance: Undecided → Critical
status: New → Confirmed
Sean McGinnis (sean-mcginnis) wrote :
Changed in cinder:
assignee: nobody → Sean McGinnis (sean-mcginnis)
status: Confirmed → In Progress

This issue was fixed in the openstack/python-cinderclient 4.0.1 release.

Changed in cinder:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers