Bug 1656349

Summary: [3.2]500 error returns when import image from self-signed registry
Product: OpenShift Container Platform Reporter: Wenjing Zheng <wzheng>
Component: Image RegistryAssignee: Ben Parees <bparees>
Status: CLOSED WONTFIX QA Contact: Wenjing Zheng <wzheng>
Severity: medium Docs Contact:
Priority: low    
Version: 3.2.1CC: aos-bugs, jialiu
Target Milestone: ---Keywords: Regression
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: 2018-12-05 13:20:05 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 Wenjing Zheng 2018-12-05 10:10:43 UTC
Description of problem:
Set up 3.2 env with stage regsitry (registry.access.stage.redhat.com), imagestream failed to be imported with below error:
status:
  dockerImageRepository: 172.30.241.6:5000/openshift/jenkins
  tags:
  - conditions:
    - generation: 2
      lastTransitionTime: 2018-12-05T09:47:23Z
      message: 'Internal error occurred: Received unexpected HTTP status: 500 INTERNAL
        SERVER ERROR'
      reason: InternalError
      status: "False"
      type: ImportSuccess
    items: null
    tag: "1"


Version-Release number of selected component (if applicable):
v3.2.0.20

How reproducible:
always

Steps to Reproduce:
1.Set up env with stage registry
2.Check openshift imagestream
3.

Actual results:
Imagestreams are failed to be imported with 500 error

Expected results:
They should be imported.

Additional info:
1. registry.access.stage.redhat.com is accessible from both master and cluster.
2. 3.3 do not hit such problem.
3. Cannot see any error in registry pod log.