Commit Graph

2120 Commits

Author SHA1 Message Date
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
anthony 436dccb6d7 bug 9189: fixed it in master, modifystoragepool doesn't try to create/import any more, will port it to 2.1.x 2011-03-28 19:11:20 -07:00
Kelven Yang 2e284e1f75 Add system VM load scaner 2011-03-28 18:44:48 -07:00
will a959726f38 bug 9200: Fixed issue when attempting to change the service offering of a VM who's current service offering has been deleted. 2011-03-28 18:15:13 -07:00
alena f8a1278a80 Don't return rate_limit for the network offering when the limit value is NULL 2011-03-28 17:24:17 -07:00
alena 65a083b1db bug 8831: no need for "isdedicatedtodomain" and "dedicateddomainid" parameters. If 1) network is private, return account/domainId 2)If network is shared for specific domain, return domainId only 3) If network is shared in zone, don't return account/domainId
status 8831: resolved fixed
2011-03-28 16:54:09 -07:00
alena d3357c6691 Set network limit to be 0 by default for Control/Management/Storage/Public networks (these networks are used by SSVM/ConsoleProxy/domR) 2011-03-28 15:48:11 -07:00
alena 5dec433529 bug 9188: remove all lb-vm DB mapping that are set with Revoke status after the LB rule is set on the backend
status 9188: resolved fixed
2011-03-28 15:48:11 -07:00
Kelven Yang fa0dd8a228 Allow cluster management confliction detection to handle quick manageemnt server restarts 2011-03-28 15:14:51 -07:00
anthony 045b6ac319 bug 9184: allow detach a volume when the VM is in Destroyed status
status 9184: resolved fixed
2011-03-28 14:46:54 -07:00
anthony 8712334ae2 bug 9161:
add more log
2011-03-28 14:46:54 -07:00
alena 5d195b35c2 bug 9186: removeFromLoadBalancer - set firewall rule state to Add when the last Vm-LB mapping is removed
status 9186: resolved fixed
2011-03-28 13:20:05 -07:00
alena fdf0f589af bug 8902: added Removed field to "cluster" table
status 8902: resolved fixed
2011-03-28 10:50:09 -07:00
Alex Huang b2eda8c71b Changes to the planners 2011-03-28 09:48:33 -07:00
alena 8c61e10c08 bug 9158: introduced new parameter "storageId" to listVirtualMachines api.
status 9158: resolved fixed

1) Works for admins only
2) When specified, list only vms that have volumes on this storage
2011-03-25 18:26:59 -07:00
nit ded1184548 bug 8710: Introducing a new user role in cloudstack called RESOURCE_DOMAIN_ADMIN. The role would have all the domain_admin rights and the rights to list zone,pods,clusters and so on. More info in the bug 2011-03-25 18:04:09 -07:00
alena bb895a7b75 bug 8103: don't allow to remove host if it has Running/Stopping/Starting vms
status 8103: resolved fixed
2011-03-25 17:29:54 -07:00
alena a8cc285ca9 bug 8934: set correct guest_type for default Xen Centos template. DB upgrade script is also updated.
status 8934: resolved fixed
2011-03-25 16:05:06 -07:00
alena 1932652125 bug 5912: Added events and logging for securityGroup create/delete
status 5912: resolved fixed
2011-03-25 15:23:18 -07:00
alena 92f01ba143 2.1.x to 2.2.2 upgrade for Domain level vlans 2011-03-25 15:23:18 -07:00
Kelven Yang 359dc18992 Fix possible duplicated JMX registration issue 2011-03-25 15:16:41 -07:00
Alex Huang 9d158dc060 Removed the async create status for volume now that our customers don't use it 2011-03-24 20:04:23 -07:00
alena 304d1cbb55 2.1.x to 2.2.2 DB ugrade - convert account specific vlans to account specific networks 2011-03-24 19:12:33 -07:00
alena 745aa1d66a bug 8448: generate Alert when vm is scheduled for HA
status 8448: resolved fixed
2011-03-24 17:37:18 -07:00
alena 0c9e80eeab bug 8976: don't allow to delete pod when it has clusters
status 8976: resolved fixed
2011-03-24 17:10:01 -07:00
alena 237c57e74f bug 9146: createNetwork via 8096 - assume that network is domain specific when domainId is not null and isShared = true.
status 9146: resolved fixed
2011-03-24 16:04:12 -07:00
alena 2f782305fd bug 8897: allow to delete a zone when it has alerts
status 8897: resolved fixed
2011-03-24 15:00:17 -07:00
alena a2619b902f AssociateIPAddress - first IP associated with the network should always be a source nat 2011-03-24 14:25:20 -07:00
alena dee2e59fb3 bug 8798: delete zone is fixed
status 8798: resolved fixed
2011-03-24 13:32:31 -07:00
alena cced97c5fb ipAssoc - verify that ip owner is the same as the owner of the network we are assigning ip to 2011-03-24 13:32:31 -07:00
prachi 514321cadf Bug 6873: disable/enable mode for clusters (and pods and zones and hosts)
Fixed problems in setting default 'allocation_state'. It is now set to 'Enabled' by default if not provided in the API command.
2011-03-24 12:54:51 -07:00
Edison Su c93abe014c fix listsecuritygroup 2011-03-24 11:08:00 -04:00
prachi 50244b79ab Zone check in createNetwork for Bug 6873 - disable/enable mode for clusters (and pods and zones and hosts) 2011-03-23 22:20:53 -07:00
prachi 923f562aa8 Bug 6873: disable/enable mode for clusters (and pods and zones and hosts)
- Added a new flag 'allocation_state' to zone,pod,cluster and host
- The possible values for this flag are 'Enabled' or 'Disabled'
- When a new zone,pod,cluster or host is added, allocation_state is 'Disabled' by default.
- For existing zone,pod,cluster or host, the state is 'Enabled'.
- All Add/Update/List  commands for each of zone,pod,cluster or host can now take a new parameter 'allocationstate'
- If 'allocation_state' is 'Disabled', Allocators skip that zone or pod or cluster or pod.
- For a root admin, ListZones lists all zones including the 'Disabled' zones. But for any other user, the 'Disabled' zones are not included in the response.
- For any usecase that creates/deploys/adds/registers a resource and takes in zone as parameter, now we check if the Zone is 'Disabled'. If yes then the operation cannot be performed by a user other than root-admin. Add volume, snapshot, templates are examples of this usecase.
- To enable the root admin to test a particular pod/cluster/host, deployVM command takes in 'host_id' parameter that can be passed in only by root admin.
If this parameter is passed in by the admin, allocators do not search for hosts and use that host only. StoragePools are searched in the cluster of that host.
If VM cannot be deployed to that host, allocators and deployVM fails without retrying
2011-03-23 22:15:35 -07:00
anthony d2dc0a504b put host into maintenance, if the VM can not migrate, just stop it 2011-03-23 16:50:59 -07:00
Kelven Yang 1c9196f9af add vncPassword on hypervisor back 2011-03-23 16:18:22 -07:00
alena bbc5bdd83b Fixed NPE in diskOffering creation 2011-03-23 15:53:46 -07:00
Alex Huang 1a12b3a3de system template upgrade 2011-03-23 15:45:39 -07:00