By following steps given in below link I enabled tracing for compute engine.
https://cloud.google.com/cloud-trace/cloud-trace-quickstart
After enabling trace, it seems to automatically get disabled. I have tried many time but same result. Pls help.
At the moment Cloud Trace only traces Google App Engine, so it might not be helpful to you if you are using Google Compute Engine.
Try making sure you have an App Engine app deployed and that you have billing enabled.
Related
At the end of the Google Cloud trial period, my VM was stopped by Google. This is understandable, but what comes next doesn't seem so. I have now upgraded to a paid account, but I am still unable to restart the VM. Google cloud support will not help turn the VM back on. They've told me that my only support option is to post my issue here on Stackoverflow. It seems odd that a business like Google would rely on outsourcing it's technical support to the people here.
So here I am. I thank you in advance for reading my issue.
The error message is:
"Starting VM instance "myinstance" failed. Error: Google Compute Engine is not ready for use yet in the project. It may take several minutes if Google Compute Engine has just been enabled, or if this is the first time you use Google Compute Engine in the project."
I have tried multiple times over two days and I still get this same error. The one thing Google did check and verify is that my billing is set up correctly. The dashboard shows that the billing is linked to the project that contains this VM.
Can anyone suggest any troubleshooting steps or solutions?
Thank you.
I am following this link https://cloud.google.com/cloud-build/docs/quickstart-build and trying to understand how to use google cloud built to deploy code on a google compute engine.
I have created a repository on GitHub and already set up the cloud build by following link https://github.com/marketplace/google-cloud-build
For now, manually I have installed PHP, Apache on compute engine and hosted my code under /var/www/html and it is working.
So please suggest me the steps How can I achieve automated built deployment to compute engine.
Thanks in advance.
I have a Bitnami Wordpress Multisite installed on Google Compute Engine. Recently, it was turned off repeatedly with no reason. I have rebooted it via the Bitnami control panel on Jul 2nd and it seemed to work, but now it does not. Here is my compute engine 7-day-report.
One thing to check in this case is the Google Compute Engine VM instance availability setting: it can be either live migrate or terminate, which tells Google Compute Engine what to do with your VM when the underlying host needs to undergo maintenance. Note that there's an automaticRestart setting as well, if you choose the terminate option.
This is a per-VM setting.
If it were set to "terminate", that may explain the issue you saw. Setting it to "live migrate" would mitigate the issue.
You should check your quotas page, you may be running out of something !
Quotas can be found under compute engine menu on the left.
I'm trying "Click-to-deploy Hadoop on Google Compute Engine" here
Unfortunately this doesn't seems to work : either the process stops almost immediately, or it's like it's frozen.
message displayed is
Deployment may take 3 to 10 minutes to complete, depending on the size of your cluster
Creating deployment
In any case, I can't have any cluster. Tried several zones, Hadoop versions, nothing.
Any thought ?
The problem is occurring because your Cloud project does not have a project id associated with it, but only a project number, which is true for some long-standing Cloud projects.
https://developers.google.com/console/help/new/#projectnumber
You can fix this by going into Developers Console, selecting your project from the project list, selecting Billing & settings from the left-hand navigation, and adding the project id there.
The following URL should take you there directly:
https://console.developers.google.com/project/_/settings
Thanks,
-Matt
A few items to help diagnose the problem:
Go to the Compute Engine instance list and check if there are any instances created for the deployment.
Check if there are any errors raised to the Javascript Console for your browser.
BTW, what browser and version are you using?
Thanks.
No instance deployed (however I can (and had) deployed compute engine VM instances)
I have a 404 in console :
POST https://console.developers.google.com/m/deploy?pid=1090158225078&cmd=custom…ion=europe-west1&app=hadoop&xsrf=R5Ezthkrr1L8xU1STye3sXUiHiA:1414055456964 404 (Not Found)
on Chrome, Windows7
I tried on Firefox too : no 404 in console but same effect : no deployment at all.
The "customdeploy" command should not be returning a 404, so let's check if there's something going on with your Cloud project.
Click to Deploy uses the preview version of Deployment Manager on the backend. Let's check the objects (if any) that Deployment Manager has created for the Hadoop deployment.
To do this, you will need to:
Install the Google Cloud SDK (if you have not already)
Add the preview component
Query for Deployment Manager templates
Query for Deployment Manager deployments
Install the Google Cloud SDK:
Instructions are here: https://cloud.google.com/sdk/
Add the preview component:
gcloud components update preview
Query for Deployment Manager templates
gcloud preview --project=<projectid> deployment-manager templates list
Query for Deployment Manager deployments
gcloud preview --project=<projectid> deployment-manager deployments --region europe-west1 list
One last question. Is this a relatively "new" or "old" Google Cloud project? Sometimes old projects need a feature to be enabled that is automatically enabled on new projects.
Thanks.
Is there a way to create a VM instance on Google Cloud using a VHD? It looks pretty straight forward and well documented on the Azure cloud but there is no information I can find on G-Cloud.
Seems like I'm wasting my time recreating my servers on the Google Cloud and I'm quickly losing site of the value of the Google Cloud.
You can bring your own image to GCE. You can follow the instruction on the public documentation on GCE. There's also this video that explains the process.
VHD and VHDX virtual disk files can be converted to GCE compatible disks using steps here. For more sophisticated workflows the image import workflows in the compute-image-tools repository can be useful.