Test ID | Test Case Name | Steps To Be Performed to Test | Verification Steps | Priority | Status
|
---|
SP001 | Take snapshot on root disk of a Linux VM | - Deploy a Linux VM using default CentOS template, use small service offering, disk offering
- Log into the VM and create a file with content in it.
- Perform snapshot on the root disk of this newly created VM
| - Verify the snapshot's entry in the "snapshots" table.
- Verify the presence of the corresponding snapshot on the Secondary Storage
| P1 | Passed |
SP002 | Take snapshot on root disk of a Windows VM. | - Register/Create a Windows Template onto the CloudStack Setup.
- Deploy a Windows VM using the Windows template, use medium service offering, disk offering
- Log into the VM and create a file on the desktop with content in it.
- Perform snapshot on the root disk of this newly created VM
| - Verify the snapshot's entry in the "snapshots" table.
- Verify the presence of the corresponding snapshot on the Secondary Storage
| P1 | Passed | | | | |
SP003 | Take snapshot on data disk of a Linux VM. | - Deploy a Linux VM using default CentOS template, use small service offering, disk offering.
- Log into the VM and create a ext3 file system on the Data Disk.
- Mount the Data Disk.
- Create a File with content on the Data Disk
- Perform snapshot on the data disk of this newly created VM
| - Verify the snapshot's entry in the "snapshots" table.
- Verify the presence of the corresponding snapshot on the Secondary Storage
| P1 | Passed | | | | |
SP004 | Take snapshot on data disk of a Windows VM. | Steps need to be provided. | - Verify the snapshot's entry in the "snapshots" table.
- Verify the presence of the corresponding snapshot on the Secondary Storage
| P1 | Passed | | | | |
SP005 | Event Generation during Snapshot Creation | - Create a Snapshot.
- Observe the events table for the corresponding "SNAPSHOT.CREATE" event.
- Steps need to be provided.
| - Observe the events table for the corresponding "SNAPSHOT.CREATE" event.
| P1 | Passed | | | | |
SP005 | Event Generation during Snapshot Deletion | - Delete a Snapshot.
- Observe the events table for the corresponding "SNAPSHOT.DELETE" event.
- Steps need to be provided.
| - Observe the events table for the corresponding "SNAPSHOT.DELETE" event.
| P1 | Passed | | | | |
SP006 | Create Template from a Snapshot of a ROOT disk of a Linux VM. | - Create a Snapshot of a ROOT Volume of a Linux VM.
- Create a Template from the Snapshot with the appropriate Guest_os_type selected.
| - Verify the template's entry in the "template_host_ref" table.
- Verify the presence of the corresponding template on the Secondary Storage
| P1 | Passed | | | | |
SP007 | Create Template from a Snapshot of a ROOT disk of a Windows VM. | - Create a Snapshot of a ROOT Volume of a Linux VM.
- Create a Template from the Snapshot with the appropriate Guest_os_type selected
| - Verify the template's entry in the "template_host_ref" table.
- Verify the presence of the corresponding template on the Secondary Storage
| P1 | Passed | | | | |
SP008 | Deploy a Linux VM from the Template created from the Snapshot | - Deploy a VM using the Linux Template created from the Snapshot of a ROOT Volume of a Linux VM.
- Log in and check the operational ability of the VM.
| - Verify the Successful deployment of the VM.
- Log in and check the operational ability of the VM.
| P1 | Passed | | | | |
SP009 | Deploy a Windows VM from the Template created from the Snapshot | - Deploy a VM using the Windows Template created from the Snapshot of a ROOT Volume of a Windows VM.
- Log in and check the operational ability of the VM.
| - Verify the Successful deployment of the VM.
- Log in and check the operational ability of the VM.
| P1 | Passed | | | | |
SP010 | Delete Snapshot and Deploy a Linux VM from the Template created from the Snapshot | - Delete the Snapshot of a ROOT Volume of a Linux VM.
- Deploy a VM using the Linux Template created from the Snapshot of a ROOT Volume of a Linux VM.
- Log in and check the operational ability of the VM.
| - Before Snapshot Deletion, Verify the snapshot's entry in the "snapshots" table. Verify that it is not marked as removed.
- Verify the presence of the corresponding snapshot on the Secondary Storage
- After Snapshot Deletion, Verify the snapshot's entry is marked as removed in the "snapshots" table.
- Verify the absence of the corresponding snapshot on the Secondary Storage
- Verify the Successful deployment of the VM.
- Log in and check the operational ability of the VM.
| P2 | Passed | | | | |
SP011 | Delete Snapshot and Deploy a Windows VM from the Template created from the Snapshot | - Delete the Snapshot of a ROOT Volume of a Windows VM.
- Deploy a VM using the Windows Template created from the Snapshot of a ROOT Volume of a Windows VM.
- Log in and check the operational ability of the VM.
| - Before Snapshot Deletion, Verify the snapshot's entry in the "snapshots" table. Verify that it is not marked as removed.
- Verify the presence of the corresponding snapshot on the Secondary Storage
- After Snapshot Deletion, Verify the snapshot's entry is marked as removed in the "snapshots" table.
- Verify the absence of the corresponding snapshot on the Secondary Storage
- Verify the Successful deployment of the VM.
- Log in and check the operational ability of the VM.
| P2 | Passed | | | | |
SP012 | Create Volume from a Snapshot of a ROOT disk of a Linux VM. | - Create a Snapshot of a ROOT Disk of a Linux VM.
- Create a Volume from the Snapshot.
| - Verify the snapshot's entry in the "snapshots" table.
- Verify the presence of the corresponding snapshot on the Secondary Storage.
- Verify the Volume's entry in the "Volume" table.
- Verify the presence of the corresponding volume on the Secondary Storage.
| P1 | Passed | | | | |
SP013 | Create Volume from a Snapshot of a ROOT disk of a Windows VM. | - Create a Snapshot of a ROOT Disk of a Windows VM.
- Create a Volume from the Snapshot
| - Verify the snapshot's entry in the "snapshots" table.
- Verify the presence of the corresponding snapshot on the Secondary Storage.
- Verify the Volume's entry in the "Volume" table.
- Verify the presence of the corresponding volume on the Secondary Storage.
| P1 | Passed | | | | |
SP014 | Attach the Volume created from the Snapshot of a ROOT disk of a Linux VM to the Same Linux VM | - Create a Snapshot of a ROOT Disk of a Linux VM.
- Create a Volume from the Snapshot.
- Attach the Volume to the Same Linux VM
| - Verify the snapshot's entry in the "snapshots" table.
- Verify the presence of the corresponding snapshot on the Secondary Storage.
- Verify the Volume's entry in the "Volume" table.
- Verify the presence of the corresponding volume on the Secondary Storage.
- Log into the VM and observe the existence of the new Volume under /dev
| P1 | Passed | | | | |
SP015 | Attach the Volume created from the Snapshot of a ROOT disk of a Windows VM to the Same Windows VM | - Create a Snapshot of a ROOT Disk of a Windows VM.
- Create a Volume from the Snapshot.
- Attach the Volume to the Same Windows VM
| - Verify the snapshot's entry in the "snapshots" table.
- Verify the presence of the corresponding snapshot on the Secondary Storage.
- Verify the Volume's entry in the "Volume" table.
- Verify the presence of the corresponding volume on the Secondary Storage.
- Steps need to be provided.
| P1 | Passed | | | | |
SP016 | Attach the Volume created from the Snapshot of a ROOT disk of a Linux VM to a different Linux VM | - Create a Snapshot of a ROOT Disk of a Linux VM.
- Create a Volume from the Snapshot.
- Deploy a Linux VM from a different Linux Template.
- Attach the Volume to the newly created Linux VM.
| - Verify the snapshot's entry in the "snapshots" table.
- Verify the presence of the corresponding snapshot on the Secondary Storage.
- Verify the Volume's entry in the "Volume" table.
- Verify the presence of the corresponding volume on the Secondary Storage.
- Log into the VM and observe the existence of the new Volume under /dev
| P2 | Passed | | | | |
SP017 | Attach the Volume created from the Snapshot of a ROOT disk of a Windows VM to a Different Windows VM. | - Create a Snapshot of a ROOT Disk of a Windows VM.
- Create a Volume from the Snapshot.
- Deploy a Windows VM from a different Windows Template.
- Attach the Volume to the newly created Linux VM.
| - Verify the snapshot's entry in the "snapshots" table.
- Verify the presence of the corresponding snapshot on the Secondary Storage.
- Verify the Volume's entry in the "Volume" table.
- Verify the presence of the corresponding volume on the Secondary Storage.
- Steps need to be provided.
| P2 | Passed | | | | |
SP018 | Detach the Attached Volume. The Attached Volume was created from the Snapshot of a ROOT disk of a Linux VM which was later attached to the same linux VM. | - Create a Snapshot of a ROOT Disk of a Linux VM.
- Create a Volume from the Snapshot.
- Attach the Volume to the Same Linux VM.
- Detach the Attached Volume.
| - Verify the snapshot's entry in the "snapshots" table.
- Verify the presence of the corresponding snapshot on the Secondary Storage.
- Verify the Volume's entry in the "Volume" table.
- Verify the presence of the corresponding volume on the Secondary Storage.
- Log into the VM and observe the existence of the new Volume under /dev
- After detaching the Volume, Log into the VM and observe the non-existence of the new Volume under /dev
| P1 | Passed
| | | | |
SP019 | Detach the Attached Volume. The Attached Volume was created from the Snapshot of a ROOT disk of a Windows VM which was later attached to the same Windows VM. | - Create a Snapshot of a ROOT Disk of a Windows VM.
- Create a Volume from the Snapshot.
- Attach the Volume to the Same Windows VM
- Detach the Attached Volume.
| - Verify the snapshot's entry in the "snapshots" table.
- Verify the presence of the corresponding snapshot on the Secondary Storage.
- Verify the Volume's entry in the "Volume" table.
- Verify the presence of the corresponding volume on the Secondary Storage.
- Steps need to be provided.
| P1 | Passed
| | | | |
SP020 | Detach the Attached Volume. The Attached Volume was created from the Snapshot of a ROOT disk of a Linux VM which was later attached to a different linux VM. | - Create a Snapshot of a ROOT Disk of a Linux VM.
- Create a Volume from the Snapshot.
- Deploy a Linux VM from a different Linux Template.
- Attach the Volume to the newly created Linux VM.
- Detach the Attached Volume.
| - Verify the snapshot's entry in the "snapshots" table.
- Verify the presence of the corresponding snapshot on the Secondary Storage.
- Verify the Volume's entry in the "Volume" table.
- Verify the presence of the corresponding volume on the Secondary Storage.
- Log into the VM and observe the existence of the new Volume under /dev
- After detaching the Volume, Log into the VM and observe the non-existence of the new Volume under /dev
| P2 | Passed | | | | |
SP021 | Detach the Attached Volume. The Attached Volume was created from the Snapshot of a ROOT disk of a Windows VM which was later attached to a different Windows VM. | - Create a Snapshot of a ROOT Disk of a Windows VM.
- Create a Volume from the Snapshot.
- Deploy a Windows VM from a different Windows Template.
- Attach the Volume to the newly created Linux VM.
- Detach the Attached Volume.
| - Verify the snapshot's entry in the "snapshots" table.
- Verify the presence of the corresponding snapshot on the Secondary Storage.
- Verify the Volume's entry in the "Volume" table.
- Verify the presence of the corresponding volume on the Secondary Storage.
- Steps need to be provided.
| P2 | Passed | | | | |
SP022 | Create a Chain of Snapshots of a ROOT disk of a Linux VM that resides on a Xenserver | - Set the Snapshot.delta.max as 3
- Restart the Management Server
- Deploy a VM from the default Linux Template along with a data disk.
- Log into the VM and create a file on the ROOT disk with content in it.
- Create a Snapshot of the ROOT disk.
- Repeat Steps 4 and 5 at least six times
- Step 6 will generate at least two 'chains' of Snapshots on the Secondary Storage.
| - Log in to the SSVM,
- Go to the directory where the secondary storage is mounted to.
- Go to the Snapshots directory on the secondary storage.
- Go to the account_id directory under Snapshots folder.
- Execute "vhd-util scan -p *.vhd".
- Output displays the chains of snapshots.
- Verify the Output
| P1 | Passed | | | | |
SP023 | Create a Chain of Snapshots of a Data disk of a Linux VM that resides on a Xenserver | - Set the Snapshot.delta.max as 3
- Restart the Management Server
- Deploy a VM from the default Linux Template along with a data disk.
- Log into the VM and create a ext3 file system on the Data Disk.
- Mount the Data Disk.
- Create a File with content on the Data Disk
- Create a Snapshot of the Data disk.
- Repeat Steps 6 and 7 at least six times
- Step 8 will generate at least two 'chains' of Snapshots on the Secondary Storage.
| - Log in to the SSVM,
- Go to the directory where the secondary storage is mounted to.
- Go to the Snapshots directory on the secondary storage.
- Go to the account_id directory under Snapshots folder.
- Execute "vhd-util scan -p *.vhd".
- Output displays the chains of snapshots.
- Verify the Output
| P2 | | | | | |
SP024 | Create a Chain of Snapshots of a ROOT disk of a Linux VM that resides on a ESXi 4.0 Host | Presently Chain of Snapshots is not supported. Every Snapshot of a Volume of a VM residing on an ESXi host is a Full Snapshot. Feature will be supported in Bonita | | | | | | | |
SP025 | Create a Chain of Snapshots of a Data disk of a Linux VM that resides on a ESXi 4.0 Host | Presently Chain of Snapshots is not supported. Every Snapshot of a Volume of a VM residing on an ESXi host is a Full Snapshot. Feature will be supported in Bonita | | | | | | | |
SP026 | Create a Chain of Snapshots of a ROOT disk of a Linux VM that resides on a KVM Host | Presently Chain of Snapshots is not supported. Every Snapshot of a Volume of a VM residing on an ESXi host is a Full Snapshot. Feature will be supported in Bonita | | | | | | | |
SP027 | Create a Chain of Snapshots of a Data disk of a Linux VM that resides on a KVM Host | Presently Chain of Snapshots is not supported. Every Snapshot of a Volume of a VM residing on an ESXi host is a Full Snapshot. Feature will be supported in Bonita | | | | | | | |
SP028 | Delete a Full Snapshot present in the Chain of Snapshots | - Set the Snapshot.delta.max as 3
- Restart the Management Server
- Deploy a VM from the default Linux Template along with a data disk.
- Log into the VM and create a file on the ROOT disk with content in it.
- Create a Snapshot of the ROOT disk.
- Repeat Steps 4 and 5 at least six times
- Step 6 will generate at least two 'chains' of Snapshots on the Secondary Storage.
- The 1st ,4th ,7th ,10th ,....n+3 Snapshots are Full Snapshots of 'n' Snapshot chains
- Delete (i)th Full Snapshot and Verify the Usability of (i+1)th and (i+2)th Snapshots
- Verify the Usability of the Snapshots by performing any of the above mentioned tests on the Snapshots
| - Log in to the SSVM,
- Go to the directory where the secondary storage is mounted to.
- Go to the Snapshots directory on the secondary storage.
- Go to the account_id directory under Snapshots folder.
- Execute "vhd-util scan -p *.vhd".
- Output displays the chains of snapshots.
- Verify the Output.
- Execute Step 5 after Snapshot Deletion and check the existence of the deleted Snapshot in the chain. The Snapshot is not deleted on the secondary storage as there are other snapshots in the chain that depend on the Deleted Snapshot.
- Observe that the Snapshot is marked removed on the "snapshots" table.
| P1 | | | | | |
SP029 | Delete a Delta Snapshot present in the Chain of Snapshots | - Set the Snapshot.delta.max as 3
- Restart the Management Server
- Deploy a VM from the default Linux Template along with a data disk.
- Log into the VM and create a file on the ROOT disk with content in it.
- Create a Snapshot of the ROOT disk.
- Repeat Steps 4 and 5 at least six times
- Step 6 will generate at least two 'chains' of Snapshots on the Secondary Storage.
- The 1st ,4th ,7th ,10th ,....n+3 Snapshots are Full Snapshots of 'n' Snapshot chains.
- Remaining Snapshots other than the above mentioned Snapshots are Delta Snapshots.
- Delete (i+1)th Delta Snapshot where (i)th Snapshot is a Full Snapshot and (i+2)th Snapshot is a Delta Snapshot. Verify the Usability of (i)th and (i+2)th Snapshots after the deletion of the (i)th Snapshot.
- Verify the Usability of the Snapshots by performing any of the above mentioned tests on the Snapshots
| - Log in to the SSVM,
- Go to the directory where the secondary storage is mounted to.
- Go to the Snapshots directory on the secondary storage.
- Go to the account_id directory under Snapshots folder.
- Execute "vhd-util scan -p *.vhd".
- Output displays the chains of snapshots.
- Verify the Output.
- Execute Step 5 after Snapshot Deletion and check the existence of the deleted Snapshot in the chain. The Snapshot is not deleted on the secondary storage as there are other snapshots in the chain that depend on the Deleted Snapshot.
- Observe that the Snapshot is marked removed on the "snapshots" table.
| P1 | | | | | |
SP030 | Delete all the Snapshots present in the Chain of Snapshots | - Set the Snapshot.delta.max as 3
- Restart the Management Server
- Deploy a VM from the default Linux Template along with a data disk.
- Log into the VM and create a file on the ROOT disk with content in it.
- Create a Snapshot of the ROOT disk.
- Repeat Steps 4 and 5 at least six times
- Step 6 will generate at least two 'chains' of Snapshots on the Secondary Storage.
- Delete 1st, 2nd and 3rd Snapshots.
- Observe the entire chain of snapshots missing on the Secondary Storage.
| - Log in to the SSVM,
- Go to the directory where the secondary storage is mounted to.
- Go to the Snapshots directory on the secondary storage.
- Go to the account_id directory under Snapshots folder.
- Execute "vhd-util scan -p *.vhd".
- Output displays the chains of snapshots.
- Verify the Output.
- Execute Step 5 after deleting all the snapshots present in a chain. The chain should no longer exist on the secondary storage. All snapshots belonging to the chain should be missing on the secondary storage.
| P1 | | | | | |
SP037 | Create Hourly recurring snapshots for ROOT disk and data disks (limits, snapshot retention and auto deletion) | - Deploy a VM using the Default CentOS Template
- Create an Hourly Recurring snapshot policy on the ROOT disk.
- Observe the creation of a Snapshot after an hour.
| - Verify the snapshot's entry in the "snapshots" table.
- Verify that the Snapshot's snapshot_type is HOURLY in the "snapshots" table.
- Verify the presence of the corresponding snapshot on the Secondary Storage
| P1 | | | | | |
SP038 | Create Daily recurring snapshots for ROOT disk and data disks (limits, snapshot retention and auto deletion) | - Deploy a VM using the Default CentOS Template
- Create an Daily Recurring snapshot policy on the ROOT disk.
- Change the time on the host on which the management server is running***. Change the time to Current time + 23 hours.
- Restart the Management Server.
- Observe the creation of a Snapshot after an hour.
- ***Caution: Changing the Server time for the purpose of testing recurring snapshots might effect other time dependent features of CloudStack
| - Verify the snapshot's entry in the "snapshots" table.
- Verify that the Snapshot's snapshot_type is DAILY in the "snapshots" table.
- Verify the presence of the corresponding snapshot on the Secondary Storage
| P1 | | | | | |
SP039 | Create Weekly recurring snapshots for ROOT disk and data disks (limits, snapshot retention and auto deletion) | - Deploy a VM using the Default CentOS Template
- Create an Daily Recurring snapshot policy on the ROOT disk.
- Change the time on the host on which the management server is running***. Change the time to Current time + 6 Days + 23 hours.
- Restart the Management Server.
- Observe the creation of a Snapshot after an hour.
- ***Caution: Changing the Server time for the purpose of testing recurring snapshots might effect other time dependent features of CloudStack
| - Verify the snapshot's entry in the "snapshots" table.
- Verify that the Snapshot's snapshot_type is WEEKLY in the "snapshots" table.
- Verify the presence of the corresponding snapshot on the Secondary Storage
| P1 | | | | | |
SP040 | Create Monthly recurring snapshots for ROOT disk and data disks (limits, snapshot retention and auto deletion) | - Deploy a VM using the Default CentOS Template
- Create an Daily Recurring snapshot policy on the ROOT disk.
- Change the time on the host on which the management server is running***. Change the time to Current time + (27/28/29/30- depending on the Month (Feb/Leap yr Feb/30 days moth/31 days month)) Days + 23 hours.
- Restart the Management Server.
- Observe the creation of a Snapshot after an hour.
- ***Caution: Changing the Server time for the purpose of testing recurring snapshots might effect other time dependent features of CloudStack
| - Verify the snapshot's entry in the "snapshots" table.
- Verify that the Snapshot's snapshot_type is MONTHLY in the "snapshots" table.
- Verify the presence of the corresponding snapshot on the Secondary Storage
| P1 | | | | | |
| | | | | | | | | |