Commit Graph

3523 Commits

Author SHA1 Message Date
Kelven Yang 1499e49eaa bug 14618: Protect servlet container from shutting down on unexpected runtime exceptions
Reviewed-By: Kelven
2012-04-05 14:54:42 -07:00
Kelven Yang 77ce7db07e Bug 14301: Perform socket-level only management server pings
Reviewed-By: kelven
2012-04-05 14:54:40 -07:00
Alena Prokharchyk 582e0b4da6 bug 14567: put db entry insertion in try/catch block and fail gracefully when the insertion fails (can happen when 2 MS try to insert the same entry)
status 14567: resolved fixed
2012-04-02 14:20:25 -07:00
Kelven Yang a3be402c3d bug 14564: Upon management server startup, for detected inactive management server (based on timestamp), perform ping-test before we really mark it as down
Reviewed-By: kelven
2012-03-30 16:42:31 -07:00
Kelven Yang 8852668b48 Bug 14551: add top-level catch clause to protect task/thread from stalling
Reviewed-By: Kelven
2012-03-29 18:26:48 -07:00
Kelven Yang 0028f1771d bug 14301: suppress expected exceptions from showing annoying stack dump, the message will be logged at TRACE level.
Reviewed-By: Kelven
2012-03-28 15:43:25 -07:00
Kelven Yang 510ec31d0c bug 14301:
1) Support HTTP keep-alive in clustering communication channel
2) Increase concurrency level for clustering message delivery

Reviewed-By: Kelven (with unit test)
2012-03-26 23:12:04 -07:00
Kelven Yang ae14950095 bug 14301:
1) Drop synchronized call semantic for ClusterManagerImpl.broadcast()
2) Have no choice now but to use an unbound thread pool to notify upper layer. This is to prevent thread starvation when we have cross-management server waitings.

Reviewed-By: Kelven(with unit test)
2012-03-23 22:43:49 -07:00
Kelven Yang 80abeb7522 bug 14301: fix regressions caused by new clustering transport. Correct usage of HttpClient to avoid socket staying in CLOSE_WAIT state for too long. Reviewed-By: Kelven 2012-03-23 09:04:49 -07:00
Kelven Yang 9feebe8682 bug 14301: Decouple synchronized crosss management server call with clustering transport, remove obsolete code. Reviewed-by: Kelven
Conflicts:

	server/src/com/cloud/cluster/ClusterServiceServletImpl.java
2012-03-23 09:04:10 -07:00
Kelven Yang 64899e05ec bug 14301: Decouple synchronized crosss management server call with clustering transport. Reviewed-by: Kelven
Conflicts:

	server/src/com/cloud/cluster/ClusterServiceServletImpl.java
	server/src/com/cloud/cluster/DummyClusterManagerImpl.java
2012-03-23 09:00:45 -07:00
Kelven Yang b024562869 bug 14301: Decouple synchronized crosss management server call with clustering transport, remove obsolete code. Reviewed-by: Kelven 2012-03-20 16:26:58 -07:00
Kelven Yang ea92ab72fa bug 14301: Decouple synchronized crosss management server call with clustering transport. Reviewed-by: Kelven 2012-03-20 16:26:29 -07:00
frank 1033fb4a24 fix copying template 2012-03-15 14:41:19 -07:00
prachi 529e9e5b09 Bug 14028 - Add hostid parameter to StartVmCmd to enable admins to start VM on a particular host
Changes:
- Added hostid to StartVMCmd. Only root admin can use it.

Conflicts:

	server/src/com/cloud/vm/UserVmManagerImpl.java
2012-03-05 17:57:34 -08:00
Alena Prokharchyk fb2ed48304 bug 14103: mark account for cleanup only in cleanupAccount and disableAccount method, not in the callers methods
status 14103: resolved fixed
2012-03-05 16:16:46 -08:00
Sheng Yang 854997aab6 bug 14076: Fix the exception scope
status 14076: resolved fixed
2012-03-01 15:39:32 -08:00
frank 76e7a8633c Make direct agent pool size configurable 2012-03-01 13:46:28 -08:00
prachi 8516186db1 Bug 13824 - VM Deployment: If Root Volume is Ready, Planner should reuse the storagepool until cluster has capacity
Reviewed-By: Alex

