Commit Graph

6025 Commits

Author SHA1 Message Date
Edison Su fb59f9165b fix ant 2011-05-25 16:16:13 -04:00
will 7b27f3dfae bug 9982: Forgot to add the errortext when returning an error for using an invalid token. 2011-05-25 16:06:51 -07:00
will fef2c58996 bug 9982: Ensuring that the registration token is used only once. 2011-05-25 16:06:49 -07:00
Edison Su 638fdca138 add db schema 2011-05-25 15:46:13 -04:00
Jessica Tomechak da8ffe2430 Add doc download landing page to repo. 2011-05-25 15:04:23 -07:00
Edison Su f1f75e6623 fix build 2011-05-25 14:59:47 -04:00
Jessica Tomechak c4337bb991 Cleanup working dir. 2011-05-25 14:54:43 -07:00
Jessica Tomechak a7b00946b1 bug 9826, document that ISO inside OVA is not supported. Plus other small fixes. 2011-05-25 14:52:00 -07:00
Jessica Tomechak c0b9066516 Former 2.2.5 guides are now titled 2.2.6. 2011-05-25 14:51:59 -07:00
Jessica Tomechak 8b92b01186 Add 2.2.5 to version header, plus misc. small fixes. 2011-05-25 14:51:58 -07:00
Jessica Tomechak 2720d0710b Create versioned docs for 2.2.6. 2011-05-25 14:51:57 -07:00
Edison Su 2a7d02b52c bug 9787: add netapp integration back to 2.2 2011-05-25 14:32:48 -04:00
Edison Su ec39238d6c fix build 2011-05-25 14:32:47 -04:00
anthony 2fdedfa14a db upgrade for multiple secondary storages 2011-05-25 14:15:43 -07:00
Frank 44a0fff2ec baremetal able to enter maintenance mode, delete host 2011-05-25 12:13:19 -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
alena fc04d71e1f 225-226 DB upgrade for agent LB schema 2011-05-25 10:06:36 -07:00
alena 37b036ac39 Made sshKeys api commands visible for api doc generation 2011-05-25 09:40:54 -07:00
alena 388aea7be3 bug 9127: intermediate checkin for agent load balancer 2011-05-24 19:04:50 -07:00
alena 7fe3290d1b Fixed security issue in api - regular user can operate only with his own resources (except for the template - when the template is public, it's available for everyone) 2011-05-24 18:45:13 -07:00
alena c0d84f3de8 Insert default security group to network_groups table when do upgrade from 21x to 22x branch 2011-05-24 18:45:01 -07:00
alena 55692fd7cf bug 9127: intermediate checkin for agent load balancer 2011-05-24 18:45:00 -07:00
anthony 4696e5066b fixed snapshot limitation issue 2011-05-24 14:55:19 -07:00
anthony 08ea2498d3 bug 10005: create directory before copying volume
status 10005: resolved fixed
2011-05-24 14:17:57 -07:00
anthony 9d758866af bug 9958:
1. send purge command only once.
2. in downloadlistener, there are two hosts, one is secondary storage host, the other is secondary storage VM host for this secondary storage.

status 9958: resolved fixed
2011-05-24 14:17:03 -07:00
will 24932a9fec bug 9999: Fixed missing account field issue in Safari
Merge from 2.2.4
2011-05-24 12:19:02 -07:00
Edison Su cb9de5a028 add check in haproxy 2011-05-24 10:53:05 -04:00
keshav 5699f0b3c5 Added shared_source_nat_service column to upgrade script. 2011-05-24 10:45:57 -07:00
Murali Reddy 9f93fee7b6 Revert "bug 9785: events around VLAN assign/release"
pulling out as action event is required not the usage event

This reverts commit 7052e5451878a1595cb5b0d359a3a4482d9f9bc7.
2011-05-24 15:08:42 +05:30
Murali Reddy 8ad3fbf9d2 bug 9785: events around VLAN assign/release
adding usage event for new VLAN allocation for the account from the zone vlans
2011-05-24 13:55:22 +05:30
Jessica Tomechak 1458b3a8e2 Adding 2.2.5 and 2.2.4 Release Notes for CloudStack. 2011-05-23 15:59:43 -07:00
Alex Huang 0dfc44582b bug 9651: Adding network tags
Also changes in Request logging.
2011-05-23 15:51:50 -07:00
keshav e22d99f70d Removed carriage return when a password is obtained. Changed mkpasswd encryption method to use SHA-512. 2011-05-23 12:18:46 -07:00
Abhinandan Prateek 5085cfd900 bug 8115: Source IP filtering in Virtual Router
schema change added to upgrade
2011-05-23 10:26:06 +05:30
Edison Su ba63e5d103 bug 9937: move use.local.storage to FOSS 2011-05-22 14:39:45 -04: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 d7f527f8ac get rid of compile error 2011-05-21 15:41:12 -07:00
alena 3d3bfcddaa bug 9858: added missing security checks to listAsyncJobs command
status 9858: resolved fixed

Conflicts:

	server/src/com/cloud/api/ApiServer.java
2011-05-21 15:00:50 -07: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
alena 30e8ed3ab6 Don't allow to specify security groups when deployVm in Vmware setup.
Also fixed a couple of other problems:
* verify security group ids before vm creation
* don't create "default" security group (if missing) as a part of deployVm process when vm is deployed from vmWare template
2011-05-20 18:52:58 -07:00
anthony ce83525b5a bug 3224:
don't need to call abandon
2011-05-20 18:48:30 -07:00
Chiradeep Vittal 99c8830a2e Update README for building systemvm 2011-05-20 17:52:27 -07:00
anthony 5fa3f0fca8 bug 3224:
fixed a DB Exception

5-ThreadPoolExecutor.runWorker:1110-ThreadPoolExecutor$Worker.run:603; called by -Transaction.rollback:783-Transaction.removeUpTo:726-Transaction.close:549-DatabaseCallback.interceptComplete:72
2011-05-19 19:02:41,242 WARN  [utils.nio.Task] (AgentManager-Handler-1:null) Caught the following exception but pushing on
com.cloud.utils.exception.CloudRuntimeException: DB Exception on: com.mysql.jdbc.JDBC4PreparedStatement@4faae357: INSERT INTO usage_event (usage_event.type, usage_event.created, usage_event.account_id, usage_event.zone_id, usage_event.resource_id, usage_event.resource_name, usage_event.offering_id, usage_event.template_id, usage_event.size, usage_event.resource_type, usage_event.processed) VALUES (_binary'TEMPLATE.CREATE', '2011-05-20 02:02:41', 2, 2, 202, _binary'anth-te', null, 2, -1, null, 0)
        at com.cloud.utils.db.GenericDaoBase.persist(GenericDaoBase.java:1218)
        at com.cloud.event.dao.UsageEventDaoImpl$$EnhancerByCGLIB$$377dce70.CGLIB$persist$22(<generated>)
        at com.cloud.event.dao.UsageEventDaoImpl$$EnhancerByCGLIB$$377dce70$$FastClassByCGLIB$$30e2aaaf.invoke(<generated>)
        at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215)
        at com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:35)
        at com.cloud.event.dao.UsageEventDaoImpl$$EnhancerByCGLIB$$377dce70.persist(<generated>)
        at com.cloud.storage.download.DownloadMonitorImpl.handleDownloadEvent(DownloadMonitorImpl.java:410)
        at com.cloud.storage.download.DownloadListener.setDownloadInactive(DownloadListener.java:358)
        at com.cloud.storage.download.DownloadCompleteState.onEntry(DownloadCompleteState.java:44)
        at com.cloud.storage.download.DownloadListener.transition(DownloadListener.java:240)
        at com.cloud.storage.download.DownloadListener.processAnswers(DownloadListener.java:224)
        at com.cloud.agent.manager.AgentAttache.processAnswers(AgentAttache.java:258)
        at com.cloud.agent.manager.AgentManagerImpl$AgentHandler.processResponse(AgentManagerImpl.java:2319)
        at com.cloud.agent.manager.AgentManagerImpl$AgentHandler.doTask(AgentManagerImpl.java:2334)
        at com.cloud.agent.manager.ClusteredAgentManagerImpl$ClusteredAgentHandler.doTask(ClusteredAgentManagerImpl.java:537)
        at com.cloud.utils.nio.Task.run(Task.java:85)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:636)
Caused by: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Out of range value for column 'size' at row 1
2011-05-20 17:12:48 -07:00
Edison Su 516ef2c67f put pingtask is in a seperate thread pool 2011-05-20 16:53:41 -04:00
alena 501c46bbd5 Fixed API doc generation process - was broken due to incorrect fix in ServiceOfferingResponse class 2011-05-20 14:37:10 -07:00
Abhinandan Prateek 7bb1d00d14 bug 7553: Virtual Router service offering 2011-05-20 11:22:30 +05:30
Jessica Tomechak 1305a95efa Add Release Notes to repo. 2011-05-19 22:27:59 -07:00
anthony 52fdb4f2eb bug 3224:
multiple secondary storage, copying template between zone works
    forgot a new file
2011-05-19 19:10:09 -07:00