491 Commits

Author SHA1 Message Date
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
Marcus Sorensen
74df662037 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:28:42 -06:00
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
Marcus Sorensen
28855b4987 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 14:01:02 -06:00
Jayapal
5dd1116402 CLOUDSTACK-3623 Enabled rps, rfs on vpc VR 2013-07-24 16:56:09 +05:30
Wido den Hollander
e6bad5c831 CLOUDSTACK-3776: Mount SSVM root filesystem with sync and noatime 2013-07-24 11:29:03 +02:00
Sheng Yang
dabea9da08 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:50:57 -07:00
Sheng Yang
b6f7dccf0b CLOUDSTACK-3533: Fix missing parameter of dhcp_release 2013-07-24 00:04:44 -07:00
Sheng Yang
1ca4f66306 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:09:05 -07:00
Sheng Yang
d893cb48a5 CLOUDSTACK-3699: Fix ARP broadcast of VPC router
Every new public IP should be send out ARP broadcast.
2013-07-21 22:24:16 -07:00
ilya musayev
eb3ffef95a CLOUDSTACK-2053: Fixed userdata.sh redundancy and cloud-init support 2013-07-19 09:59:00 -04:00
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
d73bb22802 Incorportaed the review changes Now dhcpservice IPs are removed when last vm from the subnet is removed. Rebased with master.
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-17 12:35:06 +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
Sheng Yang
9fe1a2b9fa CLOUDSTACK-3540: Fix edithosts.sh to prevent removing active dhcp entries
IP match must terminated by comma.
2013-07-15 18:01:57 -07:00
Sheng Yang
a9549a7f81 CLOUDSTACK-3434: Improve the atomic of file lock used in VR
Now we would retry if "ls" failed, since the list of files changed.
2013-07-15 16:08:27 -07:00
Wei Zhou
ecdb700311 CLOUDSTACK-2875: change runlevel to disable auto-start cloud-passwd-srvr 2013-07-15 16:41:51 +02:00
Jayapal
baf681c16d CLOUDSTACK-3533 Fixed dhcphosts.txt for two entries and also dhcp_relase for ipv6 2013-07-15 20:02:31 +05:30
Jayapal
6c6217594d Revert "CLOUDSTACK-3424 Fixed dhcphosts entry and also dhcp_relase for ipv6"
This reverts commit f37567ef45fe6e41469a176d387e91840bfae23c.
This deletes the duplicate entry when new vm came with deleted vm ip.
So will not fix the bug CLOUDSTACK 3424 fully. So this changes will be committed into new bug
2013-07-15 18:44:22 +05:30
Jayapal
f37567ef45 CLOUDSTACK-3424 Fixed dhcphosts entry and also dhcp_relase for ipv6 2013-07-15 18:15:34 +05:30
Sheng Yang
9de2034832 CLOUDSTACK-3436: Fix inconsistent ip routing table between redundant virtual routers 2013-07-10 15:54:39 -07:00
Jayapal
4779a00594 CLOUDSTACK-3404 fixed vm deploy in ipv6 network, dhcp_release is performed only in ipv4 2013-07-09 13:15:45 +05:30
Jayapal
daa4c326aa CLOUDSTACK-3312 Updated dhcp_release to listen on eth0 in edithosts.sh 2013-07-04 16:36:50 +05:30
Hiroaki KAWAI
c484d8aaba Add notes about systemvm build script 2013-06-26 15:16:29 +09:00
Jayapal
6a7ae637dd CLOUDSTACK-1578 Egress default policy configurable using network offering in xenserver with VR as firewall provider 2013-06-24 13:37:00 +05:30
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
Hiroaki KAWAI
009da93058 upgrade debian systemvm to wheezy
New kvm libvirt requres virtio-console (/dev/vport*), so
upgrading debian guest base OS to wheezy.
2013-06-24 11:16:40 +09:00
Hiroaki KAWAI
3123fe6bba Add iptables-persistent service in guest OS.
cloud-passwd-srvr depends on iptables-persistent.
2013-06-24 11:14:16 +09:00
Hiroaki KAWAI
bdfce2bc7e Remove unused code
The files xt_CHECKSUM.ko, iptables_1.4.8-3local1checksum1_i386
and xe-guest-utilities_5.6.0-595_i386 does not exist in the
repo now.
2013-06-24 11:09:09 +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
Bharat Kumar
d92a01336b Cloudstack-2938 [Multiple_IP_Ranges] Password Service does not work in case of multiple subnets in a vlan
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-06-20 10:37:24 +05:30
Alena Prokharchyk
d66e9c7b51 CLOUDSTACK-2843: Provideded an ability to turn off the synchronization being done on the CS agent side,
for number of commands participating in Vm deployment process, as parallel deployment is supported on the hypervisor side.
The behavior is controlled by global config varirables:

"execute.in.sequence.hypervisor.commands" (false by default) sets/resets the synchronization for commands:
=========================
StartCommand
StopCommand
CreateCommand
CopyVolumeCommand

"execute.in.sequence.network.element.commands" (false by default) sets/resets the synchronization for commands:
==========================
DhcpEntryCommand
SavePasswordCommand
UserDataCommand
VmDataCommand

As a part of the fix, increased the global lock timeout to 30 mins in several VR scripts:
===========================
edithosts.sh
savepassword.sh
userdata.sh

to support situations when multiple concurrent calls to the script are being made.
2013-06-19 10:12:13 -07:00
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
Bharat Kumar
48913679e8 CLOUDSTACK-2648 [Multiple_IP_Ranges] Reboot or start/stop router vm deletes the ip alises created on VR in case of multiple subnets
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-06-03 19:22:27 +05:30
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
Hugo Trippaers
5c9828db7d CLOUDSTACK-2804 getEthByIp function in vpc_func.sh can return the wrong
network interface
2013-06-03 10:52:41 +02:00
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
Anthony Xu
6a7cc2021e when VR is rebooted, CloudStack will reapply all ips/rules to VR,
this patch will reduce time the VR reboot takes
 - remove 1 s sleep in vmware
 - reduce the time arping takes
2013-05-29 13:45:07 -07:00
Sheng Yang
a21a4e5ac4 CLOUDSTACK-2682: Sleep 1 second before switch to BACKUP
To prevent backup.sh preempt master.sh when keepalived switch to MASTER then
back to BACKUP immediately.

Since it would take at least 3 seconds for BACKUP to switch to MASTER(vrrp
timeout), the fix won't cause chaos when keepalive try to switch to MASTER.
2013-05-24 17:10:55 -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
Jayapal Reddy
2d950e2858 CLOUDSTACK-768: ACL on private gateway 2013-05-13 19:24:23 +05:30