Bug 1480734 - vm_retire_extend references vm.retirement which does not exist anymore, causing crash
Summary: vm_retire_extend references vm.retirement which does not exist anymore, causi...
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Automate
Version: 5.8.0
Hardware: Unspecified
OS: Unspecified
Target Milestone: GA
: 5.8.2
Assignee: William Fitzgerald
QA Contact: Landon LaSmith
Depends On: 1479882
TreeView+ depends on / blocked
Reported: 2017-08-11 19:02 UTC by Satoe Imaishi
Modified: 2017-10-24 00:39 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1479882
Last Closed: 2017-10-24 00:39:41 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:3005 0 normal SHIPPED_LIVE Important: Red Hat CloudForms security, bug fix, and enhancement update 2017-10-24 04:15:49 UTC

Comment 2 CFME Bot 2017-08-11 19:08:07 UTC
New commit detected on ManageIQ/manageiq-content/fine:

commit a8e548f809798a62288d66f0e70a65c39a1a1bfe
Author:     Madhu Kanoor <mkanoor@redhat.com>
AuthorDate: Thu Jun 29 16:53:02 2017 -0400
Commit:     Satoe Imaishi <simaishi@redhat.com>
CommitDate: Fri Aug 11 15:03:46 2017 -0400

    Merge pull request #94 from billfitzgerald0120/vm_retire_extend
    Refactor and create tests for 2 vm_retire_extend methods.
    (cherry picked from commit 3aea4c41216d48fdae28c7b7dfb6e80878fd3e29)

 .../Email.class/__methods__/vm_retire_extend.rb    | 137 ++++++++++--------
 .../Email.class/__methods__/vm_retire_extend.rb    | 157 +++++++++++----------
 .../__methods__/vm_retire_extend_spec.rb           |  89 ++++++++++++
 .../__methods__/vm_retire_extend_spec.rb           |  89 ++++++++++++
 4 files changed, 338 insertions(+), 134 deletions(-)
 create mode 100644 spec/content/automate/ManageIQ/Cloud/VM/Retirement/Email.class/__methods__/vm_retire_extend_spec.rb
 create mode 100644 spec/content/automate/ManageIQ/Infrastructure/VM/Retirement/Email.class/__methods__/vm_retire_extend_spec.rb

Comment 3 Landon LaSmith 2017-09-06 18:07:18 UTC
I was able to reproduce the error "`method_missing`: undefined method `retirement` for #<...> (NoMethodError)" on older versions of 5.7.z and 5.8.1 by just creating a new button under VM and Instance that calls vm_retire_extend.


Comment 5 errata-xmlrpc 2017-10-24 00:39:41 UTC
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.


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