[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-5097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13817077#comment-13817077
 ] 

ASF subversion and git services commented on CLOUDSTACK-5097:
-------------------------------------------------------------

Commit b9547b07c059d229e6aed6213366cc3ab59fa26e in branch refs/heads/4.2 from 
[~gauravaradhye]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=b9547b0 ]

CLOUDSTACK-4648: Fixed Snapshots test cases

Fixed following test cases:
1) test_01_volume_from_snapshot
2) test_03_snapshot_detachedDisk
3) test_07_template_from_snapshot

All three test cases are running successfully on XenServer but test cases (01 
and 07) failing on KVM due to a common issue.
Product defect logged for this: 
https://issues.apache.org/jira/browse/CLOUDSTACK-5097

test_03 is running ok on KVM too, the problem was - disk was not getting 
detached because it was not unmounted before detaching. Added code to unmount 
the disk.

Signed-off-by: Girish Shilamkar <gir...@clogeny.com>


> Volumes created with snapshot (which in turn were created from the volumes 
> having some random data) carry garbage data 
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-5097
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5097
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Snapshot
>    Affects Versions: 4.3.0
>         Environment: Found on KVM
>            Reporter: Gaurav Aradhye
>             Fix For: 4.3.0
>
>
>  1. Create a virtual machine and data volume
>  2. Attach data volume to VM
>  3. Login to machine; create temp/test directories on data volume and write 
> sample data into it
>  4. Snapshot the Volume
>  5. Create another Volume from snapshot
>  6. Mount/Attach volume to another VM
>  7. Now compare the data on the volume, data should match
> The directories and files created earlier exist on the volume, but the data 
> in the files is garbage data instead of the data we have written into the 
> volume earlier.
> Data is not matching.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to