]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Pass correct args to vol_rpc create_volume calls
authorMike Perez <thingee@gmail.com>
Wed, 25 Sep 2013 03:55:04 +0000 (20:55 -0700)
committerMike Perez <thingee@gmail.com>
Wed, 25 Sep 2013 03:55:04 +0000 (20:55 -0700)
commitc77868f44b1e72be2b65f697a1f0f3b32126e581
tree22ca0f1c95aef9dfcc72dc35d1907b021e7d3f19
parentf4dc301efda13a6a1769b071b1955a4869110b98
Pass correct args to vol_rpc create_volume calls

In the chance and simple scheduler, create volume was originally using
snapshot_id and image_id for request_spec and filter_properties. This
corrects that by passing the correct arguments and keyword arguments to
create_volume.

Change-Id: Icbcfbfb28f36e1f75519bf5ad6fcbcc12a9b4ec1
Closes-Bug: #1212710
cinder/scheduler/chance.py
cinder/scheduler/simple.py