cloudstack/core/src/com/cloud
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
..
agent checksshcommand waits for 6 minutes 2011-03-01 16:38:28 -05:00
alert Moved DAO to server 2010-11-22 07:40:41 -08:00
async bug 8270: Synchronize on 1) ipAddress object when create/delete ipForwarding/portForwardingRule and vpn service 2) on networkId when assignTo/removeFrom/deleteLoadBalancer 2011-02-03 18:45:49 -08:00
capacity Bug 7845 - Productize DeploymentPlanner 2011-02-28 13:47:51 -08:00
certificate Moved DAO to server 2010-11-22 07:40:41 -08:00
configuration Moved DAO to server 2010-11-22 07:40:41 -08:00
consoleproxy moving console proxy alert event args to server package to avoid circular dependencies 2010-09-13 14:58:58 -07:00
event bug 7935: Included hypervisor type to vm usage records 2011-02-24 20:08:12 +05:30
exception bug 6428: Send alert when usage job fails 2010-11-01 17:20:57 +05:30
host Bug 6873: disable/enable mode for clusters (and pods and zones and hosts) 2011-03-23 22:15:35 -07:00
hypervisor put host into maintenance, if the VM can not migrate, just stop it 2011-03-23 16:50:59 -07:00
info bug 5191: final check in for the enhancement to make the console proxy domain configurable 2010-09-27 11:27:48 -07:00
network bug 8564: Changed implementation for static nat rules. Now we use separate interfaces instead of PortForwardingRules interfaces. 2011-02-15 10:45:28 -08:00
resource Renamed Start2 to Start 2010-12-16 14:18:53 -08:00
serializer fix exception in PingRoutingWithNwGroupsCommand, due to no json serialize for pair<long, long> 2010-12-28 10:50:12 -08:00
storage bug 8844: default and Public disk offerings have NULL domainId (to be consistent with serviceOfferings) 2011-03-10 12:10:55 -08:00
user bug 8603: Included netwrok_id in network usage records 2011-02-24 15:31:59 +05:30
vm started vms with these latest 2011-02-11 17:03:04 -08:00