Bug 1834819

Summary: VM retirement: Able to retire VM through UI Console but not through API.
Product: Red Hat CloudForms Management Engine Reporter: Neha Chugh <nchugh>
Component: APIAssignee: drew uhlmann <duhlmann>
Status: CLOSED DUPLICATE QA Contact: Sudhir Mallamprabhakara <smallamp>
Severity: high Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: high    
Version: 5.11.3CC: obarenbo, yrudman
Target Milestone: GA   
Target Release: cfme-future   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-18 13:07:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:

Description Neha Chugh 2020-05-12 13:30:36 UTC
Description of problem:

Unable to retire VM via API although we are able to delete it via UI Console.

Version-Release number of selected component (if applicable):
5.11.3

How reproducible:
Always

Steps to Reproduce:
1. Retiring the VM through API using below request:
   POST https://<cfmeapi>/api/vms/<vmid>
       {
        "action" : "retire"
       }
No error has been seen in the logs, it instantiates the retire request and then nothing happens.

Please note: this bug is specifically for 5.11 version as I have verified in 5.10.8 and retire API is working fine.


Actual results:

Retire API is not working.

Expected results:

Retire API should work.

Additional info:

Comment 6 drew uhlmann 2020-05-13 18:20:14 UTC
this ticket is a dup of https://bugzilla.redhat.com/show_bug.cgi?id=1805119

Comment 7 Yuri Rudman 2020-05-18 13:07:29 UTC
Closing this BZ as duplicate.
Please open another BZ if some other issue would be discovered

*** This bug has been marked as a duplicate of bug 1805119 ***