Commit Graph

2157 Commits

Author SHA1 Message Date
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 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 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
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
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
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
kishan 1e180de60b Skip event migration when usage db doesn't exist 2011-04-04 18:36:39 +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 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
kishan 3c07db7e2d bug 9239: Ignore optional zone Id for Snapshot delete events
status 9239: resolved fixed
2011-04-01 15:19:43 +05:30
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
alena 2af8b32d31 bug 9245: save ownerAccountId (instead of callerAccountId) to account_id field in async_job table. We already save caller info to user_id field
status 9245: resolved fixed
2011-03-31 15:27:35 -07:00
anthony 47eb018975 bug 9249: use interval type , not snapshot type
status 9249: resolved fixed
2011-03-31 13:51:09 -07:00
kishan 9a29e1d926 Added missing semi-colon and corrected usage unit test error messages 2011-03-31 18:16:44 +05:30
alena eb696ab0ce bug 9195: don't return domR/SSVM/CPVM volumes in listVolumes api response
status 9195: resolved fixed
2011-03-30 16:33:45 -07:00
alena bb31bc779f For VirtualRouter apply networkThrottling rate of the GuestNetworkOffering to both Guest and Public networks. 2011-03-30 14:49:15 -07:00
alena eccef7022c bug 9192: don't query for securityGroups when Vm's zone is security group disabled.
status 9192: resolved fixed
2011-03-30 09:39:29 -07:00
Prasanna Santhanam 41e7642825 don't do a cidr check for the simulator 2011-03-30 19:41:13 +05:30
Murali Reddy 1b251a5fc8 Bug 4061: support for Microsoft Hyper-V changes- part 1 2011-03-30 18:48:51 +05:30
Prasanna Santhanam d431f70447 moving simulator classes to premium 2011-03-30 14:00:50 +05:30
Prasanna Santhanam 29ef62f795 refactoring the simulator for 2.2 2011-03-30 14:00:50 +05:30
kishan f06972b180 bug 7631: Convert unprocessed events to usage_events
status 7631: resolved fixed
2011-03-30 11:09:21 +05:30
alena dadab81721 Fixed NPE in listVirtualMachines command - when search for ROOT volume's storagePool type, assume that corresponding storagePool might be removed. 2011-03-29 20:17:49 -07:00
alena efd4cfa297 bug 9201: listNetworkOfferings - return -1 when network_rate is Unlimited; if value is NULL - return global configuration value
status 9201: resolved fixed
2011-03-29 19:26:20 -07:00
Kelven Yang 64148f46f4 bug 8713: supporting structures for SSVM load management 2011-03-29 18:52:54 -07:00
alena 9f3f99f27f bug 9192: More improvements to listVm performance - cache dataCenter/serviceOffering/Network/Template/Iso information on Api level
status 9192: resolved fixed
2011-03-29 18:42:44 -07:00
alena 46a80a599a bug 9192: multiple improvementes to listVms command.
1) No longer do multiple searches involving "domain" table; only one join with domain is being done.
2) Do join with domain table only when command is executed by domainAdmin
3) Added index for "path" field in "domain" table
4) No longer do joins with account table as account_id is already present in vm_instance table.
2011-03-29 18:42:44 -07:00
anthony f71986125a bug 9210: remove storage pool entry if adding storage pool fails
status 9210: resolved fixed
2011-03-29 17:44:55 -07:00
Kelven Yang 0788d4a834 bug 8713 : cleanups 2011-03-29 15:10:34 -07:00
Kelven Yang 2e24a68f7f bug 8713: use SystemVmLoadScanner for SSVM 2011-03-29 15:10:34 -07:00
Edison Su ee3d6f5cea bug 9205: resolved fixed
status 9205: fix NPE in usageEvent
2011-03-29 15:00:35 -04:00
alena 7ce9845fb7 No need to check if user vm exists during static nat port range creation. We already do it when enableStaticNat for the ip address 2011-03-29 13:46:18 -07:00
Kelven Yang 8e727230ce Use SystemVmLoadScanner for console proxy VMs 2011-03-29 11:19:01 -07:00