OpenStack Block Storage (Cinder)
Go to file
zhengyao1 19361445ff image_size_m should get ceiling of image
In function fetch_to_volume_format when converting the
image size to Mb, image_meta['size'] is int and units.Mi
is int. In python2, image_meta['size'] / units.Mi get floor
int. So the image_size_m is less than the real image data.
This will cause copying image data is not complete. This
patch fixes it by getting the ceiling of image_size_m.

Change-Id: If7a7ea873e49ca1d071f3a2f080315f9f43cf059
Closes-Bug: #1591841
2016-06-14 15:58:01 +08:00
api-ref migrate to os-api-ref 2016-06-09 10:35:02 +00:00
cinder image_size_m should get ceiling of image 2016-06-14 15:58:01 +08:00
doc Merge "Add sample config file to cinder docs" 2016-06-09 23:00:39 +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 "Add Auth Version 3 support in Swift Backup Driver" 2016-06-12 06:46:21 +00:00
tools Merge "Add sample config file to cinder docs" 2016-06-09 23:00:39 +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 Merge "Adds ACL, IP Pool, Multipath to Datera Driver" 2016-06-11 00:59:43 +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 Merge "Add sample config file to cinder docs" 2016-06-09 23:00:39 +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