746 Commits

Author SHA1 Message Date
Rohit Yadav
6f84e74a68 tools: Remove cloudmonkey, add info in INSTALL.md
After some discussion on the dev ML[1], we decided to move tools/cli which
contained cloudmonkey to a new git repository [2]. We did that by retaining
its history. In this commit, we remove tools/cli and add information on where
to find cloudmonkey. This is help us speed up cloudmonkey's development and
releases, now that with ApiDiscovery it's completely independent of any other
CloudStack modules.

[1] http://markmail.org/message/tjlr753xfhpw4uk4
[2] https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-07-28 22:53:12 +05:30
Prasanna Santhanam
03150fd6ee CLOUDSTACK-3797: Including httpd permission and test page
- add a test page for the http service
- startup on boot
- configure iptables port :80
- cleanup iso files

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-28 12:21:02 +05:30
Min Chen
c8cafb91a7 CLOUDSTACK-3818: NFS Cache Improperly Named. 2013-07-26 15:07:45 -07:00
Prasanna Santhanam
0f7870332a CLOUDSTACK-3797: Fix wget installation of xs-tools in to the builtin
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-27 00:02:28 +05:30
Prasanna Santhanam
4bf7abcbe9 CLOUDSTACK-3797: remove duplicate packages from base.sh already in postinstall.sh
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-27 00:02:28 +05:30
Prasanna Santhanam
4be18aefc4 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>
2013-07-26 19:40:22 +05:30
Prasanna Santhanam
26a0fd5af9 CLOUDSTACK-3797: Builtin appliance definition using veewee
This appliance will be used for testing purposes only. The appliance
will replace the built-in in a test environment before deployment.

Some of the integration tests require specific services running within
guests to test for cloudstack features. Eg: VPC LB needs an httpd server
running. When we need to customize the template this appliance can be
used instead of having custom templates for each test.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-26 17:34:00 +05:30
Prasanna Santhanam
fd62a22b6b add deleteCacheStorage to TOC in API doc generator
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 8f153a65dd6d0aba42f118352652a4555c3641d6)
2013-07-26 09:47:01 +05:30
Prasanna Santhanam
8e72a728b7 Fix pep8 that broken marvin build 10 days ago :(
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-25 23:00:41 +05:30
Prasanna Santhanam
23e7753741 Fix bunch of affinity group tests
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 2b0a97267617608e6695973bc768eec499b69eca)
2013-07-25 22:51:35 +05:30
Chip Childers
7df0d3a23b Updating build_asf from the 4.1 branch, where I fixed a couple of things 2013-07-25 12:30:21 -04:00
Prasanna Santhanam
9e8663c7ca 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>
(cherry picked from commit 8b8cee52f09f9f2c1b612ece16fc7ffc4b2c9176)
2013-07-25 15:34:04 +05:30
Girish Shilamkar
b8a38ca7bd 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>
(cherry picked from commit 4a7f5d59d6f77fdeb5623937f4efa2542f891573)
2013-07-24 16:53:45 +05:30
Girish Shilamkar
18fbbcfc5a 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>
(cherry picked from commit dba09791fc99c342974d8ca1c69609c04f1a5512)
2013-07-22 19:36:28 +05:30
Prasanna Santhanam
4956e46884 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>
(cherry picked from commit 9a5d2e9e36411ac5df17baca13874e0575233dac)
2013-07-22 19:36:27 +05:30
Prasanna Santhanam
a75a62a318 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>
(cherry picked from commit fb75f51755a2a0f28766f3e15b3e349151c85334)
2013-07-22 12:50:28 +05:30
Prasanna Santhanam
2d55914e70 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>
(cherry picked from commit 6a8608a916eec2551797e93634d9716e9d15c783)
2013-07-22 12:19:03 +05:30
Prasanna Santhanam
2000005f90 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>
(cherry picked from commit 17af34fd19ba9aa310a416e8e8cb80de37a018c2)
2013-07-20 15:53:50 +05:30
Prasanna Santhanam
b8148c6220 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>
(cherry picked from commit 9c9003a0dba755135f643777083b80ec5fa3d910)
2013-07-20 13:31:03 +05:30
Gaurav Aradhye
4f8c43fc20 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>
(cherry picked from commit 3c360ce02807240586d471ab4c0cbd24d76ed7e6)
2013-07-20 12:28:35 +05:30
Sanjay Tripathi
ecfeaa1037 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>
2013-07-20 12:20:15 +05:30
Marcus Sorensen
1c21a6296a 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:08:56 -06:00
Gaurav Aradhye
bd80efc49a CLOUDSTACK-3452: Created security group for basic mode to allow SSH to vm
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 9c24c471bca83241a9ebf586567c0fd61231da19)
2013-07-19 17:44:52 +05:30
Prasanna Santhanam
ae2ee95069 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>
(cherry picked from commit a4d902fc9b48e963d5987965207e3745e1728741)
2013-07-19 17:44:52 +05:30
Edison Su
c618caf102 fix localendpoint npe 2013-07-17 16:29:52 -07:00
Girish Shilamkar
234db0561f CLOUDSTACK-3586: Fixed regression test cases for Affinity Groups
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-17 19:23:58 +05:30
Edison Su
bf32776f9f be able to upload template into swift 2013-07-16 18:07:06 -07:00
Prasanna Santhanam
b020bcfb49 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>
(cherry picked from commit 337811dd810e413238a012381ae1c84d1e1fac7c)
2013-07-13 10:43:58 +05:30
Edison Su
d51fa1c063 set vhd-util executable 2013-07-12 10:59:38 -07:00
rayeesn
b3e2871e73 vmware - not reqiured to add host, host will be added as part of cluster
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-12 16:11:20 +05:30
Prasanna Santhanam
f96b89f25e 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>
2013-07-05 15:32:41 +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
Edison Su
810c64e387 fix marvin when deploy vmware setup 2013-07-03 14:34:33 -07:00
Alex Huang
bec53fb59a VMSync: Separating jobs from api 2013-07-03 11:22:40 -07:00
Prasanna Santhanam
79e2c599d9 really fix the RAT
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-03 15:14:44 +05:30
Prasanna Santhanam
e82f97cad3 Fix RAT check for the eclipse configuration
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-03 15:10:51 +05:30
Alex Huang
80f13a39a4 Added my eclipse.epf 2013-07-02 20:26:24 -07:00
Prasanna Santhanam
02f207f6c9 include account and domainid in affinity group creation
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-02 17:02:00 +05:30
Prasanna Santhanam
3684bafd37 pep8 fix
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-30 13:58:16 +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