Project

General

Profile

Actions

Bug #20404

closed

enabled_repos_upload.py has invalid syntax for Python2.4 on EL5

Added by Jos Janssen over 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Client/Agent
Target version:
Fixed in Releases:
Found in Releases:

Description

With the update from katello-agent-3.0.0-2.el5.noarch to katello-agent-3.0.0-3.el5.noarch several files were moved to the katello-host-tools-3.0.0-3.el5.noarch package.
In this package the pyc and pyo files for /usr/lib/yum-plugins/enabled_repos_upload.py are missing.
As a result yum is broken:
  1. yum list kernel
    Plugin "enabled_repos_upload" can't be imported
    Loaded plugins: package_upload, product-id, security, subscription-manager
Actions #1

Updated by Evgeni Golov over 7 years ago

  • Assignee set to Evgeni Golov

Yum should still be working, just that one plugin should be broken.
And the issue is not really the missing files, it's the syntax of the plugin not being compatible with Python 2.4 on CentOS5.

Actions #2

Updated by The Foreman Bot over 7 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello-agent/pull/45 added
Actions #3

Updated by The Foreman Bot over 7 years ago

  • Pull request https://github.com/Katello/katello-packaging/pull/484 added
Actions #4

Updated by Evgeni Golov over 7 years ago

  • Subject changed from Missing enabled_repos_upload.pyc and enabled_repos_upload.pyo files in katello-host-tools-3.0.0-3.el5.noarch package to enabled_repos_upload.py has invalid syntax for Python2.4 on EL5

Jos, can you please try the patch from https://github.com/Katello/katello-agent/pull/45 and see if it works for you?

Actions #5

Updated by Evgeni Golov over 7 years ago

  • Category set to Client/Agent
  • Difficulty set to easy
Actions #6

Updated by Evgeni Golov over 7 years ago

  • Bugzilla link set to 1475275
Actions #7

Updated by Justin Sherrill over 7 years ago

  • Translation missing: en.field_release set to 281
Actions #8

Updated by Evgeni Golov over 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF