Skip to content

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

@soltysh

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions