Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1659418 - katello-tracer-upload failing with error "ImportError: No module named katello"
Summary: katello-tracer-upload failing with error "ImportError: No module named katello"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: katello-tracer
Version: 6.4
Hardware: All
OS: All
medium
medium
Target Milestone: 6.8.0
Assignee: Jonathon Turel
QA Contact: Ondrej Gajdusek
URL: https://projects.theforeman.org/issue...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-12-14 10:39 UTC by Nithin Thomas
Modified: 2022-03-13 16:30 UTC (History)
3 users (show)

Fixed In Version: katello-host-tools-3.5.3-2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-27 12:58:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 29313 0 Normal Closed synchronize katello-host-tools and k-h-t-tracer versions 2021-01-28 22:39:11 UTC
Github theforeman foreman-packaging pull 4813 0 None closed Fixes #29313 - require same katello-host-tools version on subpackages 2021-01-28 22:39:11 UTC
Red Hat Knowledge Base (Solution) 3756181 0 None None None 2018-12-14 11:04:43 UTC
Red Hat Product Errata RHSA-2020:4366 0 None None None 2020-10-27 12:58:21 UTC

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


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