Bug 1443739

Summary: Change in gem syntax from 4.0 to 4.2 NoMethodError undefined method `run' for LinuxAdmin:Module
Product: Red Hat CloudForms Management Engine Reporter: Jared Deubel <jdeubel>
Component: ApplianceAssignee: Joe Rafaniello <jrafanie>
Status: CLOSED CURRENTRELEASE QA Contact: luke couzens <lcouzens>
Severity: high Docs Contact:
Priority: high    
Version: 5.7.0CC: abellott, jhardy, jrafanie, obarenbo, simaishi
Target Milestone: GAKeywords: Regression, TestOnly
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1445016 (view as bug list) Environment:
Last Closed: 2018-03-06 15:18:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1445016    

Description Jared Deubel 2017-04-19 21:12:47 UTC
Description of problem:
Change in gem systax from 4.0 to 4.2 NoMethodError undefined method `run' for LinuxAdmin:Module causing issues

====
ERROR -- : <AutomationEngine> <AEMethod add_dns_record> Ten-X Customization: Error executing linux command: NoMethodError undefined method `run' for LinuxAdmin:Module <code: result = LinuxAdmin.run(cmd)>:33:in `block in run_linux_admin'
====
Version-Release number of selected component (if applicable):
5.7

Comment 2 Jared Deubel 2017-04-19 21:15:04 UTC
https://github.com/ManageIQ/linux_admin/issues/186

Comment 4 CFME Bot 2017-04-24 15:17:55 UTC
New commit detected on ManageIQ/manageiq-gems-pending/master:
https://github.com/ManageIQ/manageiq-gems-pending/commit/fb2003d6d555da872ff2f4fdfb46f4f407c2e67e

commit fb2003d6d555da872ff2f4fdfb46f4f407c2e67e
Author:     Joe Rafaniello <jrafanie>
AuthorDate: Mon Apr 24 10:26:36 2017 -0400
Commit:     Joe Rafaniello <jrafanie>
CommitDate: Mon Apr 24 10:53:55 2017 -0400

    Update to linux_admin to support old LinuxAdmin.run interface
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1443739
    
    It was removed but should have gone through a deprecation cycle.
    Existing user automate scripts could be using this previously removed
    interface.
    
    See: https://github.com/ManageIQ/linux_admin/pull/186

 manageiq-gems-pending.gemspec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 6 luke couzens 2018-01-08 15:12:16 UTC
Verified in 5.9.0.15