Commit Graph

2094 Commits

Author SHA1 Message Date
Rafael da Fonseca c1c0382bf5 Don't sleep for a fixed amount of time, no use in continuing if repo is unavailable Check if DNS resolution is working properly when failure occurs
Signed-off-by: Daan Hoogland <daan@onecht.net>
2015-06-21 15:13:25 +02:00
Rafael da Fonseca 6a6d64b99a Get some verbosity and debug on after_script.sh to troubleshoot timeouts on this phase Travis is using maven 3.2.5 and this script was setting an alternate maven path before running script Setting CATALINA_BASE and CATALINA_HOME is of no consequence while running jetty, just adds more problems
Signed-off-by: Daan Hoogland <daan@onecht.net>
2015-06-21 15:13:24 +02:00
Rafael da Fonseca b55ef551ca It seems the network failures last for a bit.. allow some sleeping time Add some verbosity for status checking
Signed-off-by: Daan Hoogland <daan@onecht.net>
2015-06-21 15:13:24 +02:00
Rafael da Fonseca f0dcd403e7 Second phase wan't running properly due to path issue Add extra echo command to make sure there's data in the pom
Signed-off-by: Daan Hoogland <daan@onecht.net>
2015-06-21 15:13:24 +02:00
Rafael da Fonseca f0e1c8908b Send output to oblivion because of this message in travis log view: This log is too long to be displayed. Please reduce the verbosity of your build or download the raw log.
Signed-off-by: Daan Hoogland <daan@onecht.net>
2015-06-21 15:13:24 +02:00
Rafael da Fonseca 880f116a62 This is a quick fix to attempt to resolve most of the travis failures Most of the failures have been due to transient network failures, that are causing dependency artifact downloads to fail Maven does not have a way to retry this without restarting the whole build, so the mvn dependency plugin is the best bet Unfortunately, running a dependency:resolve on the project returns yet to be compiled dependencies, and causes it to fail... There is an option to excludeGroupIds and excludeArtifactIds in the docs for this goal, but unfortunately they don't seem to work This drafts a dummy pom in a quick and dirty way, just to download all the deps in one go, while retrying for RETRY_COUNT times if it fails
Signed-off-by: Daan Hoogland <daan@onecht.net>
2015-06-21 15:13:24 +02:00
Daan Hoogland 797a7f05ff use version in branchname if branch is master 2015-06-19 00:01:43 +02:00
Abhinav Roy 108a74a6b8 CLOUDSTACK-8487 : Add vMotion related tests
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #268
2015-06-02 12:01:12 +05:30
Rafael da Fonseca 1958a8e9c1 Cleanup awsapi leftovers
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

This closes #328
2015-05-29 19:15:51 +02:00
Stefan Magnus Landrø 161cc194d5 Fixed yum and apt repo locations used by chef in devcloud4
The testing repos seem to be gone, change to upstream

This closes #323

Signed-off-by: Erik Weber <erik@huug.no>
2015-05-28 22:50:02 +02:00
pritisarap12 a7ab794052 CLOUDSTACK-8308: Adding automation test cases for VM/Volume snapshot hardening
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #301
2015-05-27 14:35:47 +05:30
Priti Sarap c961f2f14d CLOUDSTACK-8476: Disable enable zone pod cluster and host: --Test cases for testing the behavior of resources running on zone, cluster, pod, host and admin/non-admin user after disabling the zone, cluster, pod, host respectively 2015-05-27 14:25:11 +05:30
Gaurav Aradhye 59388b09ab CLOUDSTACK-8500: Adding missing key in test_data.py
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #279
2015-05-21 16:04:10 +05:30
Gaurav Aradhye 309c1b466f CLOUDSTACK-8498: Including schedule as default key in recurring_snapshot dict used to create recurring snapshot policy
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #276
2015-05-21 14:35:10 +05:30
Gaurav Aradhye 832f0293b3 CLOUDSTACK-8492: Fix dictionary access issue in createChecksum method - common.py
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #272
2015-05-21 12:32:45 +05:30
Rohit Yadav 9d8a62d0ee systemvmtemplate: install libc6:i386 for 64bit template
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-05-18 19:58:57 +02:00
Remi Bergsma 95e7673a55 Systemvm: Disable services that slow down boot
The console-setup service brings a nice font to the console, but why would we want to use it. In most cases it takes a <10 seconds to set it up. When using nested hypervising, I found this takes much longer time that causes tests to time-out. I'd suggest turning off these services. They are not required for the services the systemvm provides.
2015-05-18 13:44:09 +02:00
pritisarap12 f6789532b0 CLOUDSTACK-8476: Disabling Zone, Pod, Cluster: --Test cases for testing the behaviour of resources running on zone and admin/non-admin user after disabling the Zone
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #242
2015-05-18 12:18:15 +05:30
Rohit Yadav 0f82650dcf systemvmtemplate: use ovftool for building vmware template if available
This commit fixes a chmod issue where extracted vmdk file is not readable by all
users/groups. The other improvement is to use ovftool to build systemvm template
for vmware if it's available. This is based on a dev ML discussion and a suggested
approach by Ilya: http://markmail.org/message/kntsetgxdbppfh22

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-05-12 16:46:23 +02:00
Milamber d75ce3f5cd Update L10N resource files on master branch (with 4.6 translation strings from Transifex) Add new HU resource file for Hungarian translation 2015-05-09 08:37:53 +02:00
Laszlo Hornyak 5b938ef932 Added hu to the language list
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

This closes #237
2015-05-09 08:37:53 +02:00
Rohit Yadav 8c929d58c7 apidoc: get version information from $project.version
(cherry picked from commit 0963432268)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	tools/apidoc/pom.xml
2015-05-08 11:37:57 +02:00
Daan Hoogland 1c408dec37 Merge branch '4.5' after 4.5.1 vote passes 2015-05-07 16:03:26 +02:00
Rohit Yadav 4ba72a877c Updating pom.xml version numbers for release 4.5.2-SNAPSHOT
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-05-07 15:33:01 +02:00
Rohit Yadav 11b7b0a3c3 Merge branch 'GA-4.5.1' into 4.5 2015-05-07 15:27:45 +02:00
Gaurav Aradhye f33f044d19 CLOUDSTACK-8449: Include zoneid parameter in base library for updateConfiuration method
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #234
2015-05-07 12:32:14 +05:30
Rohit Yadav 069aa4e5f3 CLOUDSTACK-8433: remove awsapi db usage and add upgrade cleanup path
- Removes awsapi db properties usage across codebase
- Removes references from spring xmls, test cases and TransactionLegacy
- Adds sql command to drop database cloudbridge in schema-451to460-cleanup.sql

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-05-06 15:22:04 +02:00
Abhinandan Prateek e1a212842a CLOUDSTACK-8429: optimizing travis to run configurable set of tests only after configurable runs 2015-05-06 08:49:16 +05:30
pritisarap12 628dde7fd2 CLOUDSTACK-8308: Adding automation test cases for VM/Volume snapshot continuation
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #230
2015-05-05 20:43:57 +05:30
pritisarap12 a380be6081 CLOUDSTACK-8308: Adding automation test cases for VM/Volume snapshot testpath snapshot limits
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #170
2015-05-05 16:22:18 +05:30
Abhinandan Prateek 1eb6f929ab CLOUDSTACK-8429: optimizing travis to run configurable set of tests only after configurable runs 2015-05-05 14:11:41 +05:30
Rohit Yadav 0eb4eb2370 Updating pom.xml version numbers for release 4.5.1
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-05-04 12:17:03 +02:00
Rajani Karuturi 89fa251119 CLOUDSTACK-8429: travis: running junit tests only in the first job
added a new environment variable RUNUNITTESTS
running full build if RUNUNITESTS is true else skipping tests
job1 now runs only unittests
removed some of the test files from job9 and job10 as they are timing
out.

This closes #218
2015-05-01 22:57:31 +05:30
Abhinandan Prateek fb0bfd5d4f CLOUDSTACK-8429: disabling unit test for faster build 2015-05-01 12:35:03 +05:30
Rohit Yadav 0fa1453809 systemvmtemplate: use archived debian 7.8.0 iso since Debian8 is released now
This fixes the urls and jenkins build

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-04-29 17:19:15 +02:00
Rohit Yadav a4120b24e4 systemvmtemplate: 7.8.0 iso is archived now, use link from archives
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-04-29 17:14:11 +02:00
Rajani Karuturi 0b8355920e Merge branch 'volume-upload' into master
This closes #206
2015-04-29 11:12:53 +05:30
Rohit Yadav 1f87057248 marvin: set ssl cert verification only if ssl module supports it
ssl._create_unverified_context is not available for all Python 2.x environment,
the fix would check if the attribute is available before trying to set it

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-04-28 14:24:26 +02:00
Rohit Yadav 429296e7b7 database_comparision_during_upgrade: add missing license header
This fixes the rat build

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-04-27 11:55:41 +02:00
Gaurav Aradhye 9a58794a04 CLOUDSTACK-8394: Use custom decorator to skip test case
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #190
2015-04-24 16:29:09 +05:30
shweta agarwal 00b6a54dcf tool to aid db comaprision for upgrade testing 2015-04-24 10:03:05 +05:30
shweta agarwal cf3a8c0d2b verifying template creation permission 2015-04-22 15:40:41 +05:30
sailajamada 4df55f199e Test data file update with Interop config changes 2015-04-20 17:21:42 +05:30
sailajamada 7887420eba Added size to Volume create wrapper 2015-04-20 17:20:50 +05:30
Milamber e0925a085c Update L10N resource files on master branch (with 4.6 translation strings from Transifex) 2015-04-19 10:30:14 +01:00
Milamber 33fff0dab7 Add 4.6 messages proporties in Tx config file 2015-04-19 10:13:01 +01:00
pritisarap12 ffb3f0ed2d CLOUDSTACK-8236-Test-case-storage-migration-test-path --Adding missing changes from storage migration testpath in codes.py
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #174
2015-04-16 12:10:56 +05:30
SrikanteswaraRao Talluri bb4f234f9d Merge branch '8380' of https://github.com/gauravaradhye/cloudstack
This closes #159
2015-04-14 11:30:10 +05:30
Gaurav Aradhye 8a5b1e60a4 CLOUDSTACK-8375: VCenter port group verification - return as PASS if no physical networks in zone
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-04-13 16:58:14 +05:30
Gaurav Aradhye 4d05c3b966 CLOUDSTACK-8375: Marvin - Code Improvement - related to verifying VCenter port groups corresponding to traffic types in a zone
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-04-13 16:58:13 +05:30
Gaurav Aradhye 469270ab0c CLOUDSTACK-8380: Adding script to testSetupSuccess.py to check VCenter port groups are created for storage, management and public traffic as soon as zone is deployed 2015-04-13 16:50:38 +05:30
Ian Duffy 66cded75e0 Move Devcloud4 into main repository 2015-04-11 16:17:02 +01:00
Rohit Yadav d8eb2e5e48 systemvmtemplate: install open-vm-tools from wheezy-backports, install XStools
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-04-10 15:48:36 +05:30
Rohit Yadav bf3a0d6085 appliance: remove 32bit systemvmtemplate definition
Starting 4.5, we won't be using 32bit systemvmtemplate. Removing dead code as
it's already far behind in terms of maintenance compared to the 64bit definitions.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-04-10 15:35:18 +05:30
Rohit Yadav 5d458e8fb7 systemvmtemplate: fix guest driver/tool installation
- VMWare tools not needed since we're install open-vm-tools also recommended by VMWare:
    http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2073803

- Installing XStools 6.5

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-04-10 15:34:57 +05:30
Rohit Yadav be26b9189c systemvmtemplate: set systemvm version to 4.5.1
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-04-10 13:24:34 +05:30
KC Wang 01864ef77c CLOUDSTACK-6697: bigswitch networking plugin update
1. provide compatibility with the Big Cloud Fabric (BCF) controller
   L2 Connectivity Service in both VPC and non-VPC modes
2. virtual network terminology updates: VNS --> BCF_SEGMENT
3. uses HTTPS with trust-always certificate handling
4. topology sync support with BCF controller
5. support multiple (two) BCF controllers with HA
6. support VM migration
7. support Firewall, Static NAT, and Source NAT with NAT enabled option
8. add VifDriver for Indigo Virtual Switch (IVS)

This closes #151

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-04-09 13:02:02 +05:30
shweta agarwal 974c56423d Restore VM verification tests
This closes #148
Signed-off-by: SrikanteswaraRao Talluri<talluri@apache.org>
2015-04-08 12:39:16 +05:30
shweta agarwal 433e6a2bd4 added two test case related to restore VM functionality 2015-04-07 11:16:20 +05:30
Gaurav Aradhye 799a03398c CLOUDSTACK-8361: Adding functionality in marvin to check the port groups in VCenter corresponding to configuration of traffics in physical networks
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
This closes #144
2015-04-03 15:28:48 +05:30
Rohit Yadav 97ad1e24b8 systemvmtemplate: increase /opt parititon by 100MB
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-04-03 10:49:36 +05:30
Rohit Yadav 0fff19a76f systemvmtemplate: increase /opt partition by 100MB
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-04-03 10:48:19 +05:30
sailajamada 736f7042f3 Automation script changes with additional cases 2015-04-02 09:31:34 +05:30
Abhinav Roy dedc860a62 CLOUDSTACK-8357 Add Test cases for vMotion support on VMFS as primary storage 2015-04-01 23:18:40 +05:30
Gaurav Aradhye c05e37b28d CLOUDSTACK-8356: Mentioning netaddr module in setup.py in marvin as it is used across test cases
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-04-01 15:30:17 +05:30
SrikanteswaraRao Talluri 7a70f8ab19 Merge branch 'vcentermarvin' of https://github.com/srikanteswartalluri/cloudstack
This closes #134
2015-04-01 15:14:18 +05:30
sailajamada eac8d4b153 Updated test data file with osid 2015-03-30 16:21:41 +05:30
Rohit Yadav 2de12b50f8 systemvmtemplate: zero out /var/log partition
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-30 15:52:51 +05:30
Rohit Yadav fe6c009399 zerodisk: zeroout /var/log and cleanup
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-30 15:42:11 +05:30
Rohit Yadav 9080ed6efc systemvmtemplate: only extract systemvm directory from src snapshot
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-30 14:29:38 +05:30
Rohit Yadav 6f907fb2cd systemvmtemplate: increase disk size to 3000
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-30 13:58:33 +05:30
Rohit Yadav 03ff244ff1 systemvmtemplate: increase disk size to 3000
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-30 13:56:41 +05:30
Rohit Yadav d0e65d7c34 systemvmtemplate: use separate partition for /var/log
/var/log fills up /var and fails operation of normal services. This fix
restricts /var/log to 100-200M. The fix for CLOUDSTACK-6885 tries to make sure
we don't keep a lot of logs.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-30 13:54:20 +05:30
Rohit Yadav 77ed0c4b96 systemvm64template: use separate partition for /var/log
/var/log fills up /var and fails operation of normal services. This fix
restricts /var/log to 100-200M. The fix for CLOUDSTACK-6885 tries to make sure
we don't keep a lot of logs.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-30 13:49:15 +05:30
SrikanteswaraRao Talluri c9fc7e65b7 CLOUDSTACK-8352: vcenter library for marvin which makes use of 'pyvmomi'
vmware sdk python binding to interact with vcenter server.

Tested against vcenter 5.5
2015-03-30 10:56:03 +05:30
prashant kumar mishra dede9d94fe CLOUDSTACK-8343:modifying update method in Configurations to take **kwargs 2015-03-30 10:55:31 +05:30
SrikanteswaraRao Talluri c6581c17bd CLOUDSTACK-8352: vcenter library for marvin which makes use of 'pyvmomi'
vmware sdk python binding to interact with vcenter server.

Tested against vcenter 5.5
2015-03-30 10:40:50 +05:30
sailajamada 5e7baa5a55 Updated Test automation scripts 2015-03-30 09:50:30 +05:30
sailajamada 3c436775d3 test data changes 2015-03-26 10:18:47 +05:30
Daan Hoogland 7b51fda3b0 finbugs: mark false positive
hostuuid might be found after ten iterations.
2015-03-25 18:14:57 +01:00
Rohit Yadav 8fe3c0b8ba appliance: remove raw.img before exporting and building template for KVM
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-25 17:27:03 +05:30
Rohit Yadav 666f752875 appliance: remove raw.img before export a new one
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-25 17:25:50 +05:30
Abhinav Roy ead41f9215 changes made after second review
Signed-off-by: Sowmya Krishnan <sowmya.krishnan@citrix.com>
2015-03-24 17:46:22 +05:30
Yitao Jiang 52ffccff5f tools/apidoc: Fix the bug when build apidoc under windows cygwin environment
This closes #114

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-24 17:24:34 +05:30
Gaurav Aradhye 78fd8cf2cf Setting the default value of flag to False
This closes #127

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-24 16:58:11 +05:30
Gaurav Aradhye 191bcdd439 CLOUDSTACK-8251: Adding automation test cases for dedicated public IP ranges
This closes #128

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-24 16:56:33 +05:30
Rene Moser dc2aa8a808 systemvm: use Debian http redirector for backports
This closes #123

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-24 16:51:05 +05:30
Rohit Yadav 6a881b9337 systemvmtemplate: install irqbalance from wheezy-backports
Ported systemvm enhancement by Rene Moser <rene.moser@swisstxt.ch> from
https://github.com/apache/cloudstack/pull/119

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-23 14:31:12 +05:30
Rohit Yadav a80522acf2 systemvm: fix/improve irqbalance on multicore VR
Porting changes from PR: https://github.com/apache/cloudstack/pull/119
to new codebase used for systemvmtemplate generation.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-23 14:23:46 +05:30
Gaurav Aradhye 8031b62b7f Adding more test case for shared network
This closes #120
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-03-20 17:32:25 +05:30
Rohit Yadav d22dd01cb8 appliance: after building systemvm template save the md5 checksums
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-20 15:18:30 +05:30
Rohit Yadav 7a2e27c3b3 appliance: save md5 checksums after building systemvm templates
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-20 15:16:57 +05:30
Rohit Yadav b011c9bad4 Add missing license headers from recent branch merge 3c429ee
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-18 11:03:54 +05:30
Leo Simons 3bd59a4bf3 veewee 0.5 alpha is breaking build 2015-03-16 11:38:14 +01:00
Leo Simons 9166848482 Stop using rvm 2015-03-16 11:35:35 +01:00
Leo Simons d0281a3b41 Seems like some of these can be nil 2015-03-16 11:35:35 +01:00
Ian Southam 725c040d5c Added code to configure netusage for vpc and domR devices
Removed code from existing scripts that does the same
Fixed some more issues with CsNetfilter
Added rsync for/etc/iptables in rsync
2015-03-16 11:35:27 +01:00
Ian Southam 7e9a0fac0d Do not update etc or you will bring in a load of files that will have their
configuration overwritten
2015-03-16 11:35:19 +01:00
Ian Southam cc5d72133e Removed chef as we will definitely not go this way 2015-03-16 11:35:14 +01:00
Sander Botman fac3bdecd2 Adding the Vagrant configuration that will build xen and db servers. 2015-03-16 11:35:14 +01:00
Leo Simons 6e49675cf5 Have Vagrantfile errors go to STDERR so output is machine-parseable. 2015-03-16 11:35:13 +01:00
Leo Simons f5e5b74646 Add more nics by default 2015-03-16 11:35:13 +01:00
Leo Simons 712fa9c92c Tests for update_config.py
These are failing on my machine with cloud.log lines like

  2014-08-07 14:34:09,509 Add dev eth2 table Table_eth2 10.0.2.0/24
  2014-08-07 14:34:09,511 Address 10.0.2.106/24 on device eth2 not configured
  2014-08-07 14:34:10,513 Device eth2 cannot be configured - device was not found

I think it's correct that they are failing -- this is work in progress.
2015-03-16 11:35:12 +01:00
Leo Simons 5f87bde909 Set up rsync for systemvm patches.
Note the convenience of 'vagrant rsync-auto'.
2015-03-16 11:35:12 +01:00
Ian Southam 348167db51 This was a good one
Any cd command will cause rvm to override the trap handler in the shell
These means that vagrant_destroy will not get called at the end because in the node function it cds

Run the nose tests in a subshell
2015-03-16 11:35:11 +01:00
Leo Simons e405e94797 Replace serverspec with nose in systemvm test.sh
Also remove the serverspec-specific files.
2015-03-16 11:35:10 +01:00
Leo Simons 2188d8d633 Pure python tests for systemvm
This approach is instead of serverspec, but filling the same purpose. It's
main advantage is that it uses nose and python, just like the existing
marvin-based integration test suite.
2015-03-16 11:35:09 +01:00
Ian Southam c7c1f3202e Plan B
Replace chef with a python script
configure.py will read the bags and (hopefully) create the desired state
At this stage this is ipassociation
This code should work for both VR and VPCrs

TODO:
iptables
ip route throw (present in VR but not in VPCr
Determine default route
Unit tests
2015-03-16 11:35:08 +01:00
Leo Simons 66b5260c90 Documentation and license headers for new systemvm testing tools. 2015-03-16 11:35:08 +01:00
Leo Simons 731a3bf9c3 Missing gem for vagrant magic 2015-03-16 11:35:08 +01:00
Leo Simons 8fb1deb33e Massively simpler serverspec invocation
Give up on using test-kitchen, busser, and more of its complexity and
simply run serverspec directly, via SSH.
2015-03-16 11:35:07 +01:00
Leo Simons 04ad01a064 Commit missing .kitchen.yml 2015-03-16 11:35:07 +01:00
Leo Simons 58537c76fa Use bundler to exec test-kitchen 2015-03-16 11:35:07 +01:00
Leo Simons edfa79b770 junit report output for vagrant systemvm tests 2015-03-16 11:35:07 +01:00
Leo Simons 274b746365 A working test-kitchen setup for testing systemvm boxes. 2015-03-16 11:35:06 +01:00
Leo Simons afd2c21893 Tuning/reformatting/defensible-ing Vagrantfile 2015-03-16 11:35:02 +01:00
Ian Southam 8d9a4be9dd Remove scripts directory no longer necessary 2015-03-16 11:35:01 +01:00
Ian Southam ab64c7df6f Added curl to the base install 2015-03-16 11:35:00 +01:00
Ian Southam 0e82637807 Vagrant virtualbox based testing suite 2015-03-16 11:35:00 +01:00
Ian Southam 5b82e2059d Cherry-pick of 11c00977f77f45aa7b0c387dc88360eba0819e8a:
----
Author:    Ian Southam <isoutham@schubergphilis.com>

First commit towards moving systemvm to chef based configuration
In this commit

1.  cmdline json databag is created
2.  ip association data bag is created
3.  Basic chef cookbook to manage ips and routes

Conflicts:
	systemvm/patches/debian/config/etc/init.d/cloud-early-config
	systemvm/patches/debian/config/var/chef/cookbooks/README
	tools/appliance/definitions/systemvm64template/postinstall.sh
----
Because we've refactored the systemvm template the change to
postinstall.sh now gets its own chef.sh file.
2015-03-16 11:34:59 +01:00
Hugo Trippaers 4fd616fc0f Make sure the location for the persistant configs exists 2015-03-16 11:34:58 +01:00
Leo Simons f7dd35e1ee CLOUDSTACK-7143: a better fix for kernel upgrade disk space problems
Increase / and /boot a little bit, to the point that there is enough
space on them to do a kernel upgrade. With this I think we can
decrease total disk space usage back down to 2.5GB.

Docs for the preseed config found at
  http://anonscm.debian.org/gitweb/?p=d-i/debian-installer.git;a=blob_plain;f=doc/devel/partman-auto-recipe.txt;hb=HEAD
2015-03-16 11:34:58 +01:00
Gaurav Aradhye 602fafd0a1 CLOUDSTACK-8323: Adding BVT to test NIC Adapter for Vmware
This closes #116

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-12 18:28:54 +05:30
Rohit Yadav c198dfdb7a Update pom and version usage to 4.5.1-SNAPSHOT
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-12 12:13:18 +05:30
Funs c27c69438b hypervisors: add OVM3 plugin that supports OVM 3.2.1/3.3.x
This is a plugin that puts in ovm3 support ranging from 3.3.1 to 3.3.2. Basic
functionality is in here, advanced networking etc..

Snapshots only work when a VM is stopped now due to the semantics of OVM's raw
image implementation (so snapshots should work on a storage level underneath the
hypervisor shrug)

This closes #113

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-12 11:33:42 +05:30
Gaurav Aradhye ff9ab5caa9 CLOUDSTACK-8290: Adding BVT to verofy product issue
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-03-12 11:20:48 +05:30
Gaurav Aradhye d8bb1fad5e CLOUDSTACK-8286: Adding Basic validation test case to test deploying VM from ISO and correcting old regression test case to test HA VM from ISO
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-03-12 11:10:08 +05:30
Ashutosh K 891b597606 CLOUDSTACK-8236: Automation for storage migration test path
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-03-12 10:55:46 +05:30
Rohit Yadav 7d2ffe063d systemvms: use Debian http redirector for apt repos
Picked in parts from https://github.com/apache/cloudstack/pull/103/files

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-11 13:22:09 +05:30
sailajamada db7964fb11 Test Automation Scripts for Browser Bases Upload volumes and templates with testdata config changes 2015-03-10 21:39:55 +05:30
Abhinandan Prateek 519488fcdc fixing misleading comment 2015-03-09 00:20:28 -04:00
Gaurav Aradhye 6da65eca88 CLOUDSTACK-8299: Adding test case to test security group ingress rules for a specific IP set
Signed-off-by: Pierre-Luc Dion <pdion891@apache.org>
2015-03-08 11:12:12 -04:00
sailajamada 24a8483b88 Modified test data 2015-03-08 20:12:06 +05:30
sailajamada c65dad47eb Added Browser Based Upload Volume Test configurations into Testdata file 2015-03-04 09:52:11 +05:30
Pierre-Yves Ritschard d5e3d4911d Support all pythons from 2.6 up. 2015-02-27 09:27:52 +01:00
Gaurav Aradhye 429abe2bd5 CLOUDSTACK-8276: Changes in Marvin to find free vlan in a setup when vlan is not returned for an existing network with listNetworks API
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-26 13:04:20 +05:30
Gaurav Aradhye ba08229ff9 CLOUDSTACK-8264: Code improvement - test_stopped_vm.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-20 19:59:37 +05:30
Gaurav Aradhye 7629000ffe CLOUDSTACK-8264: Adding missing change in test_data.py caused due to commit 500baea9b6
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-19 15:23:25 +05:30
SrikanteswaraRao Talluri 9c381a21c4 instead of adding zone wide primary storage in the cluster block,
added it in the zone block.
CLOUDSTACK-8229
Testing: tested with KVM and zone deployment was fine.

In the config file, zone wide primary storage details looks like this:
  "primaryStorages": [
        {
          "url": "nfs://10.147.28.7/export/home/talluri/primary1",
          "XRT_PriStorageType": "NFS",
          "name": "XenRT-Zone-0-Pod-0-Cluster-0-Primary-Store-0",
          "hypervisor": "KVM",
          "scope" : "zone"
        }
      ],

reviewed-by: talluri
2015-02-18 19:30:15 +05:30
Gaurav Aradhye 8bfda973c2 CLOUDSTACK-8259: Code improvement - test_routers.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-17 18:23:34 +05:30
Gaurav Aradhye 95f17d61f8 CLOUDSTACK-8219: Marvin: Correct code related to getting free vlan in the setup
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-17 18:18:13 +05:30
sanjeev 67268d9db3 Iterate one more time before failing iso download
Signed-off-by: sanjeev <sanjeev@apache.org>
2015-02-16 12:16:21 +05:30
SrikanteswaraRao Talluri a7b8e987d3 As this is not tested and causing other failures, reverting for now and let the author resubmit a fresh patch
Revert "Automation of CCP Objects Verification after external changes made to the original setup Purpose of this code:"

This reverts commit 7461297f3e.
2015-02-14 21:20:25 +05:30
SrikanteswaraRao Talluri d552eb42b5 added missing comma in test_data.py 2015-02-13 17:58:45 +05:30
Ashutosh K ada8cdce70 CLOUDSTACK-7911: Adding test cases for usage test path
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-13 16:02:56 +05:30
Gaurav Aradhye 500baea9b6 CLOUDSTACK-8235: Fixed test case in test_bugs.py to read variable data from configurableData section of test_data.py and also fixed wrong parameter name
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-13 13:06:08 +05:30
Gaurav Aradhye 015aed9bef CLOUDSTACK-8217: Fixed marvin base library method for passing 'lbdevicecapacity' parameter while adding netscaler device
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-13 12:53:54 +05:30
Chandan Purushothama 7461297f3e Automation of CCP Objects Verification after external changes made to the original setup Purpose of this code:
Generate CCP Objects (VMs, Volumes, Snapshots, VPC, etc..) and CCP Use Cases (Networking, Data Content,etc) before an external action on the CCP Setup and verify the integrity of the CCP Objects and the Use Cases after the external action on the CCP Setup. The integrity of the CCP Objects is verified by performing operations that test the Usability of the objects. This validates the intactness of the setup after an external action. The submitted patch covers only few major use cases. It proves that similar code can be added in future to address similar goals in verifying the integrity of CCP objects belonging to different components of the product.

The code format can be followed to verify validity of real time business use cases while any code changes (CCP,hypervisor,external devices code, etc…) happen over a period of time.

The following are the scenarios that the code format can be used for:
1.Upgrade Validity Verification
     a. CCP Upgrade
     b. Hypervisors Upgrade
     c. External Devices Upgrade
     d. System VM Template Changes.
2.Patch Validity Verification

Code can be used as one of the primary Components to validity Upgrades. It will facilitate the automation of Upgrade Test Verification completely.

How to use the code:

*Kindly make the corresponding substitutions in the commands listed below.

Execute:
 nosetests --with-marvin --marvin-config=$CONFIG $BASEDIR/integration/component/ test_minimal_ug_check.py --load -a tags=preupgrade

After Upgrade or any Changes done to the Setup, Verify that the existing CCP objects are not affected due to the external changes.

Execute:
nosetests --with-marvin --marvin-config=$CONFIG $BASEDIR/integration/component/ test_minimal_ug_check.py --load -a tags=postupgrade

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-13 12:06:46 +05:30
Gaurav Aradhye af09388eda CLOUDSTACK-8241: Moved upload volume dict data to configurableData section of the test_data.py file so that data can be changed according to the setup, also made relevant changes in the test cases
Signed-off-by: Srikanteswararao <talluri@apache.org>
2015-02-11 16:53:08 +05:30
SrikanteswaraRao Talluri 55801f7e26 CLOUDSTACK-8229: add zone wide primary storage support in deployDataCenter 2015-02-08 11:40:27 +05:30
Pierre-Luc Dion 485fd6e9e5 apidocs: license date, acs version 2015-02-07 18:30:17 -05:00
Pierre-Luc Dion c234751069 apidoc: back button and devdoc link update 2015-02-07 16:18:26 -05:00
Pierre-Luc Dion a8ed45b64b apidoc: license date change to 2015 2015-02-07 16:13:27 -05:00
SrikanteswaraRao Talluri b3cebdbbf4 CLOUDSTACK-8161: fixed few more wrong references in the tests while
disabling LXC unsupported tests.
2015-02-08 00:36:01 +05:30
Rohit Yadav 8be969124c appliance: fix typo in git repo script tarball url
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-02-06 23:54:22 +05:30
Rohit Yadav bb14a6553d appliance: make room for /var fix systemvm build
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-02-06 23:39:31 +05:30
Rohit Yadav 5fb5937cdb appliance: do a apt-get clean before upgrade to free up space
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-02-06 17:02:44 +05:30
Rohit Yadav 9198859dcf appliance: before apt-get upgrade, do a clean to free-up space
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-02-06 16:59:44 +05:30
Rohit Yadav 5159cbec9f appliance: get scripts only from 4.5 and not master
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-02-03 16:50:37 +05:30
Rohit Yadav b9ae18c5fb appliance: except for openswan upgrade rest of the packages
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-01-28 23:26:47 +05:30
Rohit Yadav 805704721f appliance: hold on to openswan version, don't upgrade
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit a10a9d522c)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-01-28 23:22:48 +05:30
Rohit Yadav a3fa59eaf1 appliance: fix missing statement
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-01-28 23:14:12 +05:30
Rohit Yadav eca528dec7 appliance: upgrade systemvm to latest packages
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-01-28 23:10:31 +05:30
Rohit Yadav 6b6ce5d074 appliance: don't fail is bak is not found
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-01-28 18:27:19 +05:30
SrikanteswaraRao Talluri 3384888c39 CLOUDSTACK-8161: mark the data volume related operations on LXC as skipped if RBD storage pool is not available
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-01-16 18:46:03 +05:30
SrikanteswaraRao Talluri 2c515395d7 CLOUDSTACK-8161: mark the data volume related operations on LXC as skipped if RBD storage pool is not available
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-01-16 18:45:19 +05:30
Rohit Yadav 3fddfe0e10 appliance: fix Debian ISO urls, fixes jenkins build
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-01-15 15:35:13 +05:30
Rohit Yadav b99d950dd3 appliance: fix Debian iso url, fixes failing Jenkins builds
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-01-15 15:31:27 +05:30
David Nalley d161642f69 make the date command actually work 2015-01-12 17:46:12 -05:00
Hugo Trippaers ec32ea30f7 Housekeeping, properly declare required maven version and update build plugin versions to recent versions 2015-01-06 11:58:58 +01:00
Gaurav Aradhye 0ed40140a6 CLOUDSTACK-8116: Moved ldap data to configurableData section in test_data.py and made related changes in the test case
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-24 11:10:18 +05:30
Gaurav Aradhye 94237a4c5b CLOUDSTACK-8116: Moved ldap data to configurableData section in test_data.py and made related changes in the test case
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-24 10:38:05 +05:30
Gaurav Aradhye 77bd069cc7 CLOUDSTACK-8096: Fixed test_ssvm.py for issues while checking the result of diagnostic scripts
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-23 14:27:03 +05:30
Gaurav Aradhye 1413efcac3 CLOUDSTACK-8096: Fixed test_ssvm.py for issues while checking the result of diagnostic scripts
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-23 14:24:32 +05:30
Chandan Purushothama f2c7ead8ee CLOUDSTACK-8086: Simulator needs a Portable IP Range to execute Portable IP Test Cases
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-19 10:35:50 +05:30
Chandan Purushothama 696698090e CLOUDSTACK-8086: Simulator needs a Portable IP Range to execute Portable IP Test Cases
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-19 10:19:18 +05:30
Gaurav Aradhye b45fe24e5c CLOUDSTACK-8062: test_multiple_ip_ranges.py - Fix the test case to avoid using same vlan IP range in each test case
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-11 17:54:32 +05:30
Gaurav Aradhye 7ff118c90b CLOUDSTACK-8062: test_multiple_ip_ranges.py - Fix the test case to avoid using same vlan IP range in each test case
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-11 17:41:54 +05:30
Daan Hoogland b0845150fb Merge branch 'hotfix/4.5-7959' into 4.5 2014-12-08 16:47:26 +01:00
Wei Zhou ca5c800f8d Fix CloudStack version (4.6.0) in systemvm template 2014-12-08 15:26:56 +01:00
Gaurav Aradhye 84aaef25d9 CLOUDSTACK-8029: Remove unused kaypairs from test_data.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-05 18:37:32 +05:30
Gaurav Aradhye 6020053110 CLOUDSTACK-8028: Fix test_data.py - Separate virtual_machine dict having userdata key
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-05 18:37:22 +05:30
Gaurav Aradhye 8d5ce97edc CLOUDSTACK-8029: Remove unused kaypairs from test_data.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-05 18:36:19 +05:30
Gaurav Aradhye a72b6a7f99 CLOUDSTACK-8028: Fix test_data.py - Separate virtual_machine dict having userdata key
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-05 18:36:19 +05:30
vetrivelc 9ce8a1cd00 Fixed label issue and externalized hardcoding issues
Signed-off-by: vetrivelc <vetrivel.chinnasamy@citrix.com>
2014-12-04 11:28:44 -08:00
Will Stevens 3f8d0dd487 CLOUDSTACK-7959: fixed 'qemu-img convert' compat issue 2014-12-02 18:24:16 -05:00
Will Stevens 03daae571b CLOUDSTACK-7959: fixed 'qemu-img convert' compat issue 2014-12-02 12:15:16 -05:00
Gaurav Aradhye 98d75b0259 CLOUDSTACK-7991: test_security_groups.py - Move config data to test_data.py and fix pep8 issues
Signed-off-by: Pierre-Luc Dion <pdion891@apache.org>
2014-12-02 10:03:41 -05:00
Gaurav Aradhye 818957de0c CLOUDSTACK-7991: test_security_groups.py - Move config data to test_data.py and fix pep8 issues
Signed-off-by: Pierre-Luc Dion <pdion891@apache.org>
2014-12-02 09:56:49 -05:00
Rohit Yadav 0d01bc625c Ho ho ho!
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-12-01 22:44:20 +05:30
Sebastien Goasguen 7d3b79a275 Jingle Bells, Jingle Bells 2014-12-01 10:23:45 -05:00
Pierre-Luc Dion 884257c8b8 jira-changes.py: generate content for CHANGES.md from jira filter 2014-11-30 21:16:59 -05:00
Pierre-Luc Dion 1b5cf79143 jira-changes.py: generate content for CHANGES.md from jira filter 2014-11-30 18:17:21 -05:00
Daan Hoogland ef2aa2c529 sign release branch instead of release tree
edit checkstyle pom on rc creation
xapi release version dep
update debian package changelog on version upgrade

sign release branch instead of release tree

(cherry picked from commit dd508b3b9f)
2014-11-25 15:11:58 +01:00
Daan Hoogland dd508b3b9f sign release branch instead of release tree
edit checkstyle pom on rc creation
xapi release version dep
update debian package changelog on version upgrade

sign release branch instead of release tree
2014-11-25 15:09:04 +01:00
Gaurav Aradhye 684268f4c3 CLOUDSTACK-7938: Marvin - Create a new section in test_data.py for configurable data and change test cases accordingly
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-25 18:30:33 +05:30
Gaurav Aradhye d7940cca1e CLOUDSTACK-7938: Marvin - Create a new section in test_data.py for configurable data and change test cases accordingly
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-25 18:27:01 +05:30
vetrivelc 66e805cba9 Fixes: Hardcoded strings externalized from various JS files.
Signed-off-by: vetrivelc <vetrivel.chinnasamy@citrix.com>
2014-11-21 08:02:49 -08:00
Will Stevens 8e689b1148 Updated the system vm build to remove incompatible qemu-img 'compat' option 2014-11-21 05:59:06 -05:00
Gaurav Aradhye 91ffaaa5a2 CLOUDSTACK-7912: Remove hardcoded netscaler info and read it from config file
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-17 15:30:24 +05:30
Chandan Purushothama d8d60f0172 CLOUDSTACK-7913 : Added reconnect functionality to Host class in base.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-17 15:30:12 +05:30
Gaurav Aradhye 5f99917991 CLOUDSTACK-7912: Remove hardcoded netscaler info and read it from config file
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-17 15:14:27 +05:30
Chandan Purushothama 19781e094b CLOUDSTACK-7913 : Added reconnect functionality to Host class in base.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-17 15:10:08 +05:30
Milamber 430ae6859c Add 4.5.x messages.properties to Transifex config tool 2014-11-15 08:43:51 +00:00
Milamber 25e5d00f60 Add 4.5.x messages.properties to Transifex config tool 2014-11-15 08:40:23 +00:00
SrikanteswaraRao Talluri 44663a868b Merge branch '4.5'
* 4.5:
  CLOUDSTACK-7355 - test_netscaler_configs.py uses hardcoded NetScaler credentials
2014-11-14 16:58:31 +05:30
Doug Clark 3609f60447 CLOUDSTACK-7355 - test_netscaler_configs.py uses hardcoded NetScaler credentials
Refactored code to use test_data instead of hardcoded NetScaler credentials
Refactored code to remove large scale duplication
Fixed some minor logic error in the existing tests

This patch has not added or removed any of the original test-cases.

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-14 16:56:59 +05:30
Edison Su f506f7c427 system vm image build process, needs to build an old version of qemu image, otherwise, it won't work on RHEL 6 2014-11-06 15:40:37 -08:00
Edison Su 05bec59c14 CS-27148 system vm image build process, needs to build an old version of qemu image, otherwise, it won't work on RHEL 6 Reviewed-by:Frank 2014-11-06 15:25:57 -08:00
Rohit Yadav 2d58bb6256 CVE­2014­3566: Avoid using SSLv3 on apache2 webserver used by SSVM
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-04 14:49:19 +05:30
Rohit Yadav ce51fe32f9 CVE­2014­3566: Avoid using SSLv3 on apache2 webserver used by SSVM
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-04 14:46:22 +05:30
Gaurrav Aradhye 9e19a9afdb Revert "CLOUDSTACK-7408: Fixed - Private key of the ssh keypair was getting corrupted"
This reverts commit e921ec6ec7.

CLOUDSTACK-7408: sshClient.py - removing function load_host_keys(). This function is used to load host keys from local host keys file and to save back the host key. It is not needed while running test cases because we are connecting to unknown host anyway and don't want to use any local host key file. We have the AutoAddPolicy for missing host key file, hence whenever ssh connects to a new host, it will save the host key in memory temporarily.

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-04 11:59:04 +05:30
Gaurav Aradhye d5316d0572 CLOUDSTACK-7685: Fixed copy template method call in test_escalations_template.py. Removed unbound method of the same name as bound method from base library and changed method call accordingly
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-04 11:55:52 +05:30
Harikrishna Patnala 34b7288ca4 CLOUDSTACK-7748: Cloudstack version number is missing in system vm template. /etc/cloudstack-release in system vm does not have version number which leads in vm deployment failure while checking router version. 2014-11-03 12:13:04 +05:30
Harikrishna Patnala 6c04d867b0 CLOUDSTACK-7660: Enhance system vm template to support baremetal
Installed flask package and removed the disk expert recipe in
system vm template to keep only one partition

Signed-off-by:  Frank Zhang <frank.zhang@citrix.com>
2014-10-31 19:35:09 +05:30
SrikanteswaraRao Talluri e463d6d21c CLOUDSTACK-7824: using debian 7.7.0 for systemvm template
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-10-31 19:06:07 +05:30
SrikanteswaraRao Talluri 93529e47fd CLOUDSTACK-7824: using debian 7.7.0 and
added 'sharutils' package installation in system template

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-10-31 18:52:17 +05:30
Gaurav Aradhye a1e7feead9 CLOUDSTACK-7685: Fixed copy template method call in test_escalations_template.py. Removed unbound method of the same name as bound method from base library and changed method call accordingly
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-10-30 15:15:52 +05:30
Gaurrav Aradhye e87da186f3 Revert "CLOUDSTACK-7408: Fixed - Private key of the ssh keypair was getting corrupted"
This reverts commit e921ec6ec7.

CLOUDSTACK-7408: sshClient.py - removing function load_host_keys(). This function is used to load host keys from local host keys file and to save back the host key. It is not needed while running test cases because we are connecting to unknown host anyway and don't want to use any local host key file. We have the AutoAddPolicy for missing host key file, hence whenever ssh connects to a new host, it will save the host key in memory temporarily.

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-10-30 14:51:54 +05:30
Harikrishna Patnala 591f468474 CLOUDSTACK-7660: Enhance system vm template to support baremetal Installed Package flask and merged the disk partition 2014-10-29 15:27:01 -07:00
Hugo Trippaers 4ebaf0a583 Bump master version to 4.6.0-SNAPSHOT after branching 4.5.0-SNAPSHOT 2014-10-29 14:54:23 +01:00
Prashant Kumar Mishra 0e2e1df3aa CLOUDSTACK-7680:Adding kwargs to volume.upload in base.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
(cherry picked from commit 4a1018e23b)
2014-10-13 00:31:39 -04:00
sailajamada 2116f7dbb7 Additional Guest OS support for vGPU Test Automation
(cherry picked from commit 402a3323f8)
2014-10-13 00:04:44 -04:00
Gaurav Aradhye ecb662517f CLOUDSTACK-7408: Fixed - Private key of the ssh keypair was getting corrupted
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
(cherry picked from commit e921ec6ec7)
2014-10-13 00:04:23 -04:00
sanjeev 285cdae773 Test script to verify vm deployment with two networks in SG enabled advanced zone
Test data to deploy new data center and execute test using the deployed zone

Signed-off-by: sanjeev <sanjeev@apache.org>

Incorporated review comments provided in RR 25097

Fixed review comments mentioned in RR25293

Conflicts:

	tools/marvin/marvin/config/test_data.py

(cherry picked from commit 9e5da759b3)
2014-10-13 00:04:04 -04:00
Ashutosh K 20a0763b04 CLOUDSTACK-7499: Adding test cases for VMLC test path
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
(cherry picked from commit 05913e3cbd)
2014-10-13 00:02:44 -04:00
sanjeev 4076d87038 Creating custom disk does not work as expected
(cherry picked from commit 0d5a435f76)
2014-10-12 23:45:27 -04:00
sanjeev ce2fe3e5df In case of Hyper-v ssvm/cpvm reboot takes time so made changes to handle this
(cherry picked from commit 5bddebb8fc)
2014-10-12 23:42:40 -04:00
Prashant Kumar Mishra b771b6ee72 CLOUDSTACK-7579 Adding a method to base.py to update storage pool
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
(cherry picked from commit 937aee34ed)
2014-10-12 23:42:15 -04:00
Prashant Kumar Mishra 4a1018e23b CLOUDSTACK-7680:Adding kwargs to volume.upload in base.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-10-07 16:15:51 +05:30
sailajamada 402a3323f8 Additional Guest OS support for vGPU Test Automation 2014-09-26 17:12:41 +05:30
Gaurav Aradhye e921ec6ec7 CLOUDSTACK-7408: Fixed - Private key of the ssh keypair was getting corrupted
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-26 16:26:56 +05:30
sanjeev 9e5da759b3 Test script to verify vm deployment with two networks in SG enabled advanced zone
Test data to deploy new data center and execute test using the deployed zone

Signed-off-by: sanjeev <sanjeev@apache.org>

Incorporated review comments provided in RR 25097

Fixed review comments mentioned in RR25293

Conflicts:

	tools/marvin/marvin/config/test_data.py
2014-09-26 16:08:58 +05:30
Ashutosh K 05913e3cbd CLOUDSTACK-7499: Adding test cases for VMLC test path
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-26 14:37:26 +05:30
sanjeev 5fb2b3a0d2 Test to verify fix for issue "Exception when attaching data disk to RHEL vm on vSphere
Added Rhel6 template details to test_data.py

Signed-off-by: sanjeev <sanjeev@apache.org>

Fixed review comments provided in RR 25536
2014-09-23 17:17:16 +05:30
sanjeev 0d5a435f76 Creating custom disk does not work as expected 2014-09-23 14:15:39 +05:30
Rohit Yadav 49de3ab037 appliance: add license headers to new vbox cleaner rb scripts
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-23 02:34:14 +02:00
Rohit Yadav cb5597167d appliance: build and export raw systemvm image for OVM
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-22 21:58:25 +02:00
Leo Simons ba009ed51a CLOUDSTACK-7143: attempt to be safer when cleaning up 2014-09-22 21:38:17 +02:00
Leo Simons e43e083893 CLOUDSTACK-7143: protect against old ruby 2014-09-22 21:38:17 +02:00
Leo Simons 64f4fb1af8 CLOUDSTACK-7143: note shar dependency 2014-09-22 21:38:17 +02:00
Leo Simons 362946c52e CLOUDSTACK-7143: don't call rvm from build
It is simpler to expect that rvm setup is done outside of this build.
The buildacloud.org jenkins has rvm installed/enabled by default so
does not invoke rvm.
2014-09-22 21:38:17 +02:00
Leo Simons a8500ed73e CLOUDSTACK-7143: survive / in branch names 2014-09-22 21:38:17 +02:00
Leo Simons 115b2cf8e7 CLOUDSTACK-7143: only archive the zipped hyperv image
Cherry-pick of d09acc44f2b36cd593ebe97ab1673b7757ea2c25.
2014-09-22 21:38:17 +02:00
Leo Simons d56e950e85 CLOUDSTACK-7143: work on vagrant box export
Running --export creates the .ovf and the .vmdk files referenced
from that .ovf in one go. Guessing/predicting the names of the .vmdk
files is not fool-proof.
2014-09-22 21:38:17 +02:00
Ian Southam cab4dd8258 CLOUDSTACK-7143: Fixed box file for virtualbox 2014-09-22 21:38:16 +02:00
Leo Simons 598c472b73 CLOUDSTACK-7143: remove erroneous backticks
The backticks in the Vagrantfile template were getting evaluated by bash.
This caused some harmless but confusing error messages to appear on running
the build. Easy fix is to remove them.
2014-09-22 21:38:16 +02:00
Leo Simons 35347f8350 CLOUDSTACK-7143: try to fix jenkins problems with last 2 commits
* bundle install needs to run before running the vbox cleaning scripts,
  so move prepare step before clean step
* feature branches have / in their name which is a bad character to
  put into filenames
2014-09-22 21:38:16 +02:00
Leo Simons 00b39de0f8 CLOUDSTACK-7143: more reliable support for vagrant box export
Veewee supports exporting vagrant boxes out of virtualbox, out of the box.
However, it assumes that it can export a disk if the shutdown of the vm that
is using that disk has succeeded. This assumption is not strictly always true
(see previous commit). So, we replicate the bit of logic in veewee for making
vagrant boxes.

This has the added side benefit of creating an .ovf export only once, rather
than once for vmware and then again for vagrant.
2014-09-22 21:38:16 +02:00
Leo Simons be8b2d7c21 CLOUDSTACK-7143: more robust box cleanup
Having experimented with many edge cases of running multiple build.sh
commands in parallel / against busy virtualbox setups, the only really
reliable way to produce consistent images is to not do these commands
in parallel and to not do them while the machine is doing many other
things.

If virtualbox or the machine that hosts it is very busy, and/or it has
a lot of disks it knows/knew about, and/or its tuesday, behavior may
be a bit different.

Realizing this reality, this commit adds some scripts that try really
hard to set virtualbox back to known/healthy state before building.
2014-09-22 21:38:16 +02:00
Leo Simons d658fc4637 CLOUDSTACK-7143: attempt to export a vagrant box 2014-09-22 21:38:16 +02:00
Leo Simons 1821f4ec06 CLOUDSTACK-7143: fix a missing apt-get update
In 8e2d06153b3d5ec1540fac1c8fbc97b5d2b58a8e I mistakenly/accidentally
a apt-get update.

As
    https://wiki.debian.org/Multiarch/HOWTO
explains, apt-get update is needed after adding a new architecture.
2014-09-22 21:38:15 +02:00
Leo Simons 91ffedb39c CLOUDSTACK-7143: a better fix for kernel upgrade disk space problems
Increase / and /boot a little bit, to the point that there is enough
space on them to do a kernel upgrade. With this I think we can
decrease total disk space usage back down to 2.5GB.

Docs for the preseed config found at
  http://anonscm.debian.org/gitweb/?p=d-i/debian-installer.git;a=blob_plain;f=doc/devel/partman-auto-recipe.txt;hb=HEAD
2014-09-22 21:38:15 +02:00
Leo Simons d5a4a2521b CLOUDSTACK-7143: fix do_signature to account for change to install_cloud_scripts
The do_signature script required a lingering cloud-scripts.tar that was no longer
there after the git export tarball fiddling magic was gone.
2014-09-22 21:38:15 +02:00
Leo Simons 25bb682cd1 CLOUDSTACK-7143: fix the fix for rvm/ruby/bundler setup on jenkins
The recommended use of --deployment goes along with the requirement to
check Gemfile.lock into source control, which I don't want to do.
2014-09-22 21:38:15 +02:00
Leo Simons 0570d37106 CLOUDSTACK-7143: initial apt-upgrade still running out of space (upgrading the kernel)
I wonder if this is due to the 7.4.0->7.6.0 needing more space. Should see if
there's more stuff that can be cleaned earlier?
2014-09-22 21:38:15 +02:00
Leo Simons b4fceef407 CLOUDSTACK-7143: sometimes the consolidated 'apt' command runs out of space 2014-09-22 21:38:15 +02:00
Leo Simons 41ddb6b768 CLOUDSTACK-7143: make script compatible with linux mktemp 2014-09-22 21:38:15 +02:00
Leo Simons 631a3c8722 CLOUDSTACK-7143: install openssl early enough to allow generating passwords 2014-09-22 21:38:14 +02:00
Leo Simons a56392b5e4 CLOUDSTACK-7143: attempt at a reliable way to set up rvm/bundler on jenkins 2014-09-22 21:38:14 +02:00
Leo Simons a7d07bf3df CLOUDSTACK-7143: fix a bug where a script file rename wasn't propagated to build.sh 2014-09-22 21:38:14 +02:00
Leo Simons 634560e381 CLOUDSTACK-7143: fix a bug in the debianbase template that was referencing deleted scripts 2014-09-22 21:38:14 +02:00
Leo Simons dd34d10159 CLOUDSTACK-7143: add tests for the appliance build
Create a new minimal 'debianbase' definition which is a veewee template
that's a lot like the systemvmtemplate, but does not have any
systemvm-ness in it. Use it to create a new test.sh which tests a few
common invocations of build.sh work as desired.

This is mainly useful for debugging whether the appliance build process
is working / consistent; in order to test a systemvm itself it should
really first be merged with systemvm.iso.
2014-09-22 21:38:14 +02:00
Leo Simons 33fd6894a0 CLOUDSTACK-7143: use shar to inject cloud-scripts from working copy
The current build downloads its script from master by fetching a cloudstack
tarball. Besides being an unneeded load on the apache git server, this is a
problem when working on a branch and wanting to inject a different set of
scripts. It also makes it pretty likely that the injected copy of the script
will not match what a production release wants, so there is very little
chance of not needing to overwrite the scripts.

Ideally we would just rsync over some files. However, veewee does not provide
an option to do that. In order to keep a 'cleanly veewee-only' build possible,
and work with any recent veewee version, in this change we restor to using
shar (http://en.wikipedia.org/wiki/Shar) to produce an archive which can
execute as a script, which we feed to veewee to execute.
2014-09-22 21:38:14 +02:00
Leo Simons 35ba68444b CLOUDSTACK-7143: add the ability to inject a custom SSH key
When working on the systemvm in isolation, or using vagrant or similar tools,
it can be useful to inject a custom SSH key before merging a management server
systemvm.iso into it. This option allows that. It should _not_ have effect
on management-server-managed vms which always get their SSH keys injected.
2014-09-22 21:38:13 +02:00
Leo Simons 18364216d8 CLOUDSTACK-7143: improve build.sh failure handling and recovery
In particular, this refactoring allows the use of 'set -e' to exit early on
error. Previously the script would continue for a while when encountering a
problem, stuttering sometimes to (almost) completion, producing partial or
no results.

Added a bash on EXIT trap which runs add_on_exit cleanup code in the reverse
order it was specified. Resource cleanup is now co-located with resource
definition.

Added color-coded logging.

Made most of the hypervisor-specific exports optional. This script now
works on Mac OS X.
2014-09-22 21:38:13 +02:00
Leo Simons 2832bc47e1 CLOUDSTACK-7143: improve build.sh ergonomics
Added a bunch of possible arguments / environment variables, see the new usage
function for details (or run ./build.sh help).

Creates a new template with a unique name on every invocation, resulting in a
new virtualbox instance with a unique name. This makes it possible to build
multiple boxes at the same time, in parallel (including for example on a
multiuser box), and reduces the chance of failed build results conflicting
with each other.

Inject the version given on the command line (if any) into the created image.
2014-09-22 21:38:13 +02:00
Leo Simons de68741f60 CLOUDSTACK-7143: license headers on all the systemvm scripts 2014-09-22 21:38:13 +02:00
Leo Simons d3ecb0099c CLOUDSTACK-7143: cleanup configure_conntrack.sh code 2014-09-22 21:38:13 +02:00
Leo Simons 44ceeabb28 CLOUDSTACK-7143: cleanup zerodisk.sh code 2014-09-22 21:38:13 +02:00
Leo Simons f67a379a46 CLOUDSTACK-7143: tune timeouts to expect about <=~60 min build 2014-09-22 21:38:12 +02:00
Leo Simons 654c871e75 CLOUDSTACK-7143: cleanup configure_systemvm_services.sh code 2014-09-22 21:38:12 +02:00
Leo Simons 7d9e46425f CLOUDSTACK-7143: rename postinstall.sh to represent what remains 2014-09-22 21:37:19 +02:00
Leo Simons c7e6387752 CLOUDSTACK-7143: collapse apt-get install onto one line
In theory this _could_ have changed behavior (apt coming up with a different
solution, or one of the packages configuring a new apt repository), but in my
testing, the end result is the same.
2014-09-22 21:37:19 +02:00
Leo Simons 22617e9496 CLOUDSTACK-7143: reorg of install_systemvm_packages.sh (no logic changes, yet) 2014-09-22 21:37:18 +02:00
Leo Simons 3d4e4a6e09 CLOUDSTACK-7143: consider vhdutil a software package 2014-09-22 21:37:18 +02:00
Leo Simons 06c1c16dc3 CLOUDSTACK-7143: move install_packages from postinstall.sh to its own file 2014-09-22 21:37:18 +02:00
Leo Simons 71c913c658 CLOUDSTACK-7143: cleanup configure_networking.sh code 2014-09-22 21:34:47 +02:00
Leo Simons a533de7593 CLOUDSTACK-7143: move networking logic from postinstall.sh to configure_networking.sh 2014-09-22 21:34:47 +02:00
Leo Simons 3574dcf543 CLOUDSTACK-7143: split connection tracking config into its own file 2014-09-22 21:31:36 +02:00
Leo Simons ed53167547 CLOUDSTACK-7143: cleanup cleanup.sh code 2014-09-22 21:31:36 +02:00
Leo Simons 3c9f2c7227 CLOUDSTACK-7143: cleanup configure_acpid.sh code 2014-09-22 21:31:36 +02:00
Leo Simons 5627b67ff3 CLOUDSTACK-7143: move fix_acpid to its own file 2014-09-22 21:31:35 +02:00
Leo Simons 6a688a0337 CLOUDSTACK-7143: cleanup configure_locale.sh code 2014-09-22 21:31:35 +02:00
Leo Simons aa14a619a6 CLOUDSTACK-7143: split locale config into its own file 2014-09-22 21:31:35 +02:00
Leo Simons 3f8c31b0da CLOUDSTACK-7143: cleanup configure_login.sh code
Had to change various things to make this code re-entrant. In particular,
the sed-based manipulation of /etc/sudoers is gone and replaced with a
simpler, minimal (but compatible) sudoers file.

Remove the sshd_config tuning since sshd_config is overwritten when we
apply the cloud_scripts overlay (from build.sh).
2014-09-22 21:31:35 +02:00
Leo Simons e86121db7b CLOUDSTACK-7143: split login config out from postinstall.sh 2014-09-22 21:31:35 +02:00
Leo Simons e5a2e67551 CLOUDSTACK-7143: cleanup configure_gruh.sh code
Adding a check whether GRUB_TIMEOUT has already been set, and if it has,
skip re-running update-grub.
2014-09-22 21:31:35 +02:00
Leo Simons 29c1f91aea CLOUDSTACK-7143: add vagrant_box_build_time file that's standard with current veewee templates 2014-09-22 21:31:34 +02:00
Leo Simons 58ca92ce52 CLOUDSTACK-7143: cleanup apt_upgrade.sh code 2014-09-22 21:31:34 +02:00
Leo Simons 6641fd3a76 CLOUDSTACK-7143: move add_backports to apt_upgrade.sh 2014-09-22 21:31:34 +02:00
Leo Simons 5f3caf6d01 CLOUDSTACK-7143: reformat definition.rb code. No other changes. 2014-09-22 21:31:34 +02:00
Leo Simons 2210f1b1da CLOUDSTACK-7143: remove 'manual' from preseed config. No other changes. 2014-09-22 21:31:34 +02:00
Leo Simons 3c0cdb595f CLOUDSTACK-7143: merge systemvm templates, step 2: only one template remains 2014-09-22 21:31:33 +02:00
Leo Simons 039a47bd5b CLOUDSTACK-7143: merge systemvm templates, step 1: remove differences 2014-09-22 21:30:39 +02:00
Leo Simons 262cde5fb7 CLOUDSTACK-7143: move network tuning from cleanup.sh to its own script. 2014-09-22 21:30:39 +02:00
Leo Simons e2f1740de5 CLOUDSTACK-7143: split base.sh into its two functions. 2014-09-22 21:30:39 +02:00
Leo Simons 0f2012e842 CLOUDSTACK-7143: upgrade systemvm to latest debian stable, 7.6.0. 2014-09-22 21:30:39 +02:00
sanjeev 5bddebb8fc In case of Hyper-v ssvm/cpvm reboot takes time so made changes to handle this 2014-09-22 16:43:16 +05:30
Prashant Kumar Mishra 937aee34ed CLOUDSTACK-7579 Adding a method to base.py to update storage pool
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-22 16:33:19 +05:30
Pierre-Luc Dion f7d80d9a6f generateapi doc version to 4.5.0 2014-09-21 16:04:46 -04:00
Pierre-Luc Dion 8ed2d198bd generateAPI doc: version 4.4.1, year:2014, add back button on main pages 2014-09-21 15:58:37 -04:00
Chandan Purushothama f1f61e13e5 CLOUDSTACK-7573 : Fixed the Guest OS Type used for the ISO 2014-09-17 18:21:32 -07:00
Sebastien Goasguen ab5987726c Cleaning the README, INSTALL and CHANGES file
(cherry picked from commit 528ac4c6e9)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	INSTALL.md
2014-09-17 15:12:37 +02:00
Sangeetha Hariharan 65608e9949 CLOUDSTACK-7551 - Automate ACL test cases relating to impersonation when depoying VM in shared network 2014-09-16 18:45:58 -07:00
Rohit Yadav ad8ad404fe systemvmtemplate: set next CLOUDSTACK_VERSION to 4.5.0
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-12 17:19:46 +02:00
Gaurav Aradhye 81d5dd9bcd CLOUDSTACK-7519: Using bound/unbound methods instead of directly calling API methods from test case
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-10 14:37:54 +05:30
Rohit Yadav 765659091a appliance: fix newer debian iso links and checksums for debian
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit ac5309b8b4)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-09 18:41:53 +02:00
Gaurav Aradhye d08d71427b CLOUDSTACK-7506: Fix base library to read hypevisor value from dictionary as opposed to only from function parameter
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-09 12:12:45 +05:30
Gaurav Aradhye bbb3ea5983 CLOUDSTACK-7509: Added missing bound method in base library for copyTemplate operation
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-09 11:48:57 +05:30
sanjeev 535e7a6670 CLOUDSTACK-7508: Remove duplicate network offerings from test_data.py 2014-09-08 17:21:11 +05:30
Santhosh Edukulla 6c4978c40c Adding new marvincli changes(draft) 2014-09-07 20:44:43 +05:30
Sangeetha Hariharan 3f9e826d28 CLOUDSTACK-7492 -[Automation]-Automate ACL test cases relating to listVloumes() 2014-09-04 17:55:50 -07:00
Alex Brett 06b96d1ccf CLOUDSTACK-7448 Fix test_delete_account and test_releaseIP
CLOUDSTACK-4840 changed test_data.py to make the lbrule publicport be 22,
instead of 2222. In doing so, this caused the following tests to fail, as they
hit a problem where they tried to use port 22 for both the lbrule and for other
purposes:
integration.smoke.test_network.TestDeleteAccount.test_delete_account
integration.smoke.test_network.TestReleaseIP.test_releaseIP

The reason the change appears to have been made was that in
test_lb_secondary_ip.py, despite setting up the load balancer using lbrule, the
tests then used the SSH port from natrule to try and access the VM. By changing
lbrule to use port 22 (the same as natrule) this avoided the problem.

This patch updates test_lb_secondary_ip.py to use the SSH port in lbrule where
necessary to access the VMs, and reverts the change to test_data.py
2014-09-04 17:19:08 -07:00
SrikanteswaraRao Talluri b43d9345e9 CLOUDSTACK-7431: moved ldap configuration details to test_data.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-04 17:38:42 +05:30
SrikanteswaraRao Talluri aa64d8b3e7 CLOUDSTACK-7389: fix for the script bugs CLOUDSTACK-7389, CLOUDSTACK-7390 and few
other fixes.
2014-09-04 17:07:34 +05:30
sailajamada 6aca8c5f39 Revert "Fix for Test VM life Cycle Test suite- Failed to get Cent OS template"
This reverts commit aa4fea231d.
2014-09-04 13:10:43 +05:30
sailajamada aa4fea231d Fix for Test VM life Cycle Test suite- Failed to get Cent OS template 2014-09-04 10:41:35 +05:30
Hugo Trippaers dc3f0cbc63 Improve the handling of the findbug exclude files 2014-09-03 10:41:22 +02:00
sailajamada 50b1fd4c47 vGPU add and list host test cases with review comments 2014-09-01 22:04:11 +05:30
Santhosh Edukulla 6bd5041ff0 Adding first cut(draft) for marvincli
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-09-01 18:00:20 +05:30
Ian Duffy b38d0b6b43 Fix RAT issue 2014-09-01 11:22:36 +01:00
Ian Duffy 26069aa377 [CLOUDSTACK-6115] Investigate the use of TravisCI for CloudStack integration testing 2014-09-01 10:56:44 +01:00
Gaurav Aradhye e16ab59c58 CLOUDSTACK-7452: Removing test_data.cfg file as it is no longer in use 2014-09-01 13:56:02 +05:30
Gaurav Aradhye a1dc17125b CLOUDSTACK-7444: Allowing user account to submit async jobs in addition to admin 2014-09-01 13:35:01 +05:30
Gaurav Aradhye ab8af44627 CLOUDSTACK-7425: Fixed 'Failed to create network offering due to invalid service Lb' 2014-09-01 13:29:04 +05:30
Rohit Yadav 2f6fa268f4 apidocs: add entry for getSPMetaData
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-08-28 19:45:25 +02:00
Ashutosh K fe6f0cf626 CLOUDSTACK-1466: Automation - Secondary Storage Test Cases 2014-08-28 12:39:41 +05:30
Ashutosh K 4c69609fa1 CLOUDSTACK-2251: Automation - dedicated guest VLAN ranges feature 2014-08-28 12:32:07 +05:30
Sangeetha 68b95aec0f CLOUDSTACK-7002 This test suite contains test cases relating to access checks for createNetwork(), deploying VM in an isolated network and restartNetwork() for Admin, domain admin and regular users. 2014-08-25 16:05:45 -07:00
Rohit Yadav 7e15d16185 apidoc: add new entries for APIs
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-08-25 18:16:28 +02:00
Ashutosh K 134a868013 CLOUDSTACK-4840: Automation test cases for LB for secondaruy IP 2014-08-25 10:36:31 +05:30
Gaurav Aradhye 3e0c55cabe CLOUDSTACK-7385: Fixed LB creation issue in test_persistent_networks.py 2014-08-22 13:42:21 +05:30
Rohit Yadav 773c5e9532 apidoc: add GloboDns entry under network section
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-08-21 12:18:27 +02:00
Santhosh Edukulla 34b698d44d Added few change for test suite result location
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-08-16 01:06:41 +05:30
Santhosh Edukulla 7cf33f96aa Fixed few loggers according to new changes 2014-08-14 00:25:53 +05:30
Girish Shilamkar 6115a90c70 Adding explicit error message in verifyNetworkState function in case network is not in desired state 2014-08-13 20:19:26 +05:30
Rohit Yadav fed71ec585 apidoc: group login, logout, samlsso, samlslo under Authentication section
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-08-13 13:49:05 +02:00
Gaurav Aradhye b7c4259d97 CLOUDSTACK-7330: Fixing ListNetworks issue in test_portable_ip.py
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-08-13 17:14:47 +05:30
Rohit Yadav 3c9d78752d apidoc: add entry in gen_toc for saml
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-08-13 13:43:36 +02:00
Leo Simons 2279289465 marvin: Fix marvin.sync profile, fixes regression from e10f8e8
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-08-13 11:15:41 +02:00
Gaurav Aradhye 9d7b851537 CLOUDSTACK-7294: Passing listall=True for listUser api admin call 2014-08-13 11:49:24 +05:30
Rohit Yadav f7f8f07f47 client: add saml2 plugin dependency on client artifact
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-08-12 12:01:29 +02:00
Rohit Yadav 4217d157c5 appliance: box commands for dumb bash in cleaning branch name, in build.sh
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit edb5650c73)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-08-08 21:24:18 +02:00
Rohit Yadav e71009a571 appliance: fix branch finding method from e16414e even Junio can be wrong
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit bbaefb8e5d)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-08-08 20:30:42 +02:00
Rohit Yadav ffe0f2f60f appliance: use the right way to get git branch name
Taken from Junio C Hamano's blog [1], git's maintainer, he must not be wrong :)

[1] http://git-blame.blogspot.ch/2013/06/checking-current-branch-programatically.html

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit e16414e56d)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-08-08 19:22:20 +02:00
Rohit Yadav 2491630f51 git: don't let db-police hook fail for no changes in setup/db
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-08-08 15:52:07 +02:00
Rohit Yadav a0006a6990 appliance: change the way we find git branch in build.sh
(cherry picked from commit 493c0a68d2)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	tools/appliance/build.sh
2014-08-08 15:44:33 +02:00
Joris van Lieshout b8deb6ba3f volume /usr was sized to small and ends up being 100% full on SSVMs and CVMs. By juggling some partman-auto numbers the space gets devided more evenly. After this patch /usr should be around 80% full. I've also reduced the swap space because this makes no sense on virtual instances.
Signed-off-by: Daan Hoogland <daan@onecht.net>
2014-08-08 12:58:12 +02:00
John Dilley 7ff7e9cf5a CLOUDSTACK-7268: Ignore "already exists" error in createEgressFirewallRule
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-08-07 14:26:40 +05:30
Rohit Yadav 8d27c19ae2 tools/git: add git hook to help self police schema changes
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-08-06 22:37:22 +02:00
Gaurav Aradhye 0a7af329f5 CLOUDSTACK-7255: Fixed marvin issue related to creating random account usernames
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-08-06 15:54:07 +05:30
Santhosh Edukulla bf9036c5a0 Fixed a regression issue reported 2014-08-06 12:37:05 +05:30
Harikrishna Patnala 2dfd278625 CLOUDSTACK-7087: Latest OS X VPN client not working Downgrading openswan version to 1:2.6.37-3
Reviewed-by: Abhinandan

Signed-off-by: Sheng Yang
2014-08-05 16:06:00 +05:30
Gaurav Aradhye 2109418469 Fixed Marvin Issue: Hypervisor value was hardcoded to XenServer while deploying VM if not specified
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-08-05 16:04:19 +05:30
Rohit Yadav b157104563 devcloud: user insert on duplicate update in devcloud.sql
This commit modifies insert statements to use the insert on duplicate update
syntax to update configuration table name, values in case primary key already
exists

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-08-04 22:47:25 +02:00
sailajamada acffe5ac3b vGPU automation changes to make use of existing windows 8 template in the setup to deploy vGPU VMs 2014-08-04 16:13:48 +05:30
Gaurav Aradhye c32b19a07d CLOUDSTACK-7215: Make expunge=True as default parameter value while calling destroyVirtualMachine through base library
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-08-04 12:21:32 +05:30
Girish Shilamkar 2231fc8920 Revert "CLOUDSTACK-6992 Test data was passed to test methods.Made code changes to get test data and pass it to test methods. Also reading portable ip config values was not proper in getPortableIpRangeServices method. So corrected it"
This reverts commit dfee7b1456.
2014-08-04 11:01:31 +05:30
Girish Shilamkar 98e2a0444f Revert "CLOUDSTACK-7044: Portable IP Range test case changes - reading portable ip range from test_data.py file"
This reverts commit 613eb12104.
2014-08-04 11:01:09 +05:30
Gaurav Aradhye 93c64cd7f2 CLOUDSTACK-7224: Fixed marvin code for async jobs
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-08-01 22:51:08 +05:30
Hugo Trippaers 9a3712841f Python... 2014-08-01 10:22:53 +02:00
Hugo Trippaers 62cc1bbf57 Test the test tools as well 2014-08-01 10:14:12 +02:00
Hugo Trippaers 880f186ede Improve exitcodes so jenkins can deal with it 2014-08-01 09:06:13 +02:00
Hugo Trippaers 5ddd0cff32 Fix dependency issue in apidoc, depends on server as that is where ApiXmlDocWriter lives 2014-07-31 12:06:54 +02:00
Rohit Yadav e10f8e8875 marvin: set next release version to 4.5.0
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-07-29 23:10:58 +02:00
Rohit Yadav 7b8c991da8 marvin: change module author, description etc to use ACS team and dev ML
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit fa5195f305)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-07-29 23:10:37 +02:00
sailajamada d4cebbdc88 Modified test data configuration file as per vGPU automation 2014-07-28 15:52:18 +05:30
miguelaferreira ad640e2fda Remove duplicate code block
Signed-off-by: Daan Hoogland <daan@onecht.net>
2014-07-25 09:53:29 +02:00
SrikanteswaraRao Talluri 59f25d2436 CLOUDSTACK-7053: automated tests for 4.2.x bugs- management server components 2014-07-25 01:27:01 +05:30
miguelaferreira bb1c70b3d8 Test if config specifies a zone before using it
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-07-23 20:30:33 +05:30
Ritu Sabharwal 628d8e66f7 CLOUDSTACK-6823 : First code drop for Brocade Network plugin to orchestrate Brocade VDX switches for L2 connectivity
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2014-07-23 11:11:18 +02:00
Ashutosh K 613eb12104 CLOUDSTACK-7044: Portable IP Range test case changes - reading portable ip range from test_data.py file 2014-07-22 07:44:35 -04:00
sanjeev 4596ae9aac Changed delete method signature inside VirtualMachine class. From 4.3 onwards vm destroy has expunge parameter to expunge the vm immediately.
Signed-off-by: sanjeev <sanjeev@apache.org>
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-07-22 11:50:01 +05:30
Suresh Ramamurthy 03de9cc335 CLOUDSTACK-6845 : NuageVsp Network plugin
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2014-07-21 10:49:49 +02:00
Hugo Trippaers 733a7ba8c1 Put in a note that will hopefully prevent a bunch of systemvm build failures 2014-07-18 10:18:19 +02:00
Ashutosh K 6f9b3cc9d1 CLOUDSTACK-7108: Reading provisioningtype for disk offering in base.py 2014-07-16 20:41:02 -04:00
sanjeevneelarapu dfee7b1456 CLOUDSTACK-6992 Test data was passed to test methods.Made code changes to get test data and pass it to test methods. Also reading portable ip config values was not proper in getPortableIpRangeServices method. So corrected it
CLOUDSTACK-6992: Incorporated review comments for patch request 23009

CLOUDSTACK-6992: Added portable ip range to services class

Signed-off-by: sanjeevneelarapu <sanjeev.neelarapu@citrix.com>
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-07-16 13:05:56 +05:30
Vania Xu 89a326a878 Update to retrieve additional properties for testing.
Signed-off-by: Mike Tutkowski <mike.tutkowski@solidfire.com>
2014-07-08 15:01:50 -06:00
John Dilley 63ba1ddfb9 CLOUDSTACK-7010: Add domain to createZones in marvin 2014-07-08 22:28:56 +05:30
Koushik Das a413536f90 Added a simulator based test for VM sync 2014-07-07 12:57:55 +05:30
Marcus Sorensen ce390e907c update devcloud-kvm sql file for easier dev deployment 2014-07-02 17:52:47 -06:00
SrikanteswaraRao Talluri 2148a1a64d CLOUDSTACK-7009: add ability to handle serviceofferingdetails to base.py
to support creation of service offering upon passing details in the  following format
            serviceofferingdetails[1].key=pciDevice
            serviceofferingdetails[1].value=Group of NVIDIA Corporation GK107GL [GRID K1] GPUs
            serviceofferingdetails[2].key=vgpuType
            serviceofferingdetails[2].value=GRID K120Q
2014-06-30 19:23:03 +05:30
John Dilley 477a812a6f CLOUDSTACK-6909 - fix marvin's handling of SMB credentials for storage
Signed-off-by: Daan Hoogland <daan@onecht.net>
2014-06-25 19:42:43 +02:00
Hugo Trippaers 99b7cc80ec Add provisioning_type to the devcloud offerings. 2014-06-25 15:51:29 +02:00
Gaurav Aradhye 0df156c09e CLOUDSTACK-6984: Resolving issues found during simulator run 2014-06-24 20:54:05 +05:30
Daan Hoogland fec52be20e Revert "raw immage for ovm"
This reverts commit 23b1f228a1.
2014-06-24 10:21:05 +02:00
Daan Hoogland 23b1f228a1 raw immage for ovm 2014-06-23 14:54:07 +02:00
Girish Shilamkar e054154ca0 LOUDSTACK-6861: Fixing nfs mount path 2014-06-19 18:42:43 +05:30
Gaurav Aradhye e7fe391be4 CLOUDSTACK-1466: Automatiion - Primary Storage Limits test cases 2014-06-18 13:15:21 +05:30
Santhosh Edukulla 7c15f148da CLOUDSTACK-6914: Fixed the mentioned issue
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2014-06-17 14:26:44 +05:30
VinayV 99e4da15da CLOUDSTACK-6282-Modified IpAddresses, Instances, Templates, Snapshots tests to handle KVM and modified IPAddresses for failed list cases 2014-06-16 16:56:54 +05:30
Girish Shilamkar 8e0aba4609 CLOUDSTACK-6888: Read postable IP configuration from config 2014-06-13 09:41:20 +05:30
SrikanteswaraRao Talluri 34b177f2b5 CLOUDSTACK-6904: removed typeInfo key as part of sanitize command
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-06-12 17:52:26 +05:30
Hugo Trippaers 9855a84a18 Move the maven wiz stuff to the tools directory and make sure it gets build with the correct version when needed 2014-06-11 14:06:16 +02:00
Hugo Trippaers 8e704f5eee Add a first version of a PMD ruleset to our check project 2014-06-11 14:06:16 +02:00
Santhosh Edukulla 31d870933d Fixed vm ha cases failing in master
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-06-11 16:39:10 +05:30
Joris van Lieshout bfccf439cf By preloading some modules we fix two things. 1. Some sysctl settings like ip_conntrack_max are not set during boot because the module is not loaded at that time. 2. Passive ftp does not work through iptables without these modules.
Signed-off-by: Daan Hoogland <daan@onecht.net>
2014-06-10 15:42:40 +02:00
Tim Mackey a8212d9ef4 Cleanup of Xen and XenServer terms. Cloned xen plugin creating a xenserver plugin, then removed xen plugin
Signed-off-by: Tim Mackey <tmackey@gmail.com>
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
2014-06-07 04:50:23 -04:00
sedukull b43517c496 CLOUDSTACK-6856 : Fixed few data corruption and retries issues for failing cases
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-06-06 21:52:03 +05:30
Leo Simons 95314ac452 Fix set-eclipse-profile.sh to work with mac/bsd sed.
Signed-off-by: Daan Hoogland <daan@onecht.net>
2014-06-05 09:40:37 +02:00
Daan Hoogland 7ccf4bd169 release branch fix
(cherry picked from commit c6e00c6825)
2014-06-04 15:04:58 +02:00
monism cdf4047ce8 CLOUDSTACK-6282-Added Autometed test for network APIs after incorporating review comments 2014-05-29 18:03:12 +05:30
rayeesn 5f11c2e0be CLOUDSTACK-6392: system template always create with name master instead of specific branch
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2014-05-28 11:35:57 +05:30
Marcus Sorensen 20a31b43d6 CLOUDSTACK-6784: Expose data types via API so consumers of API can validate data 2014-05-27 15:23:23 -06:00
Marcus Sorensen 57110a7f50 Fix devcloud-kvm gateway ip, was somehow pointing to the vmware cfg setting 2014-05-27 13:11:08 -06:00
Gaurav Aradhye 0cc826aa53 CLOUDSTACK-5342: Fix for failure in adding network to VM 2014-05-27 14:44:59 +05:30
Gaurav Aradhye fa05cfbc78 CLOUDSTACK-6764: Marvin - Accomodating networkid parameter while deploying VM in advanced zone and account contains mor than one network 2014-05-27 14:41:59 +05:30
Gaurav Aradhye 2218053fb1 Fixed issues in regression suite project cpu limits
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2014-05-26 10:53:14 +05:30
Gaurav Aradhye a0ad836fd2 CLOUDSTACK-6758: [Marvin] Detect failed job and throw exception
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2014-05-26 10:50:08 +05:30
santhosh 8b39e2ff71 Added fix for CLOUDSTACK-6529
Fixed to continue adding all hosts, even if any addition fails and remove
unused args from host class.

Signed-off-by: santhosh <santhosh.edukulla@gmail.com>
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2014-05-26 10:49:43 +05:30
Marcus Sorensen 2c810d73e2 CLOUDSTACK-6751 - Disable stats logging for conntrackd upon systemvm creation
Submitted-by: Joris van Lieshout <jvanlieshout@schubergphilis.com>
2014-05-22 09:20:33 -06:00
Doug Clark 6f0b57216c Fix for Marvin utils.py:checkVolumeSize Fix for test_01_create_volume to use the correct volume name for XenServer
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-05-22 11:12:37 +05:30
ynojima 570c3a2130 bugfix: systemvm template build failed
since newer vboxmanage generates $appliance-$branch-vmware-disk3.vmdk
2014-05-21 18:27:24 -06:00
vinayvarmav ef2012677c CLOUDSTACK-6282 - Divided test_escalations.py into individual files based on functionality and added automed tests for Public IP Addresses 2014-05-19 02:15:17 -04:00
Girish Shilamkar b4ad709d32 Revert "CLOUDSTACK-6282 - Divided test_escalations.py into individual files based on functionality and added automed tests for Public IP Addresses"
This reverts commit 2ba6322030.
2014-05-19 01:59:23 -04:00
vinayvarmav 2ba6322030 CLOUDSTACK-6282 - Divided test_escalations.py into individual files based on functionality and added automed tests for Public IP Addresses 2014-05-19 01:43:32 -04:00
Gaurav Aradhye 89b041a62d CLOUDSTACK-6612: Resolved issue with sshClient.py 2014-05-19 01:17:02 -04:00
Gaurav Aradhye de9909403e CLOUDSTACK-6687: Fixed IP reservation test case failures with code re-factoring 2014-05-18 21:04:31 -04:00
Girish Shilamkar 1f05fa2fba CLOUDSTACK-6655: Fixing cleanup issues with portable IP test cases 2014-05-16 04:13:28 -04:00
Gaurav Aradhye 94a7dee395 CLOUDSTACK-6612: Resolved DB connection issue related to passing correct password 2014-05-15 00:36:08 -04:00
Gaurav Aradhye ee29915ef0 Fixed config issue related to Persistent Networks 2014-05-14 20:50:49 -04:00
Ian Duffy 1213180219 Resolve issue with build script for systemvm hanging due to libssl waiting on a input prompt caused by apt-get update 2014-05-15 07:08:01 +01:00
santhoshe 24bf1c56df Added few exception changes,test suite name generation for information collected post run, fixed pep8 issues
Signed-off-by: santhoshe <santhosh.edukulla@gmail.com>

Conflicts:
	tools/marvin/marvin/marvinInit.py
2014-05-14 18:34:27 +05:30
SrikanteswaraRao Talluri c42e9036f7 1. list* calls are modified to take listall=True when
account and domainid is passed to conform to recent IAM
related changes in 4.4-forward
2. fixed typo passd to passwd in cloudstackTestClient.py
3. added few missing data required for tests in test_data.py
4. removed config.cfg

mend

Conflicts:
	tools/marvin/marvin/config/test_data.py
	tools/marvin/marvin/lib/base.py
2014-05-14 18:14:09 +05:30
Gaurav Aradhye 6c8a0a1f96 Fixing few issues in Multiple IPs test cases 2014-05-10 00:37:56 -04:00
ynojima f21e527923 CLOUDSTACK-6614 bugfix: systemvm template build failed because of src iso link is broken 2014-05-08 16:48:18 -06:00
santhosh e69a94b61e Fixed few issues for userapiclient and port issue
Signed-off-by: santhosh <santhosh.edukulla@gmail.com>
Signed-off-by: Koushik Das <koushik@apache.org>
2014-05-08 16:13:18 +05:30
Gaurav Aradhye 38e8a20afb CLOUDSTACK-6580: Adding listall parameter while listing Account in createUserApiClient 2014-05-07 21:22:34 -04:00
santhoshe 0e975a773a Fixed Few cases running on invalid zone,domain Fixed creating client on user passed port Fixed other misc issues
Signed-off-by: jayapal <jayapal@apache.org>
2014-05-08 01:47:29 +10:00
Anish Kumar Bindal 25b1c037d6 JIRAID - CLOUDSTACK-6282 Added Networks API calls to test_escalations.py 2014-05-06 23:48:34 -04:00
Girish Shilamkar 8f1498dc8c CLOUDSTACK-6559: Added listall=True to list vm API 2014-05-05 11:13:11 +05:30
Gaurav Aradhye 59d0b75e79 CLOUDSTACK-6257: Adding function to check state of VM 2014-05-02 23:12:13 +05:30
Min Chen 1b78a1c87d CLOUDSTACK-6502:Remove trailing whitespaces. 2014-05-01 15:57:28 -07:00
Sachchidanand Vaidya 537536835b - Created new devcloud advanced networking config file (devcloud-advanced_juniper-contrail.cfg). - Modification to deployDataCenter script, to enable "JuniperContrailRouter" & "JuniperContrailVpcRouter" providers.
Signed-off-by: Daan Hoogland <daan@onecht.net>
2014-05-01 13:10:12 +02:00
SrikanteswaraRao Talluri 9ed6563e7a Fixes for BVT and Regression run failures against 4.4 CS 2014-04-30 19:25:53 +05:30
SrikanteswaraRao Talluri b273f66423 CLOUDSTACK-5674:Fixes for BVT and Regression test failures.
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>

