Commit Graph

3512 Commits

Author SHA1 Message Date
Alex Huang 18d0eeb321 bug 13478: added exception printing. Reviewed-by: Anthony 2012-02-09 16:47:48 -08:00
Alex Huang e0e54f8a27 bug 13478: fixed problem with high availability manager being started too early. Reviewed-by: Anthony 2012-02-09 16:41:59 -08:00
abhi 9c7f142247 bug 13549: narrow the condition to stop vm, excluding destroyed and expunging
reviewed-by: kishan
2012-02-09 16:13:31 +05:30
abhi 70be4b6392 bug 13549: cleanup stopped/starting VMs if present on host during MS startup
reviewed-by: kishan
2012-02-09 13:05:44 +05:30
Edison Su 0e0e97de10 bug 13145: re-load the vm data
status 13145: resolved fixed
Reviewed-by: anthony
2012-02-08 21:21:58 -08:00
Edison Su 14d02dbcec bug 13470: check the correct old certificate
status 13470: resolved fixed
Reviewed-by: anthony
2012-02-08 20:55:05 -08:00
frank 32fa3cd996 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:32:06 -08:00
Edison Su d148669ade 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-08 11:33:41 -08:00
kishan 04b1b3312d Bug 13454: Drop both foreign keys, indexes of ssh_keypairs and add again
Status 13454: resolved fixed
Reviewed-By: Nitin
2012-02-08 15:24:40 +05:30
Edison Su 6a3484fc2f cleanup
Reviewed-by: Kelvin
2012-02-07 21:43:47 -08:00
Edison Su 44638afde0 bug 13470: add cert chain in db, and also open the api to upload a cert chain
status 13470: resolved fixed
Reviewed-by: Kelvin
2012-02-07 21:43:46 -08:00
Alena Prokharchyk cf807faa7a bug 13508: fixed inconsistencies in key names during db upgrade
status 13508: resolved fixed
Reviewed-by: Will Chan
2012-02-07 13:32:03 -08:00
anthony dc528dcc7d bug 13478: check null
status 13478: resolved fixed

reviewed-by: edison
2012-02-07 10:41:44 -08:00
abhi 0e5b3febd1 bug 13471: disabling LB during install and upgrade
reviewed-by: kishan
2012-02-07 10:21:31 +05:30
Alena Prokharchyk e08b8d0138 bug 13474: fixed 3)
status 13474: resolved fixed
reviewed-by: Will Chan
2012-02-06 19:52:11 -08:00
Alena Prokharchyk 257099b6a4 bug 13474: fixed 1) 2) and 4)
reviewed-by: Frank
2012-02-06 17:55:35 -08:00
Alena Prokharchyk 8870e9b968 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:40:23 -08:00
kishan 60ac3627a9 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:40:23 +05:30
kishan a0f48786d1 Bug 13454: Remove foriegn keys in ssh_keypairs table and again with correct constraint name
Status 13454: resolved fixed
Reviewed-By: Nitin
2012-02-06 14:00:35 +05:30
abhi ff3ea9356c bug 13449: running VMs can also have null host id, put a check
reviewed-by: kishan
2012-02-04 20:14:31 +05:30
abhi f50fa56b55 bug 13439: update host id for running VMs if changed during full sync
reviewed-by: kishan
2012-02-04 10:46:58 +05:30
abhi 72334f79c9 bug 13421: update CS for inconsistencies in VM statuses during startup
reviewed-by: kishan
2012-02-03 17:27:47 +05:30
Nitin Mehta b621f0406a 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 14:39:21 +05:30
kishan 223cfdc37c Bug 13433: Updated removed index for async_job table
Reviewed-By: Nitin
2012-02-03 13:31:38 +05:30
frank c1855075b3 accidently removed i_snapshots__removed stuff in 2.2.14 upgrade
compensate it back

reviewed-by: alena
2012-02-02 17:03:28 -08:00
frank 58865c60c2 add upgrade script for:
add missing 's' to fk_ssh_keypair__account_id and fk_ssh_keypair__domain_id
    making the name match constraint name

    reviewed-by: alena
2012-02-02 16:37:55 -08:00
Edison Su 5fade1ff43 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-02 15:17:35 -08:00
Edison Su ff39db9fd3 bug 13425: use IN to select security ingress rule
status 13425: resolved fixed
Reviewed-by: frank
2012-02-02 14:28:54 -08:00
prachi 20bd98af24 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:18:10 -08:00
Kelven Yang 95c1fd81f4 bug 13428: upgrade newly issued realhostip certificate. Reviewed-by: Anthony 2012-02-02 11:47:59 -08:00
Nitin Mehta a2e3a12982 Bug 13423: Upgrade 2213 to 2214 add the snapshot index since it was introduced for 2214.
Reviewed-By: Kishan
2012-02-02 19:35:15 +05:30
Nitin Mehta e7f6ffbd43 Bug 13423: Upgrade 2213 to 2214 add the snapshot index since it was introduced for 2214.
Reviewed-By: Kishan
2012-02-02 19:20:43 +05:30
anthony 2d6c426775 bug 12844: fixed merge
reviewed-by : edison
2012-02-01 11:32:35 -08:00
kishan e8851d8cdd 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:06:50 +05:30
anthony e1aa9c0ead bug 12844: fixed a regression
reviewed-by : edison
2012-01-31 17:09:41 -08:00
Kelven Yang f2278bcea6 bug 11814: connect template and instance details data when sending command to resource 2012-01-31 16:22:19 -08:00
Kelven Yang 32cd3f9a60 bug 11814: TemplateResponse now returns template details info 2012-01-31 16:22:18 -08:00
Kelven Yang 3ed3acaea4 bug 11814: Allow template to have details info in key/value pairs. 2012-01-31 16:22:18 -08:00
anthony c530cbad2a bug 12844, 13394: 1. if connect to host fails, don't need to investigate
2. add ha parameter to dissconnect host to indicate if HA VMs on this host

status 12844, 13394: resolved fixed

reviewed-by : edison
2012-01-31 15:23:07 -08:00
Alena Prokharchyk 57cc61396d Schedule HA is a part of handleDisconnect, not removeAgent
Reviewed-by: Alex Huang
2012-01-31 10:24:21 -08:00
abhi 606708e0a3 bug 12849: remove agent will kickstart HA if the host status is Down or Alert. The update is therefore moved before it
reviewed by: kishan
2012-01-30 18:10:37 +05:30
Kelven Yang b622fc60ae bug 13369: recycle roger hung worker VMs in vCenter 2012-01-27 15:16:58 -08:00
anthony 1f53790626 bug 13338:
increate timeout for sshcheck to 10 minutes
if sshcheck fails, finalizeCommandsOnStart fails, no exception

status 13338: resolved fixed

Conflicts:

	server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
2012-01-27 10:06:53 -08:00
abhi c4adad34c6 bug 12849: cleanup logs, moved vm.getNameLabel(conn) before vm is removed, reverted fb277a2bd0934d13022a90565ad902318afa6f53 2012-01-27 20:25:48 +05:30
kishan 3d75bf2242 Bug 12649: Added new param path to listDomains respone
Status 12649: resolved fixed
Reviewed-By: Nitin
2012-01-27 17:52:50 +05:30
Edison Su a455435f5f only decrease the snapshot count when the snapshot status is in backuped state 2012-01-26 13:53:52 -08:00
Nitin Mehta 5da4c970e6 Bug 12897: Make updatehostpassword more robust and allow it to be used only for Xenserver hyperVisor
Status 12897: resolved fixed
Reviewed-By: Kishan
2012-01-25 15:10:10 +05:30
Edison Su b4d14931f1 execute fencecommand in seq for kvm, as there are only 5 default nio reading work threads on kvm agent. pinganswer may not be got serviced immediately, then agent will reconnect to mgt server again and again 2012-01-24 17:30:02 -08:00
Nitin Mehta 93c411eb59 Bug 12740: Allow root admins to bypass the ACL layer.
Reviewed-By: Kishan
2012-01-24 12:28:23 +05:30
anthony 432cfacf2a cleanup snapshot in secondary storage in background 2012-01-19 20:39:45 -08:00