openstacksdk/openstack
James E. Blair 3ad9dabe55
Don't wait for task in submit_task
The exception shifting performed by the Task class is meant to
protect the TaskManager run method from encountering any exceptions
done in the course of running a task.  This is especially important
for subclasses of TaskManager which implement alternate run
strategies.  The exception is shifted so that it is raised by the
Task.wait method.  In a multi-thread environment, it is the caller
of the submit_task method which should receive the exception, and
therefore it is submit_task which should call Task.wait.  Currently
it is the _run_task method which calls Task.wait, which means the
TaskManager itself receives the exception.

Change-Id: I3a6e61601164811fdd255ae54470011768c99a7d
2018-08-06 10:44:35 -05:00
..
_meta Fix 'block_store' aliases define error 2018-03-20 15:26:21 +08:00
baremetal baremetal: correct the default timeout in Node.set_provision_state 2018-07-30 10:51:46 +00:00
block_storage Defer all endpoint discovery to keystoneauth 2018-05-10 12:06:42 -05:00
cloud Update create_object to handled chunked data 2018-07-27 11:59:55 -04:00
clustering Fix clustering profile type miss list operation 2018-06-19 14:26:21 +08:00
compute Only send force parameter to live migration if supported 2018-07-03 08:37:10 -05:00
config Merge "Add set_provision_state and wait_for_provision_state for baremetal Node" 2018-07-19 15:14:41 +00:00
database Rename BaseProxy to Proxy 2018-02-15 08:54:34 -06:00
identity Redo role assignment list query filters 2018-03-08 18:52:06 +13:00
image Implement signature generation functionality 2018-07-18 13:18:40 +00:00
instance_ha Add instance_ha service 2018-03-23 09:24:10 +00:00
key_manager Rename BaseProxy to Proxy 2018-02-15 08:54:34 -06:00
load_balancer Merge "Add vip_qos_policy_id options for loadbalancer" 2018-07-12 21:17:42 +00:00
message Rename BaseProxy to Proxy 2018-02-15 08:54:34 -06:00
network Support port binding extended attributes for querying port 2018-06-20 06:50:41 +00:00
object_store Rename BaseProxy to Proxy 2018-02-15 08:54:34 -06:00
orchestration Rename BaseProxy to Proxy 2018-02-15 08:54:34 -06:00
tests Don't wait for task in submit_task 2018-08-06 10:44:35 -05:00
workflow Rename BaseProxy to Proxy 2018-02-15 08:54:34 -06:00
__init__.py Clean up floating ip tests 2018-05-09 11:09:44 -05:00
_adapter.py Migrate object_store to resource2/proxy2 2018-01-17 13:55:27 -06:00
_log.py Rationalize logging helpers and docs 2018-01-16 14:46:44 -06:00
connection.py Add task manager parameter to Connection 2018-07-11 09:57:31 -05:00
exceptions.py Modify the error message when unsetting gateway and setting FIP 2018-05-30 02:22:33 -04:00
format.py Remove type=timestamp usages 2016-06-08 16:17:48 -04:00
profile.py Use defined version instead of service.version parameter 2018-03-20 18:27:44 +08:00
proxy.py Handle Munch objects in proxies 2018-07-03 18:54:55 +02:00
proxy2.py Add resource2/proxy2 wrappers with deprecations 2018-01-24 11:02:16 -06:00
resource.py Add set_provision_state and wait_for_provision_state for baremetal Node 2018-07-17 13:58:43 +02:00
resource2.py Add resource2/proxy2 wrappers with deprecations 2018-01-24 11:02:16 -06:00
service_description.py Add connection backreference to proxy instances 2018-06-29 08:39:01 -05:00
service_filter.py Add a descriptor object for each service proxy 2018-01-30 19:49:41 -06:00
task_manager.py Don't wait for task in submit_task 2018-08-06 10:44:35 -05:00
utils.py Add set_provision_state and wait_for_provision_state for baremetal Node 2018-07-17 13:58:43 +02:00
version.py Move version definition 2016-06-03 09:32:26 -04:00