Bug 1388524

Summary: [backport] (3.3) Failed to "oc new-app --search" at the offline environment disconnected to the Internet
Product: OpenShift Container Platform Reporter: Eric Rich <erich>
Component: ocAssignee: Martin Milata <mmilata>
Status: CLOSED ERRATA QA Contact: Dongbo Yan <dyan>
Severity: high Docs Contact:
Priority: medium    
Version: 3.3.0CC: aos-bugs, bleanhar, bparees, dyan, erich, ffranz, jokerman, mmccomas, mmilata, pweil, tatanaka, tkimura, wsun, xxia
Target Milestone: ---   
Target Release: 3.3.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
When using oc new-app --search in environment where OpenShift could not reach Docker Hub oc new-app --search failed for any query. OpenShift now prints a warning and continues with what was found in other sources.
Story Points: ---
Clone Of: 1388522 Environment:
Last Closed: 2016-12-07 20:58:47 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: 1378647, 1388522    
Bug Blocks: 1267746    

Comment 1 Martin Milata 2016-10-27 17:51:42 UTC
Opened pull request: https://github.com/openshift/ose/pull/436

Comment 4 Dongbo Yan 2016-11-30 05:13:18 UTC
When the rpm build completed will verify this issue.

Comment 7 Dongbo Yan 2016-12-02 08:41:18 UTC
Verified
openshift v3.3.1.7
kubernetes v1.3.0+52492b4
etcd 2.3.0+git

Actual result:
# oc new-app --search docker.io/mariadb
W1202 03:39:48.722181   25221 dockerimagelookup.go:211] Docker registry lookup failed: Internal error occurred: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
Docker images (oc new-app --docker-image=<docker-image> [--code=<source>])
-----
docker.io/mariadb
  Registry: docker.io
  Tags:     latest

Comment 9 errata-xmlrpc 2016-12-07 20:58:47 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2016:2915