Commit Graph

4881 Commits

Author SHA1 Message Date
Nitin Mehta 3defcc4034 bug CS-14530: Whwnever creating an agent of type Routing update the capacity state as there is a transition in the resource state of the host.
Reviewed By: Kishan
2012-04-20 10:18:18 +05:30
Sheng Yang 773c4e9c09 CS-14542: Fix wrong traffic label for KVM agent 2012-04-19 18:23:58 -07:00
prachi b0635640f8 Bug 14158 - 2.2.x - 3.0 db upgrade for multiple physical networks
-Create multiple physical networks if there are distinct tags found in network_tags table.
-One physical network per tag.
-Currently all tags flow to xenserver traffic type label.
2012-04-19 13:09:15 -07:00
Alena Prokharchyk f88998b988 Revert "bug CS-14530: Whwnever creating an agent for the host put in enabled and disabled according to the hierarchy."
This reverts commit ec69814683.
2012-04-19 10:37:08 -07:00
kishan 5d315de8ec bug CS-14566: set up physical networks before encrypting config values
status CS-14566: resolved fixed
reviewed-by: Nitin
2012-04-19 21:58:08 +05:30
Nitin Mehta ec69814683 bug CS-14530: Whwnever creating an agent for the host put in enabled and disabled according to the hierarchy.
Reviewed By: Kishan
2012-04-19 19:02:56 +05:30
Nitin Mehta c749d7426e bug CS-14530: Whenver adding a new capacity check the state of the resource - if its disabled/enabled.
Reviewed By: Kishan
2012-04-19 16:02:10 +05:30
Alena Prokharchyk 3337f1488b CS-14553: db upgrade - for default network offerings:
1) Change display text to match fresh 3.0.2
2) Delete lb service for the offerings using VR as a provider and not having source nat service
2012-04-18 17:04:34 -07:00
kishan 954a820ccc bug CS-14532: during 2211-2212 upgrade, do not add resource count entries for resourceTypes that were added in later releases
status CS-14532: resolved fixed
reviewed-by: Nitin
2012-04-18 15:40:57 +05:30
Alena Prokharchyk e351182455 CS-14512: fixed deployVm with ipToNetworkList when uuid is used for networkIds 2012-04-16 15:48:17 -07:00
Alena Prokharchyk 3ad8ffe0a0 AdvanceStart: do cleanup() call with force=true when the start command wasn't sent to the backend yet 2012-04-13 17:16:24 -07:00
Sheng Yang 22c6cfa33c 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:50:52 -07:00
Alena Prokharchyk 89eef69750 Bug CS-14447: set crossZones attribute for the template before persisting it to the db 2012-04-13 14:15:18 -07:00
Abhi 60eea7f223 bug CS-14466: removing blank statement 2012-04-13 12:03:15 +05:30
frank e26d927e4b CS-14341 Order of Compute offerings does not stick
resolved fixed
2012-04-12 17:25:17 -07:00
Abhi 53283d5c0d bug CS-13303: updating resource state on upgrade 2012-04-12 17:48:51 +05:30
Abhi 427d434b02 bug CS-13303: updating resource state on upgrade 2012-04-12 17:13:05 +05:30
frank 7744abcacb 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:24:46 -07:00
prachi 58ac2420b3 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:21:46 -07:00
Alena Prokharchyk 9d1e764d25 Remove obsolete network_tags table as a part of db upgrade cleanup 2012-04-11 16:22:54 -07:00
Alena Prokharchyk a046e71f37 Corrected license info in db upgrade script 2012-04-09 15:55:58 -07:00
Abhi ee47a42a68 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:29:30 +05:30
Kelven Yang 3288fde618 bug 14618: Protect servlet container from shutting down on unexpected runtime exceptions
Reviewed-By: Kelven
2012-04-05 15:04:18 -07:00
Kelven Yang b5032a5c8f Bug 14301: Perform socket-level only management server pings
Reviewed-By: kelven
2012-04-05 15:04:06 -07:00
Alena Prokharchyk 6e6fedc79a Fixed unittest 2012-04-04 16:11:26 -07:00
Alena Prokharchyk 7917779852 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

Conflicts:

	server/src/com/cloud/migration/Db20to21MigrationUtil.java
2012-04-04 16:05:14 -07:00
Alena Prokharchyk 71675d88ef bug 14589: don't accept empty username/firstname/lastname in update/createUser apis 2012-04-04 12:56:24 -07:00
frank f0acbfe807 switch to Apache license 2
reviewed-by: frank myself
2012-04-02 22:47:06 -07:00
frank 404e69490a replace cloud.com with CloudStack in text 2012-04-02 19:29:38 -07:00
Kelven Yang b192bfc374 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:43:57 -07:00
Kelven Yang f7649062a9 Bug 14551: add top-level catch clause to protect task/thread from stalling
Reviewed-By: Kelven
2012-03-29 18:23:55 -07:00
prachi 8d64e4a8e6 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:35:48 -07:00
prachi 353fdd5ee7 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.
2012-03-28 19:05:29 -07:00
frank 732fa41a6d change a comment in ApiResponseGsonHelper.java
reviewed-by: edison
2012-03-28 16:18:17 -07:00
Kelven Yang 455a5d88dd 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:45:49 -07:00
kishan 01b745d75d Added since version to API response docs
Reviewed-By: Nitin
2012-03-28 14:33:18 +05:30
kishan 2911891f0f bug 14512: Create user_stats entry for router while persisting routerVO
status 14512: resolved fixed
reviewed-by: Nitin
2012-03-27 19:10:26 +05:30
Kelven Yang 911eebd460 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:48 -07:00
Kelven Yang 2e8c75280f 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 18:00:26 -07:00
Kelven Yang 31af039784 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:59:42 -07:00
Kelven Yang 3a673afcc3 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:59:17 -07:00
Kelven Yang a18df2728c bug 14301: Decouple synchronized crosss management server call with clustering transport, remove obsolete code. Reviewed-by: Kelven 2012-03-26 17:58:49 -07:00
Kelven Yang f23e4cab71 bug 14301: Decouple synchronized crosss management server call with clustering transport. Reviewed-by: Kelven 2012-03-26 17:58:15 -07:00
prachi 909ec57327 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:34:08 -07:00
Sheng Yang d100b47bba 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:54:48 -07:00
frank b1cdbb5544 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:56:38 -07:00
Alena Prokharchyk 9a9e1e1f8e bug 14500: set default value for is_system field as a part of 3.0 to 3.0.1 upgrade
status 14500: resolved fixed
reviewed-by: Frank Zhang
2012-03-26 10:28:58 -07:00
Nitin Mehta 3473bc7d9b Bug 14490: Fix NPE in ListCapacity reviewed-by: Kishan 2012-03-26 12:28:15 +05:30
Edison Su 5797baa3ff bug 1443: even adding host failed, return success in api. status 14443: resolved fixed; Reviewed-by: sheng 2012-03-23 18:22:31 -07:00
Alena Prokharchyk 5a8af4a3e9 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:18:02 -07:00