Bug 1291274
| Summary: | RFE: Support Azure VM retirement | ||
|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | John Prause <jprause> |
| Component: | Automate | Assignee: | Bill Wei <bilwei> |
| Status: | CLOSED ERRATA | QA Contact: | Jeff Teehan <jteehan> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 5.4.0 | CC: | bilwei, cpelland, dajohnso, gmccullo, jhardy, jkrocil, jprause, jteehan, mkanoor, obarenbo, simaishi, tfitzger |
| Target Milestone: | GA | Keywords: | FutureFeature, ZStream |
| Target Release: | 5.5.3 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | provider:azure | ||
| Fixed In Version: | 5.5.3.2 | Doc Type: | Enhancement |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1290908 | Environment: | |
| Last Closed: | 2016-04-13 18:39:53 UTC | Type: | Bug |
| 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: | 1290908, 1298193 | ||
| Bug Blocks: | |||
|
Comment 5
Jeff Teehan
2016-01-20 22:41:49 UTC
Evidently method check_pre_retirement does not exist in the namespace. There was a upstream PR that was missed from merging to the downstream build. https://bugzilla.redhat.com/show_bug.cgi?id=1298193 is likely caused by the same problem. I need to kick back any RFEs so that the docs aren't wrong. This is blocked per Bill Wei as described above. I'm sure it's fixed, but not for 5.5.2 unless we respin. This issue has been resolved: http://gitlab.cloudforms.lab.eng.rdu2.redhat.com/cloudforms/cfme/merge_requests/741 This is still not working on 5.5.3.2 as the blocker is still in modified state. I don't know if the Fixed In version needs to change or the other fix is missing, but I need to put it back ON_DEV for now. [----] E, [2016-03-22T14:26:05.397410 #12267:1251998] ERROR -- : MIQ(MiqQueue#m_callback) Message id: [321000000023240]: undefined method `vm_destroy' for #<ManageIQ::Providers::Azure::CloudManager:0x00000013b9f7b8> [----] E, [2016-03-22T14:26:05.397511 #12267:1251998] ERROR -- : MIQ(MiqQueue#m_callback) backtrace: /opt/rh/cfme-gemset/gems/activemodel-4.2.6/lib/active_model/attribute_methods.rb:433:in `method_missing' [root@10-16-7-59 log]# Hi Jeff, Can I access your test environment? Thanks, Tina https://10.16.7.59 - usual creds. You'll have to hit me up privately for the azure creds if you need those. Use the VM az-prov-01 New commit detected on cfme/5.5.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=d74e68f366d5c0baa812929d33a1ce7e78596662 commit d74e68f366d5c0baa812929d33a1ce7e78596662 Merge: f15b5c6 482169c Author: Greg McCullough <gmccullo> AuthorDate: Fri Apr 1 15:51:56 2016 -0400 Commit: Greg McCullough <gmccullo> CommitDate: Fri Apr 1 15:51:56 2016 -0400 Merge branch 'cherry-pick-pr5703' into '5.5.z' refactor Azure cloud manager VM operations https://bugzilla.redhat.com/show_bug.cgi?id=1291274 https://github.com/ManageIQ/manageiq/pull/5703 Clean cherry-pick. See merge request !869 app/models/manageiq/providers/azure/cloud_manager.rb | 16 ++++++++++------ .../providers/azure/cloud_manager/vm/operations.rb | 6 ++++++ .../providers/azure/cloud_manager/vm/operations/power.rb | 15 +++++++++++++++ 3 files changed, 31 insertions(+), 6 deletions(-) This works perfectly the first time. No tags necessary and no errors. 04/06/16 22:55:59 UTC 04/06/16 22:55:53 UTC Finished Task completed successfully Test5533a: 'retire_now' Used the standard Azure instance and a VM that was provisioned with Orchestration template. That's pretty much end to end working. Used 5.5.3.3 to verify on https://10.16.6.125/vm_cloud/explorer 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:0616 |