Commit Graph

247 Commits

Author SHA1 Message Date
Sanjay Tripathi c5f1aea39d 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>
(cherry picked from commit 151fc3e837)
2013-08-14 20:05:02 +05:30
Prasanna Santhanam a04599b3ca flaky RvR tests to run sequentially
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-14 19:52:46 +05:30
Prasanna Santhanam 3be5605583 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>
(cherry picked from commit d28e86ccea5dfebea92eba63d1a15ef90855f62d)
2013-08-14 17:04:07 +05:30
Prasanna Santhanam 9e7983ac18 CLOUDSTACK-4252: Correct the cleanup order of resources
Apply a LIFO cleanup when deleting cloud resources

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-14 16:31:55 +05:30
Prasanna Santhanam e3eee3bd43 CLOUDSTACK-4258: Additional debug to the assertion
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-14 15:27:30 +05:30
Prasanna Santhanam 547b394363 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>
2013-08-14 15:27:30 +05:30
Prasanna Santhanam 095ea6d0b8 Additional logging and better error reporting on assert fail
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-14 15:27:30 +05:30
Prasanna Santhanam 087a9ea76f 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>
2013-08-13 15:32:31 +05:30
Prasanna Santhanam 0d10050485 CLOUDSTACK-3017: Add tags to Cisco ASA tests
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-12 12:04:04 +05:30
SrikanteswaraRao Talluri 359967d9f0 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>
2013-08-10 19:18:07 +05:30
Prasanna Santhanam 99329dfa4a 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>
2013-08-10 15:42:05 +05:30
Rayees Namathponnan 8d1425dd26 TestVMLifeCycleSharedNwVPC need to disable since its failing, netscaler configuration need to change
Signed-off-by: Edison Su <sudison@gmail.com>
2013-08-09 19:43:07 -07:00
Prasanna Santhanam db65f2fe9c Fix indent to stop tabnanny from complaining
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-09 15:55:24 +05:30
Prasanna Santhanam 01c452ab63 Fix VPC test
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 75cd6cce40)
2013-08-09 12:09:59 +05:30
Prasanna Santhanam 69dffe1971 Fix redundant router deployment tests
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit b3fb75e6c6)
2013-08-09 12:09:52 +05:30
Prasanna Santhanam 414f7c2333 Fix volumes tests
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit bad72a0aeb)
2013-08-09 12:09:47 +05:30
Prasanna Santhanam e8383cce27 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>
(cherry picked from commit fb6aa4ebfa2c2ee956e4e8511f6d7eba777d4375)
2013-08-08 22:19:53 +05:30
Girish Shilamkar 664fbf2320 CLOUDSTACK-4144 Make specifyVlan to false for shared network
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit f1734ed71d)
2013-08-08 16:59:57 +05:30
Saksham Srivastava 8191f5c690 CLOUDSTACK-4021:[Automation] TestExplicitDedication.test_01_deploy_vm_with_explicit_dedication failed to deploy VM
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-08 16:57:41 +05:30
Prasanna Santhanam c2840b93f5 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>
2013-08-08 12:07:09 +05:30
Alena Prokharchyk 675c85e349 CLOUDSTACK-4166: temporarily disabling invalid test case that fails BVT 2013-08-07 16:44:29 -07:00
Sheng Yang fae824a95b Automation: Fix test_redundant_router_network_rules.py
Stop VR after VM booted up.
2013-08-07 16:08:30 -07:00
Sheng Yang 9f25b77bd6 Automation: Fix test_vpc.py 2013-08-07 15:51:38 -07:00
Prasanna Santhanam a9d8333c55 Fix missing key
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit d1c01a79a5)
2013-08-07 22:52:55 +05:30
Girish Shilamkar 45fca6a833 Test assumes storagetype to be local therefore test_egress_fw_rules fail.
Removed storagetype definition.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 5826fde22e0aab8183c3f840e3e8613dd8612608)
2013-08-07 20:30:25 +05:30
Gaurav Aradhye ae378940c3 Automation: Affinity Groups- Removing invalid test case
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-07 19:43:58 +05:30
Prasanna Santhanam baf0400124 fix snapshots tests
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-07 19:37:37 +05:30
Prasanna Santhanam a6065ff378 Fix invalid references
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 8ac1796226)
2013-08-07 16:11:05 +05:30
Prasanna Santhanam 79cd3df6fb Fix snapshot limit tests
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-07 15:09:31 +05:30
Prasanna Santhanam 2d4e17e8d4 remove local path in cloud-set-guest-password script
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-07 14:47:50 +05:30
Prasanna Santhanam b0ffc88baa 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>
2013-08-07 14:34:51 +05:30
Alena Prokharchyk ef839427c7 CLOUDSTACK-4120: fixed automation script for resource tags 2013-08-06 12:54:27 -07:00
rayeesn 6ea000d4d9 updated interface in netscaler config test script
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-06 22:02:55 +05:30
Prasanna Santhanam 12be2221ed Add missing sleep
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-06 19:55:41 +05:30
SrikanteswaraRao Talluri 64591e65be CLOUDSTACK-4098: Fix the test which deploys a VM from password enabled template.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-06 18:46:29 +05:30
Prasanna Santhanam fab45b5180 add cleanup list
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-06 16:57:54 +05:30
Prasanna Santhanam 2f34fef7b9 Fix egress rules offering - rvr not required
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-06 15:56:12 +05:30
Prasanna Santhanam cc107377a2 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>
(cherry picked from commit 04df5d289ca9394c7f647fb94e5289160a2d3467)
2013-08-06 13:23:36 +05:30
ashutoshkelkar b70c35a01e 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>
(cherry picked from commit 13869f1a9b3c404184aaa58a378fb87bfce2fa44)
2013-08-06 13:23:36 +05:30
Prasanna Santhanam 04ba3d1354 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>
(cherry picked from commit 7eefeab957e7b2a904a2f5ec1ce2a2624587eb9e)
2013-08-05 22:05:09 +05:30
Prasanna Santhanam 5eb6842149 Log the API exception for debugging
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit f17e046319)
2013-08-05 20:16:35 +05:30
Prasanna Santhanam f71eff7bfe No need to cleanup lightweight entities like offerings
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-05 20:14:26 +05:30
Sheng Yang c3317ca5cf Automation: Fix test_vpc_network_staticnatrule.py 2013-08-02 14:04:07 -07:00
Prasanna Santhanam b4b280f9cf 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>
2013-08-02 22:24:18 +05:30
Prasanna Santhanam 6f63817d07 vpn tags are not supported resource types
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-02 22:10:35 +05:30
Prasanna Santhanam 33f5bc4bb3 make name=value when calling publicipaddress
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 04cc1be58a)
2013-08-02 22:05:36 +05:30
Gaurav Aradhye cb1a5a49f4 CLOUDSTACK:3798: Removed wrong assert. Login was getting successful, assert was failing. Anyway it is being checked in the assert below for sesionKey
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-02 16:44:42 +05:30
Gaurav Aradhye fd9cf9743b CLOUDSTACK:3594: Fixes related to affinity groups tests. Included two test suites those were missed because there was no decorator for test cases
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-02 16:00:15 +05:30
Prasanna Santhanam de96512877 Remove duplicate tests for stopped_vm
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-02 12:51:45 +05:30
Sheng Yang 2cbf97a6f1 Automation: More fix fox test_vpc_vm_life_cycle.py
You cannot reach VPC router IP because you're in one of it's networks.

As well as adding missing import for test_vpc_network_pfrules.py
2013-08-01 18:47:40 -07:00