Project

General

Profile

Bug #5636

el5 katello-agent sends up incorrect information for enabled repos

Added by Justin Sherrill over 6 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
High
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

Reported on #theforeman, using katello-agent-1.5.2-2.el5 from koji seems to result in the agent sending up incorrect information (missing the baseurl) for enabled repos. This causes errata to not be visible for el5 systems.

http://koji.katello.org/packages/katello-agent/1.5.2/2.el5/noarch/katello-agent-1.5.2-2.el5.noarch.rpm

RHEL 5:

2014-05-06 20:03:05,777 [INFO][PathMonitor1] @ connection.py:596 - Connection Built: host: localhost.localdomain, port: 443, handler: /katello/api
2014-05-06 20:03:05,777 [INFO][PathMonitor1] @ katelloplugin.py:382 - reporting: {'enabled_repos': {'repos': [{'repositoryid': 'ORG_EPEL_5_epel-5'}, {'repositoryid': 'ORG_HP_SPP_EL5_hp-spp-5'}, {'repositoryid': 'ORG_ORG_EL5_ORG-5'}, {'repositoryid': 'ORG_Puppet_EL5_puppet-5'}, {'repositoryid': 'ORG_Puppet_EL5_puppet-dependencies-5'}, {'repositoryid': 'ORG_VMware_Tools_5_1_EL5_rhel-5'}, {'repositoryid': 'rhel-5-server-cf-tools-1-rpms'}, {'repositoryid': 'rhel-5-server-fastrack-rpms'}, {'repositoryid': 'rhel-5-server-rh-common-rpms'}, {'repositoryid': 'rhel-5-server-rpms'}, {'repositoryid': 'rhel-5-server-supplementary-rpms'}]}}
2014-05-06 20:03:07,141 [INFO][PathMonitor1] @ katelloplugin.py:385 - {'processed_ids': [], 'error_ids': [], 'unknown_labels': [], 'result': 'ok'}

RHEL 6:

2014-05-08 15:38:31,587 [INFO][PathMonitor1] __init__() @ connection.py:657 - Connection Built: host: localhost.localdomain, port: 443, handler: /katello/api
2014-05-08 15:38:31,588 [INFO][PathMonitor1] report_enabled() @ katelloplugin.py:352 - reporting: {'enabled_repos': {'repos': [{'baseurl': ['https://localhost.localdomain/pulp/repos/ORG/Library/custom/EPEL_6/epel-6'], 'repositoryid': 'ORG_EPEL_6_epel-6'}, {'baseurl': ['https://localhost.localdomain/pulp/repos/ORG/Library/custom/HP_SPP_EL6/hp-spp-6'], 'repositoryid': 'ORG_HP_SPP_EL6_hp-spp-6'}, {'baseurl': ['https://localhost.localdomain/pulp/repos/ORG/Library/custom/ORG_EL6/ORG-6'], 'repositoryid': 'ORG_ORG_EL6_ORG-6'}, {'baseurl': ['https://localhost.localdomain/pulp/repos/ORG/Library/custom/Katello_Client_EL_6/katello-6'], 'repositoryid': 'ORG_Katello_Client_EL_6_katello-6'}, {'baseurl': ['https://localhost.localdomain/pulp/repos/ORG/Library/custom/Katello_Client_EL_6/katello-pulp-6'], 'repositoryid': 'ORG_Katello_Client_EL_6_katello-pulp-6'}, {'baseurl': ['https://localhost.localdomain/pulp/repos/ORG/Library/custom/Puppet_EL6/puppet-6'], 'repositoryid': 'ORG_Puppet_EL6_puppet-6'}, {'baseurl': ['https://localhost.localdomain/pulp/repos/ORG/Library/custom/Puppet_EL6/puppet-dependencies-6'], 'repositoryid': 'ORG_Puppet_EL6_puppet-dependencies-6'}, {'baseurl': ['https://localhost.localdomain/pulp/repos/ORG/Library/custom/VMware_Tools_5_1_EL6/rhel-6'], 'repositoryid': 'ORG_VMware_Tools_5_1_EL6_rhel-6'}, {'baseurl': ['https://localhost.localdomain/pulp/repos/ORG/Library/content/dist/rhel/server/6/6Server/x86_64/cf-tools/1/os'], 'repositoryid': 'rhel-6-server-cf-tools-1-rpms'}, {'baseurl': ['https://localhost.localdomain/pulp/repos/ORG/Library/content/fastrack/rhel/server/6/x86_64/os'], 'repositoryid': 'rhel-6-server-fastrack-rpms'}, {'baseurl': ['https://localhost.localdomain/pulp/repos/ORG/Library/content/fastrack/rhel/server/6/x86_64/optional/os'], 'repositoryid': 'rhel-6-server-optional-fastrack-rpms'}, {'baseurl': ['https://localhost.localdomain/pulp/repos/ORG/Library/content/dist/rhel/server/6/6Server/x86_64/optional/os'], 'repositoryid': 'rhel-6-server-optional-rpms'}, {'baseurl': ['https://localhost.localdomain/pulp/repos/ORG/Library/content/dist/rhel/server/6/6Server/x86_64/rh-common/os'], 'repositoryid': 'rhel-6-server-rh-common-rpms'}, {'baseurl': ['https://localhost.localdomain/pulp/repos/ORG/Library/content/dist/rhel/server/6/6Server/x86_64/os'], 'repositoryid': 'rhel-6-server-rpms'}, {'baseurl': ['https://localhost.localdomain/pulp/repos/ORG/Library/content/dist/rhel/server/6/6Server/x86_64/supplementary/os'], 'repositoryid': 'rhel-6-server-supplementary-rpms'}, {'baseurl': ['https://localhost.localdomain/pulp/repos/ORG/Library/content/dist/rhel/server/6/6Server/x86_64/rhscl/1/os'], 'repositoryid': 'rhel-server-rhscl-6-rpms'}]}}
2014-05-08 15:38:31,952 [INFO][e24de0fc-cb12-43fa-9584-690986cd1e3c] connect() @ broker.py:107 - {localhost.localdomain:5671} connected to AMQP

History

#1 Updated by Justin Sherrill over 6 years ago

  • Status changed from New to Closed
  • Assignee set to Justin Sherrill

testing with el5 builds http://jlsherrill.fedorapeople.org/katello-agent/1.4/ seems to work fine.

#2 Updated by Eric Helms over 6 years ago

  • Target version set to 44

#3 Updated by Eric Helms over 6 years ago

  • Triaged changed from No to Yes

Also available in: Atom PDF