Bug 1479882 - 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...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Automate
Version: 5.8.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.9.0
Assignee: William Fitzgerald
QA Contact: Landon LaSmith
URL:
Whiteboard:
Depends On:
Blocks: 1480734 1480736
TreeView+ depends on / blocked
 
Reported: 2017-08-09 15:57 UTC by Jeff Warnica
Modified: 2018-03-06 15:14 UTC (History)
7 users (show)

Fixed In Version: 5.9.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1480734 1480736 (view as bug list)
Environment:
Last Closed: 2018-03-06 15:14:28 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jeff Warnica 2017-08-09 15:57:30 UTC
Per summary, in both Cloud and Infrastructure, the vm_retire_extend method references vm.retirement which does not exist, causing a stack dump.

Comment 5 William Fitzgerald 2017-08-11 16:16:01 UTC
This PR https://github.com/ManageIQ/manageiq/pull/15790 will fix the problem on the 5.7 release.  I was able to re-create the problem (on 5.7) and this PR fixes it on 5.7.

This PR https://github.com/ManageIQ/manageiq-content/pull/94 will fix the problem on the 5.8 release.  I created this PR before the bug was known so I have added the labels fine/yes and bug to this PR which fixes this on 5.8.

Please let me know if anyone has any questions.

Thanks

Billy

Comment 8 Landon LaSmith 2017-10-27 15:40:42 UTC
VERIFIED. I was able to create a VM and Instance button that call vm_retire_extend and successfully extend the retirement days by the default time period 

Version: 5.9.0.4.20171024163837_ef71ea6


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