Bug 1400118 - Unable to import image to OpenShift 3.1
Summary: Unable to import image to OpenShift 3.1
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Image Registry
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Michal Fojtik
QA Contact: Wei Sun
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-30 13:42 UTC by Vladislav Walek
Modified: 2020-01-17 16:16 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-20 14:05:29 UTC
Target Upstream Version:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.