User is not notified with error_message in rm action / recoverable actions
|Category:||Drivers - Storage|
|Affected Versions:||OpenNebula 3.8|
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.