Red Hat Bugzilla – Bug 1255819
[RFE] subscription-manager refresh should expire RHSM repodata cache
Last modified: 2017-08-02 02:52:02 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
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 *
Even though the repo list changes the cached repomd.xml is not considered 'obsolete'
subscription-manager refresh performs similarly to yum clean expire-cache
I'm not expecting the primary.sqlite or friends to be removed, just the repomd.xml so that content is (optionall) refreshed.