Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
DescriptionJustin Sherrill
2015-05-12 15:57:29 UTC
Description of problem:
Currently candlepin sets redhat repos to use 'metadata_expire = 1' in the redhat.repo file.
Custom repositories do not have this set, and it is up to katello to set it.
Version-Release number of selected component (if applicable):
How reproducible:
Always
Steps to Reproduce:
1. Create a custom repo
2. Register a client
3. attach client to custom repo
4. Example /etc/yum.repos.d/redhat.repo
Actual results:
metadata_expire is not set for the custom repo
Expected results:
metadata_expire is set to 1 for the custom repo
Additional info:
Moving to POST since upstream bug http://projects.theforeman.org/issues/10495 has been closed
-------------
Justin Sherrill
Applied in changeset commit:katello|78c75ae85c8a5752de9e655f1ec278f492f95245.
Comment 8sthirugn@redhat.com
2015-05-21 19:07:39 UTC
Verified in Sat 6.1 GA Snap 5. I had two repositories in my content view - one is RH repo and other is custom repo. Both are set to expire_metadata=1.