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

Failed to pull image "jupyterhub/k8s-network-tools:d6340ab" #612

Closed
manics opened this issue Mar 30, 2018 · 3 comments · Fixed by #621
Closed

Failed to pull image "jupyterhub/k8s-network-tools:d6340ab" #612

manics opened this issue Mar 30, 2018 · 3 comments · Fixed by #621

Comments

@manics
Copy link
Member

manics commented Mar 30, 2018

Using JupyterHub version v0.7-be3d3b7 https://jupyterhub.github.io/helm-chart/jupyterhub-v0.7-be3d3b7.tgz

jupyterhub/k8s-network-tools:d6340ab isn't on Docker Hub, the most recent tag is 81c2613 from 7 days ago

@consideRatio
Copy link
Member

Woops!

The desired behavior when a new chart is published is unclear to me, but something is wrong right now. Perhaps we should either...

  1. Ensure one image tag is pushed for every image maintained by us, such as k8s-network-tools
  2. Ensure we set the generated values.yaml file to utilize the latest available tag automatically.
  3. Manually update the values.yaml file (instead of using a script) to utilize a certain image tag.

Here are some other images i looked at for comparison:

It seems like we are pushing tags only when the images change (not using option 1).

So what went wrong, did we update the k8s-network-tools image but failed to push it, or did we simply update the tag in values.yaml without reason?

For reference, it is the task of the chartpress repo to build and push images to dockerhub. I suspect the recent commit Make images optional is related.

@minrk or @jacobtomlinson - got insights about this? I have not used the chartpress repo myself.

@minrk
Copy link
Member

minrk commented Apr 1, 2018

81c2613 is the tag that it should be using, so it's not a failed push, it's putting the wrong tag in the chart. d6340ab is a well-outdated value that should't be used, but wasn't pushed due to a now-fixed bug in chartpress that got the wrong tags. I'm trying to figure out how this would happen because when I run chartpress locally, I get the right tags. I've opened #621 which shouldn't change any behavior, but ought to help debug issues like this.

I don't believe the 'make images optional' change is relevant because it only affects the case where chart['images'] is undefined, which would result in a KeyError prior to the change and a failed build. That doesn't happen for this repo.

@minrk
Copy link
Member

minrk commented Apr 1, 2018

I found it. And it's fixed by #621. The shallow clones Travis does by default resulted in misidentifying the latest commit for the image directories, which in turn results in the wrong tags being assigned to some images.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants