Commit Graph

222 Commits

Author SHA1 Message Date
Wei Zhou e14bd03da5 CLOUDSTACK-1749: change cloud service name in systemvm
(cherry picked from commit 78b912e38f)
2013-09-19 10:54:44 +02:00
Kelven Yang 71b8f6061f CLOUDSTACK-4376: fix cloud-early-config to workaround vSwitch stall in VPC mode. fix potential NPE in DirectAgentAttache in processing answers from resource 2013-09-04 14:49:45 -07:00
Sheng Yang 495259132c CLOUDSTACK-4601: Add PATH for cron job of check_heartbeat.sh
Also fix a typo in the script template.
2013-09-03 16:55:27 -07:00
Sheng Yang 8daf3e3c23 CLOUDSTACK-1670: Fix multiple nic routing issue when dhcp_release available
dnsmasq.conf need to contain /etc/dhcpopts.txt from the beginning, otherwise
SIGHUP won't make dnsmasq reload the dhcpopts.txt, thus result in multiple nics
user VM get router information from all DHCP offers.
2013-08-22 19:20:04 -07:00
Jayapal a5ada3f363 CLOUDSTACK-4199 Fixed redundant router fail over
When master router down, the back up router is entered into FAIL state
but it supposed to enter into master.
This issue is happening because the the enable_pubip.sh script triying to
ifdown and ifup the eth2 interface. Which is failed. So master.sh script got
failed. Fixed by doing ifdown force
2013-08-20 17:33:22 +05:30
Bharat Kumar 66d7615065 CLOUDSTACK-4132 current dnsmasq config does not allow guest virtual machines(clients) to update its hostnames with a DNS server
Introducing the option dhcp-client-update fails if the dnsmasq version is less than 2.6 (like in older templates).
Added a check for the version in cloud-early-config. will add dhcp-client-update option in the config file only
if the dnsmasq version is 2.6 and above.

Signed-off-by: Jayapal <jayapal@apache.org>
2013-08-19 11:15:06 +05:30
Abhinandan Prateek 9de9dec6e3 Revert "CLOUDSTACK-4132 Added the dnsmasq setting update-dhcp-clent to enable clients to update DNS records"
This reverts commit 5ca4429dab.
2013-08-17 08:39:25 +05:30
Bharat Kumar 5ca4429dab CLOUDSTACK-4132 Added the dnsmasq setting update-dhcp-clent to enable clients to update DNS records
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-08-16 11:10:06 +05:30
Bharat Kumar 78abebae28 CLOUDSTACK-4231 make apache server listen on all the ipaliases to provide access to meta-data.
Signed-off-by: Jayapal <jayapal@apache.org>
2013-08-12 17:32:19 +05:30
Sheng Yang 9278b2c343 CLOUDSTACK-3357: Add domain and local parameter for VPC dnsmasq.conf
Fix DNS failure for internal guest vms.
2013-07-29 18:24:44 -07:00
Bharat Kumar 62d84d119a Cloudstack-3882 remove duplicate entres of dataserver from /etc/hosts
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-29 17:50:02 +05:30
Saksham Srivastava a10861a57b CLOUDSTACK-3874: Adding method to cloud-early-config to allow updation of systemvms log rotation
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-27 15:38:39 +05:30
Bharat Kumar e14f5d0aeb Cloudstack-3694 Dnsmasq rewrite in bash
(Sheng: Fix typo, fix log and error message, remove 'set -x' in script)

Signed-off-by: Sheng Yang <sheng.yang@citrix.com>
2013-07-24 14:00:31 -07:00
Jayapal 5dd1116402 CLOUDSTACK-3623 Enabled rps, rfs on vpc VR 2013-07-24 16:56:09 +05:30
Sheng Yang f50908341b CLOUDSTACK-3652: Increase maximum connections of sshd server to 1000
In order to meet parallel deployment's requirement.
2013-07-18 19:33:35 -07:00
Jayapal 2d6644d961 CLOUDSTACK-2433 Enable rps and rfs in virtual router 2013-07-17 16:59:59 +05:30
Bharat Kumar 6b549074fa Cloudstack-3313 Cannot deploy vm in ipv6 network
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-17 10:06:11 +05:30
Wei Zhou 53f6b2aee3 CLOUDSTACK-2875: change runlevel of cloud-passwd-srvr to remove error message at systemvm startup 2013-07-16 11:37:06 +02:00
Wei Zhou ecdb700311 CLOUDSTACK-2875: change runlevel to disable auto-start cloud-passwd-srvr 2013-07-15 16:41:51 +02:00
Hiroaki KAWAI 5c4578ef26 cloud-early-config: add device file existence check
If device file was not found, then it should be logged.
2013-06-24 11:24:42 +09:00
Bharat Kumar f9e7094282 Cloudstack-2644 [Multiple_IP_Ranges] user data service on VR does not work in case of multiple subnets Cloudstack-2953 [Multiple_IP_Ranges] VM does not get the public key from VR incase of multiple subnets per vlan Also removed some unused code and fixed the an error in the dnsmasq config function
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-06-20 11:15:15 +05:30
Wei Zhou f61d61db94 CLOUDSTACK-2875: allow port 8080 on virtual router so that vm can get password from virtual router 2013-06-06 23:05:12 +02:00
Abhinandan Prateek a9bfee1e22 CLOUDSTACK-2434: fixed var name 2013-06-03 16:11:09 +05:30
Abhinandan Prateek 7d51ebba9e CLOUDSTACK-2434: bad syntax 2013-06-03 16:05:19 +05:30
Abhinandan Prateek 7b0da06238 CLOUDSTACK-2434: bad syntax 2013-06-03 15:35:17 +05:30
Abhinandan Prateek 723a455731 CLOUDSTACK-2434: Enabling irqbalance only on router having mutiple virtual processors 2013-06-03 13:46:43 +05:30
Anthony Xu 7b8ae4d511 virt-what does't report correct hypervisor on some new platform, use /proc/xen for XS 2013-05-29 17:05:03 -07:00
Sheng Yang 07715b91af CLOUDSTACK-2639: Add flag for booting complete
Don't execute any command before VR complete booting up process.
2013-05-23 18:46:43 -07:00
Jayapal e31553aff8 CLOUDSTACK-2308 fixed adding route in vware for mgmt subnet
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-05-22 12:21:30 +05:30
Chiradeep Vittal 076c32db9a CLOUDSTACK-2492: enable time sync on vmware if ntp is not installed 2013-05-15 15:00:31 -07:00
Nitin Mehta c11dbad9c9 merge master 2013-05-11 15:28:43 +05:30
Edison Su 1c89bc78fd regression, need to modify iptables rules in rules.v4 2013-04-24 14:52:44 -07:00
Jayapal 39f772eee8 CLOUDSTACK-2161 updated cloud-early-config to copy iptables-* to rules.v4
In iptables-persistent, iptables-restore is loading config from the /etc/iptables/rule.v4

Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-04-24 15:25:15 +05:30
Jayapal 59bee8d1b4 CLOUDSTACK-2118 added delay for interface to come up in cloud-early-config In cloud-early-config ifup is taking some time to setup the interface ip So in setup_interface waiting for some time for interface to come up
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-04-19 17:43:36 +05:30
Marcus Sorensen 9670553ea8 In system vm, wait for interface to be available before configuring gateway.
Previous patch to this only did so for system vms with a $3 interface, usually
eth2. System VMs that only provide DNS wouldn't get a gateway, for example.

