Bug 1388715 - [RFE] Add pulp-admin task-group functionality
Summary: [RFE] Add pulp-admin task-group functionality
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Pulp
Version: 6.2.2
Hardware: All
OS: Linux
unspecified
low vote
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-26 02:19 UTC by Alexey Masolov
Modified: 2017-07-26 19:40 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-13 14:45:27 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Alexey Masolov 2016-10-26 02:19:32 UTC
1. Proposed title of this feature request
Add task-group functionality to pulp-admin

2. Who is the customer behind the request?
Internal
 
3. What is the nature and description of the request?
pulp-admin can't handle task groups in pulp. However, getting information about them and ability to cancel them would be useful.
 
4. Why does the customer need this? (List the business requirements here)
1. Get progress information from current group tasks to monitor them from CLI
2. Cancel a group task if they are suspended in foreman and there is no opportunity to resume subtasks

5. How would the customer like to achieve this? (List the functional requirements here)
pulp-admin task-group cancel --task-group-id id
pulp-admin task-group progress --task-group-id id

6. For each functional requirement listed in question 5, specify how Red Hat
and the customer can test to confirm the requirement is successfully implemented.
Output of commands from q5 is consistent with Pulp API output
https://docs.pulpproject.org/dev-guide/integration/rest-api/tasks.html#task-group-management
 
7. Is there already an existing RFE upstream or in Red Hat bugzilla?
No

8. Does the customer have any specific timeline dependencies?
No 

9. Is the sales team involved in this request and do they have any additional input?
No 

10. List any affected packages or components.
pulp-admin-client-2.8.3.4-1.el7sat.noarch

11. Would the customer be able to assist in testing this functionality if implemented?

Comment 1 Brad Buckingham 2016-10-31 18:13:00 UTC
Be aware, that the pulp-admin tool is not officially supported for Satellite 6.  Running commands with it that alter the pulp content can cause inconsistencies across the different services/databases (e.g. foreman/katello/pulp, postgres/mongo).

Comment 3 pulp-infra@redhat.com 2016-11-21 18:50:35 UTC
The Pulp upstream bug status is at NEW. Updating the external tracker on this bug.

Comment 4 pulp-infra@redhat.com 2016-11-21 18:50:38 UTC
The Pulp upstream bug priority is at Normal. Updating the external tracker on this bug.

Comment 5 pulp-infra@redhat.com 2016-11-21 18:50:42 UTC
The Pulp upstream bug status is at NEW. Updating the external tracker on this bug.

Comment 6 pulp-infra@redhat.com 2016-11-21 18:50:45 UTC
The Pulp upstream bug priority is at Normal. Updating the external tracker on this bug.

Comment 8 Alexey Masolov 2016-12-12 22:25:24 UTC
I totally understand that pulp-admin is not a part of Red Hat Satellite, however a lot of troubleshooting/maintenance tasks require usage of pulp-admin. I'm fine with closing this bug though and will track the upstream one.

Comment 9 Michael Hrivnak 2016-12-13 14:45:27 UTC
Thanks! I'm closing with the "notabug" state since this does not apply to the product itself, but if anyone prefers a different "closed" state, feel free to adjust.

Comment 10 Dennis Kliban 2016-12-13 15:52:09 UTC
I am removing the associated issues so the upstream/downstream automation works properly. Progress on these upstream issues can be monitored in the upstream tracker.

https://pulp.plan.io/issues/2376
https://pulp.plan.io/issues/2375


Note You need to log in before you can comment on or make changes to this bug.