glance/glance/tests/functional
Eoghan Glynn 62c913c3ad Require container & disk formats on image create
Fixes lp 933702

For images created via the glance CLI, the container and disk formats
were previously defaulted if not explicitly set. However if created via
the python or REST APIs, these attributes were not defaulted if unset.

There is no real sensible default for these formats, so now an image
create fails with 400 "Bad Request" if the format metadata are missing.

Also we ensure unset image metadata are not reported in x-image-meta-*
headers in order to disambiguate None and empty string values.

Change-Id: I8189383f5f9adf42a8cdac7f8dc7e9327baf46da
2012-02-20 18:06:51 +00:00
..
data More flexible specification of auth credentials. 2012-01-24 17:45:41 +00:00
__init__.py Respawn glance services on unexpected death. 2012-02-08 09:41:11 +00:00
keystone_utils.py More flexible specification of auth credentials. 2012-01-24 17:45:41 +00:00
test_api.py Require container & disk formats on image create 2012-02-20 18:06:51 +00:00
test_bin_glance.py Require container & disk formats on image create 2012-02-20 18:06:51 +00:00
test_bin_glance_cache_manage.py Require container & disk formats on image create 2012-02-20 18:06:51 +00:00
test_cache_middleware.py Require container & disk formats on image create 2012-02-20 18:06:51 +00:00
test_client_redirects.py Convert glance to use the new cfg module 2011-12-08 22:32:52 +00:00
test_logging.py Switch file based logging to WatchedFileHandler for logrotate 2011-08-25 13:51:29 +01:00
test_misc.py Require container & disk formats on image create 2012-02-20 18:06:51 +00:00
test_multiprocessing.py Multi-process Glance API server support. 2012-01-19 09:45:21 -08:00
test_private_images.py Require container & disk formats on image create 2012-02-20 18:06:51 +00:00
test_rbd.py Add RBD store backend. 2011-09-29 13:54:19 -07:00
test_respawn.py Respawn glance services on unexpected death. 2012-02-08 09:41:11 +00:00
test_s3.py Set size metadata correctly for remote images. 2012-01-18 23:20:38 +00:00
test_scrubber.py * Scrubber now uses registry client to communicate with registry 2011-09-12 18:29:19 -05:00
test_shared_images.py Require container & disk formats on image create 2012-02-20 18:06:51 +00:00
test_ssl.py Require container & disk formats on image create 2012-02-20 18:06:51 +00:00
test_swift.py Set size metadata correctly for remote images. 2012-01-18 23:20:38 +00:00