Story #1677
closed'pulp-admin repo history sync' needs more filters to be useful
0%
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:
- 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}
Updated by bmbouter over 4 years ago
- Status changed from NEW to CLOSED - WONTFIX
Updated by bmbouter over 4 years 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.