Commit Graph

146 Commits

Author SHA1 Message Date
Rohit Yadav 66e3f30002 systemvmtemplate: 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.

Manually picked from commit 95e7673
PR #254

(cherry picked from commit 5921c493c8)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-05-18 23:20:18 +01:00
Rohit Yadav 387a52e6b4 Revert "appliance: build timeout fails on bzip-ing vmdk file, comment it"
This reverts commit 0d8085e9b9.
2015-05-01 16:45:17 +02:00
Rohit Yadav 0d8085e9b9 appliance: build timeout fails on bzip-ing vmdk file, comment it
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-05-01 12:19:07 +02:00
Rohit Yadav 24e03cf0d1 systemvmtemplate: use archived Debian 7.8.0 iso links
This fixes Jenkins build

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-04-29 18:09:48 +02:00
Rohit Yadav 244c361b50 appliance: remove any stale raw.img file
This fixes a common build issue

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-25 17:25:11 +05:30
Rohit Yadav 33744ed658 appliance: build systemvm template for KVM compatible with older qemu
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-25 17:23:26 +05:30
Rohit Yadav dd55207c52 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>
(cherry picked from commit a80522acf2)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-23 21:44:31 +05:30
Rohit Yadav f1cccf6fec 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:33 +05:30
Rohit Yadav 15dd76c4c7 appliance: fix missing statement
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit a3fa59eaf1)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-01-28 23:14:36 +05:30
Rohit Yadav 44b4f3d8ee appliance: upgrade systemvm to latest packages
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit eca528dec7)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-01-28 23:13:22 +05:30
Rohit Yadav 4752c1e6af appliance: use latest debian 7.8
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 61563d71ed)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	tools/appliance/build.sh
2015-01-28 18:11:28 +05:30
Joris van Lieshout 28ff60e74a 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-12-12 11:37:16 +01:00
Rohit Yadav ab64ff1066 appliance: move built zip files to dist/
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	tools/appliance/build.sh
2014-12-11 20:32:36 +05:30
Rohit Yadav 99261fb112 systemvmappliance: upgrade debian iso, openswan crashes with old kernel
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-12-11 19:58:35 +05:30
Harikrishna Patnala ccc8c33896 CLOUDSTACK-7658: Upgrading debian packages as part of system vm template build
Signed-off-by: Jayapal <jayapal@apache.org>
2014-12-11 19:57:16 +05:30
Rohit Yadav a458383d0a CVE­2014­3566: Avoid using SSLv3 on apache2 that runs on SSVM
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-06 20:36:43 +05:30
Rohit Yadav 3a0f155028 appliance: fix newer debian iso links and checksums for debian
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit ac5309b8b4)

Conflicts:
	tools/appliance/definitions/systemvm64template/definition.rb
	tools/appliance/definitions/systemvmtemplate/definition.rb
2014-09-10 12:41:37 +02:00
Harikrishna Patnala 781a8f5c3c 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
(cherry picked from commit 2dfd278625)
2014-08-31 19:58:37 +02:00
Rohit Yadav edb5650c73 appliance: box commands for dumb bash in cleaning branch name, in build.sh
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-08-08 21:23:25 +02:00
Rohit Yadav bbaefb8e5d appliance: fix branch finding method from e16414e even Junio can be wrong
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-08-08 20:27:00 +02:00
Rohit Yadav e16414e56d 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>
2014-08-08 19:20:45 +02:00
Rohit Yadav 493c0a68d2 appliance: change the way we find git branch in build.sh
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-08-08 15:42:53 +02:00
Daan Hoogland d29df43c79 add build_date for trouble shooting user-version issues 2014-08-08 15:27:35 +02:00
Daan Hoogland 00265fba34 did git change it output format since this script was made? 2014-08-08 15:22:30 +02:00
Daan Hoogland 19eb06bd3e version to 4.4.1 on remaining modules 2014-07-26 20:35:31 +02:00
Joris van Lieshout 1e35431dec 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>
(cherry picked from commit bfccf439cf)
(cherry picked from commit af4e868547)
2014-06-10 16:28:22 +02:00
rayeesn b4021284b8 CLOUDSTACK-6392: system template always create with name master instead of specific branch
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2014-05-30 09:45:38 +02:00
Ian Duffy ec28b2bc27 Resolve issue with build script for systemvm hanging due to libssl waiting on a input prompt caused by apt-get update 2014-05-23 10:16:13 +02:00
ynojima b44266a3f4 bugfix: systemvm template build failed
since newer vboxmanage generates $appliance-$branch-vmware-disk3.vmdk
2014-05-22 10:18:45 +02:00
ynojima 866e73df66 CLOUDSTACK-6614 bugfix: systemvm template build failed because of src iso link is broken 2014-05-14 09:20:37 +02:00
rayeesn a5261cee3f CLOUDSTACK-6390: System vm failed to build with openssl installation error provided fix to skip interactive installation 2014-04-11 11:02:08 -07: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
Hugo Trippaers 5e717cbb89 Fixed on master for jenkins buildslave 2014-02-19 16:21:43 +01:00
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
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
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
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
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
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