Commit Graph

546 Commits

Author SHA1 Message Date
Abhinandan Prateek 1b2b58fe35 Updating pom.xml version numbers for release 4.2.1
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-12-16 15:36:37 +05:30
Abhinandan Prateek 2bdd288605 Revert "Updating pom.xml version numbers for release 4.2.1"
This reverts commit cc662445a5.
2013-12-13 11:53:40 +05:30
Abhinandan Prateek cc662445a5 Updating pom.xml version numbers for release 4.2.1
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-12-13 11:46:08 +05:30
Abhinandan Prateek 3c561c6d79 Revert "Updating pom.xml version numbers for release 4.2.1"
This reverts commit 6ba071b159.
2013-12-03 17:46:18 +05:30
Abhinandan Prateek 6ba071b159 Updating pom.xml version numbers for release 4.2.1
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-12-03 17:41:35 +05:30
Abhinandan Prateek 92254a5a2f Revert "Updating pom.xml version numbers for release 4.2.1"
This reverts commit 7fb9dcb131e1d2d5a7c87e0aab2929b772bcd008.
2013-12-03 17:16:18 +05:30
Abhinandan Prateek e8c3c650a7 Updating pom.xml version numbers for release 4.2.1
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-12-03 17:16:17 +05:30
Abhinandan Prateek 4cb311530c Revert "Updating pom.xml version numbers for release 4.2.1"
This reverts commit 0b9eadaf14.
2013-11-12 21:17:27 +05:30
Abhinandan Prateek 0b9eadaf14 Updating pom.xml version numbers for release 4.2.1
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-11-12 21:15:01 +05:30
Sheng Yang 004efe1c0f CLOUDSTACK-5066: Don't remove the current VPN users when updating
If one VPN user and password is existed in current setup, then don't touch it,
otherwise would result in this user's existing connection be dropped.
2013-11-06 15:30:09 -08:00
Marcus Sorensen 5cc9b1de66 CLOUDSTACK-3216 /var/log/cloud.log did not have a logrotate script, here
is a basic one.
2013-11-04 08:48:37 -07:00
Sheng Yang 3c8be550f0 CLOUDSTACK-2792: Call savepassword.sh inside VR for Xen
Also only set password when password service is running, thus avoid setting for
redundant router BACKUP router.
2013-10-17 18:46:08 -07:00
Sheng Yang 93188b449c CLOUDSTACK-4786: Reset Redundant Router priority after all the routers are stopped
This patch would reset the priority in such condition:
1. All redundant routers are stopped, e.g. due to network GC
2. User start one VM in the network
3. The routers would be brought up with reseted priority(100 & 99).

This would resolve the issue of network GC result in lower limit of redundant router priority reached.
2013-10-17 18:16:50 -07:00
animesh 21043bfe84 Updating pom.xml version numbers for release 4.2.1-SNAPSHOT
Signed-off-by: animesh <animesh@apache.org>
2013-10-03 17:13:17 -07:00
animesh 86c93637f5 Merging 4.2-forward into 4.2 2013-10-02 23:05:34 -07:00
Wei Zhou 78b912e38f CLOUDSTACK-1749: change cloud service name in systemvm 2013-09-19 10:52:28 +02:00
Sheng Yang 8451d35324 CLOUDSTACK-4601: Add PATH for cron job of check_heartbeat.sh
Also fix a typo in the script template.
2013-09-03 16:54:53 -07:00
Edison Su a23322bf20 Merge branch '4.2-forward' into 4.2 2013-08-26 16:18:12 -07:00
Sheng Yang 064f6c01b3 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-23 11:58:34 -07:00
Sheng Yang 82b8933854 CLOUDSTACK-4199: Only use ifdown/ifup for the un-configured eth2
Seems the behavior of ifdown/ifup changed in new version, that it would only
enable the default IP of eth2, regardless we can configure additional ips for
it. So we would always use ifconfig for interface control whenever
possible(a.k.a eth2 already got ip addresses).

When VR is booting up, ipassoc command hasn't been delivered, it's possible that
eth2 doesn't have any ip address, then ifconfig would fail because it doesn't
know how to find the ip for eth2. So in this only case, we would use ifdown/ifup
to set the ip address according to /etc/network/interfaces.

It can potentially racy againest ipassoc command, but biglock should prevent
racy condition from happening.
2013-08-23 11:58:22 -07:00
Animesh Chaturvedi 06f28722b6 Updating pom.xml version numbers for release 4.2.0
Signed-off-by: Animesh Chaturvedi <animesh@Animesh-LinuxDev.citrite.net>
2013-08-22 17:15:42 -07:00
Kelven Yang d7c49e485a CLOUDSTACK-4376: fix cloud-early-config to workaround vSwitch stall in VPC mode. fix potential NPE in DirectAgentAttache in processing answers from resource 2013-08-20 14:58:52 -07:00
Jayapal 8c68660537 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:32:51 +05:30
Anthony Xu e2710f8bc5 CLOUDSTACK-4176
hot unplug NIC in VR when there is no ips on this NIC
Author:  Jayapal Reddy Uradi <jayapalreddy.uradi@citrix.com>

