Project

General

Profile

Bug #21154

Content Views dont copy SRPMs at all

Added by Brad Buckingham almost 4 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
High
Category:
Content Views
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1492333

Description of problem:
Adding a Source RPM repo (with SRPMs and errata) to a Content View and publishing this C.V., the resulting C.V. repository is empty.

Moreover, due to https://bugzilla.redhat.com/show_bug.cgi?id=1491646, the resulting repo is never published (and Capsule sync fails).

Checking dynflow steps for C.V. publish:
- SRPMs are not copied at all
- errata are copied, but purged away at the end (since no underlying units - the missing SRPMs - are in the repo, so purging the just-added errata)

How reproducible:
100%

Steps to Reproduce:
1. Sync a Source RPM repo
2. Add it to a Content View and Publish
3. Set a Content Host to this C.V.
4. run "subscription-manager refresh; yum install some-SRPM" on the Content Host

Actual results:
yum fails on parsing metadata with error

<some-path>/source/SRPMS/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found

Expected results:
yum succeeds

Additional info:

Associated revisions

Revision 9622ea2c (diff)
Added by Justin Sherrill almost 4 years ago

Fixes #21154 - copy srpms into content views

in addition to maintain the optimizations for
foreman proxy sync, we must index srpms into our db.
Also to improve the experience, added srpm counts
to repository lists and content view version lists

History

#1 Updated by Brad Buckingham almost 4 years ago

  • Subject changed from Content Views dont copy SRPMs at all to Content Views dont copy SRPMs at all
  • Status changed from New to Assigned
  • Assignee set to Partha Aji
  • Target version set to 217

#2 Updated by Justin Sherrill almost 4 years ago

  • Assignee changed from Partha Aji to Justin Sherrill

#3 Updated by Brad Buckingham almost 4 years ago

  • Target version changed from 217 to 225

#4 Updated by Justin Sherrill almost 4 years ago

  • Legacy Backlogs Release (now unused) set to 284

#5 Updated by The Foreman Bot almost 4 years ago

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

#6 Updated by Brad Buckingham almost 4 years ago

  • Target version changed from 225 to 232

#7 Updated by Brad Buckingham almost 4 years ago

  • Target version changed from 232 to 236

#8 Updated by Justin Sherrill almost 4 years ago

  • % Done changed from 0 to 100
  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF