unytics/bigfunctions

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

Webmasterei opened this issue · 2 comments

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:myname@myname.de
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.

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

    cloudbuild.googleapis.com
    run.googleapis.com

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