mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-7916: Generate Alerts if System VMs cannot be started.
(cherry picked from commit e87bb20d0c)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
a12ab8a2b3
commit
665aa6b522
|
|
@ -924,6 +924,7 @@ public class ConsoleProxyManagerImpl extends ManagerBase implements ConsoleProxy
|
|||
}
|
||||
}catch (Exception e){
|
||||
errorString = e.getMessage();
|
||||
throw e;
|
||||
}finally {
|
||||
// TODO - For now put all the alerts as creation failure. Distinguish between creation vs start failure in future.
|
||||
// Also add failure reason since startvm masks some of them.
|
||||
|
|
|
|||
|
|
@ -722,6 +722,7 @@ public class SecondaryStorageManagerImpl extends ManagerBase implements Secondar
|
|||
}
|
||||
}catch (Exception e){
|
||||
errorString = e.getMessage();
|
||||
throw e;
|
||||
}finally{
|
||||
// TODO - For now put all the alerts as creation failure. Distinguish between creation vs start failure in future.
|
||||
// Also add failure reason since startvm masks some of them.
|
||||
|
|
|
|||
Loading…
Reference in New Issue