Bug 1353306

Summary: Azure instance disks not deleted
Product: Red Hat CloudForms Management Engine Reporter: John Prause <jprause>
Component: ProvidersAssignee: Bronagh Sorota <bsorota>
Status: CLOSED CANTFIX QA Contact: Jeff Teehan <jteehan>
Severity: high Docs Contact:
Priority: high    
Version: 5.6.0CC: abellott, bsorota, cpelland, dberger, gblomqui, jfrey, jhardy, lkhomenk, obarenbo
Target Milestone: GAKeywords: ZStream
Target Release: 5.6.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: provider:azure:retire
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1348718 Environment:
Last Closed: 2016-12-07 17:46:38 UTC Type: ---
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: 1348718    
Bug Blocks:    

Comment 1 Jeff Teehan 2016-07-07 17:35:52 UTC
There are other resources the remain as well.  Network Interface, Public IP Address, etc.

Also note that Azure itself doesn't remove the disk when a VM is Deleted.

Comment 2 Jeff Teehan 2016-08-08 18:42:04 UTC
Added Polarion test case - RHCF3-11612

Comment 3 Bronagh Sorota 2016-09-19 15:32:36 UTC
hi Dan
Please let me know when the nested delete functionality has been added to the Azure-armrest gem.

Thank you
Bronagh

Comment 5 Daniel Berger 2016-11-28 15:28:56 UTC
As of azure-armrest 0.3.12 this can now be implemented using the delete_associated_resources method.

Comment 6 Bronagh Sorota 2016-12-07 17:46:38 UTC
The fix for this BZ involves an upgrade of the azure-armrest gem, for the Darga branch that would be a jump from v0.2.10 to v0.3.12. However, this would lead to a number of incompatibilities, for example Darga did not require the subscription id when adding a provider but the subscription id is required when connecting to Azure using v0.3.12 of the armrest gem.