Bug 721000

Summary: Provider importing products through manifest can't list them
Product: [Retired] Katello Reporter: Garik Khachikyan <gkhachik>
Component: Webservice APIAssignee: Lukas Zapletal <lzap>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: lzap, mkoci
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-15 10:27:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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.