4905 Commits

Author SHA1 Message Date
Alex Huang
7c6932ef80 some reformatting and a new way to get vos into the system 2012-04-12 11:04:38 -07:00
Abhi
2c3c0f06ca bug CS-13303: updating resource state on upgrade 2012-04-12 17:46:18 +05:30
frank
9684ea7397 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:35 -07:00
prachi
4f116fb24f 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:24:31 -07:00
Alena Prokharchyk
8084318e5e Remove obsolete network_tags table as a part of db upgrade cleanup 2012-04-11 16:23:51 -07:00
Kelven Yang
8b8973f941 Complete XenServer Secure Console proxy implementation 2012-04-10 15:57:52 -07:00
Alena Prokharchyk
52539e798d bug 14449: added logging to createVlanIpRange
status 14449: resolved fixed
2012-04-10 11:24:36 -07:00
Rajesh Battala
3cbb8bc198 Xenserver Secure Console Proxy Phase I 2012-04-10 18:01:56 +05:30
Alena Prokharchyk
85b35978de Db upgrade path for 3.0.2 to 3.0.3 2012-04-09 15:50:10 -07:00
Alena Prokharchyk
98fd5cf959 bug 14622: introduced ha tagging for host
status 14622: resolved fixed

Conflicts:

	server/src/com/cloud/host/dao/HostDao.java
2012-04-09 15:18:01 -07:00
Abhi
d6e9f49c09 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:27:18 +05:30
David Nalley
59436be4ee fixing line endings in server 2012-04-07 20:13:10 -04:00
Alena Prokharchyk
6ff3dc3951 Return password as a result of startVm command if the vm was originally deployed with startVm=false parameter 2012-04-06 13:46:49 -07:00
Alena Prokharchyk
2d1a6b0b35 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:48 -07:00
Kelven Yang
c112088fc5 bug 14618: Protect servlet container from shutting down on unexpected runtime exceptions
Reviewed-By: Kelven
2012-04-05 15:06:39 -07:00
Kelven Yang
93a5b7c0bc Bug 14301: Perform socket-level only management server pings
Reviewed-By: kelven
2012-04-05 15:06:25 -07:00
Alena Prokharchyk
1dc99a17eb Fixed unittest 2012-04-04 16:13:51 -07:00
Alena Prokharchyk
c0130a5c41 Code cleanup for createVlanRange api 2012-04-04 15:03:04 -07:00
Alena Prokharchyk
25e85e177e bug 14589: don't accept empty username/firstname/lastname in update/createUser apis 2012-04-04 12:55:02 -07:00
Alena Prokharchyk
b14bac0977 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:52:32 -07:00
frank
2f634c0913 Switch to Apache license 2012-04-03 04:50:05 -07:00
Alena Prokharchyk
def05c9da5 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:29 -07:00
Kelven Yang
74754f0a56 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:46:13 -07:00
Alena Prokharchyk
a4e8133b78 bug 14559: podId is required parameter in addCluster api
status 14559: resolved fixed
2012-03-30 10:37:14 -07:00
Kelven Yang
c12b00099b Bug 14551: add top-level catch clause to protect task/thread from stalling
Reviewed-By: Kelven
2012-03-29 18:25:53 -07:00
prachi
1b6e38f3d5 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:40:06 -07:00
prachi
23915b7481 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:15:30 -07:00
frank
f53dc35d9f change a comment in ApiResponseGsonHelper.java
reviewed-by: edison
2012-03-28 16:18:42 -07:00
Kelven Yang
16ab819502 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:47:00 -07:00
Alena Prokharchyk
d6cf594ef7 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:14 -07:00
Alena Prokharchyk
dc1af9e5f4 bug 14444: specifyVlan should always be false for the network offering of type Isolated supporting sourceNat service
status 14444: resolved fixed
2012-03-28 11:24:09 -07:00
Alena Prokharchyk
e4d16551fc bug 14465: throw exception when try to send email invitation while smtp session wasn't configured
status 14465: resolved fixed
2012-03-28 10:05:54 -07:00
Kelven Yang
5602f3b550 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-27 16:37:22 -07:00
Kelven Yang
7d87f48ef4 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-27 16:09:55 -07:00
Kelven Yang
880188466c 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-27 16:08:57 -07:00
Kelven Yang
b0e8f08a3e bug 14301: Decouple synchronized crosss management server call with clustering transport. Reviewed-by: Kelven 2012-03-27 16:05:52 -07:00
Kelven Yang
0f34744c9e bug 14301: Decouple synchronized crosss management server call with clustering transport. Reviewed-by: Kelven 2012-03-27 16:01:54 -07:00
kishan
bed3f7f7e2 bug 14512: Create user_stats entry for router while persisting routerVO
status 14512: resolved fixed
reviewed-by: Nitin
2012-03-27 19:04:34 +05:30
kishan
57f935ca03 Added since version to API response docs 2012-03-27 11:12:59 +05:30
prachi
c2570b9e7d 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:43:49 -07:00
Sheng Yang
b409615a32 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:43 -07:00
frank
c504e8aa35 Bug 14492 - Stop and start of SSVM in Zone1 fails if Zone2 is configured with Storage network
status 14492: resolved fixed
reviewed-by: edison
2012-03-26 11:58:12 -07:00
Alena Prokharchyk
ce8e9a9f51 bug 14500: set default value for is_system field as a part of 3.0 to 3.0.1 upgrade
status 14500: resolved fixed
reviwed-by: Frank Zhang

Conflicts:

	server/test/com/cloud/network/MockNetworkManagerImpl.java
	setup/db/db/schema-30to301.sql
2012-03-26 10:27:15 -07:00
Nitin Mehta
a78537398c Bug 14490: Fix NPE in ListCapacity 2012-03-24 16:24:51 +05:30
Nitin Mehta
a5a7be4c7e Bug 10808: Add Upload Volume api and do validation. 2012-03-24 13:59:59 +05:30
Edison Su
1e4893b69c bug 1443: even adding host failed, return success in api. status 14443: resolved fixed; Reviewed-by: sheng 2012-03-23 18:23:10 -07:00
Alena Prokharchyk
4060be1842 bug 14445: automatically enable firewall service for VR when VR is a provider for PF/StaticNat services
status 14445: resolved fixed
reviewed-by: Sheng Yang
2012-03-22 14:17:15 -07:00
Alena Prokharchyk
15019d1e5c bug 14439: added search by name/description to listGuestOS and listGuestOSCategories apis
status 14439: resolved fixed
reviewed-by: Frank Zhang
2012-03-22 11:33:22 -07:00
Alena Prokharchyk
c42fceab27 bug 14446: removed elasticLBVm from components.xml
status 14446: resolved fixed
reviewed-by: Frank Zhang
2012-03-22 10:26:48 -07:00
Abhi
90da4d1c92 bug 12947: support for 1.5 beta; reviewed-by: nitin 2012-03-22 17:30:56 +05:30