Commit Graph

4886 Commits

Author SHA1 Message Date
Alena Prokharchyk 1e8856efa0 CS-14512: fixed deployVm with ipToNetworkList when uuid is used for networkIds
Conflicts:

	server/src/com/cloud/api/ApiResponseHelper.java

Conflicts:

	server/src/com/cloud/api/ApiResponseHelper.java
2012-04-16 15:45:19 -07:00
Alena Prokharchyk 8bb5a96cbe CS-14297: added "forced" option to deleteStoragePool command. If forced=true, all destroyed volumes are marked as Expunged even when we can't reach primary storage at the moment of deletion. 2012-04-16 13:16:59 -07:00
Alena Prokharchyk c242a776a7 AdvanceStart: do cleanup() call with force=true when the start command wasn't sent to the backend yet 2012-04-13 17:18:48 -07:00
Sheng Yang 95d3be2d3a bug 14470: Return true for applyRules unless specified
Only DHCP entry need to know if no one apply the entries(when VM is starting
up), other rules should be safe when return true anyway.

status 14470: resolved fixed
2012-04-13 14:51:13 -07:00
Alena Prokharchyk f74e6128e9 Bug CS-14447: set crossZones attribute for the template before persisting it to the db 2012-04-13 14:16:06 -07:00
Abhi 341ad9444a bug CS-14466: removing blank statement 2012-04-13 13:42:25 +05:30
frank e26505f82d CS-14341 Order of Compute offerings does not stick
resolved fixed
2012-04-12 17:26:27 -07:00
Alena Prokharchyk 572abbf9d5 Added one more parameter - haHost(boolean) - to listHosts api command. The parameter identifies if the host is dedicated for ha only 2012-04-12 11:51:44 -07:00
Abhi 5709cc5832 bug CS-13303: updating resource state on upgrade 2012-04-12 17:47:34 +05:30
Abhi 7eb1330800 bug CS-13303: updating resource state on upgrade 2012-04-12 17:14:50 +05:30
frank 2530ea17dd CS-14429 Cloud db schema differences between fresh installed 3.0.2 & upgraded 3.0.2
do check befor droping index i_host__allocation_state`(`allocation_state`)
2012-04-11 17:25:15 -07:00
prachi 239a2193a9 Bug 14646 - Enabling Host into maintenance mode is stopping the VMs instead of live migrating them to other hosts in the cluster.
Changes:
-  While listing UP hosts in the cluster of the host, the query has changed and now also considers the Host 'resourceState' field and picks only those hosts that have value 'enabled'.
   This query result does not include the host being put in maintainance; unlike the earlier query that used to include it.
-  But the logic to find out if this is the last host in the Cluster is not updated and has a bug when it compares the list size.
- Fixed this.
2012-04-11 16:20:24 -07:00
Alena Prokharchyk be04f2bd63 Remove obsolete network_tags table as a part of db upgrade cleanup 2012-04-11 16:23:39 -07:00
Kelven Yang f38ba2efbe Complete XenServer Secure Console proxy implementation 2012-04-10 16:01:08 -07:00
Rajesh Battala f34c84c68f Xenserver Secure Console Proxy Phase I 2012-04-10 16:00:46 -07:00
Alena Prokharchyk 03a2140911 bug 14449: added logging to createVlanIpRange
status 14449: resolved fixed
2012-04-10 11:23:58 -07:00
Alena Prokharchyk cd774c9fab Db upgrade path for 3.0.2 to 3.0.3 2012-04-09 15:50:23 -07:00
Alena Prokharchyk b7f5bc099d bug 14622: introduced ha tagging for host
status 14622: resolved fixed
2012-04-09 15:17:13 -07:00
Abhi 8f08898fb7 bug CS-14396: the VMs with current host id should be listed here, probably this fix did not make to this branch, is there is 2.2.14 branch 2012-04-09 12:24:49 +05:30
Alena Prokharchyk 52ebc73b65 Return password as a result of startVm command if the vm was originally deployed with startVm=false parameter 2012-04-06 13:45:48 -07:00
Alena Prokharchyk d3bca8df8f bug 14615: deployVm can work 2 diff ways now: 1) Default way - create and start the vm. 2) Create the vm without starting it. Note that vm's volumes stay in Allocated state -not created on the backend till the point where vm starts
status 14615: resolved fixed
2012-04-06 11:30:26 -07:00
Kelven Yang cf67c361ec bug 14618: Protect servlet container from shutting down on unexpected runtime exceptions
Reviewed-By: Kelven
2012-04-05 15:02:43 -07:00
Kelven Yang cc0ebc9739 Bug 14301: Perform socket-level only management server pings
Reviewed-By: kelven
2012-04-05 15:02:30 -07:00
Alena Prokharchyk 8ef2303c13 Fixed unittest 2012-04-04 16:12:16 -07:00
Alena Prokharchyk 07778f8db3 Code cleanup for createVlanRange api 2012-04-04 15:02:51 -07:00
Alena Prokharchyk c31a6846ad bug 14589: don't accept empty username/firstname/lastname in update/createUser apis 2012-04-04 12:54:52 -07:00
Alena Prokharchyk 0bd655f79b bug 14539: 1) introduced 2 new config parameters defining default offerings for ssvm and cpvm - consoleproxy.service.offering and secstorage.service.offering
2) Added new api - changeServiceForSystemVm - to support service offering upgrade for system vms
3) Removed global config parameters that are not in use anymore: consoleproxy.ram.size, consoleproxy.cpu.mhz, secstorage.vm.ram.size, secstorage.vm.cpu.mhz
2012-04-03 10:51:35 -07:00
frank 72d284de7d Switch to Apache license 2012-04-03 04:54:14 -07:00
Alena Prokharchyk 559dc76fdd 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:21:16 -07:00
Kelven Yang 5119b547c8 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:44:54 -07:00
Alena Prokharchyk 8fa14c7200 bug 14559: podId is required parameter in addCluster api
status 14559: resolved fixed

Conflicts:

	server/src/com/cloud/resource/ResourceManagerImpl.java
2012-03-30 10:38:48 -07:00
Kelven Yang 5dc08bce44 Bug 14551: add top-level catch clause to protect task/thread from stalling
Reviewed-By: Kelven
2012-03-29 18:24:51 -07:00
prachi 399cc04163 Bug 14536 - DB exception while trying to delete physical network
Reviewed-By: Sheng Yang

Changes:
Added proper cleanup for virtual router elements.
2012-03-29 12:38:13 -07:00
prachi 2b6712b7a8 Bug 14536 - DB exception while trying to delete physical network
Reviewed-By: Sheng Yang

Changes:
Added 'removed' column to physical_network_service_providers to avoid the Foreign Key constraint error.

Conflicts:

	setup/db/db/schema-30to301.sql
2012-03-29 10:08:47 -07:00
frank 14f2ee35b0 change a comment in ApiResponseGsonHelper.java
reviewed-by: edison
2012-03-28 16:16:51 -07:00
Kelven Yang 32ce95979b 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:44:46 -07:00
Alena Prokharchyk dcf299c26f bug 14292: don't try to reboot vm as part of resetVmPassword if the vm is in Stopped state
status 14292: resolved fixed
2012-03-28 13:51:00 -07:00
Alena Prokharchyk 94986f74f9 bug 14444: specifyVlan should always be false for the network offering of type Isolated supporting sourceNat service
status 14444: resolved fixed
2012-03-28 13:51:00 -07:00
Alena Prokharchyk 77a60597f2 bug 14465: throw exception when try to send email invitation while smtp session wasn't configured
status 14465: resolved fixed
2012-03-28 10:07:10 -07:00
kishan 8a794c1276 Added since version to API response docs
Reviewed-By: Nitin
2012-03-28 14:35:13 +05:30
kishan 23f87663e4 bug 14512: Create user_stats entry for router while persisting routerVO
status 14512: resolved fixed
reviewed-by: Nitin
2012-03-27 19:09:55 +05:30
Kelven Yang 906c979de6 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:13:08 -07:00
Kelven Yang 6ebf1cdfbb 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-26 17:54:02 -07:00
Kelven Yang b14b35d5f9 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-26 17:54:01 -07:00
Kelven Yang d9a439a513 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-26 17:54:00 -07:00
Kelven Yang 5bdc9da699 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-26 17:53:59 -07:00
Kelven Yang a0c4095601 bug 14301: Decouple synchronized crosss management server call with clustering transport, remove obsolete code. Reviewed-by: Kelven 2012-03-26 17:53:58 -07:00
Kelven Yang 040de04397 bug 14301: Decouple synchronized crosss management server call with clustering transport. Reviewed-by: Kelven 2012-03-26 17:53:57 -07:00
prachi e4de342e0d Bug 14482 - When user tries to delete an acquired Ip address ,right after this is successful, UI calls listRemoteAccessVpns() which results in java.lang.NullPointerException.User is presented with "Internal error executing command" error
Reviewed-By: Sheng

Changes:
- Added the null check for account object.
2012-03-26 14:39:08 -07:00
Sheng Yang d80b58fe1d bug 14484: Apply existed firewall rules when associating IP
It's not a elegant fix. The status for firewall rules should remain unchanged
before/after ip association/disassociation. But the related change is tricky
than this fix, may not get enough test for 3.0.1. So we would apply existed
firewall rules again, which would work, just result in some unnecessary
commands.

status 14484: resolved fixed

Reviewed-by: Edison Su
2012-03-26 13:55:32 -07:00