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>
Reviewed: https:/ /review. openstack. org/177689 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=690e56e5cfc 96540d01d5632fe 9264dd6dec7ead
Committed: https:/
Submitter: Jenkins
Branch: master
commit 690e56e5cfc9654 0d01d5632fe9264 dd6dec7ead
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
Closes-Bug: #1447288