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