Giter Club home page Giter Club logo

Comments (4)

jacekszlachtass avatar jacekszlachtass commented on July 18, 2024

Looks like the problem is not the number of retries, but the fact that it quickly fails. I tried with a higher number of retries, but without any luck. The only way around it is to manually run the "gcloud" command, which takes a while, and then re-run asmcli.

from anthos-service-mesh-packages.

jacekszlachtass avatar jacekszlachtass commented on July 18, 2024

And the latest output:

asmcli: Verifying cluster registration.
asmcli: Registering the cluster as fow-sandbox-5udocewp...
asmcli: [WARNING]: Failed, retrying...(1 of 2)
asmcli: [WARNING]: Failed, retrying...(2 of 2)
asmcli: [WARNING]: Command 'run_command gcloud container hub memberships register fow-sandbox-5udocewp --project=fow-sandbox --enable-workload-identity --gke-uri=https://container.googleapis.com/v1/projects/fow-sandbox/locations/europe-west2/clusters/fow-sandbox' failed.
❯ gcloud container hub memberships register fow-sandbox-5udocewp --project=fow-sandbox --enable-workload-identity --gke-uri=https://container.googleapis.com/v1/projects/fow-sandbox/locations/europe-west2/clusters/fow-sandbox
kubeconfig entry generated for fow-sandbox.
Waiting for membership to be created...done.
Created a new membership [projects/fow-sandbox/locations/global/memberships/fow-sandbox-5udocewp] for the cluster [fow-sandbox-5udocewp]
Generating the Connect Agent manifest...
Deploying the Connect Agent on cluster [fow-sandbox-5udocewp] in namespace [gke-connect]...
Deployed the Connect Agent on cluster [fow-sandbox-5udocewp] in namespace [gke-connect].
Finished registering the cluster [fow-sandbox-5udocewp] with the Fleet.

from anthos-service-mesh-packages.

zerobfd avatar zerobfd commented on July 18, 2024

Thanks for the report! Do you remember about how long the command took to run? I can adjust the timeout.

from anthos-service-mesh-packages.

jacekszlachtass avatar jacekszlachtass commented on July 18, 2024

Hm, good question, something like 30-40 seconds. It is not quick, a timeout of 1 minute would probably make sense.

from anthos-service-mesh-packages.

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.