28 Commits

Author SHA1 Message Date
dahn
2496e53bbb cloudutils: service is-active output check for "failed" (#3574)
Small change to check for the right output of the system call.

Fixes: #3572
2019-09-10 09:33:42 -07:00
Rohit Yadav
d19629a115 CLOUDSTACK-10013: Fixes based on code review and test failures
This includes test related fixes and code review fixes based on
reviews from @rafaelweingartner, @marcaurele, @wido and @DaanHoogland.

This also includes VMware disk-resize limitation bug fix based on comments
from @sateesh-chodapuneedi and @priyankparihar.

This also includes the final changes to systemvmtemplate and fixes to
code based on issues found via test failures.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-12-23 17:51:42 +05:30
Rohit Yadav
15b11a3b27 CLOUDSTACK-10013: Fix VMware related issues and fix misc tests
This fixes test failures around VMware with the new systemvmtemplate.
In addition:

- Does not skip rVR related test cases for VMware
- Removes rc.local
- Processes unprocessed cmd_line.json
- Fixed NPEs around VMware tests/code
- On VMware, use udevadm to reconfigure nic/mac address than rebooting
- Fix proper acpi shutdown script for faster systemvm shutdowns
- Give at least 256MB of swap for VRs to avoid OOM on VMware
- Fixes smoke tests for environment related failures

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-12-23 09:22:44 +05:30
Remi Bergsma
ca860348dc Merge pull request #1033 from Carles-Figuerola/centos-7-redhat-release
CLOUDSTACK-9029: Proper support to identify CentOS 7 version numberhttps://issues.apache.org/jira/browse/CLOUDSTACK-9029

* pr/1033:
  CLOUDSTACK-9029: Proper support to identify CentOS 7 version number

Signed-off-by: Remi Bergsma <github@remi.nl>
2015-11-09 16:54:38 +01:00
Carles Figuerola
3ce420c367 CLOUDSTACK-9029: Proper support to identify CentOS 7 version number 2015-11-04 11:21:47 -06:00
Remi Bergsma
0a320c18d4 CLOUDSTACK-8443: detect CentOS 7.x as RHEL 7 alike 2015-08-24 15:51:14 +02:00
Kishan Kavala
983a3b80e2 CLOUDSTACK-7568, CLOUDSTACK-7569: Use systemctl for managing services in RHEL7. chkconfig --del doesn't work in RHEL7. 2014-09-17 17:55:07 +05:30
Kishan Kavala
75d01971e8 CLOUDSTACK-7546: cloudstack-setup-agent considers distro as RHEL5 if no conditions match. Add check to identify RHEL7 distro and consider it as RHEL6. If there is anything specific required for RHEL7, it can be added later 2014-09-16 21:03:01 +05:30
Hiroaki KAWAI
6ade5da25f CLOUDSTACK-1642: Add support CentOS 6.4
Fix the test string to match against "CentOS 6.x"
2013-03-26 13:16:37 +09:00
Noa Resare
fe9df2186b Have cloud-setup-* tools detect Debian
To minimize this change, treat Debian as Ubuntu for now.

Reviewed-by: Wido (https://reviews.apache.org/r/9310)
2013-02-25 12:32:25 +05:30
Edison Su
0b60c0d3c9 CLOUDSTACK-995: fix failed to detect centos 6.2 2013-01-17 11:05:03 -08:00
Noa Resare
127867cc99 Improved handling of unknown OS, Distribution
Introduce UnknownSystemExcpetion to indicate that the system is
is unknonwn. Catch said exception in cloud-setup-management,
print an error and exit.

CLOUDSTACK-966: Improve error reporting when running on unknown OS / version

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-01-13 15:08:04 +05:30
Marcus Sorensen
9cc5c8e46d add CentOS 6.3 to cloud-setup-agent
Signed-off-by: Edison Su <sudison@gmail.com>
2012-09-14 11:21:07 -07:00
Chip Childers
da45ae1150 Fixing license headers in the python folder 2012-08-20 11:23:41 -04:00
frank
2f634c0913 Switch to Apache license 2012-04-03 04:50:05 -07:00
Edison Su
ace7d63a25 detect centos 6.2 2012-01-25 16:02:08 -08:00
Edison Su
e38407cb7e fix adding host on ubuntu
Reviewed-by:frank
2011-09-23 14:40:57 -07:00
Edison Su
fd759c60df bug 11458: stop cgconfig before start libvirtd, "service cgconfig status" returns "Running" instead of "running", then cloud-setup-agent doesn't stop it
status 11458: resolved fixed
2011-09-15 14:38:04 -07:00
frank
2f3635c312 add sudo when configuring ubuntu management server 2011-09-12 16:44:32 -07:00
frank
f19e9252a4 use ufw to configure iptable in ubuntu for mgmt server ports 2011-09-12 16:44:20 -07:00
Edison Su
c59d843cc5 detect centos 6.0 2011-08-30 10:35:31 -07:00
Edison Su
ea07dff22e bug 11024: fix a typo
status 11024: resovled fixed
2011-08-09 10:53:29 -07:00
Edison Su
a2493b5852 add scientific linux 6 and centos 6 2011-08-09 10:53:26 -07:00
Edison Su
a89f7c0866 fix cloud-setup-agent, if selinux is disabled, should return successful, instead of raise an exception 2011-07-18 17:50:07 -07:00
Edison Su
55c39444b1 bug 9985: add more checking during setup cloudzone: host os must be ubuntu 10.04, 64bit, free disk space must be larger than 30G, memory must be larger than 1G
status 9985: resolved fixed
2011-07-08 13:30:27 -07:00
Edison Su
c8d6d51011 fix ubuntu reboot issue, sometimes when you install agent, the init script is not installed into /etc/rc* 2011-07-08 13:02:38 -07:00
Edison Su
0b6fe0523d fix setup-managment script 2011-05-09 13:21:34 -04:00
Edison Su
cbf2b03e31 refactore cloud related tools 2011-05-06 19:54:52 -04:00