Reviewed-by: Anthony
2013-08-19 11:09:46 -07:00
Bharat Kumar 8babd390d6 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:13:17 +05:30
Abhinandan Prateek af71fb2ab3 Revert "CLOUDSTACK-4132 Added the dnsmasq setting update-dhcp-clent to enable clients to update DNS records"
This reverts commit 76990612f5.
2013-08-17 08:34:18 +05:30
Bharat Kumar 76990612f5 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:12:18 +05:30
Bharat Kumar 16deb39352 CLOUDSTACK-4317 make the regular expressions in dnsmasq.sh more tighter to avoid matching of ip6dns
Signed-off-by: Jayapal <jayapal@apache.org>
2013-08-15 10:52:38 +05:30
Jayapal e37318a492 CLOUDSTACK-4184 updated the socat in password server for handling parallel requests in parallel vm deployments 2013-08-13 12:48:27 +05:30
Bharat Kumar 608c63a534 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:30:11 +05:30
Marcus Sorensen 5a2fd3e2a4 Summary: Move Xen vmdata to new, non-ssh method
Detail: KVM recently got a patch that did away with a few dozen ssh calls
when programming virtual router (CLOUDSTACK-3163), saving several seconds
for each vm served by the virtual router when the router is rebooted. This
patch updates Xen to use the same method, and cleans up the old script refs.

Reviewed-by: Sheng Yang, Prasanna Santhanam
2013-07-30 21:41:11 -06:00
Marcus Sorensen 949c088e7b CLOUDSTACK-3964 Change permissions on vm router vmdata script
Submitted-by: Toshiaki Hatano
2013-07-30 20:43:25 -06:00
Sheng Yang 0f765727d5 CLOUDSTACK-3357: Add domain and local parameter for VPC dnsmasq.conf
Fix DNS failure for internal guest vms.
2013-07-29 18:22:32 -07:00
Rajesh Battala 50fe9e1cbf CLOUDSTACK-3215 Logs in the Software router are not being rotated 2013-07-29 17:57:12 +05:30
Bharat Kumar 1f50e74d60 Cloudstack-3882 remove duplicate entres of dataserver from /etc/hosts
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-29 17:50:46 +05:30
Saksham Srivastava 6403bb339d 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:40:57 +05:30
Marcus Sorensen 9db03bf426 Summary: Make vmdata_kvm.py concurrency friendly
Detail: Adds flocks, etc for calling this concurrently, since CLOUDSTACK-3484
made userdata, vmdata, start commands concurrent

Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1374773177 -0600
2013-07-25 11:26:17 -06:00
Bharat Kumar 42346cdf47 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 13:59:58 -07:00
Marcus Sorensen 49dce4bd9c Summary: Get away from dozens of ssh/scp calls for KVM vm_data push
Detail: userdata and vm metadata take a long time to program on KVM routers.
This does it all in one go, processed on the router.

BUG-ID: CLOUDSTACK-3163
Tested-by: Wido
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1374695897 -0600
2013-07-24 13:58:17 -06:00
Jayapal ce8a869a92 CLOUDSTACK-3623 Enabled rps, rfs on vpc VR 2013-07-24 16:55:36 +05:30
Wido den Hollander 722266378f CLOUDSTACK-3776: Mount SSVM root filesystem with sync and noatime 2013-07-24 11:32:12 +02:00
Sheng Yang 26f3427b66 CLOUDSTACK-3533: Add space after IP for dhcp_release
To prevent use the wrong mac of the IP with same prefix.

Thanks to Wei Zhou's comment!
2013-07-24 00:51:58 -07:00
Sheng Yang 730021c107 CLOUDSTACK-3533: Fix missing parameter of dhcp_release 2013-07-24 00:03:14 -07:00
Sheng Yang 3af96338dc CLOUDSTACK-3533: Fix dhcp_release for IPv6
dhcp_release doesn't support IPv6, though it won't return failure(that's a bug
that has been fixed in recent release). So if it's IPv6, we would still use the
old way(restart dnsmasq) to refresh the lease.
2013-07-23 18:08:44 -07:00
Sheng Yang 8a257fb07c CLOUDSTACK-3699: Fix ARP broadcast of VPC router
Every new public IP should be send out ARP broadcast.
2013-07-21 22:21:17 -07:00
ilya musayev 88b36edf87 CLOUDSTACK-2053: Fixed userdata.sh redundancy and cloud-init support 2013-07-19 11:10:27 -04:00
Sheng Yang bc0f68d424 CLOUDSTACK-3652: Increase maximum connections of sshd server to 1000
In order to meet parallel deployment's requirement.
2013-07-18 19:33:05 -07:00
Wei Zhou 462c72a902 CLOUDSTACK-2875: change runlevel to disable auto-start cloud-passwd-srvr 2013-07-18 13:11:07 +02:00
Jayapal 50b5ba6452 CLOUDSTACK-2433 Enable rps and rfs in virtual router 2013-07-17 18:07:46 +05:30
Bharat Kumar 956a2a68ce Incorportaed the review changes Now dhcpservice IPs are removed when last vm from the subnet is removed.
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-17 16:53:11 +05:30