Bug 721000 - Provider importing products through manifest can't list them
Summary: Provider importing products through manifest can't list them
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Katello
Classification: Retired
Component: Webservice API
Version: 1.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Lukas Zapletal
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-13 14:16 UTC by Garik Khachikyan
Modified: 2015-01-04 21:58 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-09-15 10:27:17 UTC


Attachments (Terms of Use)

Description Garik Khachikyan 2011-07-13 14:16:00 UTC
Description of problem:
The case when provider imports a mainfest zip of products (and they are importing in Candlepin actually)  fails to get the list of products afterwards.

Version-Release number of selected component (if applicable):
recent nightly katello

How reproducible:
always

Steps to Reproduce:
1.prepare an org and create provider there.
2.invoke /api/providers/:id/import_manifest POST
3.call GET /api/providers/<providerID>/products/ (the same for organizations)
  
Actual results:
empty product list returned, no trackebacks

Expected results:
list of products need to be returned

Additional info:
Calling /api/products/ as well as candlepin/products/ are returning the stuff.
Maybe there is removed any link to org/provider/whatever else ?

Comment 1 Lukas Zapletal 2011-08-03 14:16:56 UTC
Ivan is working on this one. No permissions for him yet, assigning. Enjoy :-)

Comment 2 Ivan Necas 2011-08-04 14:09:41 UTC
Could not reproduce the error due to problem in example manifest (scripts/test/export-manifest.zip),

Pulp.log says:
"PulpException: 'Invalid url [/foo/path/never]; please provide a valid url"

I have pulp-0.0.218-1.fc15.noarch installed.

See also https://www.redhat.com/archives/katello-devel/2011-August/msg00035.html.

Comment 3 Lukas Zapletal 2011-08-05 14:24:42 UTC
I will work on it. Not able to import current export.

Comment 4 Lukas Zapletal 2011-09-15 10:27:17 UTC
I can list the products using rhsm.

089efb4 737563 - adding more rhsm system testing

Is this still valid Garik?

Comment 5 Garik Khachikyan 2011-09-15 10:40:00 UTC
I'll reopen it when see it appeared. :) ty Lukas.


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