Bug 1659418

Summary: katello-tracer-upload failing with error "ImportError: No module named katello"
Product: Red Hat Satellite Reporter: Nithin Thomas <nitthoma>
Component: katello-tracerAssignee: Jonathon Turel <jturel>
Status: CLOSED ERRATA QA Contact: Ondrej Gajdusek <ogajduse>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.4CC: chrobert, egolov, patalber
Target Milestone: 6.8.0Keywords: Triaged
Target Release: Unused   
Hardware: All   
OS: All   
URL: https://projects.theforeman.org/issues/29313
Whiteboard:
Fixed In Version: katello-host-tools-3.5.3-2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 12:58:03 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:

Comment 3 Nithin Thomas 2018-12-14 10:42:55 UTC
Workaround:

# yum update katello-host-tools
# katello-tracer-upload

Comment 4 Bryan Kearney 2020-03-10 14:01:24 UTC
Upstream bug assigned to jturel

Comment 5 Bryan Kearney 2020-03-10 14:01:28 UTC
Upstream bug assigned to jturel

Comment 6 Jonathon Turel 2020-03-20 01:17:53 UTC
Connecting redmine issue https://projects.theforeman.org/issues/29313 from this bug

Comment 7 Bryan Kearney 2020-04-22 20:16:58 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/29313 has been resolved.

Comment 8 Ondrej Gajdusek 2020-08-13 09:45:59 UTC
Having the following installed.
$ rpm -q katello-host-tools-tracer katello-host-tools
katello-host-tools-tracer-3.5.1-2.el7sat.noarch
katello-host-tools-3.5.1-2.el7sat.noarch


$ rpm -qR katello-host-tools-tracer
katello-host-tools
python(abi) = 2.7
python2-tracer >= 0.6.12
... output omitted ...


$ yum update katello-* --exclude=katello-host-tools
Loaded plugins: enabled_repos_upload, package_upload, product-id, search-disabled-repos, subscription-manager,
              : tracer_upload
Resolving Dependencies
--> Running transaction check
---> Package katello-host-tools-fact-plugin.noarch 0:3.5.1-2.el7sat will be updated
---> Package katello-host-tools-fact-plugin.noarch 0:3.5.4-1.el7sat will be an update
---> Package katello-host-tools-tracer.noarch 0:3.5.1-2.el7sat will be updated
---> Package katello-host-tools-tracer.noarch 0:3.5.4-1.el7sat will be an update
--> Processing Dependency: katello-host-tools = 3.5.4-1.el7sat for package: katello-host-tools-tracer-3.5.4-1.el7sat.noarch
--> Finished Dependency Resolution
Error: Package: katello-host-tools-tracer-3.5.4-1.el7sat.noarch (Default_Organization_SatTools_RHEL7Tools)
           Requires: katello-host-tools = 3.5.4-1.el7sat
           Installed: katello-host-tools-3.5.1-2.el7sat.noarch (@Sat6-CI_Red_Hat_Satellite_6_7_Composes_Satellite_Tools_6_7_RHEL7)
               katello-host-tools = 3.5.1-2.el7sat
**********************************************************************
yum can be configured to try to resolve such errors by temporarily enabling
disabled repos and searching for missing dependencies.
To enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf
**********************************************************************

Error: Package: katello-host-tools-tracer-3.5.4-1.el7sat.noarch (Default_Organization_SatTools_RHEL7Tools)
           Requires: katello-host-tools = 3.5.4-1.el7sat
           Installed: katello-host-tools-3.5.1-2.el7sat.noarch (@Sat6-CI_Red_Hat_Satellite_6_7_Composes_Satellite_Tools_6_7_RHEL7)
               katello-host-tools = 3.5.1-2.el7sat
... output omitted ...


Updating katello-host-tools-tracer will also update katello-host-tools.
$ yum --y update katello-host-tools-tracer
Loaded plugins: enabled_repos_upload, package_upload, product-id, search-disabled-repos, subscription-manager,
              : tracer_upload
Resolving Dependencies
--> Running transaction check
---> Package katello-host-tools-tracer.noarch 0:3.5.1-2.el7sat will be updated
---> Package katello-host-tools-tracer.noarch 0:3.5.4-1.el7sat will be an update
--> Processing Dependency: katello-host-tools = 3.5.4-1.el7sat for package: katello-host-tools-tracer-3.5.4-1.el7sat.noarch
--> Running transaction check
---> Package katello-host-tools.noarch 0:3.5.1-2.el7sat will be updated
---> Package katello-host-tools.noarch 0:3.5.4-1.el7sat will be an update
--> Processing Dependency: katello-host-tools-fact-plugin = 3.5.4-1.el7sat for package: katello-host-tools-3.5.4-1.el7sat.noarch
--> Running transaction check
---> Package katello-host-tools-fact-plugin.noarch 0:3.5.1-2.el7sat will be updated
---> Package katello-host-tools-fact-plugin.noarch 0:3.5.4-1.el7sat will be an update
--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================================================
 Package                            Arch       Version            Repository                                    Size
=====================================================================================================================
Updating:
 katello-host-tools-tracer          noarch     3.5.4-1.el7sat     Default_Organization_SatTools_RHEL7Tools      18 k
Updating for dependencies:
 katello-host-tools                 noarch     3.5.4-1.el7sat     Default_Organization_SatTools_RHEL7Tools      35 k
 katello-host-tools-fact-plugin     noarch     3.5.4-1.el7sat     Default_Organization_SatTools_RHEL7Tools      16 k

Transaction Summary
=====================================================================================================================
Upgrade  1 Package (+2 Dependent packages)

Total download size: 69 k
... output omitted ...


$ rpm -qR katello-host-tools-tracer-3.5.4-1.el7sat.noarch
katello-host-tools = 3.5.4-1.el7sat
python(abi) = 2.7
python2-tracer >= 0.6.12
... output omitted ...

Comment 11 errata-xmlrpc 2020-10-27 12:58:03 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 (Important: Satellite 6.8 release), 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-2020:4366