Project

Profile

Help

Story #233

Upload requests done via API are not reflected in cli upload list

Added by ipanova@redhat.com over 6 years ago. Updated over 2 years 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:
Pulp 2
Sprint:
Quarter:

Description

++ This bug was initially created as a clone of Bugzilla Bug #1099442 ++

Description of problem:

Description of problem:
If an upload request is done via cli it is seen in API list of uploads, But API upload requests are not seen in cli upload list

Scenario when 1 iso upload request is done via API and 1 upload request is done via CLI

$ curl H "Accept: application/json" -X GET -k -u admin:admin 'https://examples.com/pulp/api/v2/content/uploads/'|python -m json.tool
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 96 100 96 0 0 83 0 0:00:01 0:00:01 -
:--:-- 83
{
"upload_ids": [
"fc817aa2-6bd7-4ff5-b63c-bd6de9b454f9",
"8f95f952-a7d0-4798-9600-917eb7591801"
]
}

API shows 2 upload requests, Meanwhile cli shows only that is done via pulp-admin:

  1. pulp-admin -u admin -p admin iso repo uploads list
    ----------------------------------------------------------------------
    Upload Requests
    --------------------------------------------------------------------

[ Paused ] test.iso

Version-Release number of selected component (if applicable):
2.4.0-0.16.beta

How reproducible:

Steps to Reproduce:
1.
2.
3.

Actual results:
CLI does not show uploads done via API

Expected results:
CLI shows all upload requests - done via cli and api also

Additional info:

History

#1 Updated by bmbouter over 2 years ago

  • Status changed from NEW to CLOSED - WONTFIX

#2 Updated by bmbouter over 2 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.

#3 Updated by bmbouter over 2 years ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF