You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Test Case Name

Steps

Expected Results

Priority 
(P1 | P2 |P3)

Test Case Type( Sanity | Functional |
Negative)

Status

verify add template

1. Add public/private template
2. check UI/ listTemplates command to see the newly added template.


1.database (vm_template table) should be updated with newly created template
2.UI should show the newly added template
3.listtemplates API should show the newly added template

 

 

Passed

verify delete template

Delete Template:
1.delete a template using UI/ API

1.listtemplates should not show the delted template
2.database should be updated.
3. tempalte should not be displayed in admin UI.
4. template should be removed from secondary store (if no VMs were deployed with it) after storage.cleanup.interval

 

 

Passed

Verify Edit template

Edit Template:
1. edit the template attribute
2. check the updated values are relfecte

1.data base should be updated with updated values
2.UI should show the updated template attributes
3.listTemplate shoud show the template with updated values

 

 

Passed

Download template 

"1. Add public/private template
2. select  the template and click ""Actions""
3. perform   ""Download Template""


"

"1.  download template should generate a valid http link to download
2.  You should be able to download the template with out any issues (no 404, 530, 503 HTTP Errors)"

 

 

Passed

Template permissions

1.    Check admin can extract any template   
 2.   Check all the all public templates should be visible to the users and admins.
 3.check all the system VM templates are not visble to users
  

"1.admin should able  extract and download the templates
2.listTemplates should display all the public templates for all kind of users
3.Listtemplate should not display the system templates"

 

 

 

verify adding of password enabled Template

1. Add password enabled public/private template 2. check UI/ listTemplates command to see the newly added template.  
3.create Instance using the Tem plate

1.database (vm_template table) should be updated with newly created template 2.UI should show the newly added template 3.listtemplates API should show the newly added template
4.Instace creation should be successful

 

 

Passed

verify add ISO

1. Add public/private ISO
2. check UI/ listISO command to see the newly added template.


1.database (vm_template table) should be updated with newly created ISO
2.UI should show the newly added ISO
3.listISos API should show the newly added templat

 

 

Passed

verify delete ISO

1.delete a template using UI/ API

1.listIsos should not show the delted template
2.database should be updated.
3.ISO should not be displayed in admin UI.
4. ISO should be removed from secondary store (if no VMs were deployed with it) after storage.cleanup.interval

 

 

Passed

Verify Edit ISO

1. edit the ISO attribute
2. check the updated values are relfected

1.data base should be updated with updated values
2.UI should show the updated ISO attributes
3.listISos shoud show the template with updated value

 

 

Passed

 

 

 

 

 

 

Download ISO

1. Add public/private ISO
2. select  the ISO and click "Actions"
3. perform   "Download Template"

1. download template should generate the link to download and able to download the template with out any issues
:check the ssvm in /var/www/html/userdata

 

 

Passed

Copy template

1. perform copy template   from one zone to another zone
2.check the newly copied template in another zone

copy template should be successful and seconday storage should contain new copied template.

 

 

 

Download template with isolated storage network

1.Bring up CS in advanced zone
2.create zone->pod->cluster>host
3.Primary and secondary storage on storage server in isolated network(Only management network has the reachability to storage server, public network does not have the reachability)
4.Disable zone
5.Set global settings parameter "secstorage.allowed.internal.sites" to storage server subnet
6.Restart management server
5.Enable zone

Verify that SSVM downloads the guest OS templates from storage server which is in isolated network.
Use below sql query to verify the download status of the template.
mysql> select * from template_host_ref;

p1

Y

 

CS-13972

 

 

 

 

 

 

 

Dettach and Attach disk to VM

1) Try to bring fresh setup of CS
2) Add zone->Advanced zone
3) Deploy multiple guest vms
4) Create Data Disk volume and attch it to one of the guest VMs
5) Dettach the data disk from the VM and try to attach it to another vm

Should be successful. Attaching disk wizard should list all the available guests in drop-down list

P1

N

 

cs-12347

Passed

 

 

 

 

 

 

Public ISOs visibility in Add Instance wizard

1) Try to bring a fresh setup of CS
2) Add Zone -> Advance mode
3) Register ISO to the CS and mark it as public, featured no, enable_password no, bootable yes, cross_zones no, extractable yes.
4) Try to deploy a VM.

Public ISOs should be listed in "Add Instance" wizard

P1

N

 

cs-12515

Passed

 

 

 

 

 

 

Template creation from root volume with static nat

1) Try to bring fresh setup of CS
2) Add zone->Advanced zone
3) Deploy guest vm
3) Acquire IP and configure static nat rule and assign guest vm
4) Stop the VM and try to create template from the vm's root volume

Template creation should throw an error

p1

N

 

cs-12768

 

 

 

 

 

 

 

vm deploy with template having truncated uuid in vmware

1) Try to bring fresh setup of CS

2) Add zone->Advanced zone with vmware cluster

3) Register template and verify template uuid
4) Create a vm from the template registered at step3

Template copied to primary storage should have 32 characters(should not contain "-" in uuid) in its uuid and vm should be up.Verify this with the below sql query:
mysql> select * from vm_template\G;
mysql> select * from vm_instance\G;

P1

Y

 

cs-13386

 

 

 

 

 

 

 

uuid truncate in vmware

1) Try to bring fresh setup of CS
2) Add zone->Advanced zone with vmware cluster
3) Register template and verify template uuid

Template uuid should be 32characters and should not contain "-" in uuid.
Verify this with the below sql query:
mysql> select * from vm_template\G;

P1

Y

 

cs-13386

 

 

 

 

 

 

 

  • No labels