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
Bharat Kumar
664d479f8f
Cloudstack-3313 Cannot deploy vm in ipv6 network
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-17 10:07:57 +05:30
Sheng Yang
54e9fe4485
CLOUDSTACK-3540: Fix edithosts.sh to prevent removing active dhcp entries
...
IP match must terminated by comma.
2013-07-15 18:01:31 -07:00
Sheng Yang
fd06009d50
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:07:36 -07:00
Jayapal
34582d672f
CLOUDSTACK-3533 Fixed dhcphosts.txt for two entries and also dhcp_relase for ipv6
2013-07-15 20:02:56 +05:30
Jayapal
ffbc30ddbb
Revert "CLOUDSTACK-3424 Fixed dhcphosts entry and also dhcp_relase for ipv6"
...
This reverts commit f37567ef45 .
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:47:24 +05:30
Jayapal
acd9390901
CLOUDSTACK-3424 Fixed dhcphosts entry and also dhcp_relase for ipv6
2013-07-15 18:14:53 +05:30
Sheng Yang
2ea61e7f22
CLOUDSTACK-3436: Fix inconsistent ip routing table between redundant virtual routers
2013-07-10 15:54:14 -07:00
Jayapal
c7f26583a2
CLOUDSTACK-3404 fixed vm deploy in ipv6 network, dhcp_release is performed only in ipv4
2013-07-09 13:12:06 +05:30
Jayapal
5a57e82eaf
CLOUDSTACK-3312 Updated dhcp_release to listen on eth0 in edithosts.sh
2013-07-04 16:36:21 +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