Commit Graph

3503 Commits

Author SHA1 Message Date
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
abhi 06221d18c3 Revert "bug 12849: remove agent will kickstart HA if the host status is Down or Alert. The update is therefore moved before it"
This reverts commit 17bb6608dc4195e11d399457498b7edae2184b53.
2012-01-31 09:24:39 +05:30
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
Edison Su a976f1c23c bug 13145: update user data in domr when updatevmcmd is called
status 13145: resolved fixed
2012-01-19 20:02:17 -08:00
Edison Su d9287f0e43 tell agent to reconnect to mgt server, if cancelmaintainance cmd is called 2012-01-19 17:14:00 -08:00
Nitin Mehta ee1971526c Bug 12897: Make updateHostPassword more robust. Allow only KVM's individual host password be changed and Xenserver cluster password be changed. For rest of the hypervisors throw an exception.
Reviewed-By: Abhi
2012-01-19 21:27:18 +05:30
kishan 895a273061 Bug 12292: updated netapp_volume primary key for upgrades
Status 12292: resolved fixed
Reviewed-By: Nitin
2012-01-18 14:06:28 +05:30
abhi 04adac0a06 bug 12875: a starting VM can be discovered as running if a disconnected host connects back 2012-01-18 12:06:56 +05:30
Kelven Yang 6d40c078f9 bug 11428: remove the constraint based on customer's feedback, we will allow creating volume from a snapshot that was originally taken from root volume. Customers should be aware that when the volume is attached as a data volume, some partitions that were originally created as a root volume may not be recognized by the guest OS 2012-01-17 16:01:22 -08:00
kishan 6aaac81ca2 Bug 12639: while logging events, hide value for configs containing password string in config name
Status 12639: resolved fixed
Reviewed-By: Nitin
2012-01-17 15:08:34 +05:30
kishan 68ace71ca8 Bug 13075: To get last alert, use offset 0 instead of 1
Status 13075: resolved fixed
Reviewed-By: Nitin
2012-01-17 12:03:30 +05:30
anthony 80f971ef33 only create new sshkey if user is cloud 2012-01-16 14:53:52 -08:00