Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1377372

Summary: On installing foreman ansible plugin, getting ArgumentError.
Product: Red Hat Satellite Reporter: Sachin Ghai <sghai>
Component: Ansible - Configuration ManagementAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: sthirugn <sthirugn>
Severity: high Docs Contact:
Priority: high    
Version: 6.3.0CC: bbuckingham, cwelton, dlobatog, sthirugn
Target Milestone: UnspecifiedKeywords: PrioBumpQA, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-21 16:49:54 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:
Attachments:
Description Flags
Web application could not be started on webUI none

Description Sachin Ghai 2016-09-19 13:47:04 UTC
Created attachment 1202486 [details]
Web application could not be started on webUI

Description of problem:

On installing foreman_ansible plugin on sat6.3 compose, UI throws following error:

Web application could not be started

wrong number of arguments (1 for 0) (ArgumentError)
  /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_ansible-1.0/lib/foreman_ansible/engine.rb:37:in `rescue in block in <class:Engine>'
  /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_ansible-1.0/lib/foreman_ansible/engine.rb:28:in `block in <class:Engine>'
  /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:446:in `instance_exec'
  /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:446:in `block in make_lambda'
  /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:192:in `call'
  /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:192:in `block in simple'
  /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:504:in `call'
  /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:504:in `block in call'
  /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:504:in `each'
  /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:504:in `call'
  /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:92:in `__run_callbacks__'



Version-Release number of selected component (if applicable):
tfm-rubygem-foreman_ansible-1.0-1.fm1_13.el7.noarch
satellite-6.3.0-1.0.git.7.fb12bf2.el7sat.noarch


How reproducible

Steps to Reproduce:
1. install foreman_ansible plugin
2. restart katello-services
3.

Actual results:


Expected results:
No error should be thrown on accessing webUI

Additional info:

Comment 3 sthirugn@redhat.com 2016-10-24 16:10:15 UTC
In Satellite 6.3 Snap 5, I was able to install ansible plugin with no errors using the following commands:

# yum install -y tfm-rubygem-foreman_ansible  
# katello-service restart

Comment 4 Satellite Program 2018-02-21 16:49:54 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.

https://access.redhat.com/errata/RHSA-2018:0336