Bug #5249
OpenNebula gate does not correctly handle errors
Status: | Closed | Start date: | 07/14/2017 | |
---|---|---|---|---|
Priority: | Normal | Due 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
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