Commit Graph

737 Commits

Author SHA1 Message Date
Min Chen 1305697eaa CLOUDSTACK-3818: NFS Cache Improperly Named. 2013-07-26 14:36:00 -07:00
Prasanna Santhanam 782333e14c CLOUDSTACK-2450: Fix userdata to be urlencoded safely
urlencoding the userdata and quoting the = since apiserver will strip
them out. This will send an invalid userdata down to the plugin (vmops)
where base64 decoding fails causing vm deployment to fail.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 0edd2a8e14482def0d2a73726b53dee4239e2822)
2013-07-26 19:39:37 +05:30
Prasanna Santhanam 8f153a65dd add deleteCacheStorage to TOC in API doc generator
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-26 09:46:27 +05:30
Prasanna Santhanam 2be96cf0b7 Fix pep8 that broken marvin build 10 days ago :(
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 1f95493dfef7762625530f59c4b4de2b6c2165f0)
2013-07-25 23:00:31 +05:30
Prasanna Santhanam 2b0a972676 Fix bunch of affinity group tests
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-25 22:51:03 +05:30
Chip Childers b5bb0a5708 Updating build_asf from the 4.1 branch, where I fixed a couple of things 2013-07-25 12:31:08 -04:00
Prasanna Santhanam 1067888f6d CLOUDSTACK-3617: Skip the test if config is not suitable
Provided a utility method to ensure the config is suitable for running
the test. If vm.instancename.flag is unset then skip the tests.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-25 15:34:15 +05:30
Girish Shilamkar 4a7f5d59d6 CLOUDSTACK-3594: Fix regression in Affinity Groups tests
One of the patches introduced a regression where account
and domainid parameters were changed. Therefore Affinity
Groups for those accounts were not found and tests failed.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-24 16:52:45 +05:30
Girish Shilamkar b44c620850 CLOUDSTACK-3610: Fix regression test "test_accounts.TestUserLogin"
Now password is sent as clear text as per CLOUDSTACK-1734
So changed marvin to handle this. Plus domainid was not
passed in the testcase and marvin used "domainid" instead of
"domainId" as a parameter. Fixed these two errors.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-22 22:53:09 +05:30
Prasanna Santhanam a659d78905 CLOUDSTACK-3075: When only setUpClass() is creating account
Missed scenario for appending test case names to accounts when
setUpClass calls the account.creation integration library.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-22 22:53:09 +05:30
Prasanna Santhanam fb75f51755 CLOUDSTACK-3075: Test names appended with <module>-<testname>
Prevent chained appending of the testclass/testnames to the accounnt
names.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-22 12:49:42 +05:30
Prasanna Santhanam 77aa85d257 CLOUDSTACK-3075: append module/suite name
If the test doesn't create the account within the testXxx method we miss
the trail of the accountname because the setUpClass() created the
account. Append the module name in advance in such cases to identify the
account that was created in the suite before any tests were executed.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-22 12:20:36 +05:30
Prasanna Santhanam 17af34fd19 CLOUDSTACK-3075: append test case name to account
Accounts will be prepended by the testcase name to ease analysis
post-test runs.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-20 15:53:14 +05:30
Prasanna Santhanam 9c9003a0db CLOUDSTACK-3452: Refactor VirtualMachine.create()
When creating a VM if it's going to a basic zone program sec.group rules
so as to allow SSH access for any tests requiring ssh access to the
guest. Similarly method used to program the NAT and PF for SSH access is
refactored and extracted into a separate method. By default no SSH
access is allowed if the mode is set to 'default'

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-20 13:29:17 +05:30
Gaurav Aradhye 3c360ce028 CLOUDSTACK:3452: Check if security groups feature is enabled in basic zone before creating security group while creating VM
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-20 12:28:06 +05:30
Sanjay Tripathi 5eaec0a5e0 CLOUDSTACK-3620: [Automation] API removevpnuser failed, in test case test_project_usage.TestVpnUsage.test_01_vpn_usage.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit ecfeaa1037)
2013-07-20 12:21:07 +05:30
Marcus Sorensen 30d4ef3af7 Summary: devcloud-kvm marvin zone config fix for 4.2, add provider to img store
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1374264479 -0600
2013-07-19 14:07:59 -06:00
Gaurav Aradhye 6a5f13adec CLOUDSTACK-3452: Created security group for basic mode to allow SSH to vm
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-19 17:45:38 +05:30
Prasanna Santhanam 62bf8082f4 CLOUDSTACK-3655: RvR fails with unexpected state
The guestcidr is no longer specified directly. Use the netmask and
gateway combination to create custom cidr network

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-19 17:45:38 +05:30
Edison Su 83c7b9ae57 fix localendpoint npe 2013-07-17 16:28:49 -07:00
Girish Shilamkar 8e7c1aa133 CLOUDSTACK-3586: Fixed regression test cases for Affinity Groups
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 234db0561f)
2013-07-17 19:27:33 +05:30
Edison Su ba4c4400b5 be able to upload template into swift 2013-07-16 18:05:01 -07:00
Prasanna Santhanam 7ec12dae06 CLOUDSTACK-2481: SystemVM template 64-bit patched with vhd-util
This allows a template of a snapshot operation

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-13 10:45:50 +05:30
Edison Su 8319473baa set vhd-util executable 2013-07-12 10:56:05 -07:00
rayeesn 9bc105f39a vmware - not reqiured to add host, host will be added as part of cluster
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit b3e2871e73)
2013-07-12 16:11:55 +05:30
Prasanna Santhanam e69ebab34e include account and domainid in affinity group creation
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 02f207f6c9)
2013-07-12 10:19:44 +05:30
Prasanna Santhanam e0e8cb0d96 CLOUDSTACK-3273: ClassCastException when adding cache store via API
Filter the detail map sent over the wire into Map<String, String> before
processing underneath by  storage life cycle

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit f96b89f25e)
2013-07-05 15:33:10 +05:30
Prasanna Santhanam a14a9c1926 move isAlmostEqual to utils
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit da9552b7f3)
2013-07-04 20:15:31 +05:30
Edison Su 19651ff5fd fix marvin when deploy vmware setup 2013-07-03 14:33:17 -07:00
Prasanna Santhanam 48a2c761b4 pep8 fix
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 3684bafd37)
2013-06-30 13:58:52 +05:30
Prasanna Santhanam f3e3048682 CLOUDSTACK-3074: include support for vmwaredc mapping to zone
vmware dc can be mapped to the zone after CLOUDSTACK-1963. include
support in marvin for adding the vmwaredc.

