Peter Wang 0f3ec7c70a Use 'device' instead of 'volume_path'
If device is not found at the first try,
exception VolumeDeviceNotFound will be thrown.
The exception VolumeDeviceNotFound expects the key 'device',
however, 'volume_path' is passed in. As a result,
KeyError: 'device' exception will be thrown.

See the following definition in exception.py:
class VolumeDeviceNotFound(CinderException):
    message = _('Volume device not found at %(device)s.')

This bug is introduced in https://review.openstack.org/#/c/213389

Change-Id: I64b37486631c31569fb037064c2ec0fee3bd855c
Closes-Bug: #1492936
2015-09-07 22:30:10 -04:00
..
2015-08-10 12:03:36 +02:00
2015-04-17 17:11:34 +00:00
2015-02-05 23:58:37 +00:00
2015-04-28 22:25:57 +00:00