cloudstack/server/src/com/cloud
prachi 8516186db1 Bug 13824 - VM Deployment: If Root Volume is Ready, Planner should reuse the storagepool until cluster has capacity
Reviewed-By: Alex

Changes:
- Reuse the same storagepool where the Volume is ready on each retry of VM deployment until the cluster where the volume is has capacity
- After the cluster is out of capacity, we look in other clusters and find a new storagepool.
- At this point if the volume is recreatable on the new storagepool, depoyment will succeed provided everytyhing else goes through
- But if the volume is not recreatable and its cluster is out of capacity, we will still fail to deploy the VM

Conflicts:

	server/src/com/cloud/vm/VirtualMachineManagerImpl.java
2012-02-16 17:20:54 -08:00
..
account Added more changes to the api 2010-10-21 15:11:49 -07:00
acl bug 11236: domainAdmin/regularUser can edit/delete/copy/extract Public template/iso only if it was created by them. They still can use/see public template/iso when execute list/deploy/attachIso commands. Root admin can operate with other people templates w/o any restrictions. 2011-08-24 14:48:22 -07:00
agent bug 13416: backport patch from master to 2.2.14, need to restart cloud-agent on kvm host if cancelmaitaineance command is send 2012-02-09 11:38:08 -08:00
alert Bug 13075: To get last alert, use offset 0 instead of 1 2012-01-17 12:03:30 +05:30
api Bug 12649: Added ROOT to domain path and removed trailing slash 2012-02-06 14:39:41 +05:30
async bug 11196: fixed the code when gson serialization was done twice 2011-08-29 14:48:09 -07:00
baremetal bug 11814: Allow template to have details info in key/value pairs. 2012-01-31 15:09:14 -08:00
capacity bug 11938: Remove thread.sleep() from HostCapacityChecker. cpu and memory capacities can be null for host in maintenance so check for that, wrap the host capacity checker thread with try and catch to make it more robust. Add more logging for entry and exit of thread. 2011-11-16 20:13:07 +05:30
certificate/dao Add license header to files 2011-04-14 11:23:14 -07:00
cluster Agent LB: never get a part of the hosts from the xen cluster; skip the cluster if it has more hosts than we need 2012-02-06 16:42:45 -08:00
configuration bug 13478: fixed problem with high availability manager being started too early. Reviewed-by: Anthony 2012-02-09 16:41:31 -08:00
consoleproxy add cert chain in db, and also open the api to upload a cert chain 2012-02-09 11:50:43 -08:00
dao Port forwarding rules and load balancing rules rewrite 2010-12-03 08:48:02 -08:00
dc Merge branch 'cvm' into 2.2.y 2011-08-19 16:08:35 -07:00
deploy Bug 13824 - VM Deployment: If Root Volume is Ready, Planner should reuse the storagepool until cluster has capacity 2012-02-16 17:20:54 -08:00
domain bug 11036: resource count update is refactored 2011-09-13 10:47:55 -07:00
event throw exception after intercepting to log error event 2011-07-19 18:39:32 +05:30
ha bug 13478: added exception printing. Reviewed-by: Anthony 2012-02-09 16:48:04 -08:00
host/dao Bug 13526 - copying template across zone failing with status HTTP Server returned 403 (expected 200 OK) Even though gets status message copy succeeded ( 2012-02-08 18:33:18 -08:00
hypervisor bug 13416: backport patch from master to 2.2.14, need to restart cloud-agent on kvm host if cancelmaitaineance command is send 2012-02-09 11:38:08 -08:00
keystore add cert chain in db, and also open the api to upload a cert chain 2012-02-09 11:50:43 -08:00
maint Use Long type for version comparsion 2011-03-22 11:07:11 -07:00
migration bug 10305: for a systemvm only applicable system vm offering should be displayed 2011-06-20 20:01:40 +05:30
netapp full opensource 2011-08-23 19:23:49 -07:00
network bug 13425: use IN to select security ingress rule 2012-02-02 14:31:32 -08:00
offerings Defined missing length field for VO classes 2011-08-17 15:10:07 -07:00
resource bug 13096 Make capacity deletion for CLUSTER deletion more robust. 2012-01-16 15:18:15 +05:30
secstorage Move VMware/Premium Secondary storage VM to opensource 2011-08-23 14:33:05 -07:00
server add cert chain in db, and also open the api to upload a cert chain 2012-02-09 11:50:43 -08:00
service bug 10681: for serviceOfferings, diskOfferings, templates/isos return records with not null Removed field on findById method call 2011-07-13 17:16:07 -07:00
servlet bug 11973: Escape VM name to prevent from XSS attack. Reviewed-by: Alex huang 2011-11-10 12:01:36 -08:00
storage add cert chain in db, and also open the api to upload a cert chain 2012-02-09 11:50:43 -08:00
template bug 11814: Allow template to have details info in key/value pairs. 2012-01-31 15:09:14 -08:00
test bug 11468: create ROOT domain and admin user as a part of cloud-setup-databases, not during the management server startup to avoid multiple records insertion for the same domain 2011-09-22 10:55:43 -07:00
upgrade bug 13470: check the correct old certificate 2012-02-09 12:57:50 -08:00
usage full opensource 2011-08-23 19:23:49 -07:00
user Bug 12740: Allow root admins to bypass the ACL layer. 2012-01-24 12:28:23 +05:30
vm Bug 13824 - VM Deployment: If Root Volume is Ready, Planner should reuse the storagepool until cluster has capacity 2012-02-16 17:20:54 -08:00