Project

Profile

Help

Story #2708

As a user using pulp-admin I can list sync operations run on repositories in the past

Added by ulif almost 3 years ago. Updated 9 months ago.

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

100%

Platform Release:
Blocks Release:
Backwards Incompatible:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:

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.

History

#1 Updated by amacdona@redhat.com over 2 years ago

  • Status changed from NEW to MODIFIED
  • % Done changed from 0 to 100

#2 Updated by amacdona@redhat.com over 2 years ago

  • Status changed from MODIFIED to NEW

#3 Updated by bmbouter 9 months ago

  • Status changed from NEW to CLOSED - WONTFIX

#4 Updated by bmbouter 9 months 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.

#5 Updated by bmbouter 9 months ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF