Coder Social home page Coder Social logo

Comments (10)

david-mcmahon avatar david-mcmahon commented on July 24, 2024

Can you attach a full log?

from release.

pwittrock avatar pwittrock commented on July 24, 2024

Yes I will do that. I will need to scp them from my machine this afternoon.

from release.

pwittrock avatar pwittrock commented on July 24, 2024

anago.log

from release.

pwittrock avatar pwittrock commented on July 24, 2024

Looks like the issue is pushing to gcr.io. If I run the script as the production user then it tells me to switch to my personal gcloud user, but then it fails to push to gcr. Is this because I am running in mock mode?

/usr/local/google-cloud-sdk/bin/gcloud docker push gcr.io/kubernetes-release-test/kube-proxy:v1.4.0-beta.1
The push refers to a repository [gcr.io/kubernetes-release-test/kube-proxy](len: 1)
91dc026257fb: Preparing
Post https://gcr.io/v2/kubernetes-release-test/kube-proxy/blobs/uploads/: token auth attempt for registry: https://gcr.io/v2/token?account=oauth2accesstoken&scope=repository%3Akubernetes-release-test%2Fkube-proxy%3Apush%2Cpull&service=gcr.io request failed with status: 403 Forbidden

from release.

pwittrock avatar pwittrock commented on July 24, 2024

It looks like the production user only gets activated when running in nomock, and I do not have permissions to write to the mock registry

[[ "$registry" =~ gcr.io/ ]] && docker_push_cmd=("$GCLOUD" "docker")

  # Activate credentials for the [email protected]
  [[ "$registry" == "gcr.io/google_containers" ]] \
   && logrun $GCLOUD config set account [email protected]

  logecho
  logecho "Send docker containers to $registry..."

Log Line

anago::release::docker::release(): Send docker containers to gcr.io/kubernetes-release-test...

So it is just trying to push as me. I am going to try to run in nomock mode to see if solves the problem.

from release.

pwittrock avatar pwittrock commented on July 24, 2024

I tried updating the script to always change the user and pushing the images still fails...

from release.

david-mcmahon avatar david-mcmahon commented on July 24, 2024

Looks like you need permission to gcr.io/kubernetes-release-test.
There's also a bug that this isn't checked in the prereqs.

from release.

pwittrock avatar pwittrock commented on July 24, 2024

How do I get that :P

from release.

fejta-bot avatar fejta-bot commented on July 24, 2024

Issues go stale after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or @fejta.
/lifecycle stale

from release.

david-mcmahon avatar david-mcmahon commented on July 24, 2024

Auth issue, worked out at the time.
Since then a check has been added to validate access to kubernetes-release-test as well.

from release.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.