Skip to content

oc image-import reaches wrong image if first import failed #7555

Closed

Description

@soltysh

I have a private image under docker.io/soltysh/echook I create the image stream (myis) and the first import obviously fails with auth error. I create the necessary secret and invoke oc import-image myis but then in logs I see it's trying to get library/myis:

importing remote Docker repository registry=https://registry-1.docker.io repository=libra
ry/myis insecure=false
...
GET https://registry-1.docker.io/v2/library/myis/manifests/latest

If I re-create the image stream the import works ok.

@smarterclayton fyi, I'm currently looking into it. Please mark this with P1.

Activity

  1. added
    kind/bug
    on Feb 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

component/imageregistrykind/bugpriority/P1

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions