Bug 988443 - [Doc] [RFE] Volume migration
Summary: [Doc] [RFE] Volume migration
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: doc-Administration_User_Guide
Version: 4.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 4.0
Assignee: Summer Long
QA Contact: ecs-bugs
URL: https://blueprints.launchpad.net/cind...
Whiteboard: upstream_milestone_none upstream_stat...
Depends On:
Blocks: 1011085
TreeView+ depends on / blocked
 
Reported: 2013-07-25 15:27 UTC by Stephen Gordon
Modified: 2016-04-26 18:04 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of: 985953
Environment:
Last Closed: 2014-01-06 03:37:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 33055 0 None None None Never
OpenStack gerrit 37685 0 None None None Never

Description Stephen Gordon 2013-07-25 15:27:51 UTC
+++ 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

Comment 2 Summer Long 2013-08-13 00:26:36 UTC
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

Comment 3 Eric Harney 2013-08-27 21:00:26 UTC
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

Comment 4 Summer Long 2013-09-26 00:44:33 UTC
Upstream doc bug: 
https://bugs.launchpad.net/openstack-manuals/+bug/1201555

Comment 5 Summer Long 2013-10-02 06:21:07 UTC
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

Comment 6 Eric Harney 2013-10-02 21:02:50 UTC
(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.

Comment 7 Summer Long 2013-10-16 06:49:04 UTC
Made change upstream: https://review.openstack.org/52016
Eric, can you please review upstream? many thanks, Summer


Note You need to log in before you can comment on or make changes to this bug.