Calls to create_volume (both volume_rpcapi and scheduler_rpcapi) pass
mandatory args as optional and reverse. This patch fixes the calls to be
according to the function definition.
Also, fix the call to create_volume in the migration code where
allow_reschedule defaults to True, but we don't pass request_spec so it
prints a warning and disables it.
Reviewed: https:/ /review. openstack. org/48183 github. com/openstack/ cinder/ commit/ d534811cbcfe591 688b5e9c6becbed 2224be3c31
Committed: http://
Submitter: Jenkins
Branch: master
commit d534811cbcfe591 688b5e9c6becbed 2224be3c31
Author: Avishay Traeger <email address hidden>
Date: Wed Sep 25 08:41:21 2013 +0300
Fix mandatory and optional args for create_volume
Calls to create_volume (both volume_rpcapi and scheduler_rpcapi) pass
mandatory args as optional and reverse. This patch fixes the calls to be
according to the function definition.
Also, fix the call to create_volume in the migration code where reschedule defaults to True, but we don't pass request_spec so it
allow_
prints a warning and disables it.
Change-Id: I9509f88866e0ae 182f90ebdfca1fc f415ca60d19
Closes-Bug: #1230069