700 Commits

Author SHA1 Message Date
alena
25206e6257 bug 10681: for serviceOfferings, diskOfferings, templates/isos return records with not null Removed field on findById method call
status 10681: resolved fixed
2011-07-13 17:16:07 -07:00
Sheng Yang
8725257f6b bug 10692: Fix the limitation of SSL packet is 16k using compression 2011-07-12 13:09:52 -07:00
anthony
67d51edbd3 bug 10690: add "live" option to migrate
status 10690: resolved fixed
2011-07-11 19:35:28 -07:00
Alex Huang
b9d4d65714 more logging to figure out problems with gson 2011-07-11 14:18:12 -07:00
Alex Huang
e5994a6485 added logging for the gson error 2011-07-09 10:58:14 -07:00
Kelven Yang
97cdf2eccd bug 10618: another place that could possibly throw NPE 2011-07-08 09:54:22 -07:00
Nitin
fb981be800 bug 10580: Making necessary changes to stats collection to entertain multiple secondary storage.
status 10580: resolved fixed
2011-07-06 18:20:17 +05:30
Edison Su
56bc4f27a9 fix user/meta data: if data is empty, return a blank file, not 404 2011-07-01 12:58:14 -07:00
kishan
9a6c567269 bug 10503: Skip usage events when StopAnswer details is Vm does not exist
status 10503: resolved fixed
2011-07-01 18:27:27 +05:30
kishan
12068f957c bug 10503: Return StopAnswer status as false while stopping an already stopped Vm
status 10503: resolved fixed
2011-07-01 13:54:43 +05:30
anthony
1e7399dd19 set correct secondary storage host id in snapshot table 2011-06-28 14:08:18 -07:00
alena
41f12eb642 Pass isForRebalance parameter to processConnect method of all the listeners - some listeners don't have to be notified when connection happens as a a part of Agent Rebalance process (VirtualMachineManagerImpl listener for instance) 2011-06-27 10:20:41 -07:00
alena
0bf34f3612 bug 10447: don't notify VirtualMachineManager listener when do host rebalance - vm sync is not needed in this case.
status 10447: resolved fixed
2011-06-27 10:20:40 -07:00
alena
74f34a0e0c bug 10435: removed vpn feature
status 10435: resolved fixed
2011-06-24 09:18:46 -07:00
Alex Huang
a254e90ab3 Renamed IPAssoc to IpAssoc to be consistent with agent commands 2011-06-21 10:15:42 -07:00
alena
01538e4d1e bug 9511: use new StringBuffer for each PF/StaticNat rule
status 9511: resolved fixed
2011-06-13 22:31:49 -07:00
Abhinandan Prateek
6c35a97cd8 added check for null 2011-06-14 10:31:03 +05:30
Alex Huang
44d15d38b0 bug 10222: fixed issue with associate ip introduced more than one nic. The problem is that associate ip automatically creates a nic but doesn't have sufficient information to properly creates so it uses what it knows for sure is the naming pattern to do it. However, we changed the naming pattern and it broke. I fixed it by passing all of the information in the ipaddressTO object. 2011-06-11 13:45:00 -07:00
anthony
416efeb59a bug 10152: supoort XenServer 5.6 service pack 2
status 10152: resolved fixed
2011-06-07 10:39:57 -07:00
Alex Huang
019cc78976 Fixes problems in routing between management servers 2011-06-05 16:06:54 -07:00
Alex Huang
a0ce3da191 fixed problem with header 2011-06-05 13:51:29 -07:00
Alex Huang
d9e0bcfa1e bug 10126: Renamed getPodId() to getPodIdToDeployIn() 2011-06-03 22:17:08 -07:00
Edison Su
3cddd72c9b fix template sync issue 2011-06-02 22:38:13 -04:00
Alex Huang
2dbb8eb502 bug 9651: Make same VLAN work on two different nics 2011-06-01 17:07:44 -07:00
Jessica Wang
8c4e831cfb bug 7553: cloudStack - server-side - make listRouters API return “serviceofferingname” and “serviceofferingid”. 2011-05-31 17:40:30 -07:00
anthony
04e0800f7f when deleting volume, also delete snapshots for this volume in primary storage 2011-05-31 12:10:03 -07:00
Alex Huang
0ab12edd6c network tagging changes 2011-05-31 09:49:27 -07:00
Abhinandan Prateek
b5aeb6fa0e bug 9909: upload manager support multiple secondary storage 2011-05-31 12:00:40 +05:30
Abhinandan Prateek
d006fd141c bug 9909: upload manager support multiple secondary storage 2011-05-30 12:39:15 +05:30
anthony
e40a7945db remove Shutdowned status 2011-05-27 17:13:47 -07:00
anthony
7a266b9321 bug 10046: size in diskofferingVO is in type now
status 10046: resolved fixed
2011-05-26 13:51:08 -07:00
anthony
37e6ded80c bug 10023: only set ip route for internal DNS
status 10023: resolved fixed
2011-05-25 17:39:20 -07:00
Edison Su
29db060aee bug 8115: add source ip filter for kvm
status 8115: resolved fixed
2011-05-25 10:39:57 -04:00
anthony
08ea2498d3 bug 10005: create directory before copying volume
status 10005: resolved fixed
2011-05-24 14:17:57 -07:00
Edison Su
cb9de5a028 add check in haproxy 2011-05-24 10:53:05 -04:00
Alex Huang
0dfc44582b bug 9651: Adding network tags
Also changes in Request logging.
2011-05-23 15:51:50 -07:00
Edison Su
a13be45f7b bug 8350:
haproxy tunning:
0. Test case:
   httpd running in 5 user VMs, all of them created on a xenserver host(16 core, 42G memroy, 10G network)
   domR running on an anther host with same hardware configuration.
   test application, ab, running on anther host behind an anther seperate switch
