Publish secstorage failure, removed by a12ab8a2b3a14d2fed2bca287823bb558d0501fb

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
Rohit Yadav 2015-02-05 15:54:27 +05:30
parent 82b6c1377b
commit d5538fbe3b

View File

@ -506,6 +506,8 @@ public class SecondaryStorageManagerImpl extends ManagerBase implements Secondar
s_logger.debug("Unable to allocate secondary storage vm storage, remove the secondary storage vm record from DB, secondary storage vm id: " +
secStorageVmId);
}
SubscriptionMgr.getInstance().notifySubscribers(ALERT_SUBJECT, this,
new SecStorageVmAlertEventArgs(SecStorageVmAlertEventArgs.SSVM_CREATE_FAILURE, dataCenterId, secStorageVmId, null, "Unable to allocate storage"));
}
return null;
}