mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-7916: Generate Alerts if System VMs cannot be started.
This commit is contained in:
parent
3907bc6f9d
commit
e87bb20d0c
@ -928,6 +928,7 @@ public class ConsoleProxyManagerImpl extends ManagerBase implements ConsoleProxy
|
|||||||
}
|
}
|
||||||
}catch (Exception e){
|
}catch (Exception e){
|
||||||
errorString = e.getMessage();
|
errorString = e.getMessage();
|
||||||
|
throw e;
|
||||||
}finally {
|
}finally {
|
||||||
// TODO - For now put all the alerts as creation failure. Distinguish between creation vs start failure in future.
|
// 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.
|
// Also add failure reason since startvm masks some of them.
|
||||||
|
|||||||
@ -722,6 +722,7 @@ public class SecondaryStorageManagerImpl extends ManagerBase implements Secondar
|
|||||||
}
|
}
|
||||||
}catch (Exception e){
|
}catch (Exception e){
|
||||||
errorString = e.getMessage();
|
errorString = e.getMessage();
|
||||||
|
throw e;
|
||||||
}finally{
|
}finally{
|
||||||
// TODO - For now put all the alerts as creation failure. Distinguish between creation vs start failure in future.
|
// 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.
|
// Also add failure reason since startvm masks some of them.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user