Bug 1255819 - [RFE] subscription-manager refresh should expire RHSM repodata cache
[RFE] subscription-manager refresh should expire RHSM repodata cache
Status: NEW
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager (Show other bugs)
All Linux
unspecified Severity low
: rc
: ---
Assigned To: candlepin-bugs
John Sefler
: FutureFeature
Depends On:
  Show dependency treegraph
Reported: 2015-08-21 11:59 EDT by Pat Riehecky
Modified: 2017-08-02 02:52 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Pat Riehecky 2015-08-21 11:59:17 EDT
Description of problem:
When using RHSM provided repos, a subscription-manager refresh can be used to reload the list of provided repos, but it does not expire the local repomd.xml.  This can lead to some frustration with the repo list being updated but not the metadata of those repos.

Version-Release number of selected component (if applicable): 	subscription-manager-1.13.22

How reproducible:

Steps to Reproduce:
1.Using Sat6, register a client to a repo
2.run yum search *
3.update the repo on Sat6
4.add new repo to the client
5.run subscription-manager refresh on client
6.run yum search *

Actual results:
Even though the repo list changes the cached repomd.xml is not considered 'obsolete'

Expected results:
subscription-manager refresh performs similarly to yum clean expire-cache

Additional info:
I'm not expecting the primary.sqlite or friends to be removed, just the repomd.xml so that content is (optionall) refreshed.

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