BUG-ID: CLOUDSTACK-1565
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1365617851 -0600
2013-04-10 12:17:31 -06:00
Marcus Sorensen be55c5b3a5 VPC - new system vm doesn't bring up eth0 reliably, and we don't set eth0 to
auto start like we should.  cloud-early-config sets 'auto lo $1', but we don't
pass $1 in vpc router scenario like we do in others for some reason. eth0 is
always link local in vpc router, so setting it to that.

Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1365546368 -0600
2013-04-09 16:26:08 -06:00
Marcus Sorensen 8eb3ebbe1a Summary: CLOUDSTACK-1565 - Waits for ip to come up before setting default route
Submitted-by: Jayapal Reddy <jayapalreddy.uradi@citrix.com>
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1364226284 -0600
2013-03-25 09:46:47 -06:00
Rohit Yadav c9082c9126 CLOUDSTACK-1643: Don't force load aesni_intel module, fix as per Chiradeep
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-03-14 11:52:06 +05:30
Rohit Yadav b5f367e75a CLOUDSTACK-1643: Check and enable Intel AES NI if available for VR
This is an encryption optimization for VPN/SSL, with upto 10x advertised speed.
The patch check for the aesni_intel module if aes is available on the cpu, this
will be true for HVMs.

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-03-12 16:34:50 +05:30
Sheng Yang e35ce6587a CLOUDSTACK-1461: Don't set dns server for non-default ipv6 network
The non-default parameter can be used by ipv4 as well in the future.
2013-03-08 17:43:23 -08:00
Marcus Sorensen 9ad54a082c Summary: KVM - use virtio socket to communicate config to system vms
Detail: This gets rid of the patchdisk method of passing cmdline and
authorized_keys to KVM system VMs. It instead passes them to a virtio socket,
which the KVM guest reads from the character device /dev/vport0p1 during
cloud-early-config. Tested to work on CentOS 6.3 and Ubuntu 12.04. Should
work with even older versions of libvirt.

Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1362691685 -0700
2013-03-07 14:28:05 -07:00
Sheng Yang a1b33cadf5 CLOUDSTACK-1332: Enable IPv6 dns in VR 2013-02-25 19:12:15 -08:00
Chiradeep Vittal 5c077f3413 CLOUDSTACK-1265: /etc/init.d/dnsmasq puts pid in /var/run/dnsmasq/dnsmasq.pid
logrotate checks /var/run/dnsmasq.pid instead and may not send SIGUSR2 to dnsmasq to start writing to the new log file instead
2013-02-13 14:33:41 -08:00
anthony e936257674 CLOUDSTACK-1199: add external DNS to dnsmasq configuration file 2013-02-08 16:30:32 -08:00
Sheng Yang 5cb9df91a1 Merge branch 'ipv6'
Conflicts:
	api/src/com/cloud/network/NetworkProfile.java
2013-01-31 15:07:33 -08:00
Jayapal b6727e5646 CLOUDSTACK-299: Egress firewall rules feature for guest network on VR 2013-01-31 11:20:47 +05:30
Sheng Yang dfc9dc19f8 IPv6: Add IPv6 address to router in /etc/hosts 2013-01-29 22:08:32 -08:00
Sheng Yang 8f66d266b3 IPv6: Enable VR's ability to provide DHCPv6 service 2013-01-26 23:14:42 -08:00
Sheng Yang f89c66070b IPv6: Update dnsmasq.conf to new version 2013-01-26 23:14:35 -08:00
Sheng Yang 6169c1d724 IPv6: Enable IPv6 address for router 2013-01-26 23:14:21 -08:00