manila/manila/tests/scheduler
Rodrigo Barbieri 3eaf9bf23b Fix Manage API synchronous call
Backporting this to stable/mitaka to fix improper behavior
of manage API.

Original description below:

RPCAPI call to Scheduler to perform share_type and host
validation should be asynchronous so share can be
created in DB with status "manage_error" if validation
is not successful.

This change also addresses incorrect exception type in API
and DB popping fields from supplied parameter.

APIImpact

(cherry-picked from commit 165b03e021)
Closes-bug: #1561139
Change-Id: If9960d22a63c3db30179c7a4ce5b805cef983b73
2016-04-15 10:10:26 -03:00
..
drivers Scheduler enhancements for Share Replication 2016-02-24 14:05:09 -05:00
filters Disallow scheduling multiple replicas on a given pool 2016-03-11 17:56:01 +00:00
weighers Reorganize scheduler and merge code from Oslo incubator 2015-12-01 20:54:17 +00:00
__init__.py pep8: Enable H303 and F403 2014-08-23 10:40:52 +02:00
fakes.py Scheduler enhancements for Share Replication 2016-02-24 14:05:09 -05:00
test_host_manager.py Fix the scheduler choose a disable share service 2016-03-17 19:03:21 +08:00
test_manager.py Merge "Data Replication: Ensure Snapshots across replicas" 2016-03-19 09:15:12 +00:00
test_rpcapi.py Fix Manage API synchronous call 2016-04-15 10:10:26 -03:00
test_scheduler_options.py Reorganize scheduler and merge code from Oslo incubator 2015-12-01 20:54:17 +00:00