I’m trying to expand my Google Cloud Platform startup-script so that it sets DNS entries. But every time I include these two lines of code the script does not get executed and fails. When I login to the Virtual Machine the commands work fine. The Error message I get is the following: Answer Please include error messages as text, not
Tag: google-cloud-platform
MySQL on Compute Engine did not shutdown correctly due to maintenance
I’ve discovered that a recent automatic migration of my Compute Engine VM instance has caused by mysql not to shutdown correctly and thus the restart took much longer do to checks. Is there a way to initiate and wait for mysql service to shutdown for the VM maintenance/migration? Answer Think you are looking for shutdown scripts. Using which you request
gcloud instance disk space
I am trying to do some computing on cloud. For this I created a computing instance and then I attached an external storage with about 10TB. But it seemed that I did something wrong and I got only 200GB available for my datalab. Any comment will be helpful To check this I used and Thanks. Answer As I can see
how to set variable name for google cloud instance
PROB_INSTANCE_NAME=INSTANCE_NAME not working C:UsersHPAppDataLocalGoogleCloud SDK>PROB_INSTANCE_NAME=lamp-1-vm ‘PROB_INSTANCE_NAME’ is not recognized as an internal or external command, operable program or batch file. C:UsersHPAppDataLocalGoogleCloud SDK>set PROB_INSTANCE_NAME=lamp-1-vm C:UsersHPAppDataLocalGoogleCloud SDK>gcloud compute instances stop “$PROB_INSTANCE_NAME” ERROR: (gcloud.compute.instances.stop) HTTPError 400: Invalid value ‘$PROB_INSTANCE_NAME’. Values must match the following regular expression: ‘a-z?’ i am using google gcloud tool on the desktop. trying to install Linux guest environment by
ssh cronjob delete not working
I am new to SSH & cronjobs so probably I am doing something wrong. I am using a Google Cloud Engine for hosting my SSH Linux instance and I want to delete a snapshot by its name with a cronjob (I have also a create snapshot cronjob that works fine). So I wrote this script: This script should delete the
ssh2 module fails silently with creds that succeed from CLI
I’ve successfully ssh’d into Google Cloud Compute via CLI with a command like the following: But using the ssh2 module isn’t giving any output, including errors. I’m tailing /var/log/secure as I’m debugging the node script and I can see log entries when I ssh in and close the session from CLI, but nothing at all when I try through node
GAE gcloud dev_appserver.py PHP: Failed to read session data: user (path: Memcache)
I run a local Google Cloud App Engine emulator for my PHP (runtime: php55) app. It works, except for PHP sessions. I get the following message: I start the app with the following command So I run using php-cgi. Before this I tried to run with regular php but then I got a WSOD. In a Google Group it was