Comment 6 for bug 1628340

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

Reviewed: https://review.openstack.org/379775
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=6079b7b0b9098e96b903d39e5d27803c9c97a5a0
Submitter: Jenkins
Branch: stable/newton

commit 6079b7b0b9098e96b903d39e5d27803c9c97a5a0
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
    (cherry picked from commit d96fb9a10135df062732279bac2d7eb6073872b0)