Project

Profile

Help

Story #1677

'pulp-admin repo history sync' needs more filters to be useful

Added by kfiresmith over 4 years ago. Updated over 1 year ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Easy Fix, Pulp 2
Sprint:
Quarter:

Description

Right now I can iterate over a full list of repos to get a snapshot of the state of repo syncs across my pulp server by running this:

  1. for i in $(pulp-admin repo list | grep 'Id:' | awk '{print $2}'); do pulp-admin repo history sync --limit=1 --repo-id=$i; done

Unfortunately that will return text for all repos regardless of if they have ever been synced (some repos originate from within pulp thus do not sync...), and cannot be set to not return anything if the last sync was successful.

I would very much like to be able to use pulp-admin to return only a list of repos that had errors syncing, so that I can limit the noise in my logging emails.

A setting that would allow me to filter based on the "Result:" field would be swell and could work like this:

pulp-admin repo history sync --limit=1 --repo-id=EPEL7 --result={error,failed,success}

History

#1 Updated by bmbouter over 1 year ago

  • Status changed from NEW to CLOSED - WONTFIX

#2 Updated by bmbouter over 1 year ago

Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.

#3 Updated by bmbouter over 1 year ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF