Bug 1475275
Summary: | enabled_repos_upload.py has invalid syntax for Python2.4 on EL5 | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Evgeni Golov <egolov> |
Component: | katello-agent | Assignee: | satellite6-bugs <satellite6-bugs> |
Status: | CLOSED ERRATA | QA Contact: | jcallaha |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | 6.2.11 | CC: | jcallaha, mmccune, zhunting |
Target Milestone: | Unspecified | Keywords: | Regression |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | katello-host-tools-3.0.1-1 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-08-17 19:44:23 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Evgeni Golov
2017-07-26 11:18:12 UTC
Created from redmine issue http://projects.theforeman.org/issues/20404 Upstream bug assigned to None The issue is not really the missing files, it's the syntax of the plugin not being compatible with Python 2.4. Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/20404 has been resolved. Verification: After installation, the following files exist: /usr/lib/yum-plugins/enabled_repos_upload.py /usr/lib/yum-plugins/enabled_repos_upload.pyc /usr/lib/yum-plugins/enabled_repos_upload.pyo (the later two were missing before) The plugin loads fine, that means, any yum command (like "yum list kernel") succeeds * without the output of Plugin '"enabled_repos_upload" can't be imported' * and the "Loaded plugins" line contains "enabled_repos_upload" The above should be after installing katello-host-tools in a EL5 client. Verified in Satellite 6.2.11 Snap 3 I was able to successfully install katello-agent on a RHEL5 client, then verified that the expected files were present. Installed: katello-agent.noarch 0:3.0.1-1.el5 Dependency Installed: gofer.noarch 0:2.7.7-2.el5 katello-host-tools.noarch 0:3.0.1-1.el5 katello-host-tools-fact-plugin.noarch 0:3.0.1-1.el5 pulp-rpm-handlers.noarch 0:2.8.7.15-2.el5 python-ctypes.x86_64 0:1.0.2-3.el5 python-gofer.noarch 0:2.7.7-2.el5 python-gofer-proton.noarch 0:2.7.7-2.el5 python-hashlib.x86_64 0:20081119-7.el5sat python-isodate.noarch 0:0.5.0-4.pulp.el5 python-pulp-agent-lib.noarch 0:2.8.7.13-1.el5 python-pulp-common.noarch 0:2.8.7.13-1.el5 python-pulp-rpm-common.noarch 0:2.8.7.15-2.el5 python-qpid-proton.x86_64 0:0.9-16.el5 qpid-proton-c.x86_64 0:0.9-16.el5 Complete! [root@qe-blade-03 ~]# find /usr/lib/yum-plugins/ -name enabled_repos_upload* /usr/lib/yum-plugins/enabled_repos_upload.pyc /usr/lib/yum-plugins/enabled_repos_upload.pyo /usr/lib/yum-plugins/enabled_repos_upload.py This bug was incorrectly missed from the Errata advisory for 6.2.11 but we did ship the fix for this bug with that update. Manually moving this to CLOSED: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-2017:2466 |