Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pulling image error #2

Closed
s1hofmann opened this issue Nov 18, 2019 · 2 comments
Closed

Pulling image error #2

s1hofmann opened this issue Nov 18, 2019 · 2 comments
Labels
bug Something isn't working

Comments

@s1hofmann
Copy link

On OpenShift 3.10 and 3.11 clusters we're experiencing problems on image pulls.

When importing the s2i image like mentioned in the readme via

oc import-image sakuli-s2i \
    --from=docker.io/taconsol/sakuli-s2i \
    --confirm \
    --scheduled=true \
    --all=true

builds are failing due to failing image access:

pulling image error : repository docker.io/our-org/our-image not found: does not exist or no pull access
error: build error: unable to get docker.io/our-org/our-image@sha256:...
@s1hofmann s1hofmann added the bug Something isn't working label Nov 18, 2019
@s1hofmann s1hofmann self-assigned this Nov 18, 2019
@svettwer
Copy link
Contributor

@s1hofmann You mentioned that there is a known fix for that. Could you add this information to the story? I think this would make this a documentation tasks.

@s1hofmann
Copy link
Author

A verified workaround to this problem is to change the referencePolicy for the imagestream to local instead of its default value source:

oc import-image sakuli-s2i \
    --from=docker.io/taconsol/sakuli-s2i \
    --confirm \
    --scheduled=true \
    --all \
    --reference-policy=local

When importing the image this way, image pulls are successful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants