Bug 1443739 - Change in gem syntax from 4.0 to 4.2 NoMethodError undefined method `run' for LinuxAdmin:Module
Summary: Change in gem syntax from 4.0 to 4.2 NoMethodError undefined method `run' for...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance
Version: 5.7.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.9.0
Assignee: Joe Rafaniello
QA Contact: luke couzens
URL:
Whiteboard:
Depends On:
Blocks: 1445016
TreeView+ depends on / blocked
 
Reported: 2017-04-19 21:12 UTC by Jared Deubel
Modified: 2020-05-14 15:59 UTC (History)
5 users (show)

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


Attachments (Terms of Use)

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


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