]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add limited retype support for rbd
authorArne Wiebalck <Arne.Wiebalck@cern.ch>
Thu, 20 Nov 2014 07:36:34 +0000 (08:36 +0100)
committerMike Perez <thingee@gmail.com>
Tue, 25 Nov 2014 19:04:26 +0000 (11:04 -0800)
commit2fb9b07ea6646609e4bdf9b08613b3c1d587378e
tree1e1202f5dbb25dc480796ad9b5e13dad87ed5346
parentfa8d88b6e132de74d063896c011c11ae13547332
Add limited retype support for rbd

This patch enables limited retype support for rbd. In addition to
basic retyping between volume types that only differ in their name,
retyping between volume types that imply a change of the qos_specs
are supported. This hence allows to adapt the quality-of-service
settings of a volume after its creation.

All other changes, such as host migration, change of encryption or
changes of settings as defined by the extra_specs are not supported
by this commit and left for later patches.

Implements: blueprint ceph-rbd-support-retype
Change-Id: Ib9edf83eb3ade1e6b2dcf1121a16a6f2e68753e1
cinder/tests/test_rbd.py
cinder/volume/drivers/rbd.py