venf2k / google-cloud-sdk

Automatically exported from code.google.com/p/google-cloud-sdk
0 stars 0 forks source link

api / sdk should allow following of serial console output #723

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

if one wants to follow  the serial console, one has to continiously run 
get-serial-port-output, this is frustrating when one cant login to the machine 
and needs to debug

What is the expected output? What do you see instead?  the ability to give a 
"-f" option so one doesn't have to do this

What is the output of 'gcloud info'?

Google Cloud SDK [104.0.0]

Platform: [Linux, x86_64]
Python Version: [2.7.9 (default, Mar  1 2015, 12:57:24)  [GCC 4.9.2]]
Python Location: [/usr/bin/python2]
Site Packages: [Disabled]

Installation Root: [/usr/lib/google-cloud-sdk]
Installed Components:
  core: [2016.03.31]
  core-nix: [2016.03.31]
  gcloud: []
  gsutil-nix: [4.18]
  beta: [2016.03.31]
  gsutil: [4.18]
  bq: [2.0.24]
  alpha: [2016.03.31]
  bq-nix: [2.0.24]
System PATH: 
[/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/spotter/bin:/hom
e/spotter/gocode/bin]
Cloud SDK on PATH: [False]

Installation Properties: [/usr/lib/google-cloud-sdk/properties]
User Config Directory: [/home/spotter/.config/gcloud]
Active Configuration Name: [default]
Active Configuration Path: 
[/home/spotter/.config/gcloud/configurations/config_default]

Account: [shaya.potter@coreos.com]
Project: [coreos-gce-testing]

Current Properties:
  [core]
    project: [coreos-gce-testing]
    account: [shaya.potter@coreos.com]

Logs Directory: [/home/spotter/.config/gcloud/logs]
Last Log File: 
[/home/spotter/.config/gcloud/logs/2016.04.12/10.35.53.096706.log]

Please provide any additional information below.

I understand that gcloud cant do this today as its an API limitation, but its 
something that should be looked into (IMHO)

Original issue reported on code.google.com by spot...@gmail.com on 12 Apr 2016 at 6:47

GoogleCodeExporter commented 8 years ago
How about `gcloud alpha compute instances tail-serial-port-output`?

Original comment by z...@google.com on 12 Apr 2016 at 7:43

GoogleCodeExporter commented 8 years ago
oh, that be great if we can figure out how to get our projects white listed for 
alpha api access.  :)

Original comment by spot...@gmail.com on 12 Apr 2016 at 9:07

GoogleCodeExporter commented 8 years ago
Ahh, sorry about that. Watch the release notes for the beta launch of that 
command, which is coming in the next couple of releases.

Original comment by z...@google.com on 12 Apr 2016 at 9:10