mirror of https://github.com/apache/cloudstack.git
fixes the one pod per account bug
This commit is contained in:
parent
06a8bdb8e6
commit
e9ba29d807
|
|
@ -1272,7 +1272,12 @@ public class UserVmManagerImpl implements UserVmManager {
|
|||
throw rae;
|
||||
}
|
||||
|
||||
poolid = _storageMgr.createUserVM(account, vm, template, dc, pod.first(), offering, diskOffering, avoids);
|
||||
poolid = 0;
|
||||
try {
|
||||
poolid = _storageMgr.createUserVM(account, vm, template, dc, pod.first(), offering, diskOffering, avoids);
|
||||
} catch (Exception e) {
|
||||
s_logger.warn("Caught exception on creation but will retry.", e);
|
||||
}
|
||||
if ( poolid != 0) {
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue