Questions tagged [gcloud]

Questions relating to the usage of the Google Cloud SDK's `gcloud` command-line tool.

Filter by
Sorted by
Tagged with
-1
votes
0answers
14 views

GOOGLECLOUD stuck after authorisation payment while upgrading firebase spark plan

I am trying to upgrade my firebase plan from spark to blaze. I am paying with Indian credit card which gets successfully authorised by deducting INR 1. But after that it gets stuck on same page and ...
0
votes
1answer
26 views

Error with GCP's KMS with gcloud command line: cryptography.hazmat.primitives.keywrap has no aes_key_wrap_with_padding attribute

I'm having problems using gcloud command line to import a key into Google KMS, on an Ubuntu instance (php/homestead/vagrant). I installed gcloud using the following commands: echo "deb [signed-by=...
1
vote
0answers
21 views

GCP node schedule with zone fallback

I'm using preemptive machines for some node pools from my GKE Cluster, and I often get the following error saying the zone resources have been exausted: Error Type Error Message ...
1
vote
1answer
164 views

Can't access static external IP for Google Cloud Run instance - followed guides (Router, Subnet, NAT, VPC, etc)

I'm trying to assign an external static IP address to our Cloud Run instance, so that I can use it with websockets (which I've read require a static IP in order to work, versus the self-appointed/load-...
1
vote
0answers
62 views

Gcloud cannot detect network connection

I have internet connection on the ESXi server and I want to copy everything to GCP storage. But Gcloud couldn't authenticate. It looks like it can't reach the gloud login servers. I'm not if the esxi ...
1
vote
1answer
37 views

gcloud miss k8s master after the end of the trial

The master disappeared after the end of the trial period. Worker nodes and disk remain. Can I get the master back somehow? Already tied up and paid for in gcloud. At the moment, he proposes to make ...
0
votes
0answers
113 views

ssh connection refused for Google Cloud Platform instance

I am trying to connect to my Google Cloud VM instance through SSH. I didn't have any problem before I mounted a new 500GB zonal persistent disk and even then I was able to ssh and format the disk and ...
0
votes
0answers
64 views

Weird timeouts not sure where they are coming from

We are having a big problem with timeouts, we don't have any clue where they are coming from or why, we check the ngnix logs, but there's almost no timeouts logged, no errors in Laravel. We've done ...
0
votes
0answers
41 views

Gcloud kubernetes RBAC not granting permissions to iam service accounts

I am trying to give a gcloud service account permissions on a GKE cluster. Because I eventually want to restrict these to only one of the namespaces on that cluster I am trying to use RBAC for that. ...
2
votes
0answers
23 views

Can I create a secure multi-app intranet on GCP using IAP?

My vision is to create an intranet at, say, https://intra.sample.com without a firewall where users authenticate via IAP to an https load balancer and users anywhere on the internet (i.e., at home) ...
0
votes
1answer
48 views

In glcoud cli is there a way to list Instance created in last one hour?

I am looking for a gcloud CLI command to retrieve all the instance created in the last one hour gcloud compute instances list
1
vote
1answer
2k views

CryptographyDeprecationWarning: Python 3.5 support will be dropped in the next release of cryptography. Please upgrade your Python

I'm trying to use docker-compose (which was installed via pip3), yet running into following warning everytime I do anything: # docker-compose version /usr/local/lib/python3.5/dist-packages/paramiko/...
0
votes
0answers
32 views

Connection SQL distant remote communications link Failure gcloud

Hello at all I try to connect through a server Tomcat hosted on google cloud to my host DB (Green Geek) I have donats created two rule firewall between /out on google is one on GreenGreek for the sql ...
0
votes
1answer
63 views

Google Cloud Speech-to-Text API key error

I tried to use the Google Cloud Speech-to-Text API but without any success. I have an API key error. Here is my api call : curl -s -H "Content-Type: application/json" \ -H "...
0
votes
1answer
38 views

Closing port 22 on Google Cloud

I see when creating a new Google Cloud account, the firewall rules are set to allow traffic from all locations to SSH default-allow-ssh IP ranges: 0.0.0.0/0 Can these rules be deleted safely or does ...
0
votes
1answer
518 views

Setting password for MySQL root user in CLoudSQL with private IP address

How to change the password for MySQL root user in GCP CloudSQL DB instance with private IP address . I am able to change the password using the below command from Cloud Shell with Public IP gcloud ...
0
votes
1answer
162 views

How can I create a C2 VM on GCP?

When I try to create a c2-standard-4 VM in the central region, I always get an error "Quota 'C2_CPUS' exceeded. Limit: 1.0 in region us-central1." (other regions have limit 0.0). There is ...
0
votes
1answer
81 views

How to find out who added a user or modified IAM roles of a specific user in GCP?

I tried but could not figure out that how to find out who added a user or modified IAM roles of a specific user in GCP. is anyone aware of any method?
0
votes
0answers
78 views

Google Cloud Shell Terminal: Unable to read file [Errno 36] File name too long for PEM formatted (self managed) certificate

I have set up a load balancer in google cloud via the GUI, now I want to set it up via gcloud shell. During the step to set up a (self managed) certificate, I get a message from the gcloud shell: ...
1
vote
3answers
2k views

Permission denied (publickey). (gcloud.compute.ssh) [/usr/bin/ssh] exited with return code [255]. exited with return code [255]

try to connect the virtual machine with gcloud but failed. Please advise username@22.233.168.202: Permission denied (publickey). ERROR: (gcloud.compute.ssh) [/usr/bin/ssh] exited with return code [255]...
0
votes
1answer
388 views

Google App Engine HTTPS listening ports 8443 or 3443

I am testing an application in the App Engine Flexible Environment, and at some point I will need to process some WebHooks sent on TCP ports 8443 or 3443. As long as I could test, App Engine load ...
0
votes
1answer
42 views

Can I export a GCloud drive image to store locally and restore later?

Can I export a GCloud drive image to store locally and restore later ? I need to save money for drives that I most rarely use. Seems the SSD-Drives amass the bulk costs that I need to avoid without ...
1
vote
1answer
174 views

How to get GDAL to work with Google GCLOUD

I am getting the below error trying to deploy my app to gcloud app engine. The whole problem is from trying to add the GDAL library to my app. File "/opt/python3.7/lib/python3.7/ctypes/init.py&...
0
votes
0answers
59 views

Not able to access Google Cloud Natural Language from my company network

I am not able to access Google Cloud Natural Language from my company network, but able to get response from open internet. Can any one guide me to configure my company proxy in in the Natural ...
0
votes
1answer
59 views

Impact on GCP Cloud functions during label change

What is the impact for CLoud functions during deployment ? Does the function become unavailable during deployment or any trigger during this deployment time will fail ? I can deploy using GCP Console ...
0
votes
1answer
36 views

How to automatically start/stop an instance (vm) based on some event/trigger in google cloud?

We are employing a GPU instance in google cloud to run a machine learning related service. Google cloud has these un-scheduled maintenance plans for their GPU instances. Before the instance is down ...
1
vote
1answer
2k views

gsutil from gcloud/Google Cloud SDK failing with “SyntaxError: invalid syntax” error in bcrypt

Trying to use gsutil today I got the following error: + gsutil cp -nra public-read a gs://b /usr/local/lib/python2.7/dist-packages/cryptography/__init__.py:39: CryptographyDeprecationWarning: Python ...
0
votes
2answers
100 views

How to suppress `gcloud compute firewall-rules update` output when there are no errors?

I have a bash script running as cron job which has some gcloud commands in it. eg. gcloud compute firewall-rules update allow-ssh--source-ranges=$(echo "${mylocations[@]}" | tr ' ' ',') I ...
0
votes
1answer
223 views

apt-get is stuck with mysql after creating a vm from snapshot in Google cloud

I'm using Google cloud and I have a vm (Ubuntu 18.04) that is working fine. The apt-get command works totally fine and mysql service is running well. Let's call it vm-1 I needed to create another a ...
0
votes
0answers
31 views

i need to setup CDN on gcp

I Followed a Blog for setting up the CDN on Google Cloud Services for our Website. But the when I setup the load balancer it gave me an error saying that there is an error in backend services and the ...
0
votes
0answers
16 views

AppEngine - removed instances

I have been running appEngine for > 1 year, but today I noticed this log. cloudservices.gserviceaccount.com removed instances from instance group aef-default then it went to deleteVM/CreateVM/Add ...
0
votes
1answer
29 views

Changing parameters for GCP CLoud run with gcloud command

When we change labels for existing CLoud Run serivces using gcloud command , it does a deployment as well as revision change $gcloud run services update test --update-labels env=prod,test=test1 ...
0
votes
1answer
320 views

Getting “server refused our key” when connecting to GCloud using Putty

I've just set up a new test instance on Google cloud... it's Debian, the default Google build. I've been able to connect successfully to the instance using the SSH console (from Chrome) and the gcloud ...
0
votes
1answer
65 views

google cloud Stackdriver Metrics to scale an Manage instance group - Regional

What are the Stackdriver Metrics we can use to autoscale Regional Manage instance groups ? When i check the docs it says Regional managed instance groups do not support filtering for per-instance ...
0
votes
0answers
596 views

dokerd Failed to load container mount mount does not exists

GCP AI Instances are suddenly not working The VMs log files could not the mount points What does it means? It is not a VM that we manage, there are part of Google AI Platform Notebooks Jun 23 16:41:16 ...
-1
votes
1answer
870 views

gcsfuse automount on a non root user

Currently I have a VM that runs CentOS 7 and would like to auto mount a bucket using a non root user. I have installed NextCloud and would like to point local data folder to Google Cloud Storage. ...
1
vote
1answer
34 views

start/stop a Google Cloud VM from desktop

I have a VM running on Google cloud that I would like to start and stop. I am able to start/stop it from another VM in the same project using the command sudo gcloud compute instances stop my-daily-...
1
vote
1answer
314 views

Using App Engine Standard with PHP7.4

I have Problems using php 7.4 with App Engine Standard. The Documentation states there is an beta Version (php74), but it does not work. I get the following error: ERROR: (gcloud.beta.app.deploy) ...
0
votes
1answer
38 views

Google Cloud load balancer redirect if from a certain region

I have two static pages (English, Danish) which are currently in Google Cloud Storage Bucket. This bucket contains en and dk folders for those static pages. Also, I have a Load Balancer with Google ...
0
votes
1answer
75 views

Gcloud compute snapshot of re-created disk is not complete?

I recently recreated a disk / vm image in google compute from a previous set of snapshots. Those snapshots are currently dated and sized as follows: - May 20 60 MB - May 21 372 MB - May 22 ...
0
votes
0answers
45 views

GCSFuse keeps generating dummy files on mounted bucket that can't be deleted due to retention policy

I'm currently setting up a GCP storage bucket on my instance which will be used for backups. I have currently configured fstab to mount the bucket on startup using the following config. cpanel1-vm-...
0
votes
1answer
101 views

Adding new acces config on SSH Connection

I have a problem on my Google Cloud Platform account In SSH connection, I can delete my existing access config but can not add new one. When I run the command below the sceen is waiting and noting ...
1
vote
1answer
92 views

In GCP, how can I identify all the subnets that have Flow Logs 'Off'?

I would like to identify which subnets are not logging VPC Flows. I have used the following gcloud command in one of my projects to try and identify which subnets do not have Flow logs enabled ...
0
votes
1answer
159 views

Export Google Cloud SQL slow logs to ELK stack

I stumbled upon an issue and decided to ask for advice and eventually find someone with the same business need (and problem). Summary - we’ve recently migrated the SQL service of one of our clients ...
0
votes
1answer
159 views

gcloud-console “You do not have permission to see this card” => cannot open SSH session?

New to gcloud, need to admin a compute engine. I have the following roles: Compute Admin Service Account Admin Organization Admin Yet when I view the dashboard, the Compute Engine card says "...
0
votes
0answers
50 views

try to connect ssh on VM ubuntu 18

I try to connect VM on ssh got Permission denied (publickey) so i try on cloudshell and try to make key on vm still got same problem [enter code here][1]to set key and update metadata when i put `ssh [...
0
votes
1answer
256 views

I am trying to import a virtual appliance. It concludes with a failure. What might me wrong?

I uploaded an ova file to my bucket. I open the Cloud Shell online terminal. I set region and zone successfully. Then I run the following command to start the import. gcloud compute instances import ...
1
vote
1answer
118 views

How can I identify what ALPHA/BETA features are being used in my GCP organisation?

I'd like to be able to regularly audit my gcp estate by verifying that no unapproved ALPHA/BETA features are enabled. I can't seem to find a gcloud command that could identify this. I recognise that ...
0
votes
1answer
189 views

gcloud app deploy source-context.json SHA mismatch

I have a Python 3 project which I am hosting on Google AppEngine Standard. Until a couple of days ago I was able to deploy normally (right since I did the initial setup in July 2019). Now I'm getting ...
0
votes
2answers
21 views

Gcloud images page not displaying properly in firefox

Probably just me, but when I went to start our gcloud instance this morning the start/stop/edit icons disappeared when I tried to click on them. I'm using the web interface using firefox on Linux. ...