Story #2708
closedAs a user using pulp-admin I can list sync operations run on repositories in the past
100%
Description
Using a new switch, users should be able to list details about last sync operations and their status.
For instance:
$ pulp-admin repo list --syncs
could result in output similar to this:
+---------------------------------------------------------------+
| Repository | Last Sync | Duration | Status |
+---------------------------------------------------------------+
| foo | 2016-01-02 12:13 | 2 h 13 min | completed |
| bar | 2016-01-02 13:12 | 32 min | failed |
+---------------------------------------------------------------+
As far as I can see, there is no simple possibility to retrieve such infos otherwise with `pulp-admin`.
A first try to implement functionality like this was done in github PR #2889 at https://github.com/pulp/pulp/pull/2889.
To implement this as a new option of the `pulp-admin repo` section (and not as part of the `tasks` section) felt natural
to me as we handle done tasks always related to repos here. Other infos one get via `pulp-admin tasks` are normally
geared towards current or future events (I might have missed something here).
I would like to add a checklist, but am not sure how to do this with redmine. I therefore add some points here:
Checklist:
[ ] `pulp-admin` supports a new option (in the `repo` or `tasks` section) to list sync ops as described above.
[ ] Output lists all registered repos
[ ] Output copes with long repo names
[ ] Tests prove that all this is working
[ ] Docs exist to explain the new option and what it does.
Updated by amacdona@redhat.com over 7 years ago
- Status changed from NEW to MODIFIED
- % Done changed from 0 to 100
Updated by amacdona@redhat.com over 7 years ago
- Status changed from MODIFIED to NEW
Updated by bmbouter over 5 years ago
- Status changed from NEW to CLOSED - WONTFIX
Updated by bmbouter over 5 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.