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

Unable to use image-releaser for tf-notebook-workflow #909

Closed
ankushagarwal opened this issue Jun 1, 2018 · 2 comments
Closed

Unable to use image-releaser for tf-notebook-workflow #909

ankushagarwal opened this issue Jun 1, 2018 · 2 comments

Comments

@ankushagarwal
Copy link
Contributor

I am running this in the kubeflow releasing cluster. The gcloud command does not seem to have the credentials to push it to kubeflow-images-public.

To reproduce this:

cd kubeflow/components/image-releaser
ENV=releasing
ks param set --env=${ENV} tf-notebook-workflow namespace kubeflow-releasing
ks param set --env=${ENV} tf-notebook-workflow name "agwl-tensorflow-notebook-image-release-v20180529-bc1cc8b3"
ks param set --env=${ENV} tf-notebook-workflow versionTag "v20180529-bc1cc8b3"
ks param set --env=${ENV} tf-notebook-workflow "JOB_NAME=tensorflow-notebook-image-release,JOB_TYPE=postsubmit,PULL_BASE_SHA=bc1cc8b3,REPO_NAME=kubeflow,REPO_OWNER=kubeflow,BUILD_NUMBER=3B76"

ks apply releasing -c tf-notebook-workflow

INFO|2018-06-01T18:04:11|/mnt/test-data-volume/agwl-tensorflow-notebook-image-release-v20180529-bc1cc8b3/src/kubeflow/kubeflow/components/build_image.py|46| denied: Token exchange failed for project 'kubeflow-images-public'. Caller does not have permission 'storage.buckets.get'. To configure permissions, follow instructions at: https://cloud.google.com/container-registry/docs/access-control
Traceback (most recent call last):
  File "/mnt/test-data-volume/agwl-tensorflow-notebook-image-release-v20180529-bc1cc8b3/src/kubeflow/kubeflow/components/build_image.py", line 184, in <module>
    main()
  File "/mnt/test-data-volume/agwl-tensorflow-notebook-image-release-v20180529-bc1cc8b3/src/kubeflow/kubeflow/components/build_image.py", line 175, in main
    args.func(args)
  File "/mnt/test-data-volume/agwl-tensorflow-notebook-image-release-v20180529-bc1cc8b3/src/kubeflow/kubeflow/components/build_image.py", line 135, in build_tf_notebook
    run(["gcloud", "docker", "--", "push", image_name])
  File "/mnt/test-data-volume/agwl-tensorflow-notebook-image-release-v20180529-bc1cc8b3/src/kubeflow/kubeflow/components/build_image.py", line 58, in run
    " ".join(command), process.returncode), "\n".join(output))
subprocess.CalledProcessError: Command 'cmd: gcloud docker -- push gcr.io/kubeflow-images-public/tensorflow-1.8.0-notebook-cpu:v20180529-bc1cc8b3 exited with code 1' returned non-zero exit status 1
@lluunn
Copy link
Contributor

lluunn commented Jun 1, 2018

cc @lluunn

@jlewi
Copy link
Contributor

jlewi commented Jun 1, 2018

What priority is this issue?

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

No branches or pull requests

3 participants