937af5be0e
When glanceclient raises an IOError with a different errno than ENOSPC, cinder-volume silently masked it and continued its volume creation process. The result was volumes with invalid content being successfuly created. With the patch, an ImageDownloadFailed exception is raised in this case, which makes the volume creation process fail and gives enough information to operators for troubleshooting. As explained in detail below, this patch is a squash of four cherry picks to fix Bug #1799221. The cherry-picks are being squashed instead of done separately per normal cinder practice because they are dependent; this will make sure that one of them isn't further backported without the supporting patches. Here's the relationship between the four cherry-picks: (1) The purpose of this backport is to fix Bug #1799221, which was introduced in Pike. It is fixed in Stein and Rocky by Ic011fe30b4840e5098db1a594ea276ec98768bff (2) That change requires an exception introduced in Stein and backported to Rocky by If7c22ac4516f8c2a6ccd8bf6b6ed98409312b138 to fix Bug #1798147 (which defect is also present in Queens and Pike) (3) The change in (2) introduced Bug #1808443 which was fixed in Stein and Rocky by I6d8dedfd056add3414f8f4bf7f7279eae4763286 (4) The change in (2) also introduced Bug #1811184, which is fixed by I6d8dedfd056add3414f8f4bf7f7279eae4763286 in Stein and Rocky, and which adds a unit test for Bug #1798147. In short, in order to backport the fix for (1), we need to backport (2), but in order to backport (2) we need to follow up immediately with backports of (3) and (4) to fix the defects (2) introduces. The attentive reader will note that this patch smuggles in the fix for Bug #1798147. We could have left this out, but it's a very small isolated change, the defect is present in Queens and Pike (remember that Bug #1799221, the subject of this patch, was introduced in Pike), and it has a unit test (see (4), above). Finally, leaving out the fix for Bug #1798147 and backporting only the exception would still require backporting the fixes for Bug #1808443 and Bug #1811184, so it really would not simplify this patch. To summarize what's being included here: commit changeId fixed bug |
||
---|---|---|
api-ref/source | ||
cinder | ||
contrib/block-box | ||
doc | ||
etc/cinder | ||
playbooks/legacy/cinder-tempest-dsvm-lvm-lio-barbican | ||
rally-jobs | ||
releasenotes | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.stestr.conf | ||
.zuul.yaml | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
README.rst | ||
babel.cfg | ||
bindep.txt | ||
driver-requirements.txt | ||
pylintrc | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
Team and repository tags
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.
- Wiki: https://wiki.openstack.org/Cinder
- Developer docs: https://docs.openstack.org/cinder/latest/
Getting Started
If you'd like to run from the master branch, you can clone the git repo:
For developer information please see HACKING.rst
You can raise bugs here https://bugs.launchpad.net/cinder
Python client
https://git.openstack.org/cgit/openstack/python-cinderclient