cloudstack/server/src/com/cloud
prachi 3624fee85d Changed the interface in StoragePoolAllocator to avoid a potential NPE in LocalStoragePoolAllocator. Allocators were taking in an instance of VM enclosed inside VirtualMachineProfile.
However in case of createVolume from Snapshot, there is no VM associated. So VM passed is null and this can cause a NPE.

Allocators hardly use the VM instance. LocalStoragePoolAllocator was mainly using it for checking if host has capacity. But it need not do this check, since that is done by HostAllocators anyway.
So removing the use of VM in StoragePoolAllocators.
2011-03-09 10:12:04 -08:00
..
account Added more changes to the api 2010-10-21 15:11:49 -07:00
acl bug 8031 : Allowing user to create his/her own private template that was created from the user's VM. 2011-01-17 14:15:15 +05:30
agent Bug 8208 - bare metal provisioning 2011-03-08 17:29:33 -08:00
alert bug 8643: listCapacityCmd - Make the capacity calculation more optimal. Now the API wont recalculate the stats everytime its called. It would rely on the capacity checker thread running (configurable) every 5 mins to get the capacity. Change the initital delay of capacity check thread from 5 mins to 30 seconds so that we check capacity immediately as we log in. 2011-03-04 16:08:18 -08:00
api Bug 8208 - bare metal provisioning 2011-03-08 10:45:50 -08:00
async Add JMX support to async job management, active job details will be checked in jConsole 2011-03-08 16:34:17 -08:00
capacity More logging changes for 2011-02-28 13:47:52 -08:00
certificate/dao Moved DAO to server 2010-11-22 07:40:41 -08:00
cluster Add JMX support to async job management, active job details will be checked in jConsole 2011-03-08 16:34:17 -08:00
configuration Merge branch 'bareMetal' 2011-03-08 14:18:11 -08:00
consoleproxy minor fix 2011-02-28 12:16:40 -05:00
dao Port forwarding rules and load balancing rules rewrite 2010-12-03 08:48:02 -08:00
dc bug 8806: improvements to the flow; using group by to eliminate need for extra ds 2011-03-02 10:07:31 -08:00
deploy Changed the interface in StoragePoolAllocator to avoid a potential NPE in LocalStoragePoolAllocator. Allocators were taking in an instance of VM enclosed inside VirtualMachineProfile. 2011-03-09 10:12:04 -08:00
domain bug 8452: introducing a state for domain; blocking creation of accounts/users whilst domain is in an inactive state 2011-02-17 15:17:45 -08:00
event bug 8362: Included VmId in event description 2011-02-04 11:52:35 +05:30
ha bug 8529: propagated to master. Added junit test support to ant 2011-02-16 17:40:58 -08:00
host/dao Bug 7845 - Productize DeploymentPlanner 2011-02-28 13:47:51 -08:00
hypervisor Merge branch 'bareMetal' 2011-03-08 14:18:11 -08:00
maid Cleanup of worker VMs left over from previous session in a reliable way 2011-01-31 17:41:07 -08:00
maint bug 4898: removing the upgrade.url param 2010-08-30 14:49:22 -07:00
migration Bug 7845 - Productize DeploymentPlanner 2011-02-28 13:47:51 -08:00
network Merge branch 'bareMetal' 2011-03-08 14:18:11 -08:00
offerings 1) Added guestIpType to the network offering; create/listNetworkOffering apis got changed accordingly. 2011-02-24 15:36:01 -08:00
resource Bug 8208 - bare metal provisioning 2011-02-23 17:20:43 -08:00
server added user ip address upgrade 2011-03-07 17:53:43 -08:00
service Bug 8208 - bare metal provisioning 2011-03-01 17:47:37 -08:00
servlet Add display name to user VM in console title 2011-02-11 11:43:00 -08:00
storage Changed the interface in StoragePoolAllocator to avoid a potential NPE in LocalStoragePoolAllocator. Allocators were taking in an instance of VM enclosed inside VirtualMachineProfile. 2011-03-09 10:12:04 -08:00
template Merge branch 'bareMetal' 2011-03-08 14:18:11 -08:00
test bug 8412: allow to delete network when it has dhcp/domRs 2011-02-18 10:31:59 -08:00
upgrade/dao 221 to 222 DB upgrade for InstanceGroup. Unit test is included 2011-03-09 08:34:08 -08:00
user bug 8672: Added action events for User commands 2011-03-04 16:45:49 +05:30
vm bug 8898: allow service offering upgrade for Running vm 2011-03-09 10:03:26 -08:00