Bug #1807

Prevent relevant ERROR_MESSAGEs to be deleted

Added by Ruben S. Montero over 8 years ago. Updated over 8 years ago.

Status:ClosedStart date:03/12/2013
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Resolution:fixed Pull request:
Affected Versions:OpenNebula 4.0

Description

The hosts only have one type of template error message, monitorization, but the VMs can have different messages: attach failed, monitorization failed, etc.

As the code is now, if the VM has an operation message (e.g. could not attach disk), a successful monitorization will clear that message.

Maybe we could define two types of errors: the ones that inform of a failed operation, and the ones that can be resolved on their own and can be cleared (monitoring).

The failed operations could be stored in a vector attribute:

ERROR_MESSAGES = [ ERROR = "attach failed because...", ERROR = "shutdown failed because..." ]

Associated revisions

Revision 9af900cd
Added by Ruben S. Montero over 8 years ago

bug #1807: Adds a new ERROR_MONITOR message. Fix monitor timers when monitor fails.

History

#1 Updated by Ruben S. Montero over 8 years ago

  • Status changed from New to Closed
  • Resolution set to fixed

There are now two separated error messages ERROR and ERROR_MONITOR to keep both.

Also available in: Atom PDF