Bug 1167837

Summary: syncing custom docker repos fails
Product: Red Hat Satellite Reporter: Kedar Bidarkar <kbidarka>
Component: PulpAssignee: Partha Aji <paji>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: NightlyCC: bbuckingham, bkearney, jaudet
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-13 17:40:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
syncing custom docker repos fails none

Description Kedar Bidarkar 2014-11-25 13:48:35 UTC
Created attachment 961227 [details]
syncing custom docker repos fails

Description of problem:

Unable to sync custom docker repos.

Exception:

Katello::Errors::PulpError: PLP0000: NOT FOUND

Backtrace:

/opt/rh/ruby193/root/usr/share/gems/gems/katello-2.1.0/app/lib/actions/pulp/abstract_async_task.rb:100:in `block in external_task='
/opt/rh/ruby193/root/usr/share/gems/gems/katello-2.1.0/app/lib/actions/pulp/abstract_async_task.rb:98:in `each'
/opt/rh/ruby193/root/usr/share/gems/gems/katello-2.1.0/app/lib/actions/pulp/abstract_async_task.rb:98:in `external_task='
/opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.3/lib/dynflow/action/polling.rb:86:in `poll_external_task_with_rescue'
/opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.3/lib/dynflow/action/polling.rb:15:in `run'
/opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.3/lib/dynflow/action/cancellable.rb:9:in `run'
/opt/rh/ruby193/root/usr/share/gems/gems/katello-2.1.0/app/lib/actions
Version-Release number of selected component (if applicable):


How reproducible:
when syncing custom docker repos.

url being used is : https://registry.hub.docker.com/

Steps to Reproduce:
1.
2.
3.

Actual results:
sync fails for custom docker repos.

Expected results:
syncing custom docker repos should be successful.

Additional info:

Attaching foreman-debug shorlty.

Comment 1 RHEL Program Management 2014-11-25 13:53:44 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 jaudet 2014-11-25 15:56:43 UTC
The API documentation for `POST /katello/api/v2/repositories` should be updated if it is possible to sync docker repositories. Right now, the "content_type" argument states:

> type of repo (either 'yum' or 'puppet', defaults to 'yum')

Comment 4 Kedar Bidarkar 2015-05-13 17:40:48 UTC

*** This bug has been marked as a duplicate of bug 1217603 ***