cloudstack/server/src/com/cloud/resource
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
..
Discoverer.java switch to Apache license 2 2012-04-02 22:47:06 -07:00
DiscovererBase.java switch to Apache license 2 2012-04-02 22:47:06 -07:00
DummyHostDiscoverer.java switch to Apache license 2 2012-04-02 22:47:06 -07:00
DummyHostServerResource.java switch to Apache license 2 2012-04-02 22:47:06 -07:00
ResourceManager.java switch to Apache license 2 2012-04-02 22:47:06 -07:00
ResourceManagerImpl.java Bug 14646 - Enabling Host into maintenance mode is stopping the VMs instead of live migrating them to other hosts in the cluster. 2012-04-11 16:21:46 -07:00
ResourceStateAdapter.java switch to Apache license 2 2012-04-02 22:47:06 -07:00