Support for volume migration

Registered by Zhenguo Niu on 2013-12-13

Cinder now has the ability to migrate a volume, This functionality should be exposed through Horizon.

[Lin] Adding notes from Sunitha:

Background:
Horizon dashboard do not have an option to enable the user to migrate Cinder volume from one backend to another, although the functionality is supported by Cinder CLI/API. This gap needs to be addressed.

Use Cases:
* Migrate volumes from one backend to another(of same backend type)

Proposal:
This proposal is to expose volume migrate functionality of Cinder in the volumes panel of the OpenStack dashboard (Project->Compute->Volumes and Admin->System Panel->Volumes). This would be a row action on the "volumes" in the volumes table. The backend supporting API would be Cinder-API and corresponding update to OpenStack Dashboard API needs to be done.

Blueprint information

Status:
Complete
Approver:
David Lyle
Priority:
Medium
Drafter:
Zhenguo Niu
Direction:
Approved
Assignee:
Zhenguo Niu
Definition:
Approved
Series goal:
Accepted for liberty
Implementation:
Implemented
Milestone target:
milestone icon 8.0.0
Started by
Zhenguo Niu on 2014-10-17
Completed by
Zhenguo Niu on 2015-08-24

Related branches

Sprints

Whiteboard

[2014-01-12 david-lyle] moving to i-3

[2014-02-03 | david-lyle] moving out of icehouse

[2014-05-09 | gseverina] do you need some help with this ? please let me know anything you may need we are really interested on having this feature in Horizon.

[david-lyle 2014.07.14] Moving milestone to j-3

[david-lyle 2014.08.11] Moving out of Juno

[jpichon 2014.10.14] I will unassign since this has been opened for a while but from the whiteboard history there has been no real activity. It'd be really nice to have this in the dashboard!

[zhenguo 2014.10.15] Sorry for blocking it so long, I will reassign it to me and begin to work on this.

[zhenguo 2014.1018] The term 'host' in Cinder used to refer to 'backend', now that pool is exposed to Cinder scheduler, scheduler starts treating different pools on same backend as different hosts. Migrating volume now has to include pool in 'host' parameter in order to work. but now we can't get pool information through horizon.

Gerrit topic: https://review.openstack.org/#q,topic:bp/volume-migration,n,z

Addressed by: https://review.openstack.org/173254 -- Merged
    Add volume migration api support

https://review.openstack.org/#/c/147647/ -- Merged.
        Add support for cinder pools

Addressed by: https://review.openstack.org/186810 -- Review
    Add volume migration support

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.