Hide Forgot
Description of problem: `foreman-rake permissions:reset` emits warnings: "circular argument reference - connection" and more Version-Release number of selected component (if applicable): Satellite-6.2.0-RHEL-7-20160308.1-Satellite-x86_64 How reproducible: always Steps to Reproduce: 1. # foreman-rake permissions:reset Actual results: # foreman-rake permissions:reset /opt/theforeman/tfm/root/usr/share/gems/gems/docker-api-1.17.0/lib/docker.rb:103: warning: circular argument reference - connection /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.6/config/routes/overrides.rb:3: warning: already initialized constant Katello::WhitelistConstraint::PATHS /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.6/config/routes/overrides.rb:3: warning: previous definition of PATHS was here Reset to user: admin, password: swHsxfeLqABk38cL Expected results: No warnings in the output
Og reported a similar warning message in his /var/log/foreman/cron.log: /opt/theforeman/tfm/root/usr/share/gems/gems/docker-api-1.17.0/lib/docker.rb:103: warning: circular argument reference - connection I've this this in development as well. Looks like the fix is here: https://github.com/swipely/docker-api/commit/7e92801d345e5eaaec4730df7498bc896ee9a070 Which is included in the docker-api gem v1.18.0.
These are just warnings and not serious errors. So not harmful but it may confuse/mislead users.
(In reply to David Davis from comment #1) > Og reported a similar warning message in his /var/log/foreman/cron.log: > > /opt/theforeman/tfm/root/usr/share/gems/gems/docker-api-1.17.0/lib/docker.rb: > 103: warning: circular argument reference - connection > > I've this this in development as well. Looks like the fix is here: > > https://github.com/swipely/docker-api/commit/ > 7e92801d345e5eaaec4730df7498bc896ee9a070 > > Which is included in the docker-api gem v1.18.0. Hit it during Sat62 testing days. In my case, I got also mail to /var/spool/mail/root with content: From root.brq.redhat.com Sat Apr 9 14:53:19 2016 Return-Path: <root.brq.redhat.com> X-Original-To: root Delivered-To: root.brq.redhat.com Received: by pmoravec-sat62-rhel7.gsslab.brq.redhat.com (Postfix, from userid 0) id D3DFC1594F4; Sat, 9 Apr 2016 14:53:19 +0200 (CEST) From: Anacron <root.brq.redhat.com> To: root.brq.redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Anacron job 'cron.weekly' on pmoravec-sat62-rhel7.gsslab.brq.redhat.com Message-Id: <20160409125319.D3DFC1594F4.brq.redhat.com> Date: Sat, 9 Apr 2016 14:53:19 +0200 (CEST) /etc/cron.weekly/katello-remove-orphans: /opt/theforeman/tfm/root/usr/share/gems/gems/docker-api-1.17.0/lib/docker.rb:103: warning: circular argument reference - connection /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.15/config/routes/overrides.rb:3: warning: already initialized constant Katello::WhitelistConstraint::PATHS /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.15/config/routes/overrides.rb:3: warning: previous definition of PATHS was here Any run of /etc/cron.weekly/katello-remove-orphans causes the same, i.e. any customer would be "affected". Will it be fixed in Sat6.2 GA release or is it worth filing KCS for that until fix released?
I did a diff between v1.17.0 (the current version in Satellite) and v1.18.0 of the docker-api gem and there's only a few small changes. I don't see any reason why this can't be ready by GA. That said, I don't know the criteria for GA bugs at this point though. Paging Mike McCune.
VERIFIED. @satellite-6.2.0-14.1.el7sat.noarch # foreman-rake permissions:reset Reset to user: admin, password: qDLMLXp6RFMaDoYW >>> no disturbing warnings
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/RHBA-2016:1501