Project

General

Profile

Actions

Bug #30235

closed

The change of srpm count in the repository doesn't trigger the index content

Added by Hao Yu almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

When syncing a repository, Katello will skip the index content step if only source rpms are updated.

Steps to Reproduce:
1. Create a local repository with 1 rpm and 1 srpm in /var/www/html/pub/my_local_repo

createrepo /var/www/html/pub/my_local_repo

2. Create a repo from the satellite web UI to sync the local repo.
3. Sync the repo and wait until it is succeeded.
4. Remove the the "repodata" and the srpm in /var/www/html/pub/my_local_repo
5. Recreate the repo metadata

createrepo /var/www/html/pub/my_local_repo

6. Sync the repo again and notice that the "Source RPMs" count is still 1 in:

Web ui -> Products -> product name -> Repositories -> my_local_repo

Actions #1

Updated by The Foreman Bot almost 4 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Hao Yu
  • Pull request https://github.com/Katello/katello/pull/8791 added
Actions #2

Updated by Ian Ballou almost 4 years ago

  • Target version set to Katello 3.16.0
  • Triaged changed from No to Yes
Actions #3

Updated by The Foreman Bot almost 4 years ago

  • Fixed in Releases Katello 4.0.0 added
Actions #4

Updated by Hao Yu almost 4 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF