Commit Graph

5986 Commits

Author SHA1 Message Date
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
anthony 99be3718cf bug 3224:
multiple secondary storage, copying template between zone works
2011-05-19 19:07:44 -07:00
alena 24e86c109e bug 9941: fixed listVolumes api - use leftouter join with vm_instance table because instance_id is NULL for detached volumes
status 9941: resolved fixed

Conflicts:

	server/src/com/cloud/api/ApiResponseHelper.java
	server/src/com/cloud/server/ManagementServerImpl.java
2011-05-19 18:49:12 -07:00
alena 7bae4e3155 Fixed upgrade bug related with the fact that some db upgrade steps were missed in 2.2.0/2.2.1 to 2.2.2 db upgrade 2011-05-19 15:37:59 -07:00
Alex Huang 567d946ab0 template listing fix 2011-05-19 15:26:24 -07:00
alena 016a50633c bug 9939: create 'default' security group for default "admin" user only after ensuring that it doesn't exist already
status 9939: resolved fixed

Conflicts:

	server/src/com/cloud/server/ConfigurationServerImpl.java
2011-05-19 11:25:59 -07:00
Abhinandan Prateek 770e317218 bug 7553: Virtual Router service offering 2011-05-19 19:18:33 +05:30
Abhinandan Prateek 9de370be61 do not propogate password changes if Attache is ConnectedAgentattache 2011-05-19 19:18:33 +05:30
Murali Reddy 5769fde46b bug 7194:New API for adding range of public & private ports in port forwarding rule addition
adding support for port ranges in port forwarding rules.
2011-05-19 18:32:09 +05:30
kishan 6bd8cece48 bug 8830: added source template id to template usage records
status 8830: resolved fixed
2011-05-19 16:53:33 +05:30
alena 7ca66c132d bug 9934: implemented another way to check if the foreign key already exists
status 9934: resolved fixed
2011-05-18 20:38:55 -07:00
alena 5148725916 Fixed bunch of db upgrade bugs. 2011-05-18 17:38:49 -07:00
Kelven Yang 48ee550c45 Japanese keyboard + Japanese OS(WinXP JP) to access Japanese VM(WinXP JP) 2011-05-18 17:36:34 -07:00
Jessica Tomechak ab31fe02fb bug 8173, added installation checklist for vCenter to Install Guide. 2011-05-18 16:56:30 -07:00
Jessica Tomechak deeb7ac5a1 bug 8173, added installation checklist for vCenter to Install Guide. 2011-05-18 16:53:50 -07:00
Jessica Tomechak a26fed3778 bug 9653, created 2.2.4 Installation Guide version and updated text to show tagged private network is supported in VMWare beginning in this release. 2011-05-18 16:53:49 -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
kishan bcd358b756 bug 8866: Use 86400 instead of 84600 for seconds in a day 2011-05-18 16:48:33 +05:30
alena 93bd3c8588 Added upgrade path from 224 to 225 to DbUpgradeChecker
Conflicts:

	server/src/com/cloud/upgrade/DatabaseUpgradeChecker.java
2011-05-17 21:08:41 -07:00
Alex Huang 9c69a983ba session info within sequence numbers 2011-05-17 18:01:11 -07:00
Kelven Yang fd27127f6e Japanese keyboard + guest Japanese OS 2011-05-17 17:11:58 -07:00
anthony 6672db47c8 don't print some fields in StartConsoleProxyAgentHttpHandlerCommand 2011-05-17 17:12:22 -07:00
Jessica Wang c90bd9fdb0 CloudStack UI - Add Primary Storage dialog - hide Server field when Protocol is "PreSetup" or "SharedMountPoint". Show Server field otherwise. 2011-05-17 16:57:41 -07:00
anthony 8cdd8a01b1 multiple secondary storage fix 2011-05-17 16:47:27 -07:00
alena b963429063 Added upgrade from 224 to 225
Conflicts:

	server/src/com/cloud/upgrade/DatabaseUpgradeChecker.java
2011-05-17 16:43:53 -07:00
Jessica Wang 0f566e4109 bug 9888: CloudStack UI - Support multiple secondary stroage for each zone - fix a bug that clicking middle menu didn't populate right content to right panel. 2011-05-17 16:31:41 -07:00
anthony d380b55d23 multiple secondary storage fix 2011-05-17 16:10:30 -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
Alex Huang e552f118af propagated bf8afdbc7af3c0e9fbc90c841fedec57ac7b8cdf 2011-05-17 16:02:44 -07:00
anthony 1501503656 multiple secondary storages fix 2011-05-17 16:01:35 -07:00
alena 392672b9f9 Updated schema file name for 2.2.5-2.2.6 upgrade 2011-05-17 15:28:33 -07:00
Jessica Wang 61cecfec2e bug 9888: CloudStack UI - Support multiple secondary stroage for each zone. (before this change, only one secondary storage for each zone) 2011-05-17 15:27:55 -07:00
alena b5ab92af89 Upgrade from 2.2.5 to 2.2.6 2011-05-17 15:22:59 -07:00
alena 33bf819afc bug 9873: create default security group for the default admin
status 9873: resolved fixed
2011-05-17 15:08:13 -07:00
alena c2afcdec52 bug 9873: always add default security group to the SG list when deploy vm in 1) Basic zone 2) Advance zone using SG enabled network
status 9873: resolved fixed

Following fixes were made as a part of the checkin:

* When deploy user vm and SG doesn't exist in the DB, create it automatically.
* SecurityGroup enabled use vm start: if map to default group is not present in security_group_vm_map table, create one.
* Added "name" (securityGroupName) parameter back to deleteSecurityGroup/authorizeSecurityGroupIngress/deployVm. Mutually exclusive with security group id parameter.

Conflicts:

	api/src/com/cloud/api/commands/AuthorizeSecurityGroupIngressCmd.java
	api/src/com/cloud/api/commands/DeleteSecurityGroupCmd.java
	api/src/com/cloud/api/commands/DeployVMCmd.java
	server/src/com/cloud/api/ApiDBUtils.java
	server/src/com/cloud/vm/UserVmManagerImpl.java
2011-05-17 15:08:13 -07:00
anthony ef42b21c1d fixed template download 2011-05-17 15:00:10 -07:00
Sheng Yang ae1753c997 Revert "Add error check for buildsystemvm.sh"
This reverts commit a2c7e6f5bf5985d47f9ef25d1569931f28ff4258.
2011-05-17 14:16:25 -07:00
anthony 384f30101e fixed template download 2011-05-17 14:01:12 -07:00
Kelven Yang c0ffcfc46d Japanese Windows + Japanese keyboard + Firefox/IE/Chrome/Safari 2011-05-17 13:50:57 -07:00