CLOUDSTACK-7916: Generate Alerts if System VMs cannot be started.

This commit is contained in:
Nitin Mehta 2014-11-14 13:35:40 -08:00
parent 3907bc6f9d
commit e87bb20d0c
2 changed files with 2 additions and 0 deletions

View File

@ -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.

View File

@ -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.