nova/nova/tests/image
Andrew Woodward e1d6e1881b Catch missing Glance image attrs with None
Glance is known to drop values from its response if they don't resolve to true.
 Previously in I67b7dd16a94fe60d873c012f6bd246ab24500d5a the None catch was
 removed as this WILL cause a call to glance for missing value and
 optimizations where made to attempt to pre-cache values that can be missing
 in expected ways. However there are still situations that can't be optimized.

Notably this can occur with disk_format, container_format, name, deleted,
 and checksum.

Test adapted from I85c42f8351763da201021a22f5ff0ebd62c6b2db by Mike Perez

Closes-bug #1308058
Co-Author: Mike Perez <thingee@gmail.com>

Change-Id: Icddead6f746d4d3ba652858eaae425acce8c177d
(cherry picked from commit ef3f158a5a)
2014-08-22 19:31:42 -07:00
..
__init__.py Remove vi modelines 2014-02-03 14:19:44 +00:00
abs.tar.gz Sanitize EC2 manifests and image tarballs 2011-12-13 16:00:41 +01:00
fake.py Revert "Adding image multiple location support" 2014-03-12 08:27:20 -07:00
rel.tar.gz Sanitize EC2 manifests and image tarballs 2011-12-13 16:00:41 +01:00
test_fake.py Remove @author from copyright statements. 2014-02-12 05:17:10 +11:00
test_glance.py Catch missing Glance image attrs with None 2014-08-22 19:31:42 -07:00
test_s3.py Remove vi modelines 2014-02-03 14:19:44 +00:00