Bug 1393842 - RFE - Azure Orchestration Service Retirement does not delete VMs
Summary: RFE - Azure Orchestration Service Retirement does not delete VMs
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.6.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.8.0
Assignee: Bill Wei
QA Contact: Jeff Teehan
URL:
Whiteboard: azure:stack:retirement
Depends On:
Blocks: 1414003 1414005
TreeView+ depends on / blocked
 
Reported: 2016-11-10 12:44 UTC by Gellert Kis
Modified: 2020-05-14 15:23 UTC (History)
9 users (show)

Fixed In Version: 5.8.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1414003 1414005 (view as bug list)
Environment:
5.6.2.1
Last Closed: 2017-06-12 17:12:42 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 4 Bill Wei 2016-11-14 15:27:41 UTC
When we retire an Orchestration service, the resulting stack will be retired. We do not force to retire VMs that belong to the stack. It is because other providers such as Amazon and Openstack, when a stack is deleted, all associated resources are automatically deleted together with the stack. However this is not the case for Azure, that only the stack (deployment) is deleted, leaving its associated resources untouched.

As an RFE, we could add logic to force to delete associated resources to a stack, not limit only to VMs.

There will be some issues concerning the stack retirement. We should have further discussions somewhere else.

Comment 8 CFME Bot 2017-01-16 17:32:44 UTC
New commit detected on ManageIQ/manageiq-providers-azure/master:
https://github.com/ManageIQ/manageiq-providers-azure/commit/71e9ea4a549450dda09c34a95a8911d566821046

commit 71e9ea4a549450dda09c34a95a8911d566821046
Author:     Bill Wei <bilwei>
AuthorDate: Mon Jan 16 09:12:55 2017 -0500
Commit:     Bill Wei <bilwei>
CommitDate: Mon Jan 16 09:26:24 2017 -0500

    Delete all resources when deleting a stack
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1393842

 .../manageiq/providers/azure/cloud_manager/orchestration_stack.rb     | 2 +-
 .../providers/azure/cloud_manager/orchestration_stack_spec.rb         | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

Comment 9 Bill Wei 2017-01-16 19:24:05 UTC
Merged to upstream

Comment 12 Jeff Teehan 2017-04-17 19:45:04 UTC
It's working now as of 5.8.0.10  Moving to verified.


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