Commit Graph

795 Commits

Author SHA1 Message Date
animesh 21043bfe84 Updating pom.xml version numbers for release 4.2.1-SNAPSHOT
Signed-off-by: animesh <animesh@apache.org>
2013-10-03 17:13:17 -07:00
animesh 86c93637f5 Merging 4.2-forward into 4.2 2013-10-02 23:05:34 -07:00
Gaurav Aradhye 503fe75dc9 CLOUDSTACK: 4706 - Adding missing method get_region in common.py
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-09-30 15:18:30 +05:30
SrikanteswaraRao Talluri 6b28e03d6d CLOUDSTACK-4691: move egress rules host maintenance tests to maint folder
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-09-30 15:06:46 +05:30
Wei Zhou 9d00a6da65 CLOUDSTACK-4726: complete secondary storage configuration in devcloud-advanced.cfg and devcloud-advancedsg.cfg 2013-09-23 11:09:05 +02:00
Anshul Gangwar c93e6e216d CLOUDSTACK-2266: marvin tests for IP Address reservation within a network it also adds the ipaddress parameter to virtual machine's create method in base.py
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 955408166c)
2013-09-18 09:23:03 +05:30
Gaurav Aradhye 23c759ec35 Automation - Portable Ip feature test cases
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-09-13 17:27:57 +05:30
sailajam e546fe0e71 Merge branch '4.2' of https://git-wip-us.apache.org/repos/asf/cloudstack into 4.2 2013-09-12 10:59:47 +05:30
Prasanna Santhanam 0a0ff45b16 CLOUDSTACK-4608: Resolve the hostname to fqdn from marvin config
In case the marvin configuration does not contain fqdn information fetch
and compare the fqdns of hostip from `cloud`.`host` with the fqdn
available on the client.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 433d5839a1)
2013-09-09 11:43:18 +05:30
Marcus Sorensen b2c4529a8a Updating devcloud-kvm marvin config to enable InternalLbVM
upon zone deployment.
2013-09-07 23:08:50 -06:00
Gaurav Aradhye 751fe8e339 CLOUDSTACK-4531: Fixed indent problem with the patch.
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-09-06 21:35:18 +05:30
Marcus Sorensen 8d043c0e4d Updating devcloud-kvm marvin config to enable InternalLbVM
upon zone deployment.
2013-09-05 22:45:40 -06:00
Sowmya Krishnan c1ea61a0e7 CLOUDSTACK-4487 Fix adding Netscaler service provider if not already done
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-09-05 15:06:10 +05:30
Girish Shilamkar 4f3b411d4c CLOUDSTACK-4531: Resolved ssh error for basic zone. Public ip should be used for ssh instead of ipaddress of nic
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-09-05 10:07:38 +05:30
Prasanna Santhanam 204f85b051 CLOUDSTACK-4499: Wait until hosts are up before adding storage pools
This works around the delay caused in adding Xen 6.1/6.2 hosts where
host takes two attempts to transition to Up state. We will wait for one
minute per cluster before attempting to add storage pool in the cluster.

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

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 16:00:37 -07:00
Prasanna Santhanam 72a026cea2 Fix pep8 formatting to fix cloudstack-marvin build
(cherry picked from commit 5326833971)
2013-08-30 12:41:16 +05:30
Gaurav Aradhye f585c605e2 Automation: Limit Resources - Adding tests related to CPU limits
Reviewed-by: Sanjay Tripathi <Sanjay.Tripathi@citrix.com>
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 95e4b7afa8)
2013-08-29 14:14:32 +05:30
Girish Shilamkar de86e5e63d CLOUDSTACK-4407: Use extractTemplate API to get hypervisor specific template information
Template url, hypervisor and format were defined in Service class to be Xenserver specific
and therefore registering a new template failed on Vmware and KVM.
Fixed this to get hypervisor specific info for registering new template.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 20256706b376551fe8993ee2e73c61df31dcb6de)
2013-08-29 12:38:34 +05:30
Prasanna Santhanam dc071e963e CLOUDSTACK-4499: Wait until hosts are up before adding storage pools
This works around the delay caused in adding Xen 6.1/6.2 hosts where
host takes two attempts to transition to Up state. We will wait for one
minute per cluster before attempting to add storage pool in the cluster.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 22ee499c3571b2a6b6921abb36c679128893c415)
2013-08-29 12:38:19 +05:30
Ashutosh Kelkar 6e64fa53c6 CLOUDSTACK-4303: Add missing base.py changes
egressdefaultpolicy parameter was not set in base.py. Therefore
egress test failed. Added this missing change.

