Enabling GCP Cloud Machine Learning Engine error - google-cloud-platform

As I was trying to access Cloud ML Engine in GCP, I was asked to enable its API first. So when I did it, I got the following error:
Update failed with following error(s) for project settings: -- Backend Provisioning Error: {ml.googleapis.com INTERNAL: API enabling failed in operation operations/ml_enable_api/xxxxxxxxx/yyyyyyyyyyyyyyyyy for project xxxxxxxxx};
I don't know how to address this issue. Any insight will be appreciated!

Please try again. This most likely indicates a transient error enabling one of the GCP APIs. If the problem persists please email us at cloudml-feedback#google.com.

Related

Serverless VPC access connector is in a bad shape

Our project is using a Serverless VPC access connector to allow access to DB over private IP from cloud functions and cloud runs. It was working flawlessly for a few months, but today I tried to deploy one of the functions that use such a connector and I got the message:
VPC connector
projects/xxxx/locations/us-central1/connectors/vpc-connector is not
ready yet or does not exist. Please visit
https://cloud.google.com/functions/docs/troubleshooting for in-depth
troubleshooting documentation.
I went to the Serverless VPC access view and found out that indeed the connector has a red marking on it. When I hover on it it says
Connector is in a bad state, manual deletion recommended
but I don't know for what reason, Link to logs doesn't show anything for the past 3 months.
I tried to google about the such error but without success.
I also tried to search through logs but also didn't find anything relevant.
I'm looking for any hints:
Why it happened?
How to fix it? I don't want to recreate the connector, it is related to many functions, and cloud runs
As the issue was blocking us from the deployment of cloud functions I was forced to recreate the connector.
But this time API returned an error:
Error: Error waiting to create Connector: Error waiting for Creating Connector: Error code 7, message: Operation failed: Google APIs Service Agent (<PROJECT_NUMBER>#cloudservices.gserviceaccount.com) needs editor role in the project.
After adding such permission old connector started to work again...
Before there was no such requirement, but it changed in meantime.
Spooky, one time something works other not.

What's behind GCP `There was an error while loading xxx. Please try again.` UI error?

When accessing Google Cloud Platform Services, I'm requested to retry due to an unknown error. It affects all services I want to access.
The snapshot below showcases the issue with Google Cloud Build.
Here's the same error with Google Cloud Storage.
This has first occurred month ago but been automagically resolved without any further action from my side. This second appearance has now lasted 4 days.
Looking at Google Cloud Status, I can't link any incident to this behaviour.
Options I've been exploring with no success are:
Logging back in
Checking credential access
Important notes:
I have access to the global project dashboard: https://console.cloud.google.com/home/dashboard?project=<project-name>
Other teammates do not face this. I'm now left with a few further actions since I access have been verified.
I tried disabling all the browser extensions. Before narrowing it down to find that the Apollo Client DevTools extension was the culprit.
I had the same error resolved disabling "Keepa - Amazon Price Tracker" extension.

Error in following google cloud workflow tutorial using nodejs 10 runtime

I'm trying to follow https://cloud.google.com/dataproc/docs/tutorials/workflow-function, I have edited the workflow template a bit, but the issue I'm getting is at google cloud function. The tutorial asks to choose runtime as nodejs8, when I do that I get error as
Error: Node.js v10.0.0 is a minimum requirement. To learn about legacy version support visit: https://github.com/googleapis/google-cloud-node#supported-nodejs-versions
When I change the runtime to nodejs10 I get error at cloud function as
TypeError: client.workflowTemplatePath is not a function
at exports.startWorkflow (/workspace/index.js:18:16)
at Promise.resolve.then (/layers/google.nodejs.functions-framework/functions-framework/node_modules/#google-cloud/functions-framework/build/src/invoker.js:330:28)
at process._tickCallback (internal/process/next_tick.js:68:7)
Please help me to get this function running, either through nodejs8 or nodejs10
Thanks!
EDIT: As per the comments, turns out it's an api specific issue, can someone good with nodejs skills help me rewrite the instructions provided in the tutorial?

GCP Cloud Run deploy: "Failed to move user code into storage". What does this mean?

Deploying a new service into Google Cloud Run fails with the message:
Failed to move user code into storage, please verify the pod
configuration and try it again.
What does this mean, and how can one go about debugging it?
Just for the sake of giving this question an answer. All the credit should go to AhmetB and his insight about this being a Known issue to Google, In which a missing or invalid entrypoint will cause this issue to surface.
I have found a Public Issue Tracker here, in which this issue has also been forwarded to Google by that channel. Google will be delivering further information on that PIT.

Google Cloud Functions API "Activation steps failed for services [[cloudfunctions.googleapis.com]]"

I'm attempting to create the basic weather assistant on api.ai. As part of the documentation I'm directed to set up a Google Cloud account and enable the GC Functions API on the project I've created. However, each time I try to enable it, it fails with the following error: "Activation steps failed for services [[cloudfunctions.googleapis.com]]"
Any advice would be appreciated.