Bug 1190270

Summary: Searching a docker image in an external registry failed
Product: Red Hat Satellite Reporter: sthirugn <sthirugn>
Component: Container ManagementAssignee: Daniel Lobato Garcia <dlobatog>
Status: CLOSED CURRENTRELEASE QA Contact: Og Maciel <omaciel>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: bbuckingham, omaciel, paji
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-08-12 13:56:32 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:
Bug Depends On:    
Bug Blocks: 1190289    

Description sthirugn@redhat.com 2015-02-06 20:35:49 UTC
Description of problem:
Searching a docker image in an external registry failed

Version-Release number of selected component (if applicable):
Satellite-6.1.0-RHEL-6-20150205.0

How reproducible:
Always

Steps to Reproduce:
1. Create a container registery for https://registry.hub.docker.com/
2. Navigate to Containers -> New Container -> Select a docker compute resource -> Click Next -> click on 'External Registry' -> Select the registry added from Step 1 above -> Search for an image 'fedora/ssh', Tag=latest -> Search

Actual results:
firebug reports error:
"NetworkError: 500 Internal Server Error - https://$host/image_search/1/search_repository?search=fedora%2Fssh+&registry_id=1"

Expected results:
Image search should work fine

Additional info:

Comment 3 Partha Aji 2015-05-13 15:59:27 UTC
This use case is not valid. External Registry tab is meant for local registries which adhere to slightly different API than Docker Hub. Please test using redhat registry (URL: http://registry.access.redhat.com) or create your own before testing this.

Comment 4 Og Maciel 2015-05-13 18:39:04 UTC
Using http://registry.access.redhat.com as the URL when creating an external registry works as expected and I was able search and provisiong a Docker instance without a glitch.

Comment 5 Bryan Kearney 2015-08-11 13:20:29 UTC
This bug is slated to be released with Satellite 6.1.

Comment 6 Bryan Kearney 2015-08-12 13:56:32 UTC
This bug was fixed in version 6.1.1 of Satellite which was released on 12 August, 2015.