3eaf9bf23b
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
|
||
---|---|---|
.. | ||
drivers | ||
filters | ||
weighers | ||
__init__.py | ||
fakes.py | ||
test_host_manager.py | ||
test_manager.py | ||
test_rpcapi.py | ||
test_scheduler_options.py |