diff options
author | ZhuRongze <zrzhit@gmail.com> | 2012-08-01 13:23:13 +0000 |
---|---|---|
committer | ZhuRongze <zrzhit@gmail.com> | 2012-08-03 06:27:08 +0000 |
commit | 6795de644b8a8a1879543101d85ba90674219c8b (patch) | |
tree | 2ecb3e22f7dd0565cfe6ec72c3d27ff761c980cf /etc/nova | |
parent | 87dcb13117459da0e92b98feadab8a4ecba2c4f9 (diff) | |
download | nova-6795de644b8a8a1879543101d85ba90674219c8b.tar.gz nova-6795de644b8a8a1879543101d85ba90674219c8b.tar.xz nova-6795de644b8a8a1879543101d85ba90674219c8b.zip |
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 and FLAGS.snapshot_same_host is true, 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. The same as
review 9761.
Change-Id: Ic182eb4563b9462704c5969d5116629442df316a
Diffstat (limited to 'etc/nova')
-rw-r--r-- | etc/nova/nova.conf.sample | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/nova/nova.conf.sample b/etc/nova/nova.conf.sample index e03b8363e..dbb798462 100644 --- a/etc/nova/nova.conf.sample +++ b/etc/nova/nova.conf.sample @@ -1662,6 +1662,12 @@ #### (StrOpt) Address that the XCP VNC proxy should bind to +######## defined in nova.volume.api ######## + +# snapshot_same_host=true +#### (BoolOpt) Create volume form snapshot at the host where snapshot resides. + + ######## defined in nova.volume.driver ######## # volume_group=nova-volumes |