Questions tagged [gcloud]

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

211 questions
0
votes
1 answer

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 from a self-hosted MySQL to the Google CloudSQL…
0
votes
1 answer

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 "You do not have permission to see this card" It…
0
votes
0 answers

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 [instance name] [zone] [project id] still…
0
votes
1 answer

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 adv-odi…
0
votes
1 answer

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 the following response: starting build…
Navid
  • 111
  • 3
0
votes
2 answers

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. Instance started 100% with Chrome.
ckti
  • 1
0
votes
1 answer

running gcloud command on a bash file on windows

Is there a way to automatically execute the command of starting a instance and connect to it via ssh when I launch the google cloud sdk shell ? How to do ? I was thinking about a bash file which will be executed automatically and wich will also…
aa bb
  • 101
0
votes
3 answers

gcloud auth login: Limit Oauth2 scope

How can I limit the Oauth2 scope when logging in with my user principal using (non service account): gcloud auth login Background: I created a Gsuite Takeout, got the Takeout Bucket. Now I want to download all the files, but I want to give gcloud…
dim
  • 1
0
votes
1 answer

Occasional permission denied when getting logs using gcloud through Jenkins running as GKE

We are using a Jenkins project to run "gcloud logging read ..." from a shell to get logs from a gcloud container and we occasionally see a permission error in the script: ERROR: (gcloud.logging.read) PERMISSION_DENIED: Request had insufficient…
0
votes
1 answer

What does gcloud auth revoke actually do?

I'm trying to use a service account to allow a web app to upload files periodically to Cloud Storage with "gsutil cp". During the installation of the gcloud utilities on the web server, I ran a gcloud init and logged in with my main Google account…
Dan C.
  • 1
  • 1
0
votes
1 answer

Cannot move files from gcloud VM Instance to laptop

I can move files from my laptop to a gcloud VM instance just fine, the other way around however is not so easy. According to this website I am to use this syntax: scp -i ~/.ssh/my-ssh-key username@ip-address:remote-file-path local-file-path I have…
logic1976
  • 101
  • 1
0
votes
2 answers

Building Google Container

I'm trying to build a simple app container but am getting a 403 saying the project isn't associated with a billing account. I've confirmed the project linked to an active billing account, and even re-attempted using the gcloud beta command: gcloud…
Michael
  • 101
  • 2
-1
votes
1 answer

Unable to connect to remote host: Connection refused

I have created vm instance in gcloud. And setup firewall rule to allow connection from port 5000.I added network tag to my vm instance. But if i test the connection by teneting to port 5000 I get telnet: Unable to connect to remote host:…
Navigator
  • 111
  • 1
  • 1
  • 4
-1
votes
1 answer

why does a google compute VPS instance challenge for a ssh passphrase?

For this already generated dummy key I'm looking to add it to the instance below. What passphrase is being challenged for and by whom? thufir@mordor:~$ thufir@mordor:~$ ssh-keygen -t rsa -b 768 -f ~/.ssh/gcloud -C thufir Generating public/private…
Thufir
  • 229
  • 7
  • 18
-2
votes
1 answer

App engine website coming soon

App engine only works in US central. I accessed the site there, but when moved to the west coast, my website displays a "coming soon" page instead of the website I uploaded.
Ripper
  • 1
1 2 3
14
15