Comment 2 for bug 1628340

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

Reviewed: https://review.openstack.org/378175
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=d96fb9a10135df062732279bac2d7eb6073872b0
Submitter: Jenkins
Branch: master

commit d96fb9a10135df062732279bac2d7eb6073872b0
Author: Zhiteng Huang <email address hidden>
Date: Tue Sep 27 19:31:59 2016 -0700

    Fix IndexError in volume manager

    A list comprehension in volume manager can raise IndexError due
    to unsafe assumption of input. This change fix it by not assuming
    list comprehension always return none empty list. This also fixes
    a snapshot DB call by using OVO.

    Change-Id: I83e8ac8dcf9e84b37847d6eb09065d55e843f82e
    Closes-bug: #1628340