TGT and ISER Fail When volume name Is Not In provider_location

Bug #1386902 reported by Mike Perez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
High
Mike Perez

Bug Description

For ISER and Tgtadmin in cinder.volume.iscsi when the name changes from what's in the provider_location, we call _fix_id_migration(). However this requires 4 args and we're currently only passing 3 in it's only use.

https://github.com/openstack/cinder/blob/master/cinder/volume/iscsi.py#L112

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

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/131582
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=f61b3bd0beb52808383358de15df39dcaf2aa60c
Submitter: Jenkins
Branch: master

commit f61b3bd0beb52808383358de15df39dcaf2aa60c
Author: Mike Perez <email address hidden>
Date: Tue Oct 28 14:48:50 2014 -0700

    Fix wrong arg number for _fix_id_migration issue

    If the provider_location doesn't contain the name of the volume, TGT and
    ISER will fail on doing a id migration, due to wrong number of
    arguments.

    Change-Id: I420ceaf14edfb6a0e3b8fd1f50070dc70b6f16bd
    Closes-Bug: #1386902

Changed in cinder:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (stable/juno)

Fix proposed to branch: stable/juno
Review: https://review.openstack.org/131843

Revision history for this message
Dave Walker (davewalker) wrote :

@Mike, can you help solve a question on the stable/juno proposed backport. John Griffith has raised that he can't see when this code path is being called.

Thanks

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on cinder (stable/juno)

Change abandoned by Mike Perez (<email address hidden>) on branch: stable/juno
Review: https://review.openstack.org/131843

Mike Perez (thingee)
no longer affects: cinder/juno
Thierry Carrez (ttx)
Changed in cinder:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: kilo-1 → 2015.1.0
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.