Project

General

Profile

Bug #19517

--clear-pulp-content installer flag does not reset repomd cache

Added by Chris Roberts about 5 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Installer
Target version:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

Cloned from BZ:

Description of problem:

If you run "satellite-installer --scenario capsule --clear-pulp-content" on a capsule that's registered to the satellite and then kick off a new sync from the satellite, no new packages will be downloaded. We should probably start mongodb and run http://people.redhat.com/~mmccune/reset-resync-flag.bash after clearing pulp content, so Pulp knows to resync.

Version-Release number of selected component (if applicable): 6.2.7

How reproducible: every time

Steps to Reproduce:
1. set up a sat + capsule, sync a repo and sync to capsule
2. run above command
3. attempt another capsule sync

Actual results: capsule sync finishes quickly, with no units synced

Expected results: capsule resyncs missing units

Additional info: This is similar to the "force full sync" flags being added. However, I think it's best to just clear the repomd timestamp cache if we run --clear-pulp-content.

Associated revisions

Revision 82539241 (diff)
Added by Chris Roberts about 5 years ago

Fixes #19517 - add reset repomd to clear function

History

#1 Updated by Chris Roberts about 5 years ago

  • Category changed from Inter Server Sync to Installer

#2 Updated by The Foreman Bot about 5 years ago

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

#3 Updated by Chris Roberts about 5 years ago

  • Status changed from Ready For Testing to Resolved

#4 Updated by Eric Helms about 5 years ago

  • Status changed from Resolved to Closed

#5 Updated by The Foreman Bot about 5 years ago

  • Pull request https://github.com/Katello/katello-installer/pull/511 added

Also available in: Atom PDF