Bug 1388522

Summary: [backport] (3.2) 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.2.0CC: aos-bugs, bleanhar, bparees, dyan, erich, haowang, jokerman, mmccomas, mmilata, pweil, tatanaka, tkimura, xxia
Target Milestone: ---Keywords: UpcomingRelease
Target Release: 3.2.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: 1378647
: 1388524 (view as bug list) Environment:
Last Closed: 2016-12-07 20:58:35 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    
Bug Blocks: 1267746, 1388524    

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

Comment 4 Dongbo Yan 2016-11-29 09:12:58 UTC
When the rpm build completed will verify this issue.

Comment 7 Dongbo Yan 2016-12-05 10:06:26 UTC
Verified
openshift v3.2.1.21
kubernetes v1.2.0-36-g4a3f9c5
etcd 2.2.5

# oc new-app --search docker.io/openshift/ruby-20-centos7
W1205 05:05:12.316415   22685 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
Docker images (oc new-app --docker-image=<docker-image> [--code=<source>])
-----
docker.io/openshift/ruby-20-centos7
  Registry: docker.io
  Tags:     latest

Comment 9 errata-xmlrpc 2016-12-07 20:58:35 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