Bug 1292730 - updating katello-agent always starts goferd and connects to subscription.rhn.redhat.com
Summary: updating katello-agent always starts goferd and connects to subscription.rhn....
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: katello-agent
Version: 6.1.5
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks: 1122832
TreeView+ depends on / blocked
 
Reported: 2015-12-18 08:31 UTC by Peter Vreman
Modified: 2023-09-14 03:15 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-07 12:23:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 16696 0 Normal New katello agent should not attempt to contact subscription.rhn.redhat.com 2020-05-19 16:05:05 UTC

Description Peter Vreman 2015-12-18 08:31:03 UTC
Description of problem:
When installing Sat6 the katello-agent RPM always enables and starts goferd.
Even when the Sat6 itself is connected to the RHN directly. Then the goferd tries to connect to subscription.rhn.redhat.com. This shall not be needed as goferd shall only connect to Katello and not to RHN.

The current katello-agent %post script are verify dumb and will even start goferd when it was explicitly stopped or disabled.

$ rpm -q --scripts katello-agent
postinstall scriptlet (using /bin/sh):
chkconfig goferd on
service goferd restart
postuninstall scriptlet (using /bin/sh):
    if service goferd status | grep 'is running'; then
        service goferd restart
    fi

Please add code to check the goferd only will start when there is a Katello configured in RHSM. E.g. do not allow to connect to subscription.rhn.redhat.com.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Connect the system to RHN
2. Stop service goferd
3. Install/Upgrade katello-agent
4.

Actual results:
goferd is started and trying to connect to subscription.rhn.redhat.com

Expected results:
goferd is not running



Additional info:

Comment 1 Bryan Kearney 2016-07-26 19:07:59 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 3 Peter Vreman 2017-03-07 11:10:35 UTC
The fix for https://bugzilla.redhat.com/show_bug.cgi?id=1291960 removes the restart already.

The more detailed BZ https://bugzilla.redhat.com/show_bug.cgi?id=1371883 requests that goferd is not starting when it wants to connect to subscription.rhsm.redhat.com and not to the Satellite.

Therefor from my perspective this BZ can be closed.

Comment 4 Bryan Kearney 2017-03-07 12:23:33 UTC
Based on comments from Peter Vreman, I am closing this out. If this was done in error please feel free to re-open with additional justification.

Comment 5 Red Hat Bugzilla 2023-09-14 03:15:00 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


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