nova/nova/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
..
download Fix get_download_hander() typo 2014-03-11 10:57:38 +00:00
__init__.py Cleanup of image service code 2012-06-27 14:31:35 -07:00
glance.py Catch missing Glance image attrs with None 2014-08-22 19:31:42 -07:00
s3.py Remove vi modelines 2014-02-03 14:19:44 +00:00