OpenStack Block Storage (Cinder)
Go to file
Chris Buccella 01e5eac3f2 _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
(cherry picked from commit da13c6285b)
2014-04-04 08:39:53 -06:00
bin Merge "Revert "Re-enable lazy translation"" 2014-03-14 00:10:37 +00:00
cinder _translate_from_glance() can cause an unnecessary HTTP request 2014-04-04 08:39:53 -06:00
doc Merge "Switch over to oslosphinx" 2014-03-15 17:29:03 +00:00
etc/cinder Update config generator from OSLO 2014-03-26 16:47:21 -06:00
tools Use six.moves.urllib.parse instead of urlparse 2014-03-14 13:17:28 +08:00
.coveragerc Add .coveragerc to show proper coverage statistics. As in other openstack projects. 2013-05-15 03:40:07 -07:00
.gitignore Updates .gitignore 2013-11-28 09:52:23 +00:00
.gitreview Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
.mailmap Update my mailmap 2013-10-25 16:29:14 +08:00
.testr.conf Fix up the test framework 2013-06-14 14:02:17 +00:00
CONTRIBUTING.md Add CONTRIBUTING file. 2012-11-22 12:47:49 -07:00
HACKING.rst Update HACKING.rst with regard to mock usage 2014-01-21 18:01:02 +02:00
LICENSE Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
MANIFEST.in Use setuptools-git. 2012-08-10 11:56:00 -04:00
README.rst Adding helpful URL links to README.rst and HACKING.rst 2013-12-27 19:29:17 -06:00
babel.cfg Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
openstack-common.conf Port to oslo.messaging 2014-03-10 17:03:03 +01:00
pylintrc Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
requirements.txt Updated from global requirements 2014-03-24 11:47:40 +00:00
run_tests.sh Sync latest Oslo config code for i18n 2014-03-06 10:07:22 -06:00
setup.cfg Port to oslo.messaging 2014-03-10 17:03:03 +01:00
setup.py Updated from global requirements 2013-10-10 20:24:27 +00:00
test-requirements.txt Switch over to oslosphinx 2014-03-11 14:19:23 +01:00
tox.ini Sync latest Oslo config code for i18n 2014-03-06 10:07:22 -06:00

README.rst

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