Description of problem: An Azure instance should be retirable from the Lifecycle menu. For selected Azure instances to be qualified for retirement, currently they need to have tag "retire_full" in category "lifecycle". The category can be added through the configuration if not exist. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
https://github.com/ManageIQ/manageiq/pull/5717
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/d2a164f2370b2cba7de69ffd3a904faeb722a31b commit d2a164f2370b2cba7de69ffd3a904faeb722a31b Author: Bill Wei <bilwei> AuthorDate: Tue Dec 15 17:11:09 2015 -0500 Commit: Bill Wei <bilwei> CommitDate: Tue Dec 15 18:15:16 2015 -0500 Support Azure VM retirement https://bugzilla.redhat.com/show_bug.cgi?id=1290908 .../StateMachines/Methods.class/__class__.yaml | 44 +++++++++++++++++++++- .../__methods__/amazon_pre_retirement.rb | 4 +- .../__methods__/azure_pre_retirement.rb | 10 +++++ .../__methods__/azure_pre_retirement.yaml | 12 ++++++ .../__methods__/openstack_pre_retirement.rb | 2 +- .../Methods.class/checkpreretirement.yaml | 2 + .../StateMachines/Methods.class/preretirement.yaml | 2 + .../method_validation/azure_pre_retirement_spec.rb | 24 ++++++++++++ 8 files changed, 95 insertions(+), 5 deletions(-) create mode 100644 db/fixtures/ae_datastore/ManageIQ/Cloud/VM/Retirement/StateMachines/Methods.class/__methods__/azure_pre_retirement.rb create mode 100644 db/fixtures/ae_datastore/ManageIQ/Cloud/VM/Retirement/StateMachines/Methods.class/__methods__/azure_pre_retirement.yaml create mode 100644 spec/automation/unit/method_validation/azure_pre_retirement_spec.rb
New commit detected on cfme/5.5.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=8d59b06e6ca33ad59c84ca9434470bf06da71eca commit 8d59b06e6ca33ad59c84ca9434470bf06da71eca Author: Bill Wei <bilwei> AuthorDate: Tue Dec 15 17:11:09 2015 -0500 Commit: Bill Wei <bilwei> CommitDate: Wed Dec 23 13:26:00 2015 -0500 Support Azure VM retirement https://bugzilla.redhat.com/show_bug.cgi?id=1290908 .../StateMachines/Methods.class/__class__.yaml | 44 +++++++++++++++++++++- .../__methods__/amazon_pre_retirement.rb | 4 +- .../__methods__/azure_pre_retirement.rb | 10 +++++ .../__methods__/azure_pre_retirement.yaml | 12 ++++++ .../__methods__/openstack_pre_retirement.rb | 2 +- .../Methods.class/checkpreretirement.yaml | 2 + .../StateMachines/Methods.class/preretirement.yaml | 2 + .../method_validation/azure_pre_retirement_spec.rb | 24 ++++++++++++ 8 files changed, 95 insertions(+), 5 deletions(-) create mode 100644 db/fixtures/ae_datastore/ManageIQ/Cloud/VM/Retirement/StateMachines/Methods.class/__methods__/azure_pre_retirement.rb create mode 100644 db/fixtures/ae_datastore/ManageIQ/Cloud/VM/Retirement/StateMachines/Methods.class/__methods__/azure_pre_retirement.yaml create mode 100644 spec/automation/unit/method_validation/azure_pre_retirement_spec.rb
This is working correctly from all places where terminate can be initiated. Moving to verifed as tested on 5.6.0.1 Beta 2 using https://10.16.7.174/miq_request/show/415r4
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/RHBA-2016:1348