OpenStack Block Storage (Cinder)
Go to file
wangxiyuan f3d66c3254 Fix NoneType has no attribute get error
If volume_type is None and then create volumes with allow-multiattach,
Cinder-schduler will raise error:
AttributeError: 'NoneType' object has no attribute 'get'

Ied42d13b642617dd239ea92c019354b90657821a didn't fix it completely.
The error still exists. Here is the reproduce command:
"cinder create 1 ----allow-multiattach"

Because that the volume_type is always in the "request_spec", if
users doesn't pass it, its value is None.

Change-Id: I1140234dd69a644dcbf6fc3a01f382ee101624b2
Related-bug: #1683431
2017-06-07 17:18:18 +08:00
api-ref/source [api-ref]Adds API documentation for 'os-set_bootable' action 2017-06-04 07:44:47 -04:00
cinder Fix NoneType has no attribute get error 2017-06-07 17:18:18 +08:00
contrib/block-box Fix typos in README.md 2017-05-27 23:14:12 +00:00
doc Merge "Correct cinder dev doc typo" 2017-06-06 11:46:56 +00:00
etc/cinder Merge "Add volume type filter to API Get-Pools" 2017-06-02 00:04:00 +00:00
rally-jobs Fix rally job gate-rally-dsvm-cinder-ubuntu-xenial-nv 2017-04-11 16:11:50 +08:00
releasenotes Merge "Add Generic Volume Group Into Quota Management" 2017-06-07 09:06:15 +00:00
tools Merge "Add driver supported status to dict output format" 2017-03-27 20:58:49 +00:00
.coveragerc Update .coveragerc after the removal of openstack directory 2016-10-17 19:09:37 +05:30
.gitignore Add driver list to doc build 2016-07-26 11:09:05 -05: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 Optimize the link address 2017-04-08 15:03:44 +08:00
HACKING.rst Using assertFalse(A) instead of assertEqual(False, A) 2017-06-06 11:04:27 +08:00
LICENSE Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
README.rst Optimize the link address 2017-04-08 15:03:44 +08:00
babel.cfg Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
bindep.txt Add libssl to bindep 2017-06-06 17:37:11 -05:00
driver-requirements.txt INFINIDAT: add support for iSCSI 2017-05-25 17:47:27 +03:00
pylintrc Use six to fix imports on Python 3 2015-06-11 17:19:19 +02:00
requirements.txt Updated from global requirements 2017-06-04 01:05:17 +00:00
setup.cfg Merge "Remove deprecated cinder.middleware.sizelimit" 2017-04-18 16:19:11 +00:00
setup.py Updated from global requirements 2017-03-02 23:53:29 +00:00
test-requirements.txt Updated from global requirements 2017-06-02 21:54:07 +00:00
tox.ini Add a local bindep.txt override 2017-05-25 23:27:10 +02:00

README.rst

Team and repository tags

image

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