Bug 2196641 - Configuration file /etc/yum/pluginconf.d/__init__.conf not found (and more)
Summary: Configuration file /etc/yum/pluginconf.d/__init__.conf not found (and more)
Keywords:
Status: NEW
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: katello-tracer
Version: 6.12.2
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Satellite QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-09 17:08 UTC by Ben
Modified: 2023-07-18 00:24 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SAT-19009 0 None None None 2023-07-18 00:24:57 UTC
Red Hat Knowledge Base (Solution) 7012890 0 None None None 2023-05-12 11:23:32 UTC

Description Ben 2023-05-09 17:08:54 UTC
Description of problem:
Since upgrading my RHEL 6 hosts from

  katello-host-tools-fact-plugin.noarch 0:3.5.7-3.el6sat
to
   katello-host-tools.noarch 0:4.2.3-3.el6sat

I now get the following every time I do yum commands:

[root@rhel6 ~]#  yum clean all
Configuration file /etc/yum/pluginconf.d/__init__.conf not found
Unable to find configuration file for plugin __init__
Configuration file /etc/yum/pluginconf.d/tracer_upload.conf not found
Unable to find configuration file for plugin tracer_upload
Loaded plugins: enabled_repos_upload, package_upload, product-id, search-
              : disabled-repos, security, subscription-manager
[...]


Version-Release number of selected component (if applicable):
katello-host-tools-4.2.3-3.el6sat.noarch


How reproducible:
Every yum command

I believe this has broken Tracer for my hosts.  Let me know if there's any other information you need.

Note that I have not upgraded my Satellite from 6.12.2 to anything higher (like 6.12.4, or 6.13).

Comment 1 Brad Buckingham 2023-05-11 14:19:41 UTC
Hi Ben,

Do you have a case open for this one?  If so, we can get it attached to the bugzilla and Support can help with some basic debugging.

Thanks!

Comment 2 Ben 2023-05-11 14:34:40 UTC
Hi Brad,

At present, no.  Is that something you definitely want/need me to do?

Comment 3 Brad Buckingham 2023-05-11 14:58:09 UTC
Hi Ben,

Thanks for the quick reply.  It isn't required, but it was recommended by our Product Experience engineer.  There are times that support may have recommendations/solutions/workarounds.  In addition, it also gets the case attached to the bugzilla which can raise priority.

Cheers!

Comment 4 Ben 2023-05-11 15:22:27 UTC
Case #03509723 opened.

Comment 5 Lucy Fu 2023-05-11 15:59:51 UTC
Thank you for the bug report, RedHat Enterprise Linux 6 is currently end of life. 
katello-host-tools-tracer and the katello-host-tools suite has not been updated anymore for Red Hat Enterprise Linux 6. 

This article shows that Red Hat Enterprise Linux 6 is end of life: https://access.redhat.com/articles/4665701                                                                                               

I would upgrade your hosts to the latest version of Red Hat Enterprise Linux 7 which is still supported and then upgrade to Red Hat Enterprise Linux 8 or 9 so you have the longest support possible. We are going to close this bug as WONTFIX. 

If you upgrade and are still seeing this issue, then feel free to reopen the bug.

This link https://access.redhat.com/support/policy/updates/errata lists the lifecycle of RHEL 7/8/9.

Comment 6 Ben 2023-05-11 16:12:56 UTC
You can't close this, Red Hat have broken previously-working functionality.

And Red Hat JUST updated katello-host-tools to 4.2.3-3 with the release of Satellite 6.13.  So your comment is incorrect.

We CANNOT upgrade these hosts (we have 25) from RHEL 6 to RHEL 7.  We have ELS subscriptions.  Am I to believe this doesn't mean anything when Red Hat breaks functionality?

Comment 7 Sayan Das 2023-05-12 10:00:23 UTC

This is a genuine issue. It's happeing as we have included these as a part of updated package katello-host-tools


/usr/lib/yum-plugins/__init__.py
/usr/lib/yum-plugins/__init__.pyc
/usr/lib/yum-plugins/__init__.pyo
/usr/lib/yum-plugins/tracer_upload.py
/usr/lib/yum-plugins/tracer_upload.pyc
/usr/lib/yum-plugins/tracer_upload.pyo


Where as the last katello-host-tools-fact-plugin package for RHEL 6 never had them


And if someone just want to get rid of those error messages while continue to use the latest package, for that just do 

# touch /etc/yum/pluginconf.d/__init__.conf
# touch /etc/yum/pluginconf.d/tracer_upload.conf



If you wish to downgrade the package back to katello-host-tools-fact-plugin , then

# yum remove katello-host-tools -y

# yum install katello-host-tools-fact-plugin.noarch --exclude=katello-host-tools -y

Comment 10 Ben 2023-05-12 10:16:44 UTC
You're missing the step of then also installing katello-host-tools-3.5.7-3, which isn't installed by the yum install line above.

Note also that none of this puts /etc/yum.plugins.d/tracer_upload.conf back, if it was there beforehand.

Comment 11 Sayan Das 2023-05-12 10:22:00 UTC
Ah yes, It should be 

# yum remove katello-host-tools -y

# yum install katello-host-tools-fact-plugin.noarch --exclude=katello-host-tools -y

# yum install katello-host-tools-3.5.7-3.el6sat.noarch


And perhaps for RHEL 6, The tracer equivalent feature was coming from some other plugin. I know for sure that we have tracer plugin ( as well as underlying binary ) starting from RHEL 7 but perhaps not for RHEL 6. It could have had something equivalent to tracer but not exactly the tracer itself.


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