Closed GoogleCodeExporter closed 8 years ago
Issue running command [gcloud init].
What steps will reproduce the problem?
Already have a project, Install a new sdk on a clean laptop, run gcloud init.
I get prompted to pick a project, which I set up before, but I don't know the
name of the project.
What is the expected output? What do you see instead?
I expect to have a way to list all the projects I have from the gcloud command
line.
Please provide any additional information below.
Installation information:
Google Cloud SDK [0.9.89]
Platform: [Mac OS X, x86_64]
Python Version: [2.7.10 (default, Jul 14 2015, 19:46:27) [GCC 4.2.1 Compatible
Apple LLVM 6.0 (clang-600.0.39)]]
Python Location: [/usr/bin/python]
Site Packages: [Disabled]
Installation Root: [/Users/huber/google-cloud-sdk]
Installed Components:
core: [2015.11.30]
core-nix: [2015.11.24]
gcloud: []
gsutil-nix: [4.15]
gsutil: [4.16]
bq: [2.0.18]
bq-nix: [2.0.18]
System PATH:
[/Users/huber/google-cloud-sdk/bin:/usr/local/git/current/bin:/usr/local/bin:/us
r/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/X11/bin]
Cloud SDK on PATH: [True]
Installation Properties: [/Users/huber/google-cloud-sdk/properties]
User Config Directory: [/Users/huber/.config/gcloud]
User Properties: [/Users/huber/.config/gcloud/properties]
Current Workspace: [None]
Workspace Config Directory: [None]
Workspace Properties: [None]
Account: [michael.huber@gmail.com]
Project: [None]
Current Properties:
[core]
account: [michael.huber@gmail.com]
disable_usage_reporting: [False]
Logs Directory: [/Users/huber/.config/gcloud/logs]
Last Log File: [/Users/huber/.config/gcloud/logs/2015.12.03/09.34.51.710646.log]
Original comment by michael....@gmail.com
on 3 Dec 2015 at 5:37
Thanks for reporting the issue.
You should be able to find your project id at
https://console.developers.google.com.
Another option is if you enable beta, then gcloud init will show you project
list.
gcloud components update beta
gcloud init
Original comment by che...@google.com
on 3 Dec 2015 at 6:12
I did enable the beta mode, and that init worked great. I'll be excited to see
that behavior as the default behavior.
Original comment by michael....@gmail.com
on 3 Dec 2015 at 6:13
Thanks, we are looking forward to that as well :)
Original comment by vil...@google.com
on 3 Dec 2015 at 6:20
Original issue reported on code.google.com by
michael....@gmail.com
on 3 Dec 2015 at 5:37