Bug 1507574

Summary: Azure instance retirement is broken
Product: Red Hat CloudForms Management Engine Reporter: Bronagh Sorota <bsorota>
Component: ProvidersAssignee: Daniel Berger <dberger>
Status: CLOSED ERRATA QA Contact: Tasos Papaioannou <tpapaioa>
Severity: high Docs Contact:
Priority: high    
Version: 5.8.0CC: dlamotta, gblomqui, jfrey, jhardy, kmorey, obarenbo, simaishi, tpapaioa
Target Milestone: GA   
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.9.0.5 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-01 13:20:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Azure Target Upstream Version:
Embargoed:

Description Bronagh Sorota 2017-10-30 15:20:04 UTC
Description of problem:
The Azure delete operation which is part of instance retirement is  broken.

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


How reproducible:


Steps to Reproduce:
1. Add an Azure provider
2. Select an instance
3. Go to Lifecyle/Retire Selected Items

Actual results:
Exception is thrown in the evm.log and the instance is not deleted on the provider

Expected results:
the instance should be removed from the provider.

Additional info:

Comment 6 CFME Bot 2017-10-30 18:11:45 UTC
New commit detected on ManageIQ/manageiq-providers-azure/master:
https://github.com/ManageIQ/manageiq-providers-azure/commit/595bfe21433b889c51e2b633852c875d4d709cd7

commit 595bfe21433b889c51e2b633852c875d4d709cd7
Author:     Bronagh Sorota <bsorota>
AuthorDate: Mon Oct 30 11:22:13 2017 -0400
Commit:     Bronagh Sorota <bsorota>
CommitDate: Mon Oct 30 11:22:13 2017 -0400

    The delete operation passes a resource group object but should pass a string.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1507574

 app/models/manageiq/providers/azure/cloud_manager/vm/operations.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 12 Tasos Papaioannou 2017-12-01 19:37:23 UTC
Verified on 5.9.0.11.

Comment 15 errata-xmlrpc 2018-03-01 13:20:20 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.

https://access.redhat.com/errata/RHSA-2018:0380