cloudstack/server
Rohit Yadav 3b286d77ca CLOUDSTACK-8014: Fix NPE searching including removed templates
Steps to reproduce if you have this issue:
- Create a VM's volume snapshot
- Remove VM's template and mark the template as removed with timestamp in DB
- Restart mgmt server and create a volume out of snapshot you should get NPE

Fix: In `storagePoolHasEnoughSpace`, we're only searching for a VM's volume's
snapshot's template by Id and not including removed templates. This is a corner
case and NPE hits when template has been marked removed for a VM's volume's
template so we should search including removed templates.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit f189c105d8)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-12-10 19:27:20 +05:30
..
conf CLOUDSTACK-7702 added keytool to sudoers modification specs 2014-10-14 10:05:43 +02:00
resources Disable IAM feature from 4.4 release. 2014-05-21 13:49:11 +02:00
scripts License header updates for the server folder. 2012-08-03 09:41:27 -04:00
src CLOUDSTACK-8014: Fix NPE searching including removed templates 2014-12-10 19:27:20 +05:30
test CLOUDSTACK-7822: Fixed SSL Cert Tests and relaxed chain validation 2014-11-13 16:50:51 +01:00
pom.xml Updating pom.xml version numbers for release 4.4.3-SNAPSHOT 2014-11-25 15:36:02 +01:00