Gaurav Aradhye created CLOUDSTACK-4452:
------------------------------------------

             Summary: 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

Reply via email to