openstacksdk/openstack/cloud
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
..
_heat Merge "Avoid globally modifying yaml library" 2018-05-26 03:14:12 +00:00
cmd Fix openstack-inventory 2018-04-23 22:40:28 +02:00
tests Merge tox, tests and other support files 2017-10-04 14:51:08 -05:00
__init__.py Fix F405 errors 2018-05-09 16:10:28 +00:00
_normalize.py Add Magnum cluster support 2018-06-26 13:16:55 -05:00
_tasks.py Fix H103 Apache license header check 2018-05-09 16:54:41 +00:00
_utils.py Fix for passing dict for get_* methods 2018-07-05 14:36:01 -05:00
exc.py Port wait_for_ methods to use iterate_timeout 2018-01-09 12:00:54 -06:00
inventory.py Clean up floating ip tests 2018-05-09 11:09:44 -05:00
meta.py meta: don't throw KeyError on misconfigured floating IPs 2018-07-13 09:24:30 +02:00
openstackcloud.py Update create_object to handled chunked data 2018-07-27 11:59:55 -04:00