Bug #1763

User is not notified with error_message in rm action / recoverable actions

Added by Laurent Grawet over 8 years ago. Updated about 8 years ago.

Status:NewStart date:02/10/2013
Priority:LowDue date:
Assignee:-% Done:

0%

Category:Drivers - Storage
Target version:-
Resolution: Pull request:
Affected Versions:OpenNebula 3.8

Description

Hi,

In datastore/rm script, I use error_message function to notify user something went wrong. The problem is nothing is shown in Sunstone. Moreover, if something went wrong, the image record is dropped from DB regardless rm script exit status.

The second part is more a feature request. I would like to see "recoverable actions" implemented in OpenNebula.
When there is non fatal error, user would have the possibility to retry action later. For example, with datastore/rm script, I have to do some checks on SAN before removing volume. If for some reason (bad status...) it is not possible to remove the volume, the action is aborted and the user could retry it later. We could use specific exit status from drivers to detect this.

Regards,

Laurent

History

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

  • Category changed from Drivers - Auth to Drivers - Storage
  • Priority changed from Normal to Low

Also available in: Atom PDF