OpenStack Block Storage (Cinder)
Go to file
Cao ShuFeng dae983163a Support None value of extra_specs in cinder-scheduler filter
Now cinder backends hava capabilities of None value.
Cinder-api also allow user to set volume type's extra_specs to None
value. However we cann't use these capabilities in cinder scheduler
filter.
This change supports None value of extra_specs in cinder-scheduler
filter.

Further more, Our VolumeType object don't allow none value of
extra_specs and this causs failure when trying to create a
volume from such volume type. This commit also changes that
field type to DictOfNullableStringsField which allows it.

Also object backporting procedure is added to make sure that before
sending data to older services we're switching None to empty string.
(PS: if older service use functions like volume.refersh to read
None value of extra_spec from db itself, it will hit bug #1588798
anyway.)

Co-Authored-By: Michal Dulko <michal.dulko@intel.com>

Change-Id: I301adc5980dbacec5e84de7c66e6d12d132643cd
Closes-bug: #1588798
2016-06-16 07:46:25 -04:00
api-ref migrate to os-api-ref 2016-06-09 10:35:02 +00:00
cinder Support None value of extra_specs in cinder-scheduler filter 2016-06-16 07:46:25 -04:00
doc Merge "Add test type clarification to devref" 2016-06-16 06:41:25 +00:00
etc/cinder Merge "Use oslo_middleware sizelimit" 2016-06-10 10:30:47 +00:00
rally-jobs Disable Rally backup-related scenarios 2016-02-15 20:44:52 +02:00
releasenotes Merge "Compact Kilo database migrations" 2016-06-15 21:41:09 +00:00
tools Add driver interface checks 2016-06-13 15:21:47 +00: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
CONTRIBUTING.rst Update CONTRIBUTING.md to CONTRIBUTING.rst 2015-11-10 23:10:38 +08:00
HACKING.rst Revert "Add hacking check to prevent assert_called_once" 2016-05-24 12:36:22 -04:00
LICENSE Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
README.rst Use openstack.org URLs in README 2016-03-02 14:33:25 -05:00
babel.cfg 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
requirements.txt Updated from global requirements 2016-06-13 21:49:05 +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 Merge "migrate to os-api-ref" 2016-06-09 13:38:13 +00:00
tox.ini Add driver interface checks 2016-06-13 15:21:47 +00:00

README.rst

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