]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add necessary fields to volume creation
authorlisali <xiaoyan.li@intel.com>
Thu, 25 Feb 2016 08:59:42 +0000 (08:59 +0000)
committerMichał Dulko <michal.dulko@intel.com>
Mon, 29 Feb 2016 14:14:23 +0000 (15:14 +0100)
commit231f856ece08ebc65ed5fcf201df10b1cec27d0b
tree33d3ce46f5a282b0e4fd76e16a7162fc4e6c09f5
parent14d7b1448b4b26a4812e251fa9769ba2ac878c16
Add necessary fields to volume creation

This patch is to add the two fields in driver.py when creating
volumes.

Without the fix, it leads query related to the volume failed
with exception.

Change-Id: I0055b5bf402b0aa7b4ee78b0fb40bedea850af94
Closes-Bug: #1549673
Related-Bug: #1549669
cinder/tests/unit/test_volume.py
cinder/volume/driver.py