]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Send 'create volume from snapshot' to the proper host
authorZhuRongze <zrzhit@gmail.com>
Fri, 13 Jul 2012 12:07:13 +0000 (12:07 +0000)
committerZhuRongze <zrzhit@gmail.com>
Fri, 3 Aug 2012 09:23:34 +0000 (09:23 +0000)
commit99456bd690445443ae05c0d4fe1ec43ba6090f6f
tree30bf508d9d6bde31571a4a2651109a68067d4e79
parent0be1725cdcc6d0706475aca3444f108ba76db246
Send 'create volume from snapshot' to the proper host

A simple solution for bug 1008866. When creating volume from snapshot on
multicluster, in volume it will check if snapshot_id is set. If snapshot_id
is set, make the call create volume directly to the volume host where the
snapshot resides instead of passing it through the scheduler. So snapshot can
be copy to new volume.

Change-Id: Ie9c1a77f62abc40e294b1d0c604cf885652728da
cinder/volume/api.py
etc/cinder/cinder.conf.sample