Gaurav Aradhye
e25cbd66d2
CLOUDSTACK-3168: Change in try_ssh function
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-18 15:06:22 +05:30
Prasanna Santhanam
8442e35a79
tearDownClass and not teardown
...
Include the affinity group in the deletion/cleanup
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit af9a8de901 )
2013-07-18 15:05:57 +05:30
Prasanna Santhanam
3f5c1c6da3
CLOUDSTACK-3384: Fix the vlan range < 4096
...
VLAN ranges beyond 4095 are properly handled. Fix the test to accomdate
this change
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-11 09:41:17 +05:30
Prasanna Santhanam
d11681fb05
Network GC test moved to regression suite
...
The network GC test is a long running test as it waits for
network.gc.wait + network.gc.interval * 2 to verify that the network
cleanups happen corectly. This test is also part of the regression suite
and is redundant in the smoke. The test run takes 30m longer because of
this test included in smoke.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-05 18:52:47 +05:30
Prasanna Santhanam
9e2224dd49
print debug message for the waiting time
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 313177a51e )
2013-07-05 11:09:56 +05:30
Prasanna Santhanam
b3aa11ca39
Include definition for vm_3 in assign and load balance test
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-04 21:45:00 +05:30
Prasanna Santhanam
da9552b7f3
move isAlmostEqual to utils
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-04 20:14:54 +05:30
Gaurav Aradhye
048cf5aae8
CLOUDSTACK-2884: Fixed test_04_change_offering_small
...
Added method to compare if two digits are almost equal within given range
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-04 20:14:54 +05:30
Prasanna Santhanam
248bea8b27
ipaddress is included
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-04 14:39:54 +05:30
Prasanna Santhanam
1e646629fe
CLOUDSTACK-3354: Fix scalevm test
...
After you scale the vm, user is expected (oddly) to update the virtual
machine to signal that the PV tools are installed. This tells cloudstack
that the VM has been successfully scaled up/down.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit c8ad4e5ced )
2013-07-04 13:52:36 +05:30
Prasanna Santhanam
30039e121b
Separate the loadbalancing tests
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-04 13:37:27 +05:30
Prasanna Santhanam
43f31dcc66
Only print debug message when the planner fails to disperse
...
User Dispersion is a best effort of deployment planning and cannot
always guarantee the dispersion logic will work. However this does not
fail the deployment. Adjust the test so as to print a debug and exit
instead of fail.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-02 19:13:48 +05:30
Prasanna Santhanam
46bd2f8a28
Cleanup list corrected
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-02 17:00:55 +05:30
Gaurav Aradhye
b8d876fff8
CLOUDSTACK-3168: Resolved 'Object NoneType' issue.
...
Replaces ipaddress by ipaddress.ipaddress wherever required
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-02 15:33:20 +05:30
sanjeevneelarapu
479f89ca3c
assertion fails because cluster could be None
...
Object is being used in one of the Assert statements however it is not
callable. Fixed it.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-02 15:22:05 +05:30
Prasanna Santhanam
c7315975d2
Fix tab/space issues
...
Several test failures occurred due to tab issues
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-30 13:20:27 +05:30
Prasanna Santhanam
8dc99d92b6
Fix reviewboard messup of python indentation
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-27 20:30:36 +05:30
Prasanna Santhanam
2af6db24ed
cmds is not a list. just regular string to ssh
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-27 20:30:36 +05:30
Gaurav Aradhye
1fc7aeaaea
CLOUDSTACK-3060: condition for vmware while getting process status.
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-25 12:30:18 +05:30
Harikrishna Patnala
f7b1d3d8d5
CLOUDSTACK-2916: admin is not able to login through UI after setting GP "cluster.cpu.allocated.capacity.notificationthreshold" to some string
...
CLOUDSTACK-2457: No check for input values,special character,-ive values can be assigne to GLobal parameter "cluster.cpu.allocated.capacity.disablethreshold"
Added validation for float values and checking limit for weight based parameters by creating a set of parameters.
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-06-24 20:00:09 +05:30
Prasanna Santhanam
82c75c7fae
Split out snapshot tests for speedup
...
Breaking down snapshot tests
- recurring snapshots
- limits
- garbage collection
- smoke/basic scenario: take snapshot of root disk
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-20 19:42:01 +05:30
Prasanna Santhanam
c1e37f60ac
Cycle all possible device combinations for ISO attach/detach
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-20 16:47:05 +05:30
Edison Su
9aec9c605c
merge to master
2013-06-19 18:16:47 -07:00
Girish Shilamkar
5140473f2b
CLOUDSTACK-1758: Fix ssvm test failures, where ssh to ssvm failed.
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-19 20:33:45 +05:30
Prasanna Santhanam
97eb35c82b
NAT rule creation gives ipaddress as nat_rule.ipaddress
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-18 15:08:11 +05:30
Prasanna Santhanam
9e2eeb21ab
Remove invalid references to diskdevice from tests
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-18 12:47:50 +05:30
Prasanna Santhanam
363a7b933c
list the VPCs with vpc id not network id
...
test failed because of incorrectly listing the VPC using the networkid.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-17 22:25:01 +05:30
Prasanna Santhanam
f8965b6f07
Concentrated planner granularity is at pod level
...
user.concentrated pod planner will try and put the VMs in the same pod.
Correcting the assertion to verify same pod and not same cluster. Test
may have passed earlier because of presence of single pod in the
deployment.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-17 19:44:33 +05:30
Edison Su
f41c800d88
merge to master
2013-06-14 19:06:33 -07:00
Gaurav Aradhye
ed1980c741
Retrying the SSH connection for verifying RR load balancing
...
Attempt multiple-ssh connections to ensure the loadbalancing is going as
per round robin policy.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-13 20:11:49 +05:30
Min Chen
18aeef3ef1
Merge branch 'master' (up to commit
...
c30d9be3ce ) into object_store.
2013-06-12 11:20:32 -07:00
Gaurav Aradhye
19bed63193
CLOUDSTACK-2898: Fixing test case issue test_network.py:test_delete_account
...
When the router for an account is deleted listRouters throws an
exception, handle the exception to pass the test.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-12 20:25:20 +05:30
Prasanna Santhanam
3f3c6aa35f
Test should find Routing hosts not specific hypervisor_type
...
Bug in listing hosts that can be used for deploying VMs. Use Routing
hosts to identify hosts regardless of hypervisor_type.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-10 21:05:33 +05:30
Prasanna Santhanam
ef0e0f36b2
deployment planners plan per clusters not hosts
...
Concentration or Dispersion granularity is at the Cluster level and not
at the host level. So correcting the test to ensure
a. concentrated planner puts the VMs in same cluster
b. dispersed planner puts the Vms in diff't clusters
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-10 20:40:07 +05:30
Prasanna Santhanam
52f9d5efe2
Improve debug message when failing the test
...
Added the listVM response as part of debug logging
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-10 13:38:33 +05:30
Prasanna Santhanam
c30d9be3ce
Remove vm from cleanup list
...
VM will be cleaned up when the account is cleaned up
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-08 13:27:08 +05:30
Prasanna Santhanam
195e823b10
CLOUDSTACK-2882: Fix the diskdevice based on hypervisor
...
KVM > /dev/vda
Xen > /dev/xvdd
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-07 17:08:19 +05:30
Prasanna Santhanam
302741d309
Log the actual NAT ip attempting to SSH into
...
VM IP is the guest IP and it's the NAT ip that is used for ssh.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-07 15:02:55 +05:30
Prasanna Santhanam
1c9cd9d360
CLOUDSTACK-2884: str object interpreted as index
...
Casting to an int for almostEqual comparison
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-07 14:49:00 +05:30
Prasanna Santhanam
6208a51283
CLOUDSTACK-2889: Resize volume unsupported on vmware
...
Skip the tests if the VM deploys on a VmWare host since we do not
support resizing volumes on vmware (yet)
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-07 11:31:10 +05:30
Prasanna Santhanam
c05c1052f5
VM objects are required for deletion/remove from LB
...
Application Loadbalancer remove and delete will get the id/uuid from the
vm object.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-06 09:37:42 +05:30
Prasanna Santhanam
1ddcd3e697
refactor network acl test to use marvin libraries
...
Refactor the network ACL test to use the integration libraries
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-05 20:32:34 +05:30
SrikanteswaraRao Talluri
c1e9b8c48c
CLOUDSTACK-2851: test_service_offering.py has account details missing
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-05 20:32:34 +05:30
SrikanteswaraRao Talluri
2c84866e02
CLOUDSTACK-2858: Fix copy tempate/iso tests
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-05 18:32:27 +05:30
Prasanna Santhanam
0a9b9f7944
Internal LB test refactored to use integration lib
...
Refactoring the internal lb test to use the marvin libraries. Also added
reqd methods for the internal lb related APIs into integration.lib
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-05 17:00:47 +05:30
Prasanna Santhanam
7fb6eaa0ca
Attributes for tests
...
Removing simulator attribute as the NetworkACL related support is to be
extended on the simulator.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-29 10:01:20 +05:30
Prasanna Santhanam
be5639f7e2
Adding environment attributes to tests
...
- test_internal_lb
_ test_privategw_acl
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-29 09:48:25 +05:30
SrikanteswaraRao Talluri
8fd476e2fd
CLOUDSTACK-2557: Fix add primary storage tests
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-28 11:17:42 +05:30
Prasanna Santhanam
90a40b0806
Move changeOffering test to service offerings
...
This will reduce the time (>30m) on the vm lifecycle.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-24 21:42:25 +05:30
Prasanna Santhanam
6e1103e924
Removing tests that were written in the old design
...
The APIs addVolumeDetail and addNicDetail do not exist. These were part
of the old resource tagging design.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-24 14:44:55 +05:30