3fd7857a36
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 |
||
---|---|---|
bin | ||
cinder | ||
doc | ||
etc/cinder | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.testr.conf | ||
CONTRIBUTING.md | ||
HACKING.rst | ||
LICENSE | ||
MANIFEST.in | ||
README.rst | ||
babel.cfg | ||
openstack-common.conf | ||
pylintrc | ||
requirements.txt | ||
run_tests.sh | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
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