Conflicts:
	test/integration/smoke/test_nic.py
2014-04-30 19:25:35 +05:30
Santhosh Edukulla bf54f74ffc Fix few issues seen in run.
Signed-off-by: Santhosh Edukulla <Santhosh.Edukulla@citrix.com>
2014-04-30 13:56:34 +05:30
root 56a44151aa Fixed pep8 issues arising as part of merge
Fixed pep8 issues arising as part of merge

Signed-off-by: root <root@localhost.localdomain>
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-04-29 19:36:09 +05:30
Min Chen 96af7396b6 CLOUDSTACK-6502:IAMGroup.list and IAMPolicy.list in marvin base.py are
not working.
2014-04-28 11:11:35 -07:00
SrikanteswaraRao Talluri e9fb906599 CLOUDSTACK-6511: fixed for bvt and component test failures 2014-04-25 18:13:47 +05:30
SrikanteswaraRao Talluri 06d510abcc CLOUDSTACK-6492: fixed localtime import and its usage in deployDataCenter.py 2014-04-24 18:59:52 +05:30
unknown e9e8c65b4d CLOUDSTACK-6282: Added Automated tests to test_escalations.py for Security Groups, VPN Customer Gateways, Templates, ISO's CS API calls
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-04-24 17:37:31 +05:30
Santhosh Edukulla ef9e2a9367 Fixed issues in CLOUDSTACK-6489
Fixed issues for CLOUDSTACK-6489
Along with fixed few indent issues.

Signed-off-by: Santhosh Edukulla <Santhosh.Edukulla@citrix.com>
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-04-24 15:02:49 +05:30
SrikanteswaraRao Talluri 7df30611fe CLOUDSTACK-6492: fixed strftime import and its usage in deployDataCenter.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-04-24 13:00:29 +05:30
unknown 2e95b5b707 0001-JiraId-CLOUDSTACK-6282.patch Added automated tests for Instances API calls to test_escalations.py file and added utility functions to base.py file 2014-04-24 12:33:57 +05:30
Santhosh Edukulla f57f22a79e Fixed few Licensing Issues
Added licensing information to files

Signed-off-by: Santhosh Edukulla <Santhosh.Edukulla@citrix.com>
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-04-24 12:16:49 +05:30
SrikanteswaraRao Talluri d22adf943d Merge branch 'marvin'
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>

Conflicts:
	test/integration/component/test_dynamic_compute_offering.py
	test/integration/smoke/test_deploy_vm.py
	test/integration/smoke/test_disk_offerings.py
	test/integration/smoke/test_volumes.py
2014-04-23 11:45:43 +05:30
Koushik Das b088821c61 CLOUDSTACK-6445: Simulator enhancements
Refer FS - https://cwiki.apache.org/confluence/display/CLOUDSTACK/Simulator+enhancements
2014-04-18 16:44:21 +05:30
Santhosh Edukulla 901d633ca4 Added few changes for CLOUDSTACK-6316
1. Added pep8 changes, delete dc flag.
2. Now, delete dc works only if flag is set under config.
3. SSH, retries and delay were altered to reduce the time
for ssh connection

Signed-off-by: Santhosh Edukulla <Santhosh.Edukulla@citrix.com>
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-04-16 15:56:30 +05:30
SrikanteswaraRao Talluri b2543efaca CLOUDSTACK-6316: added else code in __createUserApiClient function 2014-04-11 19:32:13 +05:30
SrikanteswaraRao Talluri 2f02abf364 Fixed failed tests in regression tests. 2014-04-11 12:11:50 +05:30
SrikanteswaraRao Talluri ca67e25f23 CLOUDSTACK-6316: fixed test data and their references in the test files and few more fixes in tests 2014-04-11 11:43:38 +05:30
SrikanteswaraRao Talluri 94fc4bf6bd CLOUDSTACK-6316: fixes for bvt failures 2014-04-11 02:28:49 +05:30
Girish Shilamkar ef9471692d CLOUDSTACK-5674: Remove assigning accountname which was useless 2014-04-10 17:49:39 +05:30
SrikanteswaraRao Talluri f866bb21e6 CLOUDSTACK-6316: Fixed component and smoke test failures-third pass 2014-04-10 13:20:13 +05:30
Girish Shilamkar 8df1c71b6d CLOUDSTACK-5674: Fix issues with BVT 2014-04-09 21:17:01 +05:30
SrikanteswaraRao Talluri b83407fca3 CLOUDSTACK-6316: Fixed component and smoke test failures-second pass 2014-04-09 19:53:50 +05:30
Ashutosh K b5a93751e2 CLOUDSTACK-6147: Adding automation tests for Dynamic Compute
Offering
2014-04-09 15:13:35 +05:30
unknown d0b6e01da0 CLOUDSTACK-6282: Added-volume-API-tests-to-test_escalations.py.patch JiraId-CLOUDSTACK-6282.patch
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-04-08 23:13:08 +05:30
SrikanteswaraRao Talluri 0e223d6787 Merge branch 'master' into marvin
Conflicts:
	test/integration/component/test_base_image_updation.py
	test/integration/component/test_cpu_domain_limits.py
	test/integration/component/test_cpu_limits.py
	test/integration/component/test_cpu_project_limits.py
	test/integration/component/test_ip_reservation.py
	test/integration/component/test_memory_limits.py
	test/integration/component/test_mm_domain_limits.py
	test/integration/component/test_mm_project_limits.py
	test/integration/component/test_persistent_networks.py
	test/integration/component/test_portable_ip.py
	test/integration/component/test_routers.py
	test/integration/smoke/test_deploy_vm.py
	test/integration/smoke/test_deploy_vm_with_userdata.py
	test/integration/smoke/test_internal_lb.py
	test/integration/smoke/test_vm_life_cycle.py
	test/integration/smoke/test_volumes.py
	tools/marvin/marvin/codes.py
	tools/marvin/marvin/configGenerator.py
	tools/marvin/marvin/lib/base.py
	tools/marvin/marvin/lib/common.py
	tools/marvin/marvin/lib/utils.py
2014-04-08 17:53:37 +05:30
SrikanteswaraRao Talluri 818d4a6d9d CLOUDSTACK-6316: Fixed component and smoke test failures for wrong references 2014-04-08 16:08:27 +05:30
SrikanteswaraRao Talluri 08b87c0409 CLOUDSTACK-6316: Fixed bvt failures 2014-04-08 15:02:37 +05:30
SrikanteswaraRao Talluri 0d5ec63371 CLOUDSTACK-6316: Fixed issues in various files(testcases and marvin related)
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-04-04 19:46:25 +05:30
Santhosh Edukulla 65e8f2dc53 Fixed issues related to CLOUDSTACK-5674
Fixed issues mentioned for CLOUDSTACK-5674.
More changes in the bug

Signed-off-by: Santhosh Edukulla <Santhosh.Edukulla@citrix.com>
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-04-04 18:30:45 +05:30
Ashutosh K ca1b911a4f CLOUDSTACK-2266: Adding automation tests for IP reservation feature
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-04-02 10:59:06 +05:30
Milamber 6aef044c17 Update Transifex config file (add 4.4 resources config) 2014-04-01 19:44:07 +01:00
Santhosh Edukulla 34409d74cd Fixed few issues for CLOUDSTACK-6316,CLOUDSTACK-5674
Fixed issues related to the mentioned bugs.
More information in the bug.

Signed-off-by: Santhosh Edukulla <Santhosh.Edukulla@citrix.com>
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-04-01 23:53:14 +05:30
Santhosh Edukulla 63d3688360 Added fix for CLOUDSTACK-6316
Added changes for CLOUDSTACK-6316.
More details in the bug

Signed-off-by: Santhosh Edukulla <Santhosh.Edukulla@citrix.com>
2014-04-01 16:15:53 +05:30
SrikanteswaraRao Talluri 70e104021c Revert "Added fix for CLOUDSTACK-6316"
This reverts commit 95a645349f.
2014-04-01 16:09:54 +05:30
Santhosh Edukulla 95a645349f Added fix for CLOUDSTACK-6316
Added changes for CLOUDSTACK-6316.
More details in the bug

Signed-off-by: Santhosh Edukulla <Santhosh.Edukulla@citrix.com>
2014-04-01 16:02:59 +05:30
Santhosh Edukulla e4053bc32b CLOUDSTACK-5674: Added few fixes for CLOUDSTACK-5674 2014-03-26 10:36:13 -07:00
Ashutosh K fe5ab4aa91 CLOUDSTACK-4840: Final set of test cases for Multiple IPs
per NIC feature
2014-03-23 21:15:45 -07:00
SrikanteswaraRao Talluri 6338db1f9a CLOUDSTACK-5113: temporary fix to return first template in the list 2014-03-20 19:07:44 +05:30
Santhosh Edukulla afb58b37a3 CLOUDSTACK-5674: Added few fixes for CLOUDSTACK-5674 2014-03-19 18:34:59 -07:00
Santhosh Edukulla 09e1eb69cb Added a change to fix the local variable issue. 2014-03-19 18:34:02 -07:00
Marcus Sorensen 8fc6e263b3 now fix MY root resize test, which passes 0 in one test... 2014-03-14 07:40:12 -06:00
Marcus Sorensen 345fc3c8ec Change newly added details map for deployVirtualMachine to an empty
map, instead of passing all possible keys as empty values
2014-03-14 07:18:06 -06:00
Marcus Sorensen d638d04cbf CLOUDSTACK-6181: Merge of resize root feature (resize-root branch) 2014-03-14 07:17:33 -06:00
Hugo Trippaers 4402685e11 Update master to 4.5.0-SNAPSHOT 2014-03-14 14:55:26 +01:00
Murali Reddy 015b667c6a integration tests for VPC's enabled for distributed routing 2014-03-14 16:56:38 +05:30
Min Chen 99bdc8d875 Merge branch 'master' into rbac. 2014-03-13 11:05:03 -07:00
SrikanteswaraRao Talluri fd1b983d03 CLOUDSTACK-6222: Fix the marvin config generator scripts to include
new syntax changes in marvin code and fix the logFolderPath

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>

Conflicts:
	tools/marvin/marvin/configGenerator.py
2014-03-11 16:13:45 +05:30
SrikanteswaraRao Talluri 991e1eb6b1 CLOUDSTACK-6222: Fix the marvin config generator scripts to include
new syntax changes in marvin code and fix the logFolderPath
2014-03-11 16:09:01 +05:30
Sanjay Tripathi c7d31fe288 CLOUDSTACK-4760 : Enabling GPU support for XenServer.
CLOUDSTACK-4762 : Enabling VGPU support for XenServer.

This feature is to enable the GPU-passthrough and vGPU functionality,
with the help of this feature, admins/users will be able to leverage
the GPU graphics unit power by deploying a virtul machine with GPU or
vGPU support or by changing the service offering of an existing VM
at any later point of time. There GPU/vGPU enabled VMs are able to run
graphical applications.
For now, this feature is only supported with XenServer hypervisor but
can be extended to add the support of other hypervisors.
2014-03-11 15:44:51 +05:30
sanjeevneelarapu 4eece72eb1 Bug-Id: CS-19455 Add support for Hyper-v in regression test test_routers.py
Signed-off-by: sanjeevneelarapu <sanjeev.neelarapu@citrix.com>
2014-03-10 18:12:21 +05:30
Gaurav Aradhye 3f7b628c70 CLOUDSTACK-6147: Adding first set of test caess for Dynamic Compute Offering feature
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-03-10 11:20:44 +05:30
Gaurav Aradhye 3b3ae02459 CLOUDSTACK-5626: Simplifying VM Migrate code
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-03-10 11:18:26 +05:30
Min Chen 48e08fe676 Merge branch 'master' into rbac. 2014-03-06 14:02:20 -08:00
vetrivelc 182c31899b Externalized the hardcodedstrings from UI JAVASCRIPT files. 2014-03-05 14:11:51 -08:00
Min Chen 91882e26bf List VM marvin test fix. 2014-03-03 17:26:16 -08:00
Min Chen ae9be657e4 Fix IAM VM marvin test. 2014-02-28 17:33:10 -08:00
Daan Hoogland 9b26ca20fc build recent systemvm[64]templates 2014-02-27 17:48:18 +01:00
Daan Hoogland c1aa3a3f1a strip leading spaces from path 2014-02-27 16:11:52 +01:00
Min Chen 9f47466fea Fix some issues in renaming iam api, also fix marvin library. 2014-02-26 17:30:34 -08:00
Santhosh Edukulla 4a0e95cf5b CLOUDSTACK-6164: Added few changes for CLOUDSTACK-6164 2014-02-26 17:03:22 +05:30
Santhosh Edukulla 23e059b1b9 CLOUDSTACK-5674: Added few changes for CLOUDSTACK-567 2014-02-26 10:42:45 +05:30
Santhosh Edukulla bf77e9d669 CLOUDSTACK-6160: Changes to marvin apiclient
Removed apiclient.hypervisor references. More details in the bug
Few other changes pending for this related to VirtualMachine.create
need to be cleaned up
2014-02-24 18:56:46 +05:30
Santhosh Edukulla d06f2b6a70 CLOUDSTACK-6158: Fix few changes 2014-02-24 18:55:41 +05:30
Min Chen b78cb2284a Add marvin integration test for list VM. 2014-02-21 15:35:48 -08:00
Hugo Trippaers ac00ab0087 Cleanup all mysql dependencies and set all to provided. 2014-02-21 14:55:11 +01:00
Ashutosh K 2091211c28 CLOUDSTACK-2232: Adding automation test cases for Persistent Networks feature 2014-02-21 17:46:14 +05:30
Hugo Trippaers 5e717cbb89 Fixed on master for jenkins buildslave 2014-02-19 16:21:43 +01:00
Girish Shilamkar 47c5b63881 CLOUDSTACK-5674: Fixed all BVTs and some marvin functions 2014-02-19 16:33:42 +05:30
Hugo Trippaers fefddc0624 Dynamically detect the current branch and remove the build date from the systemvm name. This makes it easier to push them to the download location automagically. 2014-02-19 09:36:03 +01:00
Ashutosh K 860b020950 CLOUDSTACK-4840: Adding first set of test cases for Multiple IPs per NIC feature 2014-02-18 15:51:57 +05:30
Girish Shilamkar f0eb184d8a CLOUDSTACK-5674: Fix get_domain and remove dependency on ostype in get_template 2014-02-13 19:57:04 -05:00
Santhosh Edukulla c0d8b9e334 CLOUDSTACK-5674: getZoneForTests should return None if zone is "NA" in test_data.py 2014-02-14 10:45:14 +05:30
Girish Shilamkar f3364ca6a4 CLOUDSTACK-5674: Add missing test_data.py 2014-02-12 17:52:50 +05:30
Santhosh Edukulla c78292e9cd CLOUDSTACK-6082: Add alternate zone creation under deploy DC 2014-02-12 17:35:19 +05:30
Santhosh Edukulla 3dbb2ae488 CLOUDSTACk-5674: Added fix for CLOUDSTACK-5674 2014-02-12 17:34:34 +05:30
Santhosh Edukulla 7cc9423b8d CLOUDSTACk-5674: Added few misc changes to make it work. 2014-02-12 17:33:13 +05:30
Girish Shilamkar c1d34369aa Revert "CLOUDSTACK-5674: Few fixes"
This reverts commit e6b93b0a68.
2014-02-12 17:27:47 +05:30
Girish Shilamkar e6b93b0a68 CLOUDSTACK-5674: Few fixes 2014-02-11 14:54:46 +05:30
Girish Shilamkar 995e3f5b5d Revert "CLOUDSTACK-5674: Few new fixes"
This reverts commit 3493f17bad.
2014-02-11 12:36:07 +05:30
Girish Shilamkar 3493f17bad CLOUDSTACK-5674: Few new fixes 2014-02-09 16:04:31 -05:00
Marcus Sorensen ce6539bd43 add new devcloud-kvm config 2014-02-09 00:20:01 -07:00
Marcus Sorensen df77c4310a CLOUDSTACK-6103: Pass VM iso information along with
PrepareForMigrationCommand, so that destination hypervisor can
mount pool. This further exposed an issue for KVM where iso
was not getting cleaned up upon successful migration, fixed as well.
2014-02-14 00:34:48 -07:00
Ashutosh K 899ad17393 CLOUDSTACK-5978: Changes in get_template function to make it
independent of ostype passed through test case
2014-02-10 12:38:09 +05:30
Gaurav Aradhye d44c850445 CLOUDSTACK-5959: Fixed cascading failures in portable IP test cases 2014-02-10 12:34:17 +05:30
Min Chen 3b58a45e04 Merge branch 'master' into rbac. 2014-02-07 13:43:36 -08:00
Hugo Trippaers 28ac2f758e Every tar has it's own way of doing things 2014-02-05 11:48:53 +01:00
Hugo Trippaers 3df97bd663 Sync systemvm and systemvm64 build instructions 2014-02-05 11:21:23 +01:00
Hugo Trippaers 0ce488849d CLOUDSTACK-5932: update the definitions with the new debian version 2014-02-05 10:52:36 +01:00
Abhinandan Prateek 18191ce79a CLOUDSTACK-5932: updated script with the valid iso download urls 2014-02-05 10:38:26 +01:00
Prachi Damle f84375442e Merge branch 'master' into rbac
Conflicts:
	api/src/org/apache/cloudstack/api/command/user/autoscale/ListAutoScaleVmProfilesCmd.java
	api/src/org/apache/cloudstack/api/command/user/volume/ResizeVolumeCmd.java
	plugins/network-elements/juniper-contrail/test/org/apache/cloudstack/network/contrail/management/MockAccountManager.java
	server/src/com/cloud/api/ApiServer.java
	server/src/com/cloud/api/query/QueryManagerImpl.java
	server/src/com/cloud/template/TemplateAdapterBase.java
	setup/db/db/schema-430to440.sql
	tools/apidoc/gen_toc.py
2014-02-04 12:07:32 -08:00
Santhosh Edukulla 286afda5d6 CLOUDSTACK-5980: Fix test case failing with "Error reading SSH protocol banner" ssh error 2014-02-04 15:45:45 +05:30
Santhosh Edukulla bf72441d13 CLOUDSTACK-6006: Remove integration folder and lib 2014-02-04 12:01:58 +05:30
Santhosh Edukulla a908b8d94b CLOUDSTACK-5793: Fixed few issues related CLOUDSTACK-5973 2014-02-04 11:23:10 +05:30
Abhinandan Prateek d578d7ef85 update packages list before getting jre 7
(cherry picked from commit 5121f8cd4e)
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2014-01-31 09:42:31 +01:00
Abhinandan Prateek 0685371179 updating the jre to version 7 on system vms
(cherry picked from commit fc2e7ec70a)
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2014-01-31 09:41:41 +01:00
Alena Prokharchyk 13e6c2fe72 Fixed API doc that got broken by adding new commands for stratosphere ssp plugin
Conflicts:
	tools/apidoc/gen_toc.py
2014-01-30 11:01:03 -08:00
Girish Shilamkar df58f51e33 Merge remote-tracking branch 'origin/master' into marvin 2014-01-29 14:20:04 +05:30
Santhosh Edukulla d057585128 CLOUDSTACK-5948: Fixes to BVT test_volumes.py
1. Added a generic way of verifying isk volumes.
2. Now, detach volume is called post the assert.
3. Added a sleep post detach volume to facilitate list volumes to have some time for detach operation.
4. Added a fix for a log check.
2014-01-29 10:36:23 +05:30
Girish Shilamkar 226df296d0 CLOUDSTACK-5674: Some fixes to marvin and resultant changes to tests. 2014-01-28 02:11:24 -05:00
Girish Shilamkar 7305063fb4 CLOUDSTACK-5925: get_*() functionality changed in marvin, changed BVT too. 2014-01-28 11:12:24 +05:30
Hugo Trippaers c2da280347 Add a zipped version of the hyperv image that we can store in the archives on the jenkins server 2014-01-23 09:06:33 +01:00
Min Chen 33cd1ab921 Merge branch 'master' into rbac 2014-01-22 11:23:51 -08:00
Santhosh Edukulla edfd2b6799 CLOUDSTACK-5764: Some fixes to marvin 2014-01-22 18:34:10 +05:30
Girish Shilamkar 6a2cc9fbd0 CLOUDSTACK-5925: Moved test data from testsuites to marvin/config
Also merged redundant testdata as they were found.
2014-01-22 12:21:07 +05:30
Santhosh Edukulla 9393275611 CLOUDSTACK-5674: Added Fix for CLOUDSTACK-5674,5498,5500 and other issues as
part of cleanup
2014-01-22 12:19:20 +05:30
Min Chen 929fbabaa2 Merge branch 'master' into rbac. 2014-01-17 14:37:08 -08:00
Hugo Trippaers ecf57c368a Adjust values for this version of vbox 2014-01-17 17:23:46 +01:00
Hugo Trippaers 50054fe060 Namespaces are important 2014-01-17 16:00:10 +01:00
Milamber cb7b1dc276 Add Dutch (Netherlands, Polish languages in Web UI Change Japanese code (ja -> ja_JP) Update transifex sync config
Conflicts:
	client/WEB-INF/classes/resources/messages_es.properties
	client/WEB-INF/classes/resources/messages_pt_BR.properties
2014-01-17 11:15:09 +00:00
Alena Prokharchyk dcf9607a46 Fixed code style errors breaking the build 2014-01-16 14:05:20 -08:00
Hugo Trippaers da8ee45a24 Why is the easy solution always to hard 2014-01-16 17:27:13 +01:00
Hugo Trippaers 95a92ad2e3 Fix typo in convert call 2014-01-16 16:41:46 +01:00
Hugo Trippaers 5d24843ef5 Proper cleanup before the next build of the systemvm 2014-01-16 16:03:56 +01:00
Hugo Trippaers bf26efc551 Little hack until we can install xsltproc on the buildslave 2014-01-16 15:33:05 +01:00
Hugo Trippaers 794d47c5f2 CLOUDSTACK-5883 Convert ovf file to proper format for ESXi 2014-01-16 14:43:44 +01:00
Santhosh Edukulla 3a3d8f27dd Fix for CLOUDSTACK-5864
Fixed the mentioned issue.

Signed-off-by: Santhosh Edukulla <Santhosh.Edukulla@citrix.com>
2014-01-15 11:45:58 +01:00
Ashutosh K c108d7f0d0 CLOUDSTACK-2237: Automation-Adding next set of test cases for feature - SG in advanced zone 2014-01-14 14:34:21 +05:30
SrikanteswaraRao Talluri c98ac9aae0 CLOUDSTACK-5113: Fix get_template method to return 'BUILTIN' template in ready state with
matching given ostype
2014-01-10 19:56:38 +05:30
Min Chen c69a412c43 Remove old prepareSecondaryStorageForMigration from gen_toc.py. 2014-01-09 10:12:22 -08:00
Hugo Trippaers 7c8facf3c9 Change checkstyle to run on every sub project, so it will also run when you build an individual module 2014-01-09 17:00:11 +01:00
Hugo Trippaers 1b5f8e21a9 Fix typo 2014-01-09 14:42:34 +01:00
SrikanteswaraRao Talluri 3baf61161a CLOUDSTACK-5846: added updateCloudToUseObjectStore to known_category dict in gen_toc.py
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2014-01-09 18:44:04 +05:30
Hugo Trippaers d56a962445 Radvd is needed in the template so we can start testing with IPv6 2014-01-09 12:33:55 +01:00
Gaurav Aradhye b98c0ee809 CLOUDSTACK-5630: Fixed snapshots' test cases 2014-01-08 17:16:06 +05:30
SrikanteswaraRao Talluri 249993b2f1 CLOUDSTACK-5113: Fix get_template method to return 'BUILTIN' template
by default
2014-01-07 17:41:36 +05:30
Ashutosh K 4d9b95e13d CLOUDSTACK-2237: Automation - Adding new test cases for security group in advanced zone feature 2013-12-27 16:06:34 +05:30
Rajesh Battala fc306d13bf CLOUDSTACK-5602 cloudstack-release file in systemvm for hyperv is showing the release as 4.2. It should be 4.3
CLOUDSTACK-5538 additional libraries requires in systemvm for console proxy to work in HyperV
2013-12-27 14:58:23 +05:30
Girish Shilamkar b544669a84 CLOUDSTACK-5497: Fix test_guest_vlan_range.py to get free vlan range 2013-12-24 11:11:17 +05:30
Daan Hoogland 3da5de545e create a (mini-)branch instead of creating a commit to revert 2013-12-23 14:35:29 +01:00
Gaurav Aradhye a160b46cd4 CLOUDSTACK-4780: Changes related to checking snapshot path
on NFS server, also made marvin import paths specific
2013-12-23 17:58:51 +05:30
Girish Shilamkar fde14bcc32 Revert "CLOUDSTACK-4780: Changes related to checking snapshot on NFS server"
This reverts commit 33fb241fdf.
2013-12-21 12:47:32 +05:30
Alex Huang c2baed665b Moved the check-style.xml into the tools directory given that we're not using the project to reference the style any longer. Fixed problems with eclipse complaining about copy-dependencies 2013-12-20 17:21:34 -08:00
Gaurav Aradhye 33fb241fdf CLOUDSTACK-4780: Changes related to checking snapshot on NFS server 2013-12-19 10:21:33 +05:30
Alena Prokharchyk eb9147f709 Fixed code style errors in cloud-apidoc project 2013-12-12 16:39:02 -08:00
SrikanteswaraRao Talluri 8374ff591d CLOUDSTACK-5449: fixed pep8 errors
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2013-12-12 17:10:37 +05:30
Abhinandan Prateek bbeb164abf CLOUDSTACK-5259: added 32 bit support for vhd-util 2013-12-12 14:48:08 +05:30
Santhosh Edukulla e498bf00d4 CLOUDSTACK-5443: Fixed the issue. 2013-12-11 19:37:29 +05:30
Santhosh Edukulla ab025f0269 Fixed CLOUDSTACK-5436
Fixed few RAT issues reported for new additions of files to repo.
Signed-off-by: Santhosh Edukulla <Santhosh.Edukulla@citrix.com>
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-12-11 15:33:52 +05:30
SrikanteswaraRao Talluri a9d96aff06 CLOUDSTACK-5449: fix the log creation failure case and added an option
for user to provide --log-folder-path=

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2013-12-11 01:57:44 +05:30
Santhosh Edukulla 3144e01c13 CLOUDSTACK-5423: Fixed 5423 2013-12-10 20:25:23 +05:30
Girish Shilamkar a55f108285 CLOUDSTACK-5405: Changed marvin to create sg in account into which vm is deployed 2013-12-10 00:27:49 -05:00
tuna 015ab6af8a fix rebase master 2013-12-09 23:33:14 +07:00
tuna d935d3865a tuna 2013-12-09 23:33:14 +07:00
Santhosh Edukulla 6b70a6db94 CLOUDSTACK-5413: Fixed bug CLOUDSTACK-5413 2013-12-09 19:45:22 +05:30
Santhosh Edukulla 5cbda8b64a CLOUDSTACK-5269: Fix nose failures. 2013-12-09 19:36:10 +05:30
Santhosh Edukulla a2e4fdbd5a Moving build scripts maintained in separate repo to cloudstack repo 2013-12-09 19:28:08 +05:30
Girish Shilamkar 2368b6de68 Added files missed in cafd820e3e 2013-12-07 13:43:18 +05:30
Santhosh Edukulla cafd820e3e Enhanced few features under Marvin
Added few enhancements to marvin.
Added new module for Logging Facility to marvin.
Added new Init facility to marvin.
Currently, there are multiple ways we are doing logging
Removed few unwanted logging cases.
Removed few command line switch options for logging.
The new way of logging now provides consolidated logging
under one single folder timestamped under the configured
folder path.
Removed parsing configuration from deploydata center
Added parsing,start logging and deploy as part of init
Added new error handling facility to catch unknown exception from
test cases. Currently, lot of scripts are throwing unknown
exceptions, add a handler to plugin to dump them to a file

ToDO:
Will do clean up in phase2 for this patch.
Separate deployDatacenter from creating test client.
Clean up configGenerator
2013-12-06 12:01:53 +05:30
Rajesh Battala 9d50b0bb68 Adding cifs support to systemvm 64bit to support Hyperv 2013-12-04 15:53:27 +05:30
Girish Shilamkar c39bc04be6 CLOUDSTACK-5337: Trimming account name (username) to 99 characters 2013-12-03 15:59:42 +05:30
Rajesh Battala 4a61e928c4 Added hv kvp daemon support for 64 bit systemvm template to support system vms to run on HyperV. hv_kvp daemon is used to pass the boot args from host to the guest. 2013-12-03 12:17:09 +05:30
Gaurav Aradhye 2ba27db0ce CLOUDSTACK 2233: Automation test cases for Add Remove Networks to VM
Signed-off-by: Girish Shilamkar <girish@clogeny.com>
2013-11-25 13:15:49 +05:30
Alex Huang 433a631916 Reformat of source code to set a stable base for the future. I couldn't get checkstyle enabled. There's still about a thousand errors from checkstyle. Most of it from length errors from comments and strings. Will attempt to remove those tonight. This change is so large I just want to get it in before any merge nightmares. The changes are fairly minor though and I did a full compile and start a server with the reformat code. 2013-11-21 07:56:47 -08:00
Hugo Trippaers cf715ff491 Bump 4.3.0 to 4.4.0 in master 2013-11-21 16:01:15 +01:00
Alex Huang 224f479974 Removed trailing spaces 2013-11-21 04:08:01 -08:00
Alex Huang e4b22d0fca Replace all tabs, particularly the ones in the comments 2013-11-21 03:39:58 -08:00
Gaurav Aradhye 6aca7de291 CLOUDSTACK-5215: Correcting and refactoring code related to
getting free vlan
2013-11-21 10:53:27 +05:30
Girish Shilamkar 0b8cc9705f Fix marvin to refer to correct random_gen() function 2013-11-15 17:13:12 +05:30
Gaurav Aradhye c141e418e9 CLOUDSTACK-5180: Increasing the timeout for uploading volume 2013-11-15 16:23:18 +05:30
Milamber 4f302c124e Add 4.3.x messages.properties to Transifex config tool 2013-11-15 09:15:11 +00:00
Ashutosh K 401e0ca0ba Including tests for VPC VM Lifecycle on Tagged hosts 2013-11-13 21:56:51 +05:30
Jayapal 553a9ab853 CLOUDSTACK-4958 Removing installing monit from the postinstall.sh template script
Monit is AGPL package so removing it from the script which installs in template
2013-11-13 15:15:31 +05:30
Santhosh Edukulla aebbb15a64 Fixed a connection issue under asyncmgr.
Fixed a connection issue under asyncmgr.
Added __init__.py files to directory to make it
a package.This file was missing under few directories and
so not appearing as packages while refactoring.
Adding one None Check
2013-11-11 16:55:09 +05:30
Santhosh Edukulla 175ead4ea9 CLOUDSTACK-5121: There was one wrong initialization of cloudstackConnection.
The bug mentioned is causing test cases to fail.

Signed-off-by: Santhosh Edukulla <Santhosh.Edukulla@citrix.com>
2013-11-11 10:26:32 +05:30
Wei Zhou 09ca263afd fix apidocs build error 2013-11-08 16:02:59 +01:00
SrikanteswaraRao Talluri 1e57f1cee7 Modified remoteSSHClient references to SshClient 2013-11-08 19:50:22 +05:30
SrikanteswaraRao Talluri 011b87eadc fixed indentaion problem in utils.py :359
Conflicts:
	tools/marvin/marvin/integration/lib/utils.py
2013-11-08 18:05:05 +05:30
Santhosh Edukulla c7fe212c3b CLOUDSTACK-5099: Utils.py-has-wrong-reference, cleaned it. As well added Uniform naming convention
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2013-11-08 16:34:46 +05:30
SrikanteswaraRao Talluri 65b12f45b9 Revert "CLOUSTACK-5099: Utils.py-has-wrong-reference, cleaned it. As well added Uniform naming convention"
This reverts commit ec00a6fb74.
2013-11-08 16:05:30 +05:30
Santhosh Edukulla ec00a6fb74 CLOUSTACK-5099: Utils.py-has-wrong-reference, cleaned it. As well added Uniform naming convention
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2013-11-08 16:02:10 +05:30
Santhosh Edukulla 3342a82f39 Increasing the timeout values to 600 seconds from 300 seconds
Timeout for ssh related test cases is increased based upon
few test run observations where ssh is taking more time during
restart scenarios as an example. We have done few changes to streamline
ssh library. This is in addition to those to keep less ssh script issues

Signed-off-by: Santhosh Edukulla <Santhosh.Edukulla@citrix.com>
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2013-11-08 15:26:44 +05:30
Santhosh Edukulla 089f43a1eb Added fix for bug 5056.
The fix contains fixes related to ssh library majorly.
Complete description should be available under bug
description.

Signed-off-by: Santhosh Edukulla <Santhosh.Edukulla@citrix.com>
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2013-11-08 15:21:13 +05:30
Gaurav Aradhye 3c350ab0b8 CLOUDSTACK-4648: Fixed Snapshots test cases
Fixed following test cases:
1) test_01_volume_from_snapshot
2) test_03_snapshot_detachedDisk
3) test_07_template_from_snapshot

All three test cases are running successfully on XenServer but test cases (01 and 07) failing on KVM due to a common issue.
Product defect logged for this: https://issues.apache.org/jira/browse/CLOUDSTACK-5097

test_03 is running ok on KVM too, the problem was - disk was not getting detached because it was not unmounted before detaching. Added code to unmount the disk.

Signed-off-by: Girish Shilamkar <girish@clogeny.com>
2013-11-08 12:54:20 +05:30
Santhosh Edukulla 1058e3049a CLOUDSTACK-5032 Provides custom assert facility to test features
Added assertElementInList to cloudstackTestCase.
Users can use this new custom addition to add
assertions, thus replacing current multiple assertions

