
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
The Choose Your Own Adventure README for Cinder
You have come across a storage service for an open cloud computing service. It has identified itself as "Cinder." It was abstracted from the Nova project.
To monitor it from a distance: follow @openstack on twitter.
To tame it for use in your own cloud: read http://docs.openstack.org
To study its anatomy: read http://cinder.openstack.org
To dissect it in detail: visit http://github.com/openstack/cinder
To taunt it with its weaknesses: use http://bugs.launchpad.net/cinder
To watch it: http://jenkins.openstack.org
To hack at it: read HACKING.rst
Description
Languages
Python
99.7%
Smarty
0.3%