Changes:
- Reuse the same storagepool where the Volume is ready on each retry of VM deployment until the cluster where the volume is has capacity
- After the cluster is out of capacity, we look in other clusters and find a new storagepool.
- At this point if the volume is recreatable on the new storagepool, depoyment will succeed provided everytyhing else goes through
- But if the volume is not recreatable and its cluster is out of capacity, we will still fail to deploy the VM

Conflicts:

	server/src/com/cloud/vm/VirtualMachineManagerImpl.java
2012-02-16 17:20:54 -08:00
abhi 11d37d1a23 bug 13549: cleanup stopped/starting VMs if present on host during MS startup 2012-02-10 09:52:18 +05:30
Alex Huang 4e0ef5476d bug 13478: added exception printing. Reviewed-by: Anthony 2012-02-09 16:48:04 -08:00
Alex Huang e1c81b94cf bug 13478: fixed problem with high availability manager being started too early. Reviewed-by: Anthony 2012-02-09 16:41:31 -08:00
Edison Su 206da17422 bug 13470: check the correct old certificate
status 13470: resolved fixed
Reviewed-by: anthony
2012-02-09 12:57:50 -08:00
Edison Su c5ac969ab7 bug 13145: re-load the vm data
status 13145: resolved fixed
Reviewed-by: anthony
2012-02-09 12:57:44 -08:00
Edison Su 4eab8c4dbd Agent disconnected due to so many Fencecommand send to agent, cause agent can't get pingaswer from mgt server, then agent thinks it's ping timeout, reconnect to mgt server.
The fix is add a separate thread pool for all the reqests from mgt server(which may be time-consuming), so the pingaswer(which is response) is processed in another different thread pool. Make sure the pinganswer is get processed immeidately.
Reviewed-by: Alex
2012-02-09 12:57:01 -08:00
Edison Su d54175234a cleanup
Reviewed-by: Kelvin
2012-02-09 12:54:54 -08:00
Edison Su 4dd1fc92fe add cert chain in db, and also open the api to upload a cert chain 2012-02-09 11:50:43 -08:00
Edison Su 2326e4f080 bug 13416: backport patch from master to 2.2.14, need to restart cloud-agent on kvm host if cancelmaitaineance command is send
status 13416: resolved fixed
Reviewed-by: frank
2012-02-09 11:38:08 -08:00
Nitin Mehta 045dc02845 Bug 13564: Incorrect format was coming for kvm since there was a ohardcoding on the extension to be of size 3 Instead take the format from the ENUM.
Reviewed-By: Kishan
2012-02-09 20:21:00 +05:30
frank 169073e730 Bug 13526 - copying template across zone failing with status HTTP Server returned 403 (expected 200 OK) Even though gets status message copy succeeded (
Bug 13429 - copy template FAIL - HTTP Server returned 403

lots of things:
1. generate a IP list of all SSVM across all zones, set this IP list to my .htaccess allowable from.
   so other SSVMs get privilege to access me.

2. broadcast my IP to other SSVMs instructing them set me to theirs .htacess allowable from. so I get
   privilege to access others

3. set outbound route for downloading through public IP. Because public ip/private ip in the same subnet in basic
zone, the http download traffic may come in through public ip but go outside through private ip which finally causes
the VM where the traffic is from to drop response packets. To resolve this, set individual route for each SSVM public
ip making sure the inter-communication between system vm happens through public IP

however, I met certificate expiraton on one SSVM, will report another bug

reviewed-by: Sheng.yang
status 13526: resolved fixed
status 13429: resolved fixed
2012-02-08 18:33:18 -08:00
abhi 96b26248e9 bug 13471: disabling LB, merge 2012-02-08 19:32:35 +05:30
kishan 724a087ab9 Bug 13454: Drop both foreign keys, indexes of ssh_keypairs and add again
Status 13454: resolved fixed
Reviewed-By: Nitin
2012-02-08 15:25:35 +05:30
Alena Prokharchyk 1624cceb22 bug 13508: fixed inconsistencies in key names during db upgrade
status 13508: resolved fixed
Reviewed-by: Will Chan

Conflicts:

	setup/db/db/schema-2213to2214.sql
2012-02-07 13:40:07 -08:00
anthony 33f1242c83 bug 13478: check null
status 13478: resolved fixed

reviewed-by: edison
2012-02-07 10:53:59 -08:00
Alena Prokharchyk d126dafaee bug 13474: fixed 3)
status 13474: resolved fixed
reviewed-by: Will Chan
2012-02-06 19:57:01 -08:00
Alena Prokharchyk 1389769b5e bug 13474: fixed 1) 2) and 4)
reviewed-by: Frank
2012-02-06 18:36:46 -08:00
Alena Prokharchyk d14375fb2f Agent LB: never get a part of the hosts from the xen cluster; skip the cluster if it has more hosts than we need
Reviewed-by: Alex Huang
2012-02-06 16:42:45 -08:00
kishan d608c51bfb Bug 12649: Added ROOT to domain path and removed trailing slash
Status 12649: resolved fixed
Reviewed-By: Abhi

Conflicts:

	server/src/com/cloud/api/ApiResponseHelper.java
2012-02-06 14:39:41 +05:30
kishan 766214b633 Bug 13454: Remove foriegn keys in ssh_keypairs table and again with correct constraint name
Status 13454: resolved fixed
Reviewed-By: Nitin

Conflicts:

	server/src/com/cloud/upgrade/dao/Upgrade2213to2214.java
2012-02-06 14:02:16 +05:30
abhi ca6fd0b92c bug 13439: full sync at management server restart, disabling hourly sync 2012-02-06 13:57:36 +05:30
Nitin Mehta 385f3e4791 Bug 13423: Drop i_op_vm_ruleset_log__instance_id, u_op_vm_ruleset_log__instance_id key (if exists) and re-add u_op_vm_ruleset_log__instance_id again.
Reviewed-By: Kishan
2012-02-03 15:30:46 +05:30
kishan 48a8b16ef6 Bug 13433: Updated removed index for async_job table
Reviewed-By: Nitin
2012-02-03 13:34:26 +05:30
Edison Su cf2b87f655 bug 13425: use IN to select security ingress rule
status 13425: resolved fixed
Reviewed-by: frank
2012-02-02 14:31:32 -08:00
prachi 1b14a0f0b9 Bug 13418 Volumes resource limit is not checked during VM creation
Reviewed-By: Sam

- Added Missing resource limit check for volumes during VM creation
2012-02-02 12:27:33 -08:00
Kelven Yang 1e33d503b3 bug 13428: upgrade newly issued realhostip certificate. Reviewed by: Anthony 2012-02-02 11:44:28 -08:00
kishan 2c9f38d307 Bug 12071: Drop and re-create usage event created index in cloud_usage DB
Status 12071: resolved fixed
Reviewed-By: Nitin
2012-02-01 17:05:44 +05:30
Kelven Yang 7021fd3cb5 bug 11814: connect template and instance details data when sending command to resource 2012-01-31 15:09:14 -08:00
Kelven Yang 83d7757f2e bug 11814: TemplateResponse now returns template details info 2012-01-31 15:09:14 -08:00
Kelven Yang 7a3ef1293b bug 11814: Allow template to have details info in key/value pairs. 2012-01-31 15:09:14 -08:00
Alena Prokharchyk f904d79547 Schedule HA is a part of handleDisconnect, not removeAgent
Reviewed-by: Alex Huang

Conflicts:

	server/src/com/cloud/agent/manager/AgentManagerImpl.java
2012-01-31 10:35:16 -08:00