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 1220861 - Custom repositories do not define 'metadata_expire = 1'
Summary: Custom repositories do not define 'metadata_expire = 1'
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Management
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: Justin Sherrill
QA Contact: sthirugn@redhat.com
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-12 15:57 UTC by Justin Sherrill
Modified: 2017-02-23 20:03 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-12 14:01:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 10495 0 Normal Closed Custom repositories do not define 'metadata_expire = 1' 2021-02-04 21:48:26 UTC
Red Hat Bugzilla 1254617 0 medium CLOSED [RFE] Provide a per custom repo metadata_expire configurable setting via UI and CLI 2024-06-05 21:37:29 UTC

Internal Links: 1254617

Description Justin 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:

Comment 1 Justin Sherrill 2015-05-12 15:58:01 UTC
Note:  This was discovered by a user using the sat6.1 beta

Comment 4 Justin Sherrill 2015-05-13 12:02:04 UTC
Created redmine issue http://projects.theforeman.org/issues/10495 from this bug

Comment 5 Bryan Kearney 2015-05-15 17:55:25 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/10495 has been closed
-------------
Justin Sherrill
Applied in changeset commit:katello|78c75ae85c8a5752de9e655f1ec278f492f95245.

Comment 8 sthirugn@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.

Comment 10 Bryan Kearney 2015-08-11 13:35:57 UTC
This bug is slated to be released with Satellite 6.1.

Comment 11 Bryan Kearney 2015-08-12 14:01:12 UTC
This bug was fixed in version 6.1.1 of Satellite which was released on 12 August, 2015.


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