446 Commits

Author SHA1 Message Date
Ashutosh K
d5203b19e0 Additional tests for custom_hostname
- vm with existing displayname
- change display name post deploy
- deploy with unsupported chars in display name
- vm.instancename.flag = true and deploy vm
- vm.instancename.flag = false and deploy vm

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-15 10:46:29 +05:30
Ashutosh K
31c4a9159a Removed Invalid test from TestRemoveUserFromAccount see -> http://markmail.org/message/vk7wyl3b57cltj44
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 84e81df2a393ee6e6c123583a400dc3e59723680)
2013-08-15 10:44:43 +05:30
Ashutosh K
0d0409bddb CLOUDSTACK-3594: New affinity group tests
- list all vms in affinity group
- delete an affinity group by id
- admin deletes affinity groups
- list affinity groups as admin
- list affinity groups by accountid/domainid
- list affinity groups by group id
- user deletes his affinity group

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 682e995a4a21e2d74b79bc26513055b913f3545d)
2013-08-15 10:38:37 +05:30
Sanjay Tripathi
151fc3e837 CLOUDSTACK-3688: Test cases test_accounts.TestDomainForceRemove.test_forceDeleteDomain, not found the domain to delete and failed.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-14 20:04:55 +05:30
Prasanna Santhanam
500545cb82 flaky RvR tests to run sequentially
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit a04599b3ca8e21b44abb995cc200b5d2c8711191)
2013-08-14 19:54:05 +05:30
Prasanna Santhanam
d771e3fa5b CLOUDSTACK-3961: multi network test in VPC
Test delete network rules in a VPC. Multiple Fixes
- correct protocol ICMP->TCP
- Remove LB actions from non-lb network
- correct private gateway CIDRs to not overlap with vpc guest cidrs
- remove unrequired SSH on non-lb network
- typos

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-14 17:04:23 +05:30
Prasanna Santhanam
21d8982484 CLOUDSTACK-4252: Correct the cleanup order of resources
Apply a LIFO cleanup when deleting cloud resources

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 9e7983ac18b7c6db5463ca10c75ec12b1fbfbd59)
2013-08-14 16:32:30 +05:30
Prasanna Santhanam
465adf984d CLOUDSTACK-4258: Additional debug to the assertion
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-14 15:27:42 +05:30
Prasanna Santhanam
042f998db4 CLOUDSTACK-4262: Wait twice network.gc for vpcvr shutdown
Wait a little bit longer for the VpcVr to shutdown on network shutdown.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 4ed5033a59c7aa5fe95f865c5fcbdba21c03616e)
2013-08-14 15:27:42 +05:30
Prasanna Santhanam
211f519421 Additional logging and better error reporting on assert fail
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 05bb315636eba87722ce3f49fe61bdd6bc4dcc32)
2013-08-14 15:27:42 +05:30
Prasanna Santhanam
61b787975c CLOUDSTACK-4283: remove hardcoded shared_vlan from test_shared_networks
SharedNetwork creation requires a pre-setup VLAN outside of the guest
VLANs defined during zone creation. Use a VLAN tag outside the guest
range as a shared network vlan to create shared networks.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 35867ccbd90c824b4faae438dac99400babeff95)
2013-08-13 15:31:43 +05:30
Rayees Namathponnan
ab254a5131 TestVMLifeCycleSharedNwVPC need to disable since its failing, netscaler configuration need to change
Signed-off-by: Edison Su <sudison@gmail.com>
2013-08-12 17:20:01 -07:00
Prasanna Santhanam
73d49d0907 Fix test naming to reflect the test purpose
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 445341355d18d280c745e8a1abcf39bafd938f91)
2013-08-12 14:42:33 +05:30
Prasanna Santhanam
59f944d7c3 CLOUDSTACK-3017: Add tags to Cisco ASA tests
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit cdff1360674385e538cd9128160030f08588bda9)
2013-08-12 12:03:45 +05:30
SrikanteswaraRao Talluri
4bdaffb66a CLOUDSTACK-4230: Fix the script to not to add egress rule if zone network type is not advanced
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 8872af90d3d1014bf3fdfeb5f78652d5184f42cc)
2013-08-10 19:17:54 +05:30
Prasanna Santhanam
3ba68a1624 Add more debug logging to download detached volume test
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 3455a76237481c3bbb590e88d37b6ca351c113fc)
2013-08-10 16:19:10 +05:30
Prasanna Santhanam
472370f888 CLOUDSTACK-4225: change to directory where snapshots are mounted
return back to HOME_DIR and unmount the secondary storage

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 99329dfa4a4298a57245e224b533d0201e83f7c8)
2013-08-10 16:18:59 +05:30
Prasanna Santhanam
2100789f23 Fix indent to stop tabnanny from complaining
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 78c802da1343abe2c82f9a7dfb7903f81287abe9)
2013-08-09 15:55:13 +05:30
Prasanna Santhanam
75cd6cce40 Fix VPC test
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-09 12:08:27 +05:30
Prasanna Santhanam
b3fb75e6c6 Fix redundant router deployment tests
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-09 12:08:16 +05:30
Prasanna Santhanam
bad72a0aeb Fix volumes tests
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-09 12:08:02 +05:30
Prasanna Santhanam
ed70eaf2ce include test for volumes created in non-root domains
Test verifies that volumes in non-root domains are visible to the user
that created them.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-08 22:20:04 +05:30
Girish Shilamkar
f1734ed71d CLOUDSTACK-4144 Make specifyVlan to false for shared network
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-08 16:59:49 +05:30
Saksham Srivastava
ac6b26ff81 CLOUDSTACK-4021:[Automation] TestExplicitDedication.test_01_deploy_vm_with_explicit_dedication failed to deploy VM
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 8191f5c6902b3c0d677858ef851f1eade8871d8d)
2013-08-08 16:57:47 +05:30
Prasanna Santhanam
ceec1fb243 Fix the kwargs passed in as dict to listVirtualMachines
listVirtualMachines queried using tags needs the tags (key,value) to be
passed as a dictionary.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit c2840b93f5fd0d2d4e6dc4daa428b16a213fa8e7)

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-08 12:09:32 +05:30
Sheng Yang
17b2bda13c CLOUDSTACK-3939: Add wait time after VM boot up
If VR is reboot before VM booted up, VM cannot get IP. Add timeout for VM
booting up.
2013-08-07 17:43:05 -07:00
Sheng Yang
cab72c0193 Automation: Fix test_redundant_router_network_rules.py
Stop VR after VM booted up.
2013-08-07 16:08:59 -07:00
Sheng Yang
8e395b2a89 Automation: Fix test_vpc.py 2013-08-07 15:51:06 -07:00
Prasanna Santhanam
d1c01a79a5 Fix missing key
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-07 22:52:45 +05:30
Girish Shilamkar
1a46bbd893 Test assumes storagetype to be local therefore test_egress_fw_rules fail.
Removed storagetype definition.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-07 20:30:52 +05:30
Gaurav Aradhye
a6076818e0 Automation: Affinity Groups- Removing invalid test case
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit ae378940c305fbb1449a1e5d8fdb13abc3a556dc)
2013-08-07 19:44:16 +05:30
Prasanna Santhanam
37b8775203 fix snapshots tests
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit baf040012430213db557d5ad527b27a954d9a33e)
2013-08-07 19:38:01 +05:30
Prasanna Santhanam
8ac1796226 Fix invalid references
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-07 16:10:53 +05:30
Prasanna Santhanam
70fdd43c84 Fix snapshot limit tests
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 79cd3df6fb13210cfdb1cf0058737d912629c856)
2013-08-07 15:09:46 +05:30
Prasanna Santhanam
03439e497e remove local path in cloud-set-guest-password script
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 2d4e17e8d4c25775448af7f76b4eb61e4e56bf3f)
2013-08-07 14:48:21 +05:30
Prasanna Santhanam
fb58addc35 Fix snapshot GC test
Changes to object store removes SecondaryStorage host from the host
table. This affects the test where we identify the secondary storage nfs
host to login to where we verify if the snapshot is present on the
physical resource.

* added base classes for imagestore/stagingstore operations
* fixed the test to check only if NFS is used as backing store

TODO: Fix for s3 based storage layer

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 4f973778bf6c2bfc7da2b8c785557e86f81af9d5)
2013-08-07 14:33:57 +05:30
Alena Prokharchyk
638f8e0046 CLOUDSTACK-4120: fixed automation script for resource tags 2013-08-06 12:54:50 -07:00
rayeesn
78bc6314ea updated interface in netscaler config test script
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-06 22:03:09 +05:30
Prasanna Santhanam
14a889df36 Add missing sleep
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 22da47087b0ed67bb8bf30b92b1199cc67898150)
2013-08-06 19:55:29 +05:30
SrikanteswaraRao Talluri
c853426c76 CLOUDSTACK-4098: Fix the test which deploys a VM from password enabled template.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 64591e65beb5734a2c99d4c2c8b9f03ab064a739)
2013-08-06 18:46:44 +05:30
Prasanna Santhanam
31493d8d83 add cleanup list
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 7f25510a280271a890a4db8d565fdc75316c66ae)
2013-08-06 16:58:18 +05:30
Prasanna Santhanam
c5054d8957 Fix egress rules offering - rvr not required
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit b1e6188308d43183219e9844fa7465a66064c586)
2013-08-06 15:55:46 +05:30
Prasanna Santhanam
8d0f08a4b8 Egress Rules: Corrections to few areas
1. correcting the log_test_exceptions decorator so nose testrunner can
detect and document the running test
2. correct the wait for network cleanup -> network.gc
3. Remove commented skips
4. Sanitize host passwords

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-06 13:22:59 +05:30
ashutoshkelkar
c1f8dc982d Adding Tests for Egress Firewall rules advance zone. Code review changes and added tests for RVR and DB table value checks
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-06 13:22:59 +05:30
Prasanna Santhanam
da1a79dab7 remove hardcoded vlan for shared network test
use a vlan outside of the vlans managed by cloudstack.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-05 22:05:21 +05:30
Prasanna Santhanam
f17e046319 Log the API exception for debugging
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-05 20:16:15 +05:30
Prasanna Santhanam
0561daa54d No need to cleanup lightweight entities like offerings
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 1670aeac360b591f513a76a0c77158672f3e387f)
2013-08-05 20:14:07 +05:30
Sheng Yang
b96fea2e06 Automation: BVT: Fix test_guest_vlan_range.py due to updated API 2013-08-02 16:47:32 -07:00
Sheng Yang
498c18f654 Automation: Fix test_vpc_network_staticnatrule.py 2013-08-02 14:04:35 -07:00
Prasanna Santhanam
b8c01cfdd0 moving rvr deployment planning to maint suites
this suite performs enable/disable of pods/clusters in the zone causing
other tests to fail deploying VMs. Move it to sequential execution suite
in the maintenance tests

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 73de7646ffd289b779d5c45cfee84e07551c3a0c)
2013-08-02 22:23:44 +05:30