DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.

DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
| Test Case ID | Test Case Name | Steps | Expected Result | ||||
|---|---|---|---|---|---|---|---|
| Basic checks | |||||||
| 1 | Register a template | 1-Create a multi volume vm template which have multiple volume from vcenter 2-register template
| 1-Template registration should be successful
| ||||
| 2 | check db tables | 1-Create a multi volume vm template which have multiple data volume from vcenter 2-register vm template 3-check the vm_template and vm_template_store_ref table | 1-There should be an entry in both table for each data disk in ova file | ||||
| 3 | check vm_templates table for new attribute | check parent_template id in vm_template table | it should be present | ||||
| 4 | check parent id for data disk template | 1-Create a multi volume vm template which have multiple volume from vcenter 2-register vm template 3-check parent_template_id for each data disk | 1-For each data disk parent_template_id should point to VM template | ||||
| 5 | check parent id for vm template | 1-Create a multi volume vm template which have multiple volume from vcenter 2-register template 3-check parent_template_id for vm template | it should be NULL | ||||
| 6 | check secondary storage location of datadisk template | 1-Create a multi volume vm template which have multiple volume from vcenter 2-register template 3-check the data disk template location in secondary storage | it should be template/tmpl/2/data disk template id/ | ||||
| 7 | check content of data disk template | go to secondary storage and chck data disk template contant | -- | ||||
| 8 | Data disk creation failed | 1-register a template with multiple volume 2-make one one data disk creation fail | 1-Rest of the datadisk creation should be successful 2-warnig messages should be thrown in log as well as in UI for failure | ||||
| List Template | |||||||
| 9 | list template | DO list template | it should list all the template (datadisk template + vm template) | ||||
| 10 | check template type | 1-do list template 2-check data disk template type | template type should be "Datadisk" | ||||
| 11 | check template type | 1-do list template 2-check data normal template type | normal template type should be set user | ||||
| 12 | check bootable attribute | 1-do list template 2-check attribute bootable for datadisk template | bootable should be set to false | ||||
| 13 | check bootable attribute | 1-do list template 2-check attribute bootable for regular template | bootable should be set to true | ||||
| 14 | check guestos attribute | 1-do list template 2-check attribute guesstos for datadisk template | guestos should be set to false | ||||
| 15 | check guestos attribute | 1-do list template 2-check attribute guestos for regular template | guestos should set to true | ||||
| Delete Template | |||||||
| 16 | delete vm template | 1-try to delete vm template | 1- Template deletion should be successful 2-all the data disk related to vm templates hould also get deleted | ||||
| 17 | delete data disk template | 1-try to delete individual data disk template | 1-deletion should be successful | ||||
| 18 | delete vm template and list | 1- delete vm template 2-do list template | list template should not show deletead vm template as well as data template related to vm template | ||||
| 19 | delete data template and list | 1-delete data template 2-do list template | list template should not show particular template | ||||
| Copy template | |||||||
| 20 | copy datadisk template | 1-trye to copy data disk template to another zone | it should fail with proper warning message | ||||
| 21 | copy vm template | try to copy vm template to another zone | it should pass | ||||
| 22 | delete data disk and copy vm template after deleting data disk | 1 1-delete one of the data disk template 2- Try to copy vm template to another zone | it should pass | ||||
| update Template and Permission | |||||||
| 23 | update vm template | 1-Try to update vm template attribute | it should be allowed | ||||
| 24 | update vm template and delete | 1-update vm template and try to delete | it should be successful | ||||
| 25 | update data disk template | 1-Try to update datadisk template | it should be allowed | ||||
| 26 | update data disk template and try to delete it | 1-update data disk template 2- try to delete it | it should be successful | ||||
| 27 | Update data disk template permissions | try to update data disk template permission | it should not be allowed ,Should throw proper error message | ||||
| 28 | default permission of data disk | check default permission of datadisk | By default the Datadisk templates will be private and non-featured | ||||
| Download Template | |||||||
| 29 | download vm template | try to download vm template | would be able to download root template | ||||
| 30 | download data disk template | try to download data disk template | should be able to download | ||||
| 31 | download root volume created from vm template | -- | -- | ||||
| 32 | download data volume created from data template | -- | -- | ||||
| Deploy VM AND VM life cycle | |||||||
| 3330 | Deploy vm api | check deploy vm API | it should have new parameter datadisktemplatetodiskofferinglist | ||||
| 2934 | deploy a vm without datadisk template | usual flow | whould be successful | ||||
| 2935 | deploy vm wizard | In deploy vm wizard , check list template per zone | list template should only list vm-template , no data disk template should be listed | ||||
| 3036 | deploy a vm with data disk template | 1-select vm template 2-select datadisk template , it should list all the data disk template corresponding to that vm template 3-select all data disk template 4- deploy vm | deploy vm should be successfull and vm should have data created for each data disk template | ||||
| 3137 | deploy vm with data disk template | 1-select vm template 2-select datadisk template , it should list all the data disk template corresponding to that vm template 3-select any one data disk template 4- deploy vm | deploy vm should be successful vm should have on data disk created | ||||
| 3238 | deploy vm with data disk template | 1-register a vm template 2-delete on of the data disk 3-deploy vm with vm template chose all the data disk
| deleted data disk template should not bi listed. deploy vm should be successful | ||||
| 3339 | deploy vm using deploy vm api | use api and pass both parameter , for compute offerings and data disk template | deploy vm should fail with proper erro message | ||||
| 3440 | deploy a vm with vm_template | 1-register a vm template with multiple disk 2-while template registration is in progress try to deploy vm with available root disk from vm template
| vm deployment should be successful | ||||
| 3541 | deploy vm with vm_template and attach volume | 1-deploy a vm with vm template with multiple data disk template 2-try to attache another data disk to vm | attach disk should be successful | ||||
| 42 | deploy vm with only data disk template | Deploy vm with API and provide only data disk template id no vm template it | -- | ||||
| 43 | deploy vm with data disk template | Deploy vm with API provide data disk template id with and for root disk provide normal root disk template id | -- | ||||
| 44 | deploy vm vm template in stop state | set start=fale in deploy vm api and deploy vm | should pass | ||||
| 45 | deploy vm with vm template and data template in stop state | set start= false and deploy vm | should pass | ||||
| 46 | deploy multiple vm with same vm template | deploy multiple vm with same vm template | template should get copied only fist time deployment , later on it should use already template | ||||
| 47 | deploy a full clone vm with only vm_template | -- | |||||
| 48 | deploy a full clone vm with vm_template and data disk template | -- | |||||
| --- | |||||||
| 49 | destroy vm | destroy a vm created with vm template and having multiple volume | |||||
| 50 | expung vm | check root disk status | root disk should get deleted but no data disk | ||||
| 51 | reset vm | try to reset vm created with vm_template and data disk | should reset properly | ||||
| miscellaneous | |||||||
| 52 | Attach iso | create a vm with vm template and attache iso | should be successful | ||||
| 53 | multiple secondary storage in one zone | 1-Add two or more secondary storage in one zone 2- and register pn public vm template
| vm template should get copied to second secondary storage | ||||
| 54 | add another secondary storage | after registering vm template add one more secondary storage to zone | vm template should get copied to new storage | ||||
| 5536 | detach and attach | 1-deploy a vm with vm template 2- attach and detach data disk which are created for data disk template | it should be successful | ||||
| 3756 | detach and attach to another vm | 1-Create a vm with vm -template wich have multiple data disk 2-dettach some of data disk 3- deploy a vm with normal template and 4- attach disk created in step 2 | atach disk should be successful | ||||
| 3857 | migrate vm | create a vm with vm -template wich have multiple disk and migrate vms | should be successful | ||||
| 3958 | migrate data disk | create a vm with with vm -template , and detache on of hte data disk and migrate it to another primary storage | migration should be successful | ||||
| 59 | resize volume | create vm with vm template which have multiple data disk template , try to resize some datadisk which are created by data disk template | should pass | ||||
| 60 | template synch | -- | -- | ||||
| Snapshot | |||||||
| 6140 | Try to take vm snapshot | create a vm with vm template which have multiple data disk template ,try to take vm snapshot | snapshot creation should be successful | ||||
| 4162 | try to take snapshot of a data disk | create a vm, with vm template which have multiple data disk template , try to take data disk template which is created with data disk template | snapshot creation should be successful | ||||
| 42 | |||||||
| 63 | resize volume | create vm with vm template which have multiple data disk template , try to resize some datadisk which are created by data disk template | should pass | 43 | try to take data disk snapshot | create vm with vm template which have multiple data disk template , try to take snapshot of datadisk which are created by data disk template | shoulld pass |
| 4464 | try to create template from data disk snapshot | create vm with vm template which have multipe data disk template take volume snapshot try to create template from snapshot | should pass | ||||
| 4565 | Try to create template from data disk snapshot | create vm with vm template which have multipe data disk template take volume snapshot try to create volume from snapshot and attache volume to some vms | should pass | ||||
| 4666 | try to take root disk snapshot | create a vm with vm-template and take root disk snapshot | should pass | ||||
| 4767 | try to create template from data disk snapshot | create vm with vm template which have multipe data disk template take root disk snapshot try to create template from snapshot | should pass | ||||
| 4868 | Try to create template from data disk snapshot | create vm with vm template which have multipe data disk template take root disk snapshot try to create volume from snapshot and attache volume to some vms | should pass | ||||
| Offerings49 | |||||||
| 69 | choose data disk offering which is smaller in size than data disk template | try to deploy vm | |||||
| 50 | |||||||
| 70 | chose data disk offering which is larger than the size of data disk template | try to deploy vm | |||||
| 71 | chose compute offering shared and data disk offering local | try to deploy vm | |||||
| 72 | chose compute offering local and data disk offering shared | try to deploy vm | |||||
| 73 | chose few data disk offering local and few shared | try to deploy vm | 51 |