]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Set bootable flag for volume serializer
authorxiaoxi_chen <xiaoxi.chen@intel.com>
Thu, 1 Aug 2013 04:15:42 +0000 (12:15 +0800)
committerxiaoxi_chen <xiaoxi.chen@intel.com>
Sun, 4 Aug 2013 06:47:47 +0000 (14:47 +0800)
commit84d855d121adf7fbfc6a5b1bb4924068360d321e
tree9cac35da4b19683d5ec59e44bbf97eb4aaf93af0
parent0050ea2c4fc7d5707c4178719244e93f41aff01b
Set bootable flag for volume serializer

In previous code we didn't set the bootable flag in volume
serializer, and even didn't check it in test. This is the
root cause for bug #1207155

This patch fixed this issue by set the bootable flag in serializer.

Fixed bug #1207155

Change-Id: I0219785aa7f30036747c230800447e99c383042c
cinder/api/v1/volumes.py
cinder/api/v2/volumes.py
cinder/tests/api/v1/test_volumes.py
cinder/tests/api/v2/test_volumes.py