Bug #5249

OpenNebula gate does not correctly handle errors

Added by OpenNebula Systems Support Team almost 4 years ago. Updated almost 4 years ago.

Status:ClosedStart date:07/14/2017
Priority:NormalDue date:
Assignee:Javi Fontan% Done:

0%

Category:Core & System
Target version:Release 5.4
Resolution: Pull request:
Affected Versions:OpenNebula 5.2

Description

    # Perform the action provided in the body of the request on the 
    # given VM. If error trigger a halt
    def perform_action(vm, body)
        action_hash = parse_json(body, 'action')
        if OpenNebula.is_error?(action_hash)
            halt 400, rc.message
        end

Associated revisions

Revision 442b9dcb
Added by Javi Fontan almost 4 years ago

B #5249: bug handling error in onegate

Revision aa7c18e5
Added by Javi Fontan almost 4 years ago

B #5249: bug handling error in onegate

History

#1 Updated by OpenNebula Systems Support Team almost 4 years ago

  • Assignee changed from Carlos Martín to Javi Fontan
  • Target version changed from Release 5.6 to Release 5.4

#2 Updated by Javi Fontan almost 4 years ago

  • Status changed from Pending to Closed

Also available in: Atom PDF