Commit Graph

98 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 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 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 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
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
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 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
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 1b5f8e21a9 Fix typo 2014-01-09 14:42:34 +01:00
Hugo Trippaers d56a962445 Radvd is needed in the template so we can start testing with IPv6 2014-01-09 12:33:55 +01:00
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
Abhinandan Prateek bbeb164abf CLOUDSTACK-5259: added 32 bit support for vhd-util 2013-12-12 14:48:08 +05:30
Rajesh Battala 9d50b0bb68 Adding cifs support to systemvm 64bit to support Hyperv 2013-12-04 15:53:27 +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
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
Abhinandan Prateek 499a8c0915 syncing 64 bit svm scripts 2013-10-24 18:52:13 +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
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
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 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
Prasanna Santhanam 0f7870332a CLOUDSTACK-3797: Fix wget installation of xs-tools in to the builtin
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-27 00:02:28 +05:30
Prasanna Santhanam 4bf7abcbe9 CLOUDSTACK-3797: remove duplicate packages from base.sh already in postinstall.sh
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-27 00:02:28 +05:30
Prasanna Santhanam 26a0fd5af9 CLOUDSTACK-3797: Builtin appliance definition using veewee
This appliance will be used for testing purposes only. The appliance
will replace the built-in in a test environment before deployment.

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

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-26 17:34:00 +05:30
Prasanna Santhanam b020bcfb49 CLOUDSTACK-2481: SystemVM template 64-bit patched with vhd-util
This allows a template of a snapshot operation

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 337811dd810e413238a012381ae1c84d1e1fac7c)
2013-07-13 10:43:58 +05:30
Edison Su d51fa1c063 set vhd-util executable 2013-07-12 10:59:38 -07:00
Prasanna Santhanam 4591f94a0b Debian 7.0.0 in archives
Debian released 7.1 and moved the old image to archives. Updated with
the archives link to the -netinst image.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-22 16:25:22 +05:30
Edison Su 5456d0d85e CLOUDSTACK-2481: add vhd-util in system vm template 2013-06-20 17:51:38 -07:00
Chiradeep Vittal cb80ae2440 Debian repository (backports) now has latest haproxy, re-introduce into systemvm 2013-06-07 17:29:14 -07:00
Shane Witbeck 5fa1ad518f fix for incorrect secondary dns 2013-06-05 17:21:44 -04:00
Abhinandan Prateek 3000cb31af CLOUDSTACK-2434: Enable irq balance on system VM 2013-05-30 17:35:30 +05:30
Nitin Mehta c11dbad9c9 merge master 2013-05-11 15:28:43 +05:30
Rohit Yadav 81e1ba3bb4 appliance: Don't mkdir 70-persistent-net.rules for systemvms
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-04-19 09:05:42 +05:30