Commit Graph

865 Commits

Author SHA1 Message Date
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 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
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
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
anthony b851f63571 cleanup snapshot in secondary storage in background 2012-01-19 20:40:24 -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
Nitin Mehta 09e0fa0962 Bug 13027: ListIsos shouldnt display isos that are not dowloaded when asked for only ready templates.
Status 13027: resolved fixed
Reviewed-By: Kishan
2012-01-19 15:27:57 +05:30
Abhinandan Prateek 17b1324284 bug 12189: bringing vm sync at par with master fixes 2012-01-06 17:59:42 +05:30
anthony cc702293ed bug 10743: default local storage is ext in XenServer 6.0, add ext local storage support
Conflicts:

	api/src/com/cloud/storage/Storage.java
2012-01-05 14:42:30 -08:00
Edison Su 4a7c684526 bug 12616: advanced startup command for direct connected agent
status 12616: resolved fixed
2012-01-03 18:29:40 -08:00
Alena Prokharchyk 4439fd8a51 bug 12790: use processDisconnect() when disconnect the agent during agent LB process
status 12790: resolved fixed
2011-12-29 16:56:46 -08:00
Abhinandan Prateek 59a48ce59d bug 11910: no need to do full sync as first thing after connect 2011-11-29 11:35:11 +05:30
Abhinandan Prateek 09e3e2e2ff bug 11910: full sync will only stop unknown VMs on agent 2011-11-23 17:18:51 +05:30
Alex Huang ee9eadef47 bug 12054: added details level to make it faster if so desired by the admin. Reviewed-by: Alena, Will 2011-11-16 17:32:56 -08:00
Alex Huang 67aa34f46d bug 12040: fixed the problem where if the connection is not retrievable, we cause a classcastexception
Reviewed-by: Anthony
2011-11-15 12:12:50 -08:00
kishan 601ce4ca62 bug 11889: Revert earlier commit. use sshkeypair instead of keypair in API response
status 11889: resolved fixed
reviewed-by: Nitin
2011-11-11 14:12:22 +05:30
frank e3240664ab fix a typo
Host.Type.SecondaryStorageVM is the correct type of StartupSecondaryStorageCommand
2011-11-10 17:36:59 -08:00
Abhinandan Prateek 884b9f3a35 bug 11880: host status is now in sync 2011-11-08 16:44:48 +05:30
kishan 6a085608cb bug 11889: use keypair instead of sshkeypair in API response
status 11889: resolved fixed
2011-11-04 13:56:41 +05:30
root 55b5a5c5cd Revert "bug 11791: adding Hypervisor type to list os API"
This reverts commit 78e01c3061795e5d3d80db8a147b5f1c8a836a3c.
2011-11-03 14:53:32 +05:30
Abhinandan Prateek e54fc08862 bug 11791: adding Hypervisor type to list os API 2011-11-01 17:56:28 +05:30
Abhinandan Prateek edbce41065 bug 11701: cleanup, and vm host sync on delta 2011-10-27 16:23:04 +05:30
Abhinandan Prateek 2f5adb0baf bug 11701: cleanup of spurious message 2011-10-19 13:44:05 +05:30
Abhinandan Prateek 7f3a4c700c bug 11701: additional classes for VM sync detached from ping 2011-10-14 13:49:42 +05:30
Chiradeep Vittal 24e83d0da1 bug 11336: compression to allow number of cidrs to scale beyond 8k 2011-10-06 17:37:22 -07:00
Nitin f4f7873fdf ListCapacity - Document what each capacity types mean. 2011-10-03 15:02:43 +05:30
prachi 2f19599fe9 Bug 11481 - get manual live migration working with all VMs
Changes:
- Added a new API  'migrateSystemVm'  backed by MigrateSystemVMCmd.java to migrate system VMs (SSVM, consoleproxy, domain routers(router, LB, DHCP))
- This is Admin only action
- The existing API 'migratevirtualmachine' is only for user VMs

Conflicts:

	api/src/com/cloud/api/ResponseGenerator.java
	api/src/com/cloud/api/commands/ListHostsCmd.java
	api/src/com/cloud/server/ManagementService.java
	api/src/com/cloud/vm/UserVmService.java
	server/src/com/cloud/api/ApiResponseHelper.java
	server/src/com/cloud/server/ManagementServerImpl.java
2011-09-29 18:11:08 -07:00
Sheng Yang 57542db31a Fix wrong event type for DestroyRouterCmd 2011-09-27 15:10:25 -07:00
kishan bdd5b9c3d3 bug 11514: VM transition form Stopped to Error state should be considered as VM.DESTROY
status 11514: resolved fixed
Reviewed-by: Nitin
2011-09-21 20:50:22 +05:30
alena a5a7103df6 bug 11462: 1) when delete PF rule, revoke corresponding firewall first (if exists) 2) never remove PF rule from the table when corresponding firewall rule wasn't removed yet
status 11462: resolved fixed

Reviewed-by: edison@cloud.com
2011-09-20 10:31:08 -07:00
alena 41871d5687 bug 11470: 1) fixed listResourceLimits 2) Fixed -1 to be treated as unlimited for all the resources
status 11470: resolved fixed
2011-09-19 09:46:11 -07:00
anthony 16a97468c2 bug 9777: introduce Error status for snapshot, if snapshot creation fails, it will be in Error status
status 9777: resolved fixed
2011-09-14 18:12:44 -07:00
Kelven Yang 8c56bfffbc add VmwareInvestigator and VmwareFencer, use short worker VM name to avoid vCenter truncation 2011-09-14 15:14:36 -07:00
Edison Su 4999511a2d bug 11239: bugy database contains a cluster whose hypervisor type is Null, then listhypervisorscmd return a None hypervisortype. Fixed in the API, don't return None
status 11239: resovled fixed
2011-09-14 10:43:47 -07:00
Edison Su 79ca0bc66b Revert "bug 11239: add check for hypervisor type when deploy vm, no way to deploy a vm with hypervisor type None"
This reverts commit f1e66738bb252c20a9ec1b8dffc2fd24521458dc.
2011-09-14 10:28:27 -07:00
Sheng Yang 2916270d8b Add missing files for redundant router. 2011-09-14 09:40:19 -07:00
Naredula Janardhana Reddy 01ac82d9d6 bug 11372:
Added two New values "all" and "default" to global config "network.loadbalancer.haproxy.stats.visibility" . With this change, it can take six possible value:
       global - stats visible from public network.
       guest-network - stats visible only to guestnetwork.
       link-local - stats visible only to link local network(for xen and kvm).
       disabled - stats disabled.
       all - stats available on public,guest and link-local.  (Newly added)
       default - stats availble on the serving http port, this does need any specific http port.(Newly added)

Except default and disabled, all the rest of 4 need to configure the stats port.
2011-09-14 17:09:21 +05:30
Sheng Yang 3ba15fe813 bug 11307: Add destroyRouter command 2011-09-14 03:05:47 -07:00
Sheng Yang 58ee9f4855 bug 11307: Add cleanup parameter to restartNetwork command
Default set it to true. When cleanup=false, restartNetwork would only
re-implement the network, but don't destroy current existed routers.
2011-09-14 03:05:15 -07:00
Sheng Yang 49031c5563 bug 11307: Mark router as to-be-stopped, rather than force stop it.
Force stop the router would release all the resources it used, but router may
still running. Add a column "stop_pending" in the database, and stop it when the
router come back.

Admin would able to choose to force destroy such router, then recover the
network using restartNetwork command with cleanup=false.
2011-09-14 03:05:09 -07:00
Sheng Yang 9cc1ecbce8 bug 11307: Enable CheckRouterAnswer to tell if redundant router's priority is bumped or not 2011-09-14 03:03:18 -07:00
Sheng Yang 9e0ee10e9f bug 11307: Let CheckRouterAnswer() parse the return result 2011-09-14 03:03:00 -07:00
Edison Su e3587d961d bug 11239: add check for hypervisor type when deploy vm, no way to deploy a vm with hypervisor type None 2011-09-13 16:22:59 -07:00
alena 4c7a4181c0 bug 11246: return lb rule Id in the async response for createLoadBalancer api
status 11246: resolved fixed
2011-09-13 12:06:46 -07:00
Edison Su a0b683d4ac add jna dependenc 2011-09-13 11:26:22 -07:00
alena 4bdfec16f5 bug 11412: use "sshkeypair" instead of "keypair" in response name for ssh commands
status 11412: resolved fixed
2011-09-13 11:02:07 -07:00