commit 0f3ec7c70a71d21aaf8db82b691255d68631785d
Author: Peter Wang <email address hidden>
Date: Mon Sep 7 03:52:20 2015 -0400
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.')
Reviewed: https:/ /review. openstack. org/220902 /git.openstack. org/cgit/ openstack/ os-brick/ commit/ ?id=0f3ec7c70a7 1d21aaf8db82b69 1255d68631785d
Committed: https:/
Submitter: Jenkins
Branch: master
commit 0f3ec7c70a71d21 aaf8db82b691255 d68631785d
Author: Peter Wang <email address hidden>
Date: Mon Sep 7 03:52:20 2015 -0400
Use 'device' instead of 'volume_path'
If device is not found at the first try, Found will be thrown. Found expects the key 'device',
exception VolumeDeviceNot
The exception VolumeDeviceNot
however, 'volume_path' is passed in. As a result,
KeyError: 'device' exception will be thrown.
See the following definition in exception.py: Found(CinderExc eption) :
class VolumeDeviceNot
message = _('Volume device not found at %(device)s.')
This bug is introduced in https:/ /review. openstack. org/#/c/ 213389
Change-Id: I64b37486631c31 569fb037064c2ec 0fee3bd855c
Closes-Bug: #1492936