]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix _usage_from_snapshot in volume.utils
authorIlya Tyaptin <ityaptin@mirantis.com>
Thu, 6 Nov 2014 12:32:33 +0000 (16:32 +0400)
committerIlya Tyaptin <ityaptin@mirantis.com>
Thu, 22 Jan 2015 13:59:49 +0000 (13:59 +0000)
commitad5d20a26628cbd5266645a73b98970934a5e6d2
tree6bc55b198d03d0df692903e09ce4dc7d5523a7be
parentb3fd4e1450e5825c31c92a2db6aea550e272261e
Fix _usage_from_snapshot in volume.utils

Now in this function we trying to get snapshot_ref.volume for
collecting 'availability_zone'. It's invalid because snapshot_ref
in this function is __dict__. In this patchset there is fix for
it.

Change-Id: I4cb86c0efd7520904fdf2288048d07cc40ed3a13
Closes-bug: #1390064
cinder/tests/test_volume_utils.py
cinder/volume/utils.py