Bug 1414881
| Summary: | delete action in /api/orchestration_templates results in error | |||
|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Martin Kourim <mkourim> | |
| Component: | API | Assignee: | Šimon Lukašík <slukasik> | |
| Status: | CLOSED ERRATA | QA Contact: | Martin Kourim <mkourim> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | high | |||
| Version: | 5.7.0 | CC: | cpelland, dajohnso, jhardy, mkourim, obarenbo, simaishi, slukasik | |
| Target Milestone: | GA | Keywords: | ZStream | |
| Target Release: | 5.8.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | api:rest:stack | |||
| Fixed In Version: | 5.8.0.8 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1434952 (view as bug list) | Environment: | ||
| Last Closed: | 2017-05-31 14:33:14 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1434952 | |||
Relevant lines from api.log - http://pastebin.test.redhat.com/449736 Verified that on 5.8.0.8-alpha1 it's possible to do
POST /api/orchestration_templates/:id
{ "action" : "delete" }
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2017:1367 |
Description of problem: Following requests POST /api/orchestration_templates/:id { "action" : "delete" } results in { "error": { "kind": "internal_server_error", "message": "undefined method `keys' for nil:NilClass", "klass": "NoMethodError" } } The record is deleted. Deleting record using DELETE method on /api/orchestration_templates/:id or POST method on /api/orchestration_templates doesn't produce any errors. Version-Release number of selected component (if applicable): 5.7.0.17 How reproducible: 100% Additional info: