alena
0fdcba3f4f
bug 8855: introduced search by zoneId to listLoadBalancerRules api. Also added "zoneId" parameter to the response
...
status 8855: resolved fixed
2011-04-05 14:38:47 -07:00
prachi
92c0b3b82f
Bug 9309 - In Manual migration, do not consider 'reserved_capacity' when computing available memory in destination
...
Changes:
- Now while listing hosts for migration, capacity is calculated as total_capacity -used_capacity
instead of total_capacity -(used_capacity + reserved_capacity)
- Also, the capacity columns in op_host_capacity are now 'signed' type so that the subtractions in queries does not overflow.
- Added this to DB upgrade 222 to 224 change as well.
2011-04-05 14:06:32 -07:00
anthony
288a36d09f
Merge branch '2.2.4'
...
Conflicts:
api/src/com/cloud/configuration/ConfigurationService.java
core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java
server/src/com/cloud/api/ApiDBUtils.java
server/src/com/cloud/configuration/ConfigurationManagerImpl.java
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
setup/db/db/schema-21to22.sql
setup/db/db/schema-222to224.sql
utils/src/com/cloud/utils/exception/ExceptionUtil.java
2011-04-05 12:04:09 -07:00
Alex Huang
b86828bbbe
some formatting changes for agentmanager
2011-04-05 11:04:35 -07:00
Alex Huang
5f41eef6d1
Brought over edison's changes
2011-04-05 11:04:34 -07:00
Alex Huang
5d488b106d
bring changes to master from 2.2.4
2011-04-05 11:01:36 -07:00
Alex Huang
2230c24ab3
check in changes from 2.2.4
2011-04-05 11:01:35 -07:00
Alex Huang
075fba5899
stackmaid is now taskmanager
2011-04-05 10:17:22 -07:00
alena
61f968592b
bug 9306: set isolationUri/broadcastUri for SSVM/domR/CPVM public nics
...
status 9306: resolved fixed
2011-04-05 09:18:43 -07:00
Alex Huang
04099a4950
bug 9311: changed instance_id to nic_id
2011-04-05 09:12:55 -07:00
alena
49cbcac29f
bug 8959: fixed mac address generation for public ip addresses
2011-04-04 18:31:19 -07:00
alena
534623706d
bug 9305: set Mode field for domR/CPVM/SSVM nics
...
status 9305: resolved fixed
2011-04-04 18:31:07 -07:00
alena
9b4b0abcce
bug 8959: fixed mac address generation for public ip addresses
2011-04-04 18:26:11 -07:00
alena
c6b8c0ecfa
bug 9305: set Mode field for domR/CPVM/SSVM nics
...
status 9305: resolved fixed
2011-04-04 17:51:53 -07:00
prachi
204aa86686
Bug 9043 - VM manual migration - when destination host is out of memory for migration, VMs being migrated remained in 'migrating' state
...
Changes:
- When migration fails we try to do cleanup on the destination host agent. The AgentUnavailableException in this cleanup was not caught.
-Due to that other cleanup like reverting capacity allocated and vm state were skipped.
-Fix is to catch the AgentUnavailableException so that rest of the cleanup can happen.
- Also corrected the exceptions in various cases of migration failure.
- In case the VM is still starting, HA should schedule a retry. Introduced a special migration exception for handling this.
2011-04-04 17:39:27 -07:00
prachi
53f8ebf6f0
Bug 9043 - VM manual migration - when destination host is out of memory for migration, VMs being migrated remained in 'migrating' state
...
Changes:
- When migration fails we try to do cleanup on the destination host agent. The AgentUnavailableException in this cleanup was not caught.
-Due to that other cleanup like reverting capacity allocated and vm state were skipped.
-Fix is to catch the AgentUnavailableException so that rest of the cleanup can happen.
- Also corrected the exceptions in various cases of migration failure.
- In case the VM is still starting, HA should schedule a retry. Introduced a special migration exception for handling this.
2011-04-04 17:30:08 -07:00
Alex Huang
b2cab48e0c
bug 9308: changed instance_id to nic_id
2011-04-04 16:59:16 -07:00
alena
6736569d22
bug 9274: listPublicIpAddresses - don't list Direct ip addresses by default; list them only when "forVirtualNetwork=false" is specified in the request.
...
status 9274: resolved fixed
2011-04-04 15:47:23 -07:00
alena
a47a4c8cfe
bug 9272: fixed the race condition bug when we tried to remove vm from SG after it was expunged (expunge interval was really small, 60 sec).
...
status 9272: resolved fixed
When do search for vm, do includingRemoved search.
2011-04-04 15:47:14 -07:00
alena
f8fce16cac
bug 9274: listPublicIpAddresses - don't list Direct ip addresses by default; list them only when "forVirtualNetwork=false" is specified in the request.
...
status 9274: resolved fixed
2011-04-04 15:43:04 -07:00
alena
f2921b7f15
bug 9272: fixed the race condition bug when we tried to remove vm from SG after it was expunged (expunge interval was really small, 60 sec).
...
status 9272: resolved fixed
When do search for vm, do includingRemoved search.
2011-04-04 15:43:04 -07:00
Kelven Yang
1692caabe8
Make sure hooking of answer command callback be called for both sync/Async commands
2011-04-04 14:46:19 -07:00
Kelven Yang
918df1a838
missing one more place to notify answer commands
2011-04-04 14:44:24 -07:00
anthony
545aa50388
bug 9282: set cluster guid if it is null
...
status 9282: resolved fixed
2011-04-04 14:33:18 -07:00
Alex Huang
e8720cc1f7
bug 9300: changed the network id to management from storage for ssvm
2011-04-04 13:53:51 -07:00
alena
af4459f24f
Fixed list* api commands.
2011-04-04 11:36:49 -07:00
Kelven Yang
2759eefcf5
Add weight to command to help future load management, fix issues found in system vm pooling
2011-04-04 09:33:42 -07:00
Alex Huang
fc7f526090
bug 9282: changed the broadcast domain type for control and public network
2011-04-04 09:56:56 -07:00
Alex Huang
5a6d3dc55c
bug 9280: added gateway and cidr for control network
2011-04-04 09:50:16 -07:00
kishan
1e180de60b
Skip event migration when usage db doesn't exist
2011-04-04 18:36:39 +05:30
kishan
4f97d4652d
Skip event migration when usage db doesn't exist
2011-04-04 18:31:48 +05:30
alena
2aeacd5a4c
bug 3179: added "count" parameter to the response to all List* api commands
2011-04-01 19:29:08 -07:00
alena
29bfde9da4
Revert "bug 8898: allow service offering upgrade for Running vm"
...
This reverts commit 7668e1878a .
2011-04-01 18:16:14 -07:00
alena
097d415589
Revert "bug 8898: allow service offering upgrade for Running vm"
...
This reverts commit 7668e1878a .
2011-04-01 17:54:17 -07:00
Alex Huang
7ce3e22d36
bug 9259: added upgrade test suite
2011-04-01 17:01:53 -04:00
alena
b876ad2530
224 to 225 upgrade - use schema*.sql instead of data*.sql
2011-04-01 16:25:56 -07:00
alena
1359e88a6f
bug 9244: don't insert config value if it's already present in the DB.
...
status 9244: resolved fixed
2011-04-01 16:17:05 -07:00
alena
bf588166ed
bug 7704: network limits cleanup.
...
status 7704: resolved fixed
For user vm:
* for default network, take limit from the corresponding service offering
* for all additional networks, take limit from the network offerings
For domainRouter/SSVM/CPVM:
* get info from the network offering
Added new config parameter: "vm.network.throttling.rate". If nw_rate is NULL for serviceOffering, this parameter would be used for default vm's network
2011-04-01 15:48:32 -07:00
Alex Huang
8b34065623
bug 9259: added upgrade test suite
2011-04-01 10:32:23 -07:00
kishan
3c07db7e2d
bug 9239: Ignore optional zone Id for Snapshot delete events
...
status 9239: resolved fixed
2011-04-01 15:19:43 +05:30
kishan
7b55b41556
bug 9239: Ignore optional zone Id for Snapshot delete events
...
status 9239: resolved fixed
2011-04-01 15:15:00 +05:30
kishan
7f08061e72
Added missing semi-colon and corrected usage unit test error messages
2011-04-01 12:06:52 +05:30
prachi
492dd78f1c
Bug 9180 - Default local SR on XenServer won't be used
...
- Update the diskoffering for system VMs to change the value of use_local_storage, when the global config 'system.vm.use.local.storage' is changed.
2011-03-31 23:11:11 -07:00
prachi
e139cff9f0
Bug 9180 - Default local SR on XenServer won't be used
...
- Update the diskoffering for system VMs to change the value of use_local_storage, when the global config 'system.vm.use.local.storage' is changed.
2011-03-31 23:05:50 -07:00
anthony
513236b100
bug 9161: better fix
2011-03-31 18:23:32 -07:00
anthony
f3fbe7b9fe
bug 9161: findByOutstandingWork means find all works with step not equal Done
2011-03-31 18:01:42 -07:00
Kelven Yang
ea95ac1808
bug 8713 : finalize the implementation of supporting system vm pooling
2011-03-31 17:14:09 -07:00
alena
5f4054325a
bug 9248: generate events on service/diskOffering create/update/delete
...
status 9248: resolved fixed
2011-03-31 16:32:07 -07:00
anthony
2c85092316
bug 9161: better fix
2011-03-31 18:24:57 -07:00
anthony
afd7adc775
bug 9161: findByOutstandingWork means find all works with step not equal Done
2011-03-31 18:03:59 -07:00