[
https://issues.apache.org/jira/browse/CLOUDSTACK-4452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13749921#comment-13749921
]
ASF subversion and git services commented on CLOUDSTACK-4452:
-------------------------------------------------------------
Commit 684573939ff309f6b7cdf04b5cb073f85865f9be in branch refs/heads/master
from [~gauravaradhye]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=6845739 ]
CLOUDSTACK-4452 - Fixed method is_snapshot_on_nfs and moved it to utils
Signed-off-by: Prasanna Santhanam <[email protected]>
(cherry picked from commit 35ee38385ce0c54b3a16c3270db66d3eb3a56d04)
> test_snapshots.py - The method used to check whether snapshot exists on
> secondary storage is wrong
> --------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-4452
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4452
> Project: CloudStack
> Issue Type: Test
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Snapshot
> Affects Versions: 4.2.0
> Reporter: Gaurav Aradhye
> Assignee: Gaurav Aradhye
> Fix For: 4.2.0
>
>
> Following test case failing due to this:
> 1. test_01_createVM_snapshotTemplate
> 2. test_02_snapshot_data_disk
> 3. test_04_delete_snapshot
> The method (is_snapshot_on_nfs) used to check whether snapshot exists on
> secondary storage is wrong. Currently it's trying to match the name of
> snapshot present on the storage with the UUID of snapshot. There's no
> relation between the name of snapshot on storage and it's UUID or snapshot
> ID. Hence it shoould only check if the snapshot is present in the directory
> --> snapshots/account/volume/directory/ in SSVM
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira