RETIRED, further work has moved to Debian project infrastructure
Go to file
zhangsong bc31ef8623 Sheepdog:fix the bug of failed to clone image
The current sheepdog driver has two bugs when deciding whether
an image is cloneable:

1.It uses the addr in image_location url to find the image volume,
if the image volume is found, then considers the image is cloneable,
or considers it is not cloneable. Here has a problem, if cinder and
glance use different sheepdog cluster, this may lead the image is
always cloneable. In fact, it should use addr of cinder backend to
find the image volume, not the glance backend.

2.The driver uses 'dog vdi list volumename' command to find a volume,
if the command don't return an err, then considers the volume already
exists. This means that it assumes the command would return an err
code if the volume is not exists. But this is not the fact. Dog
command always returns 0 no matter the volume exists or not:
test for a existent volume:
$ dog vdi list test01 -r
= test01 0 4294967296 0 0 1469012083 40687a 3
$ echo $?
0
test for a nonexistent volume, return 0 and output nothing:
$ dog vdi list testvolume -r
$ echo $?
0

This patch fixed these two bugs.

Change-Id: I17a8a29be5c1d994ad36a70b2f76000f9566fbde
Closes-Bug: #1604740
2016-07-26 14:33:40 +08:00
api-ref Add proper scheduler_hint key to dev-ref 2016-07-04 00:11:49 -04:00
cinder Sheepdog:fix the bug of failed to clone image 2016-07-26 14:33:40 +08:00
doc Merge "Add interface documentation to driver devref" 2016-07-26 02:55:00 +00:00
etc/cinder Fix permissions error when configuring nfs backend 2016-06-18 06:42:18 +00:00
rally-jobs Disable Rally backup-related scenarios 2016-02-15 20:44:52 +02:00
releasenotes Merge "Add cluster job distribution" 2016-07-25 23:14:40 +00:00
tools Add interface documentation to driver devref 2016-07-24 17:23:29 -05:00
.coveragerc Change ignore-errors to ignore_errors 2015-09-21 14:25:22 +00:00
.gitignore Merge "Add sample config file to cinder docs" 2016-06-09 23:00:39 +00:00
.gitreview Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
.testr.conf Move integrated tests to 'functional' directory 2016-02-09 23:28:27 +02:00
babel.cfg Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
CONTRIBUTING.rst Update CONTRIBUTING.md to CONTRIBUTING.rst 2015-11-10 23:10:38 +08:00
HACKING.rst Fix broken link in HACKING.rst 2016-07-01 15:08:43 +05:30
LICENSE Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
pylintrc Use six to fix imports on Python 3 2015-06-11 17:19:19 +02:00
README.rst Use openstack.org URLs in README 2016-03-02 14:33:25 -05:00
requirements.txt Updated from global requirements 2016-07-19 21:06:26 +00:00
run_tests.sh Remove remaining oslo-incubator code from Cinder 2016-03-09 10:49:18 -06:00
setup.cfg Move and rename tempest_tests to cinder/tests/tempest 2016-05-03 17:55:20 +00:00
setup.py Updated from global requirements 2015-09-18 16:37:17 +00:00
test-requirements.txt Updated from global requirements 2016-06-28 18:48:52 +00:00
tox.ini update min tox version to 2.0 2016-07-12 18:00:40 -04:00

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.

Getting Started

If you'd like to run from the master branch, you can clone the git repo:

git clone https://git.openstack.org/openstack/cinder.git

For developer information please see HACKING.rst

You can raise bugs here http://bugs.launchpad.net/cinder

Python client

https://git.openstack.org/cgit/openstack/python-cinderclient