cinder/cinder
Chris Buccella da13c6285b _translate_from_glance() can cause an unnecessary HTTP request
After returning from a get() call to python-glanceclient, cinder runs a
translation function on the returned Image to get the data it wants. Part of
this process is checking for an expected set of attributes, one of which is
the deletion time ('deleted_at'). However, if the image has not been deleted,
deleted_at key will not exist. This forces another call to glance to occur for
the same image. A similar problem exists for the checksum attribute, which does
not exist before an image is active. The fix here is to only consider
deleted_at and checksum if they are expected to be present.

This change was made in nova as change I67b7dd16

Change-Id: Iedc16cb9316f9610fdb8ac03f448bc375a4e6bfa
Closes-Bug: #1275173
2014-04-03 04:02:45 +00:00
..
api Merge "Don't send untextified exc to webob" 2014-03-16 15:37:22 +00:00
backup Port to oslo.messaging 2014-03-10 17:03:03 +01:00
brick Pass the mirrorlog option as two arguments. 2014-03-26 13:24:57 -07:00
common Revert "Re-enable lazy translation" 2014-03-13 14:44:04 -05:00
compute Fix wrong example of "nova_endpoint_template" 2014-02-14 11:19:56 +08:00
db Merge "get volumes with limit and filters does not work" 2014-03-14 15:57:09 +00:00
image _translate_from_glance() can cause an unnecessary HTTP request 2014-04-03 04:02:45 +00:00
keymgr Revert "Re-enable lazy translation" 2014-03-13 14:44:04 -05:00
locale Fix Jenkins translation jobs 2014-03-31 19:43:47 +02:00
openstack Merge "Import request_id middleware bug fix from oslo" 2014-03-28 22:14:28 +00:00
scheduler Port to oslo.messaging 2014-03-10 17:03:03 +01:00
testing updating testing readme with more current information. 2014-02-26 09:21:13 -05:00
tests Merge "vmware: Use SessionIsActive to find stale session" 2014-03-27 10:14:21 +00:00
transfer Fix all occurences of H404 Hacking warning 2013-10-13 10:36:27 +03:00
volume Fixes cinder volume attach on Windows 2014-03-28 10:57:13 +02:00
zonemanager Add conversion types in some strings 2014-03-11 09:23:01 +09:00
__init__.py Remove vim header 2013-12-30 18:53:02 -06:00
context.py Adding domain to context 2014-03-11 10:18:21 -06:00
exception.py Merge "Fix exception message of CoraidESMConfigureError" 2014-03-14 00:10:48 +00:00
flow_utils.py Create structure of flows' packages 2014-01-24 12:44:56 +02:00
manager.py Port to oslo.messaging 2014-03-10 17:03:03 +01:00
policy.py Revert "Re-enable lazy translation" 2014-03-13 14:44:04 -05:00
quota.py Do not show quota of removed volume types in Default Quotas panel 2014-01-20 10:20:36 -08:00
quota_utils.py Add ability to modify volume type 2014-01-06 22:02:09 +02:00
rpc.py Serialize the notification payload 2014-03-25 10:37:32 +01:00
service.py init_host should be called before RPC consumer is created 2014-03-20 10:39:37 +08:00
test.py Merge "Use debug level logging during unit tests" 2014-03-13 22:50:26 +00:00
units.py Remove vim header 2013-12-30 18:53:02 -06:00
utils.py Merge "Remove str() from LOG.* and exceptions" 2014-03-05 14:49:44 +00:00
version.py Remove vim header 2013-12-30 18:53:02 -06:00
wsgi.py Fix webob.exc.HTTPForbidden parameter miss 2014-02-24 20:49:29 +09:00