While creating the volume from snapshot via horizon UI, the volume
is not created from snapshot. It is just creating a volume with
same size of the snapshot.
Fixed the condition used if snapshot_id should be passed when
creating volume. The volume_source_type field is empty string if
launched from Volume Snapshot panel.
Co-Authored-By: Lin Hua Cheng <email address hidden>
Change-Id: I19ddd572d1a7a028e3ae4dae412ffc54e730e50c
Closes-Bug: #1447288
(cherry picked from commit 690e56e5cfc96540d01d5632fe9264dd6dec7ead)
The bug existed in 2015.1.0. But it was fixed in the latest kilo version.
commit 2fc3fcd88eb09f1 40a246e782b3cde 6b9aecb144
Author: Masco Kaliyamoorthy <email address hidden>
Date: Mon Apr 27 14:58:00 2015 +0530
corrected the create volume from snapshot
While creating the volume from snapshot via horizon UI, the volume
is not created from snapshot. It is just creating a volume with
same size of the snapshot.
Fixed the condition used if snapshot_id should be passed when
creating volume. The volume_source_type field is empty string if
launched from Volume Snapshot panel.
Co-Authored-By: Lin Hua Cheng <email address hidden>
Change-Id: I19ddd572d1a7a0 28e3ae4dae412ff c54e730e50c 0d01d5632fe9264 dd6dec7ead)
Closes-Bug: #1447288
(cherry picked from commit 690e56e5cfc9654