Feature #1320

Improve log and error messages

Added by Carlos Martín about 9 years ago. Updated about 7 years ago.

Status:PendingStart date:06/27/2012
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Core & System
Target version:-
Resolution: Pull request:

Description

Some things that can be improved:

  • RM does not log the user doing the request, or the important arguments, like the object id
  • oneimage disable or delete simply says "Could not disable/delete image", when the reason is that the Image is in the USED state
  • There are some operations, like a onevm stop, that log return codes in oned.log without loggin the operation that returned it: [TM][D]: Message received: LOG I 22 ExitCode: 0
  • VirtualMachineManagerDriver.cc uses Log::ERROR to log successful actions
  • Log::MessageType has up to 5 log levels, but Nebula::get_debug_level allows only up to 3

Associated revisions

Revision 5ef5a137
Added by Carlos Martín over 8 years ago

Feature #1320: Better error messages for image operations

History

#1 Updated by Carlos Martín almost 9 years ago

Other message that seems to cause confusion is the 'Connection refused - connect(2)' returned by the OCA. Maybe it should more clearly say that the oned daemon could not be connected, and you should make sure it is is running

#2 Updated by Ruben S. Montero almost 9 years ago

  • Target version set to Release 4.0

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

  • Target version changed from Release 4.0 to Release 4.2

#4 Updated by Ruben S. Montero about 8 years ago

  • Priority changed from Normal to Low

#5 Updated by Ruben S. Montero about 8 years ago

  • Target version deleted (Release 4.2)

#6 Updated by Ruben S. Montero over 7 years ago

  • Target version set to Release 4.6

#7 Updated by Ruben S. Montero over 7 years ago

  • Priority changed from Low to Normal

#8 Updated by Jaime Melis over 7 years ago

  • Assignee set to Ruben S. Montero

#9 Updated by Jaime Melis over 7 years ago

  • Assignee changed from Ruben S. Montero to Carlos Martín

#10 Updated by Ruben S. Montero over 7 years ago

  • Target version changed from Release 4.6 to Release 4.8

#11 Updated by Ruben S. Montero about 7 years ago

  • Status changed from New to Pending
  • Assignee deleted (Carlos Martín)
  • Target version deleted (Release 4.8)

Also available in: Atom PDF