Comment 25 for bug 1493350

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

Reviewed: https://review.openstack.org/277606
Committed: https://git.openstack.org/cgit/openstack/os-brick/commit/?id=82cdb40f870c958da6ab6ef447b35be2eaec5c8d
Submitter: Jenkins
Branch: master

commit 82cdb40f870c958da6ab6ef447b35be2eaec5c8d
Author: Jenkins <email address hidden>
Date: Thu Feb 11 17:22:19 2016 +0000

    Lun id's > 255 should be converted to hex

    This patch addresses the issue where lun id's values are larger
    than 255 and are being kept as integers. This causes the volume and
    search paths to be malformed and volumes can't be found. This patch
    adds two functions to linuxscsi.py to process the lun id's; they can
    process both a single lun id and a list of them. If a lun id has a
    value larger than 255 it is converted to hex. This patch also modifies
    the necessary unit tests and adds ones to cover the new main function.

    Change-Id: Ib0b2f239a8152275de9ea66fa99a286dfbe53d57
    Closes-bug: #1493350