Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1414003 - RFE - Azure Orchestration Service Retirement does not delete VMs
RFE - Azure Orchestration Service Retirement does not delete VMs
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers (Show other bugs)
5.6.0
Unspecified Unspecified
high Severity high
: GA
: 5.7.2
Assigned To: Bill Wei
Jeff Teehan
azure:stack:retirement
: FutureFeature, ZStream
Depends On: 1393842
Blocks:
  Show dependency treegraph
 
Reported: 2017-01-17 09:25 EST by Satoe Imaishi
Modified: 2017-05-03 20:32 EDT (History)
12 users (show)

See Also:
Fixed In Version: 5.7.2.0
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 1393842
Environment:
5.6.2.1
Last Closed: 2017-04-12 10:36:10 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:0898 normal SHIPPED_LIVE Moderate: cfme, cfme-appliance, and cfme-gemset security, bug fix, and enhancement update 2017-04-12 14:31:08 EDT

  None (edit)
Comment 3 CFME Bot 2017-03-14 09:05:50 EDT
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/3c8aba3c7449bf4158cf3c27b2e8ada35d80134c

commit 3c8aba3c7449bf4158cf3c27b2e8ada35d80134c
Author:     Bill Wei <bilwei@redhat.com>
AuthorDate: Tue Jan 17 15:39:27 2017 -0500
Commit:     Bill Wei <bilwei@redhat.com>
CommitDate: Tue Jan 17 16:27:59 2017 -0500

    Accept option to delete all resources together with a stack
    
    Upstream commit 71e9ea4a549450dda09c34a95a8911d566821046
    
    There is a difference from the upstream where by default all resources are deleted
    with the stack. For Euwe we will only delete resources when the flag is on.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1414003

 .../manageiq/providers/azure/cloud_manager/orchestration_stack.rb    | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
Comment 5 Bill Wei 2017-03-27 14:22:24 EDT
For backward compatibility purpose the delete VMs at stack retirement feature is enabled by default only for product >= 5.8.

To manually turn on the feature for users on V5.7 the automate script needs a change as following:

Cloud/Orchestration/Retirement/Statemachines/Methods/remove_from_provider

change
stack.raw_delete_stack
to
stack.raw_delete_stack(true)

Note: above change can be applied for Azure stacks only. 

Need documentation update.
Comment 6 Shveta 2017-04-05 12:07:11 EDT
Vm as well as the service gets deleted when service is retired
Comment 7 Jeff Teehan 2017-04-05 12:47:51 EDT
I'm moving to verified per the expert.  Reopen if necessary as MS does change json from time to time.
Comment 13 errata-xmlrpc 2017-04-12 10:36:10 EDT
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-2017:0898

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