Bug 1400118

Summary: Unable to import image to OpenShift 3.1
Product: OpenShift Container Platform Reporter: Vladislav Walek <vwalek>
Component: Image RegistryAssignee: Michal Fojtik <mfojtik>
Status: CLOSED WONTFIX QA Contact: Wei Sun <wsun>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: aos-bugs, miminar, pweil
Target Milestone: ---Keywords: UpcomingRelease
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-02-20 14:05:29 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:

Description Vladislav Walek 2016-11-30 13:42:58 UTC
Description of problem:

Customer is facing issue with oc import-image, he is unable to import any image from redhat registry:

oc import-image rhel7.2 --confirm --insecure-repository
Error from server: imageStream "rhel7.2" not found

oc import-image rhel7.2 --from='registry.access.redhat.com' --confirm --insecure-repository
error: unable to import image: the repository "library/registry.access.redhat.com" was not found

oc import-image rhel7.3 --from='registry.access.redhat.com' --confirm --insecure-repository
error: unable to import image: [the repository "library/registry.access.redhat.com" was not found, tag "latest" has not been set on repository "library/rhel7.3"]

There is fix in 3.2 version, but it should work also with version 3.1. Now it is not working at all with previous versions.

Version-Release number of selected component (if applicable):
OpenShift Container Platform 3.1.1

How reproducible:
Install version 3.1.1, try to import any image. The import always add library, but library doesn't exists.

Steps to Reproduce:
1. oc import-image rhel7.3

Actual results:
error: unable to import image: [the repository "library/registry.access.redhat.com" was not found, tag "latest" has not been set on repository "library/rhel7.3"]

Expected results:
imported image

Additional info:
please also provide which in which bug it was fixed, the info is missing in docs
https://docs.openshift.com/enterprise/3.2/release_notes/ose_3_2_release_notes.html#ose-32-bug-fixes, 3rd markup.