Bug 1377372 - On installing foreman ansible plugin, getting ArgumentError.
Summary: On installing foreman ansible plugin, getting ArgumentError.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Ansible
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: sthirugn@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-19 13:47 UTC by Sachin Ghai
Modified: 2019-09-26 18:04 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-21 16:49:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Web application could not be started on webUI (108.56 KB, image/png)
2016-09-19 13:47 UTC, Sachin Ghai
no flags Details

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


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