vmwaredc : {
    name:
    username:
    vcenter:
    password:
    zoneid:
}

Will be sent during pod creation before cluster creation.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-29 10:03:51 +05:30
Mike Tutkowski 99227f7b3e SolidFire plug-in and related changes
SolidFire plug-in

SolidFire plug-in related
2013-06-28 16:59:21 -06:00
Prasanna Santhanam 9e474d018b do not flout pep8
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-28 19:02:59 +05:30
Prasanna Santhanam 9e8cf60b34 upgrade marvin classes to new style python objects
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-28 19:01:31 +05:30
Sheng Yang 7e44f81273 UCS: Add missing beans
Also move the API to the right place
2013-06-27 14:54:45 -07:00
Edison Su cf4dba34a4 Don't generate bzipped hyperv image 2013-06-27 12:09:39 -07:00
Girish Shilamkar 3c0c6cb0b3 CLOUDSTACK-2254: Tests for Affinity and Anti Affinity rules
TestCreateAffinityGroup
TestListAffinityGroups
TestDeleteAffinityGroups
TestUpdateVMAffinityGroups
TestDeployVMAffinityGroups
TestAffinityGroupsAdminUser

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-27 09:51:29 +05:30
Hiroaki KAWAI 29c39e8f4e Add check for some cli programs
Add check for faketime and vhd-util for xen export.
2013-06-27 13:04:12 +09:00
Hiroaki KAWAI c484d8aaba Add notes about systemvm build script 2013-06-26 15:16:29 +09:00
Daan Hoogland 3e430ccbf0 CLOUDSTACK-3096 format TestCaseExecuteEngine 2013-06-23 13:54:06 -04:00
Daan Hoogland d53f1c0946 CLOUDSTACK-3096 format cloudstackTestCase.py 2013-06-23 11:30:30 -04:00
Daan Hoogland 3f4204b8bc CLOUDSTACK-3096 format cloudstackException.py 2013-06-23 11:28:46 -04:00
Daan Hoogland 34fc209419 CLOUDSTACK-3096 format asyncJobMgr 2013-06-23 11:26:53 -04:00
Daan Hoogland 3fdcf1836c CLOUDSTACK-3096 format cloudsteackTestClient.py 2013-06-23 11:25:16 -04:00
Prasanna Santhanam 4591f94a0b Debian 7.0.0 in archives
Debian released 7.1 and moved the old image to archives. Updated with
the archives link to the -netinst image.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-22 16:25:22 +05:30
Sheng Yang 759269fcd8 Baremetal: Fix API's packages and categories 2013-06-21 09:48:30 -07:00
Prasanna Santhanam 064b570c82 Correcting typo in deployDataCenter.py
isFreeZone is actually a test for whether the zone is a pure advanced
zone or an advanced zone with security groups. Renaming the var and
fixing the typo introduced by a65d21.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-21 21:23:10 +05:30
Daan Hoogland 1c50f1c756 CLOUDSTACK-3096: format codegenerator.py 2013-06-21 09:35:54 -04:00
Daan Hoogland f0ab05dc04 CLOUDSTACK-3096: format configGenerator.py 2013-06-21 08:55:08 -04:00
Daan Hoogland 3e5937e01d format dbConnection.py 2013-06-21 08:33:25 -04:00