Signed-off-by: Jayapal <jayapal@apache.org>
2013-08-27 16:06:47 +05:30
Prasanna Santhanam d7da3ceaef CLOUDSTACK-4452: Fix the mount format to host:dir
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-27 15:28:32 +05:30
Sowmya Krishnan f7df3ef9f1 CLOUDSTACK-4510 Move NS scripts to appropriate suites and related common.py fixes
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-27 10:58:43 +05:30
Edison Su a23322bf20 Merge branch '4.2-forward' into 4.2 2013-08-26 16:18:12 -07:00
Chip Childers 0cefd6c972 Adding httpclient ssl source files to legal documentation
(cherry picked from commit a70708de48)
2013-08-26 12:36:13 -04:00
Chip Childers a70708de48 Adding httpclient ssl source files to legal documentation 2013-08-26 12:33:01 -04:00
Prasanna Santhanam 81d489dc94 CLOUDSTACK-4452: Cleaning up the is_snapshot_on_nfs utility
- Pass in config and determine the mgmtsvr credentials
- remove the dir_paths param which is not reqd.
- pass all entities as uuids and convert to ids within the method

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 02e7630f1c)
2013-08-26 11:11:30 +05:30
Gaurav Aradhye 35ee38385c CLOUDSTACK-4452 - Fixed method is_snapshot_on_nfs and moved it to utils
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-26 10:40:19 +05:30
Prasanna Santhanam e39156e4d6 CLOUDSTACK-4473: allow_egress referenced before assignment
When deploying with networkids allow_egress gets no default value. This
is a regression caused by fix for CLOUDSTACK-4418

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-23 17:03:19 +05:30
Animesh Chaturvedi 06f28722b6 Updating pom.xml version numbers for release 4.2.0
Signed-off-by: Animesh Chaturvedi <animesh@Animesh-LinuxDev.citrite.net>
2013-08-22 17:15:42 -07:00
Prasanna Santhanam 69f6f49ae1 CLOUDSTACK-4453: fetch host credentials from marvin config
Tests would fetch the credentials for the host to hop into router to
check for essential services. Each test would require to put in the host
information into the test data. Instead fetch the credential information
from the marvin configuration file.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-22 20:20:35 +05:30
Jessica 057705e4f2 CLOUDSTACK-4429. DOC. Fix broken link in header of API Reference TOC page. The link pointed to the Developer's Guide on the old doc site. Changed to point to the new doc site. Does not point to a specific doc version, so this text can be re-used without change for future software releases.
(cherry picked from commit aeb962ad13)

Signed-off-by: animesh <animesh@apache.org>
2013-08-21 23:48:42 -07:00
Sowmya Krishnan 1c31ee22d4 CLOUDSTACK-3927, CLOUDSTACK-3928: Fix NS scripts to add/remove NS device in setupClass/tearDown
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-22 10:06:51 +05:30
Jessica aeb962ad13 CLOUDSTACK-4429. DOC. Fix broken link in header of API Reference TOC page. The link pointed to the Developer's Guide on the old doc site. Changed to point to the new doc site. Does not point to a specific doc version, so this text can be re-used without change for future software releases. 2013-08-21 16:14:18 -07:00
Prasanna Santhanam 81b5146c8e CLOUDSTACK-4418: allow egress access to all networks for VMs on NAT
Tests doing operations within guests post VirtualMachine.create w. default
network offering fail since the egress policy with isolated networks and
sourcenat services is DENY.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-21 15:19:26 +05:30
Edison Su dfa81da53a delete snapshot_store_ref if the snapshot is in error state 2013-08-20 15:33:24 -07:00
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
Chip Childers f92ccb4244 fixing build error with message Need to add a category for createCacheStore.xml to <https://builds.apache.org/job/cloudstack-apidocs-master/ws/tools/apidoc/gen_toc.py>:known_categories 2013-08-08 09:38:00 -04:00
Chip Childers 70facdcc58 Adding CacheStores category for API docs, to resolve: Exception: Need to add a category for listCacheStores.xml to /home/hudson/jenkins-slave/workspace/cloudstack-apidocs-master/tools/apidoc/gen_toc.py:known_categories 2013-08-07 15:59:53 -04:00
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
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
Gaurav Aradhye 909b28793c Automation: Adding Memory limits tests from Resource Limits Tests 2013-08-06 09:42:41 +05:30
Prasanna Santhanam dbd321b022 Fix pep8
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-05 14:06:11 +05:30
Prasanna Santhanam b9c15a4835 isportable defaults to False
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit d993dda55a69e38bd0fba24166ad6fdf0e97cfc7)
2013-08-02 22:24:18 +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 3388291cc5 CLOUDSTACK-3921: Don't change order of params in PublicIpAddress.create()
Or existing tests that depend on the order barf and fail.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-01 19:25:47 +05:30
Prasanna Santhanam 712d962943 Remove unused code
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 7452bb858703d9a24e6d4bb50036851e06c8418a)
2013-08-01 16:10:30 +05:30
Sheng Yang fda055388e Automation: Fix SSH connection test
And increase default retry to 10 times, each 30 seconds.
2013-07-31 18:27:49 -07:00
Sheng Yang 4f111d2846 Marvin: Add missing __init__ to StaticRoute 2013-07-31 15:10:01 -07:00
Chip Childers c68eb4d41e Fixing setnextversion.sh 2013-07-31 11:09:52 -04:00
Prasanna Santhanam 7aafd06df6 Include SSH retry logic when encountering channel failures.
Only on SSHExceptions we attempted retries, but during socket failures,
like Network Unreachable we failed the ssh connection immediately.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-31 17:21:01 +05:30