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
Reviewed: https:/ /review. openstack. org/378175 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=d96fb9a1013 5df062732279bac 2d7eb6073872b0
Committed: https:/
Submitter: Jenkins
Branch: master
commit d96fb9a10135df0 62732279bac2d7e b6073872b0
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: I83e8ac8dcf9e84 b37847d6eb09065 d55e843f82e
Closes-bug: #1628340