Signed-off-by: Santhosh Edukulla <Santhosh.Edukulla@citrix.com>
2013-11-05 11:06:26 +01:00
Min Chen ce3638bb03 Merge branch 'master' into rbac. 2013-11-04 15:49:29 -08:00
Santhosh Edukulla 58cd71f5c1 Added a verifyElementInList utility function
The purpose is to verify a given element in list
at a given position with few error checks like
list type,empty list and position
Returns appropriate codes based upon the inputs.
Can be used under tests instead of multiple asserts

Signed-off-by: Santhosh Edukulla <Santhosh.Edukulla@citrix.com>
2013-11-01 16:55:07 +05:30
Min Chen 2ef4d5200c Merge branch 'master' into rbac. 2013-10-31 17:16:33 -07:00
Gaurav Aradhye 23499efe42 CLOUDSTACK-4995: Fixed test_reset_ssh_keypair which checks the state of the VM
Signed-off-by: Girish Shilamkar <girish@clogeny.com>
2013-10-31 21:57:57 +05:30
Santhosh Edukulla 0b617a13fd Fixed Bug: 4899
Added Configuration Support to Marvin.

1. It provides the basic configuration facilities to marvin.

2. User can just add configuration files for his tests, deployment
              etc, under one config folder before running their tests.
              cs/tools/marvin/marvin/config.
              They can remove all hard coded values from code and separate
              it out as config at this location.
              Either add this to the existing setup.cfg as separate section
              or add new configuration.
3. This will thus removes hard coded tests and separate
              data from tests.

4. This API is provided as an additional facility under
              cloudstackTestClient and users can get the
              configuration object as similar to apiclient,dbconnection
              etc to drive their test.

5. They just add their configuration for a test,
              setup etc,at one single place under configuration dir
              and use "getConfigParser" API of cloudstackTestClient
              It will give them "configObj".They can either pass their own
              config file for parsing to "getConfig" or it will use
              default config file @ config/setup.cfg.
6. They will then get the dictionary of parsed
              configuration and can use it further to drive their tests or
              config drive
7. Test features, can  drive their setups thus removing hard coded
          values. Configuration default file will be under config and as
              setup.cfg.
8. Users can use their own configuration file passed to
              "getConfig" API,once configObj is returned.

Signed-off-by: Santhosh Edukulla <Santhosh.Edukulla@citrix.com>
2013-10-31 17:54:13 +05:30
Ashutosh Kelkar c53d4e9e14 CLOUDSTACK-2243: Add automation tests for VMs base image
update faclity

Signed-off-by: Girish Shilamkar <girish@clogeny.com>
2013-10-31 14:55:29 +05:30
Gaurav Aradhye 1972d6121d Adding missing test cases: Snapshots Improvement 2013-10-29 23:42:38 +05:30
Daan Hoogland 30aea0b308 forgot about rat 2013-10-29 14:35:45 +01:00
Rajani Karuturi 4c6add84d8 eclipse code formatter settings xml file 2013-10-29 14:03:27 +01:00
Prasanna Santhanam 6a904d2f9b fix pep8
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-10-29 16:19:48 +05:30
Prasanna Santhanam ddf4dfa60a marvin: enable the nose-marvin plugin using the --with-marvin directive
enable the marvin plugin when the --with-marvin directive is given to nose. The
enableOpt value is set from the command line directive and self.enabled
(True|False) determines whether marvin's tests will run.  By default
non-default plugins like marvin will be disabled"

This fixes regression from 03830c5

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-10-29 15:46:50 +05:30
Min Chen 6be228a438 CLOUDSTACK-4024:Provide a way to upgrade from existing NFS secondary
storage to S3.
2013-10-28 21:01:31 -07:00
Santhosh Edukulla 03830c570e Adding few changes and cleaning up the code
- Added few common naming conventions
- Cleanedup code
- Added a simple utility function

Signed-off-by: Santhosh Edukulla <Santhosh.Edukulla@citrix.com>
2013-10-28 12:49:41 +05:30
Santhosh Edukulla b4ceefa469 Adding readable start and end time stamps
Signed-off-by: Santhosh Edukulla <Santhosh.Edukulla@citrix.com>
2013-10-28 11:29:27 +05:30
Abhinandan Prateek 499a8c0915 syncing 64 bit svm scripts 2013-10-24 18:52:13 +05:30
Santhosh Edukulla 0780604503 CLOUDSTACK-4885: basic timing profiler for tests
This will add time taken in seconds along with start and end timestamp
logging facility for test cases.Currently this is not
available for console logs

Signed-off-by: Santhosh Edukulla <Santhosh.Edukulla@citrix.com>
2013-10-24 14:52:53 +05:30
John Kinsella 45e4d4fc3b Summary: Updated sudoers approved commands for cloud user
Detail: Previously the cloud user has full password-less sudo access.
This commit changes that to only allow access to a specific list of
commands. Been tested in production on ACS 4.0 and 4.2 mangement servers.

BUG-ID: CLOUDSTACK-967
Bugfix-for:
Reviewed-by:
Reported-by:
Signed-off-by: John Kinsella <jlk@stratosec.co> 1382560936 -0700
2013-10-23 13:42:16 -07:00
Santhosh Edukulla d4072c6daa Added few changes related to bug 4920. Removed unwanted code
There were few unwanted calls as part of test client, did some clean up
Made the test client API uniform to accept both mgmt and dbsvr details
Did some minor bug fixes as well.

Signed-off-by: Santhosh Edukulla <Santhosh.Edukulla@citrix.com>
2013-10-23 13:53:43 +05:30
Santhosh Edukulla 3f656b0434 The code module represents enum for constant comparison
This module provides facilitation to use uniform codes across various test
features. Users can import this  module and use these codes to maintain
readability and one point of change.

Signed-off-by: Santhosh Edukulla <Santhosh.Edukulla@citrix.com>
2013-10-22 15:38:48 +05:30
Prasanna Santhanam dfa0678fc6 marvin: a1b979da8 breaks formatting and pep8.
setup/dev/advanced.cfg is used by the simulator deployments that are
usually not https. disabled the http within this config file.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-10-22 11:59:14 +05:30
Santhosh Edukulla a1b979da86 CLOUDSTACK-4832. Added support for https to marvin.
advanced.cfg: Contains three additional flags "useHttps,certCAPath,certPath"
for https usage in marvin for establishing cs connection. We will use the
configuraiton under advanced.cfg provided by user to establish connection over
https. If establishing the connection over https failed, then the default certs
will be used.  or else raise the exception, the existing http will work as it
is when useHttps flag set to "False"

Signed-off-by: Santhosh Edukulla <Santhosh.Edukulla@citrix.com>
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-10-22 11:32:10 +05:30
Hugo Trippaers c94c0b53fd Rename the definition to we avoid grep problems as grepping for systemvmtemplate would include systemvmtemplate64 2013-10-17 16:05:11 +02:00
Hugo Trippaers 789438651a Fix systemvm build scripts with the new location of the systemvm patches.
And wondering why they are included here and not in the systemvm.iso.

Also giving the systemvm a little more space to fix the out-of-diskspace error during the build
2013-10-17 14:57:33 +02:00
Gaurav Aradhye 0a8bce5cf6 CLOUDSTACK-4647: Fixed snapshot_gc test case and common util function is_snapshot_on_nfs
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-10-15 13:37:08 +05:30
Anshul Gangwar 7b5daaea20 added support for ispersistent parameter for networkoffering
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-10-15 13:22:42 +05:30
Prasanna Santhanam 52c2bc0baf pep8: fix regression from 10938612cc
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-10-10 17:47:52 +05:30
Daan Hoogland 10938612cc [CLOUDSTACK-4832] no cert verification on https 2013-10-08 17:35:46 +02:00
Darren Shepherd 23ddf29532 Fix vmware code inclusion into systemvm.iso and other random nonoss->noredist 2013-10-07 09:20:41 -07:00
Prasanna Santhanam 5ed493c6e6 pep8: fix recent pep8 violations
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-10-04 14:13:37 +05:30
Min Chen d84d62a1e0 Separate Admin and User command and response for ListVMsCmd. 2013-10-02 17:45:14 -07:00
Gaurav Aradhye b7e00d3700 CLOUDSTACK: 4706 - Adding missing method get_region in common.py
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit 503fe75dc9)
2013-09-30 15:19:58 +05:30
SrikanteswaraRao Talluri 65da24c35e CLOUDSTACK-4691: move egress rules host maintenance tests to maint folder
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit 6b28e03d6d)
2013-09-30 15:12:20 +05:30
Edison Su b3ac12e171 delete snapshot_store_ref if the snapshot is in error state 2013-09-25 15:51:55 -07:00
Wei Zhou 567a05d18a CLOUDSTACK-4726: complete secondary storage configuration in devcloud-advanced.cfg and devcloud-advancedsg.cfg
(cherry picked from commit 9d00a6da65)
2013-09-23 11:10:33 +02:00
Darren Shepherd decc04b294 Run veewee using 'bundler exec'
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2013-09-22 10:56:22 +08:00
Hugo Trippaers 15a97ec412 Cleanup pom.xml in various projects to properly use managed versions and other defaults 2013-09-21 17:21:06 +08:00
Anshul Gangwar 955408166c 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>
2013-09-18 09:21:24 +05:30
Gaurav Aradhye ae1cebf4e9 Automation - Portable Ip feature test cases
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit 23c759ec35)
2013-09-13 17:35:08 +05:30
Prasanna Santhanam a987a8aca1 Fix apidoc build
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-09-11 09:40:48 +05:30
Prasanna Santhanam 433d5839a1 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>
2013-09-09 11:41:13 +05:30
Gaurav Aradhye eb390fba22 CLOUDSTACK-4531: Fixed indent problem with the patch.
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit 751fe8e339)
2013-09-06 21:36:42 +05:30
Marcus Sorensen fd42c90313 Updating devcloud-kvm marvin config to enable InternalLbVM
upon zone deployment.
2013-09-05 22:48:26 -06:00
Sowmya Krishnan 8b5cb374b9 CLOUDSTACK-4487 Fix adding Netscaler service provider if not already done
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit c1ea61a0e7)
2013-09-05 15:08:43 +05:30
Girish Shilamkar 0fb2014d19 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>
(cherry picked from commit 4f3b411d4c)
2013-09-05 10:20:17 +05:30
Ian Duffy bdba0ddeed Bring up to date with master 2013-08-31 00:25:48 +01:00
Prasanna Santhanam 5326833971 Fix pep8 formatting to fix cloudstack-marvin build 2013-08-30 12:40:42 +05:30
Gaurav Aradhye 95e4b7afa8 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>
2013-08-29 14:13:39 +05:30
Girish Shilamkar c6f0d46911 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 14:10:54 +05:30
Prasanna Santhanam 1058654cb4 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 14:10:54 +05:30
Ashutosh Kelkar a7833cdfb4 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:08:37 +05:30
Prasanna Santhanam de770d37ec CLOUDSTACK-4452: Fix the mount format to host:dir
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit eabd53b9719fe38b933efe1169c420c88ad5ecf5)
2013-08-27 15:28:20 +05:30
Sowmya Krishnan f1c6535f6e CLOUDSTACK-4510 Move NS scripts to appropriate suites and related common.py fixes
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit f7df3ef9f1)
2013-08-27 10:59:13 +05:30
Chip Childers b1ee33abc0 Adding httpclient ssl source files to legal documentation
(cherry picked from commit a70708de48)
2013-08-26 12:36:59 -04:00
Prasanna Santhanam 02e7630f1c 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>
2013-08-26 11:10:06 +05:30
Gaurav Aradhye 684573939f CLOUDSTACK-4452 - Fixed method is_snapshot_on_nfs and moved it to utils
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 35ee38385c)
2013-08-26 10:40:44 +05:30
Prasanna Santhanam 4a96740681 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>
(cherry picked from commit 239ba9447109412cf48cfefc547d6b5fef83a4a9)
2013-08-23 17:02:34 +05:30
Prasanna Santhanam b3306497fe 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>
(cherry picked from commit 4b546ce85d40098ade69c575316e76e25a422a12)
2013-08-22 20:20:16 +05:30
Sowmya Krishnan e4b5d4d62e CLOUDSTACK-3927, CLOUDSTACK-3928: Fix NS scripts to add/remove NS device in setupClass/tearDown
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 1c31ee22d4)
2013-08-22 10:27:56 +05:30
Jessica 94849e274a 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:15:42 -07:00
Prasanna Santhanam 7e36dd6be8 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>
(cherry picked from commit 81b5146c8e)
2013-08-21 15:20:27 +05:30
Prasanna Santhanam 61b787975c 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>
(cherry picked from commit 35867ccbd90c824b4faae438dac99400babeff95)
2013-08-13 15:31:43 +05:30
Chip Childers 320663df78 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:36:38 -04:00
Chip Childers b9623155a1 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:53:44 -04:00
Prasanna Santhanam 63f303933a testbuiltin: reduce the root disk size
faster bootup and use less space

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-07 15:47:53 +05:30
Prasanna Santhanam fb58addc35 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>
(cherry picked from commit 4f973778bf6c2bfc7da2b8c785557e86f81af9d5)
2013-08-07 14:33:57 +05:30
SrikanteswaraRao Talluri c853426c76 CLOUDSTACK-4098: Fix the test which deploys a VM from password enabled template.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 64591e65be)
2013-08-06 18:46:44 +05:30
Prasanna Santhanam f37417e365 Fix pep8
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 1060997bcd40282656503a15191abd1814bfe064)
2013-08-05 14:06:51 +05:30
Prasanna Santhanam ccbcee5e00 isportable defaults to False
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-02 22:23:44 +05:30
Gaurav Aradhye 6ef51b4159 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>
(cherry picked from commit 3028f4223b2a00f80159b387e86211effcfeda11)
2013-08-02 16:00:05 +05:30
Chip Childers 8225374138 Updating pom.xml version numbers for release 4.3.0-SNAPSHOT
Signed-off-by: Chip Childers <chipchilders@apache.org>
2013-08-01 10:35:00 -04:00
Prasanna Santhanam d714ce54b5 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>
(cherry picked from commit ec054cde23113baa40ae35c6195bc666d3c1b8d0)
2013-08-01 19:25:37 +05:30
Prasanna Santhanam d31fe92169 Remove unused code
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-01 16:10:57 +05:30
Sheng Yang a3df696fd6 Automation: Fix SSH connection test
And increase default retry to 10 times, each 30 seconds.

Comment out auth exception part because sometime it caused failure when VM
is starting up.

Now we just wait anyway for 5 minutes if it's failing.
2013-07-31 18:28:33 -07:00
Sheng Yang 536c377752 Marvin: Add missing __init__ to StaticRoute 2013-07-31 15:10:39 -07:00
Chip Childers 86aafa2db6 Fixing setnextversion.sh 2013-07-31 11:08:43 -04:00
Prasanna Santhanam cce14f3974 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>
(cherry picked from commit dcbb2fcaa18e3faaf1c0765633300f7d0fa46d2c)
2013-07-31 17:20:35 +05:30
Prasanna Santhanam 476bd93e43 Cleanup the marvin logger
It is useful to have the same logger used in the marvinplugin into the
testcase. The testcase can then append its name to the logger making
the logs specify exactly which test is executing when the logs are
generated

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit c84a2d8801b7898dbfee18e17950cb9fca7d36e7)
2013-07-31 17:20:35 +05:30
Chip Childers 3364e29640 More license header fixes for tools/ngui 2013-07-30 10:06:10 -04:00
Chip Childers aa9cd72418 Fixing license headers within the tools/ngui folder 2013-07-30 10:01:37 -04:00
Prasanna Santhanam 28835054e6 CLOUDSTACK-3921: AssociateIpAddress fails
When you have a method with named parameters, all calls to it should
explicitly pass name=value pairs. Not doing so can result in the wrong
params being passed in the method call. This is a result of the
"services" dictionary being passed into the isportable flag failing the
API signature generation and hence the API call.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-30 15:01:34 +05:30
Sebastien Goasguen 54bca94307 fixing licenses for ngui 2013-07-29 13:40:14 -04:00
Shiva Teja ba83cd7092 [GSOC] Angular based UI
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
2013-07-29 13:32:45 -04:00
Girish Shilamkar 4054a8e2ac CLOUDSTACK-3454: Fix test_portable_publicip
Added isportable param to associateIP API. Fixed base class
for PortableIP tio call portableip APIs.
Removed test_createPortablePublicIPAcquire from basic zone run
requires additional network creation handling which can be done
in component tests.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-29 20:00:08 +05:30
Prasanna Santhanam 97424e2954 CLOUDSTACK-3906: PrivateGw constructor
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit b82c0c9e7b565a2373cf553f8413819afa37d8c3)
2013-07-29 17:11:50 +05:30
Prasanna Santhanam 17b711bd7c CLOUDSTACK-3906: unbound method PrivateGw.create is not @classmethod
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-29 16:57:04 +05:30
Prasanna Santhanam 20e64be8d7 Fix broken pep8 from 1305697eaa
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 8545e6461880dae08a8b3f7d07d9302807982c29)
2013-07-29 15:33:23 +05:30
Prasanna Santhanam ade13bb773 Remove duplicate while-loop retries during ssh
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 53feae08de)
2013-07-29 14:52:07 +05:30
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