Comment 2 for bug 1492936

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

Reviewed: https://review.openstack.org/220902
Committed: https://git.openstack.org/cgit/openstack/os-brick/commit/?id=0f3ec7c70a71d21aaf8db82b691255d68631785d
Submitter: Jenkins
Branch: master

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.')

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

    Change-Id: I64b37486631c31569fb037064c2ec0fee3bd855c
    Closes-Bug: #1492936