Project

General

Profile

Actions

Bug #20022

closed

Add action to force remove metadata from a repo to fix sync problem

Added by Juan Pablo Lorier almost 7 years ago. Updated almost 6 years ago.

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

Description

I had 2 repos failing to sync becuase of metadata corruption. With the help of the community I was able to force the removal of the metadata via pulp:

pulp-admin -u admin -p $pulpAdminPassword rpm repo content metafile --repo-id=XXXXX
pulp-admin -u admin -p $pulpAdminPassword rpm repo remove metafile --repo-id=XXXXX --str-eq="checksum=YYYY"

That fixed the problem. Maybe you can add the option in the advanced sync action either as a checkbox or as part of the "Validate Content Sync".
Regards


Related issues 1 (0 open1 closed)

Blocked by Katello - Bug #21726: stop emptying repositories on promoteClosedJustin Sherrill11/21/2017Actions
Actions #1

Updated by Anonymous almost 7 years ago

  • Project changed from Foreman to Katello
Actions #2

Updated by Justin Sherrill almost 7 years ago

I hate to add a UI option to fix a bug in pulp that has not been identified, however I've seen many users hit this and it is very annoying to recover from. Will think about this for a bit.

Actions #3

Updated by Eric Helms almost 7 years ago

  • Tracker changed from Feature to Bug
  • translation missing: en.field_release set to 267
Actions #4

Updated by Justin Sherrill over 6 years ago

  • translation missing: en.field_release changed from 267 to 281
Actions #5

Updated by Eric Helms over 6 years ago

  • translation missing: en.field_release changed from 281 to 286
Actions #6

Updated by Eric Helms over 6 years ago

  • translation missing: en.field_release changed from 286 to 250
Actions #7

Updated by Andrew Kofink over 6 years ago

  • Target version set to 160
Actions #8

Updated by Justin Sherrill over 6 years ago

  • translation missing: en.field_release changed from 250 to 329
Actions #9

Updated by Justin Sherrill over 6 years ago

  • Category set to Repositories
  • translation missing: en.field_release changed from 329 to 339
Actions #10

Updated by The Foreman Bot about 6 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Partha Aji
  • Pull request https://github.com/Katello/katello/pull/7187 added
Actions #11

Updated by Partha Aji about 6 years ago

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

Updated by Andrew Kofink almost 6 years ago

  • Blocked by Bug #21726: stop emptying repositories on promote added
Actions

Also available in: Atom PDF