+++ This bug was initially created as a clone of Bug #985953 +++ This work will add an admin-only interface to manually invoke volume migration - "I want to move this volume to that specific backend". This is useful for manual tuning and scripting. This initial version will be the simplest case - a detached volume with no snapshots. A later blueprint will handle cases of attached volumes and volumes with snapshots. Attaching/detaching during migration will not be allowed for now. https://blueprints.launchpad.net/cinder/+spec/volume-migration
Hi Eric, looks like you're the dev for this one. The following provides a lot of how it should work:https://etherpad.openstack.org/havana-cinder-volume-migration But I can't see what the user needs to do to migrate a volume. Is it just on the command line? Or in the Dashboard? If so, how? And how to use volume_type or volume_retype? thanks, Summer
There is a cinder client operation 'migrate' which is being added for this (still pending merge upstream): $ cinder migrate <volume> <host> --force-host-copy=True|False https://review.openstack.org/#/c/37685/3/cinderclient/v2/shell.py
Upstream doc bug: https://bugs.launchpad.net/openstack-manuals/+bug/1201555
Eric, that change was merged on Sep.15th, and I have a python-cinderclient that was built on the 20th (python-cinderclient.noarch 1.0.5-2.el6). The problem is that the 'migrate' option isn't showing up. So, can you tell me whether this is still the solution? Or is there a newer package I should be using to look at the CLI? thanks, Summer
(In reply to Summer Long from comment #5) > Eric, that change was merged on Sep.15th, and I have a python-cinderclient > that was built on the 20th (python-cinderclient.noarch 1.0.5-2.el6). The > problem is that the 'migrate' option isn't showing up. You will need cinderclient 1.0.6, which has not been released yet. It should be released upstream within the next few days, and then packaged downstream not too long after that. Sorry about that.
Made change upstream: https://review.openstack.org/52016 Eric, can you please review upstream? many thanks, Summer