OpenStack Block Storage (Cinder)
Go to file
Avishay Traeger 3fd7857a36 Add ability to modify volume type
This patch adds the volume retype operation, which allows a user to
change a given volume's type.

When retyping, the scheduler checks if the volume's current host can
accept the new type (i.e., it checks if the host passes the filters when
using the new type). If the current host is suitable, its manager is
called which calls upon the driver to change the volume's type.

There are two cases where a retype operation may require migrating the
volume:
1. The volume's current host cannot accept the new type
2. The volume's driver cannot perform the retype operation

In case of a migration, a volume with the new type is created, and the
data is migrated to it.

Volume migrations resulting from retype can be controlled by passing a
policy, which can be either:
1. 'never': Never migrate (the retype fails if migration is required)
   (default)
2. 'on-demand': Migrate when necessary

This version will cause retype operations to fail if the current and
new volume types have different:
1. QoS settings that are enforced by the front-end for in-use volumes.
2. encryption settings.

Subsequent patches can address these cases.

DocImpact

Change-Id: I2dc99b4fa64d611d2bb936fc3890ca334e08bb55
Implements: blueprint volume-retype
2014-01-06 22:02:09 +02:00
bin Merge "Output Strings of bin/*.py should support i18n" 2013-12-31 20:13:57 +00:00
cinder Add ability to modify volume type 2014-01-06 22:02:09 +02:00
doc Fix typo/misspelled words 2013-12-03 22:49:12 +08:00
etc/cinder Add ability to modify volume type 2014-01-06 22:02:09 +02:00
tools Remove vim header 2013-12-30 18:53:02 -06:00
.coveragerc Add .coveragerc to show proper coverage statistics. As in other openstack projects. 2013-05-15 03:40:07 -07:00
.gitignore Updates .gitignore 2013-11-28 09:52:23 +00:00
.gitreview Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
.mailmap Update my mailmap 2013-10-25 16:29:14 +08:00
.testr.conf Fix up the test framework 2013-06-14 14:02:17 +00:00
CONTRIBUTING.md Add CONTRIBUTING file. 2012-11-22 12:47:49 -07:00
HACKING.rst Update URL for global HACKING document and remove duplicate section 2013-11-11 11:39:23 -08:00
LICENSE Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
MANIFEST.in Use setuptools-git. 2012-08-10 11:56:00 -04:00
README.rst Cleanup README.rst 2013-07-22 11:26:34 +02:00
babel.cfg Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
openstack-common.conf Pull latest service module from Oslo 2013-11-22 16:38:17 +00:00
pylintrc Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
requirements.txt Merge "Switch create volume commands to Taskflow 0.1.1" 2013-12-14 05:55:24 +00:00
run_tests.sh Merge "Don't need to init testr explicitly" 2013-09-03 09:26:17 +00:00
setup.cfg Add AllocatedCapacityWeigher 2013-12-30 17:06:12 +08:00
setup.py Updated from global requirements 2013-10-10 20:24:27 +00:00
test-requirements.txt Updated from global requirements 2013-12-10 23:40:52 +00:00
tox.ini Fix and enable gating on F401 2013-12-20 15:01:23 +01:00

README.rst

The Choose Your Own Adventure README for 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.

To monitor it from a distance: follow @openstack on twitter.

To tame it for use in your own cloud: read http://docs.openstack.org

To study its anatomy: read http://cinder.openstack.org

To dissect it in detail: visit http://github.com/openstack/cinder

To taunt it with its weaknesses: use http://bugs.launchpad.net/cinder

To watch it: http://jenkins.openstack.org

To hack at it: read HACKING.rst