1.haproxy is not a memory intensive app. I can get 4625.96 connection/s with 1G memory. While it's really a CPU intensive app, domR always uses around 100% CPU on the host.
2.By default, you can't get better connection/s rate, because ip_conntrack_max and tw_bucket are too small, you will see the error in domR like:
   "TCP: time wait bucket table overflow" or "nf_conntrack: table full, dropping packet".
  So I increase these numbers to 1000000 from 65536, then I can steadly get around 4600 connection/s when memory is >= 1G.

  Here is the connection per second, tested by "ab -n 1000000 -c 100 http://192.168.170.152:880/test.html"
  domR memory   conn/s
  128M:         3545.55
  256M:         4081.38
  512M:         4318.18
  1G:           4625.96
  7G:           4745.53

3. If I enable notrack for both connections between domr/user vm, and public network, that tell iptable in domR don't track the connection during my test, then I can get better number, around
5800 connections/s. But we can't enable notrack, as iptables is used to track throughput in domR.

4. In a word, with this commit, the connection rate of haproxy can be increased from 1000-2000/s to 4700/s when domR's memory is larger than 1G.

5. How many CPU need to assign to domR to get this number?  Haven't finished yet, as CPU is shared by all the VMs on the host, if other VMs are busy, it will impact the performance of haproxy.
2011-05-21 21:05:28 -04:00
Alex Huang
838a24f202 removed to toString() method in requests 2011-05-21 13:28:46 -07:00
Edison Su
2f8235dbd2 fix local seconeary storage related issues(sync/download templates, etc) for mycloud 2011-05-21 12:05:02 -04:00
Abhinandan Prateek
5ad41e09ae bug 7553: Virtual Router service offering 2011-05-21 22:21:12 +05:30
anthony
99be3718cf bug 3224:
multiple secondary storage, copying template between zone works
2011-05-19 19:07:44 -07:00
Alex Huang
567d946ab0 template listing fix 2011-05-19 15:26:24 -07:00
Alex Huang
2b650acc17 more gson crap 2011-05-18 11:01:46 -07:00
kishan
f8b859230b removed txn close 2011-05-18 18:09:21 +05:30
Alex Huang
9c69a983ba session info within sequence numbers 2011-05-17 18:01:11 -07:00
Alex Huang
0ba6091ca7 better way to log the agent request and response. Introduced the idea of via agents in the request header 2011-05-17 16:02:44 -07:00
anthony
ef42b21c1d fixed template download 2011-05-17 15:00:10 -07:00
anthony
384f30101e fixed template download 2011-05-17 14:01:12 -07:00
Murali Reddy
d79c6225df Bug 8115: - Source IP filtering in Virtual Router
correcting typo
2011-05-17 19:46:16 +05:30
anthony
9c4964bc1b fixed merge 2011-05-16 16:54:00 -07:00