Bug 1439381

Summary: The OpenShift registry does not support the Docker Catalog API. This API is used to automate the search of Docker V2 based registries.
Product: OpenShift Container Platform Reporter: michael
Component: Image RegistryAssignee: Michal Fojtik <mfojtik>
Status: CLOSED UPSTREAM QA Contact: ge liu <geliu>
Severity: low Docs Contact:
Priority: unspecified    
Version: 3.6.0CC: aos-bugs, erjones, hgomes, jmatthew, mfojtik, mmckinst, nschuetz, wmeng
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-06 09:38:41 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:

Description michael 2017-04-05 20:48:00 UTC
Description of problem:
The Docker Registry V2 catalog is not enabled.  This automates the discovery of downstream repos in a given registry.

Mar 22 11:14:15 journal: #033[31m ERRO 2017-03-22T15:14:15.590 (*scanner).scan.func1 scanner.go:222 #033[0m Failed to rerieve repositories info for repo ''. Error: 'failed to to query 'https://docker-registry-default.<customer>/v2/_catalog' '400 Bad Request'-'''

Version-Release number of selected component (if applicable):
3.x

How reproducible:
Stand up a OpenShift registry and make an API call into it.


Steps to Reproduce:
1.Query the registry appended with  /v2/_catalog and you will see the error response as above.


Actual results:
Error: 'failed to to query 'https://docker-registry-default.<customer>/v2/_catalog' '400 Bad Request'-'''

Expected results:


Additional info:

Comment 1 Michal Fojtik 2017-04-06 09:38:41 UTC
Hi,

We already tracking this in Trello card: https://trello.com/c/5dnujyr6/735-5-allow-to-list-repositories-in-internal-registry and should have a prototype for 3.7/3.8 release.