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

[bug]: ask_ai deployment has problems and few debug hints #132

Open
2 tasks done
Webmasterei opened this issue Jan 5, 2024 · 2 comments
Open
2 tasks done

[bug]: ask_ai deployment has problems and few debug hints #132

Webmasterei opened this issue Jan 5, 2024 · 2 comments

Comments

@Webmasterei
Copy link

Check the bug has not already been reported

Edit the short error description in title above

  • I wrote a clear short error description in the title above

What happened and what did you expect?

I am trying to deploy ask_ai on my own project. But it aborts.
See i/o here:

(venv) myname@cloudshell:~/bigfunctions (project)$ bigfun deploy ask_ai
INFO: Getting dataset
INFO: Getting remote connection
INFO: Creating remote connection
INFO: Getting remote connection
INFO: Set remote connection users to: user:[email protected]
INFO: Creating folder with Cloud Run code /tmp/tmpk4gcas36xf
INFO: Deploy Cloud Run service bf-ask-ai
INFO: gcloud run deploy bf-ask-ai --max-instances 1 --memory 256Mi --cpu 1 --concurrency 8 --platform managed --quiet  --no-allow-unauthenticated  --ingress internal --source /tmp/tmpk4gcas36xf--region europe-west1 --project project
ERROR: (gcloud.run.deploy) Aborted by user.
@Webmasterei
Copy link
Author

Turns out, when the Last INFO line is run, the --quiet command suppresses the request for api activation:

    cloudbuild.googleapis.com
    run.googleapis.com

@Webmasterei
Copy link
Author

Working now. So for the sake of easy deployment please add api-activation for all required apis.

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

1 participant