Project

General

Profile

Bug #33443

UI shows 0 packages\\errata\\package_groups after a bad sync followed by a successful sync for the same repo

Added by James Jeffers 8 months ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

b'Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1993982 \n\n*Description of problem:*\n\nSatellite UI shows 0 packages\\errata\\package_groups after a bad sync followed by a successful sync for the same repo\n\n*Version-Release number of selected component (if applicable):*\n\nSatellite 6.10 [ satellite-6.10.0-0.6.beta.el7sat.noarch ]\n\n*How reproducible:*\n\nUnder specific circumstances\n\n*Steps to Reproduce:*\n1. Build a satellite 6.10, import manifest and enable RHEL 7Server, RHEL EUS 7.7, RHEL 6 ELS, RHEL 7 Optional repos.\n2. Sync them at once and let the sync get failed [ Could be because of https://bugzilla.redhat.com/show_bug.cgi?id=1993773 ]\n3. Now sync them individually one by one, and ensure that sync gets completed for all of them.\n4. Go to Content --> Products --> Click open the concerned product and see the counts\n5. Republish Repository metadata for an affected repo\n6. Repeate Step 4 for one of the affected repo\n7. Register a system with satellite, enable the affected repo on it and check "yum repolist"\n\n\n*Actual results:*\n\nAt Step 4 and 6, we will be able to see 0 packages reflected in UI for those repos.\n\nAt Step 7, yum will be able to show proper count of the packages from the same broken repo as well as will be able to download content from there.\n\n\n*Expected results:*\n\n\nWith second successful sync, pulp3 + katello should be able to update the count of package\\errata\\package_groups in UI properly\n\n\n*Additional info:*\n\n* I noticed this happening for big yum repos mostly i.e. > 25 GB repos\n\n* Task export , syslog , production.log and screenshots will be attached next'

Associated revisions

Revision 9ff6d950 (diff)
Added by James Jeffers 8 months ago

Fixes #33443 - adds last_indexed to repos to assist detection of needed index operations

History

#1 Updated by James Jeffers 8 months ago

  • Assignee set to James Jeffers
  • Subject changed from b'Satellite UI shows 0 packages\\errata\\package_groups after a bad sync followed by a successful sync for the same repo' to b'Satellite UI shows 0 packages\\errata\\package_groups after a bad sync followed by a successful sync for the same repo'

#2 Updated by The Foreman Bot 8 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/9622 added

#3 Updated by The Foreman Bot 8 months ago

  • Fixed in Releases Katello 4.3.0 added

#4 Updated by James Jeffers 8 months ago

  • Status changed from Ready For Testing to Closed

#5 Updated by Jonathon Turel 8 months ago

  • Triaged changed from No to Yes
  • Target version set to Katello 4.3.0
  • Category set to Repositories
  • Subject changed from b'Satellite UI shows 0 packages\\errata\\package_groups after a bad sync followed by a successful sync for the same repo' to UI shows 0 packages\\errata\\package_groups after a bad sync followed by a successful sync for the same repo

Also available in: Atom PDF