openstacksdk/openstack
Monty Taylor f28a1b0979
Update create_object to handled chunked data
We try to calculate len for data, which breaks with chunked uploads, but
we only use that with filename. Move the code so that we don't try to
calculate length of things where we don't need to.

We still need to figure out streaming uploads and large objects.

This changes several unit tests due to the re-ordering of when
get_object_segment_size gets called. It's not necessary to call it for
the data path, so it was moved to later, which puts it after the
container create. For data paths this results in one less call. For file
paths, the calls are the same but the /info call happens later.

Change-Id: I841d7049ff2f05e00a31fecbc27dda6a0007be16
2018-07-27 11:59:55 -04:00
..
_meta Fix 'block_store' aliases define error 2018-03-20 15:26:21 +08:00
baremetal Add set_provision_state and wait_for_provision_state for baremetal Node 2018-07-17 13:58:43 +02: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 Update create_object to handled chunked data 2018-07-27 11:59:55 -04: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 Fix H103 Apache license header check 2018-05-09 16:54:41 +00: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