Issue #942
closedRepo metadata should update on successful sync
Description
I have observed the following sequence on my pulp 2.5.1 installation:
1) pulp-admin rpm repo sync run --repoid=epel-7-x86_64
Sync completes successfully
2) yum upgrade
Yum find dependency problems with createrepo_c package, needs >= 0.4, only 0.3.1 available.
4) check the published files, createrepo_c 0.7 is published by html.
Perhaps the client cache is out of date?
5) yum clean all
6) yum update
Same problem with createrepo_c package
I have observed this problem before, and I think that I fixed it on that occasion by deleting the repo and re-creating it from scratch. As I didn't purge orphans, the sync only downloaded the repo metadata.
I have not been able to verify the fix to this problem as at 1 May 2015 due to another issue with synching epel (Btree::insert key too large to index).
Reproduction:
Sorry, I don't know how to reproduce this problem from scratch.
Best solution:
Correct metadata is always published.
Possible workaround:
Is there a way to purge any existing published metadata, to ensure that metadata is re-generated?