]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Implement retype in IBM GPFS Driver and refactor
authorBill Owen <billowen@us.ibm.com>
Thu, 13 Feb 2014 14:54:33 +0000 (07:54 -0700)
committerBill Owen <billowen@us.ibm.com>
Mon, 24 Feb 2014 20:59:05 +0000 (13:59 -0700)
commitda70f8804ec72d5e3f1f88e9559d26c8fb7d29fe
tree26a25da4c5f3f2370cd906c93694955af71e39d9
parent7d7fde31baf5017ae0b6657653e663074a9d515e
Implement retype in IBM GPFS Driver and refactor

1. Add retype method to GPFS driver.  Currently only storge_pool
   attribute is handled.  Future patches will extend this.
2. Refactor migrate method to handle migration locally if source
   and target are in the same gpfs cluster.
3. Move driver into 'ibm' directory.
4. Refactor based on pylint feedback.
5. Replace mox with mock in unit test.
6. Improve exception handling and logging.

DocImpact

Implements: blueprint gpfs-volume-retype
Change-Id: Ibc3bc367e5d42940c69d6747774c82c8cad22a35
cinder/tests/test_drivers_compatibility.py
cinder/tests/test_gpfs.py
cinder/volume/drivers/ibm/gpfs.py [moved from cinder/volume/drivers/gpfs.py with 60% similarity]
cinder/volume/manager.py
etc/cinder/cinder.conf.sample
etc/cinder/rootwrap.d/volume.filters