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 over 7 years ago. Updated over 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

Also available in: Atom PDF