Bug 1478506 - inconsistent response when deleting nonexistent VM snapshot using API
Summary: inconsistent response when deleting nonexistent VM snapshot using API
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: API
Version: 5.8.0
Hardware: Unspecified
OS: Unspecified
Target Milestone: GA
: 5.8.2
Assignee: Jillian Tullo
QA Contact: Martin Kourim
Whiteboard: rest:snapshot
Depends On: 1466225
TreeView+ depends on / blocked
Reported: 2017-08-04 17:32 UTC by Satoe Imaishi
Modified: 2017-10-24 00:17 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1466225
Last Closed: 2017-10-24 00:17:32 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:3005 0 normal SHIPPED_LIVE Important: Red Hat CloudForms security, bug fix, and enhancement update 2017-10-24 04:15:49 UTC

Comment 2 CFME Bot 2017-08-04 17:36:27 UTC
New commit detected on ManageIQ/manageiq/fine:

commit db4182ec83c9048aa2783c01fc653d5af8bbbe56
Author:     Alberto Bellotti <abellotti@users.noreply.github.com>
AuthorDate: Wed Jul 5 12:10:41 2017 -0400
Commit:     Satoe Imaishi <simaishi@redhat.com>
CommitDate: Fri Aug 4 13:32:14 2017 -0400

    Merge pull request #15489 from jntullo/bz/inconsistent_response_delete_snapshot
    Return Not Found on Snapshots Delete actions
    (cherry picked from commit 0a3088e9f403bbe7432f4e6691319af88001dbcb)

 app/controllers/api/subcollections/snapshots.rb | 16 ++++---
 spec/requests/api/snapshots_spec.rb             | 59 ++++++++++++++++++++++++-
 2 files changed, 67 insertions(+), 8 deletions(-)

Comment 3 Martin Kourim 2017-08-29 08:44:00 UTC
Verified with
POST /api/vms/:id/snapshots/222
{ "action": "delete" }
DELETE /api/vms/:id/snapshots/222

Comment 5 errata-xmlrpc 2017-10-24 00:17:32 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.