bug 11492: check volume resource limit when deployVm

status 11492: resolved fixed
This commit is contained in:
Alena Prokharchyk 2011-11-28 13:38:05 -08:00
parent bb7ff42c23
commit afb56d2112
1 changed files with 1 additions and 0 deletions

View File

@ -2344,6 +2344,7 @@ public class UserVmManagerImpl implements UserVmManager, UserVmService, Manager
// check if account/domain is with in resource limits to create a new vm
_resourceLimitMgr.checkResourceLimit(owner, ResourceType.user_vm);
_resourceLimitMgr.checkResourceLimit(owner, ResourceType.volume);
//verify security group ids
if (securityGroupIdList != null) {