Open GoogleCodeExporter opened 8 years ago
This wasn't actually the error I was trying to report. The error I got before
this was:
[beta projects list] has failed
Unexpected failure while executing [beta projects list]: [<class
'googlecloudsdk.calliope.exceptions.FailedSubCommand'>: Failed command: [beta
projects list] with exit code [1]]
Please report by running `gcloud feedback`.
All I did was run the latest cloud SDK installer and told it to run gcloud init
on completion.
Original comment by big....@gmail.com
on 17 Dec 2015 at 7:42
Thanks for reporting the issue.
Do you have beta commands installed. Can you run [gcloud beta projects list] by
itself?
Anyway you can copy paste the screen session you had with [gcloud init] ?
Original comment by che...@google.com
on 17 Dec 2015 at 7:45
I did select to install the beta commands in the installer.
This is what I try the suggested command I see the following error:
C:\Users\patrick\AppData\Local\Google\Cloud SDK>gcloud beta projects list
--verbosity debug
INFO: Refreshing access_token
INFO: Failed to retrieve access token: {
"error" : "internal_failure"
}
DEBUG: (gcloud.beta.projects.list) internal_failure
Traceback (most recent call last):
File "C:\Users\patrick\AppData\Local\Google\Cloud
SDK\google-cloud-sdk\lib\googlecloudsdk\calliope\cli.py", line 609, in
Execute
result = args.cmd_func(cli=self, args=args)
File "C:\Users\patrick\AppData\Local\Google\Cloud
SDK\google-cloud-sdk\lib\googlecloudsdk\calliope\backend.py", line 1218, in
Run
last_group = context_filter(tool_context, Http, args)
File "C:\Users\patrick\AppData\Local\Google\Cloud
SDK\google-cloud-sdk\lib\googlecloudsdk\calliope\backend.py", line 580, in
ContextFilter
group.Filter(context, args)
File "C:\Users\patrick\AppData\Local\Google\Cloud
SDK\google-cloud-sdk\lib\googlecloudsdk\surface\projects\__init__.py", line
25, in Filter
http=self.Http())
File "C:\Users\patrick\AppData\Local\Google\Cloud
SDK\google-cloud-sdk\lib\googlecloudsdk\calliope\base.py", line 283, in Http
return self._http_func(auth=auth, creds=creds, **kwargs)
File "C:\Users\patrick\AppData\Local\Google\Cloud
SDK\google-cloud-sdk\lib\googlecloudsdk\calliope\backend.py", line 1213, in
Http
**kwargs)
File "C:\Users\patrick\AppData\Local\Google\Cloud
SDK\google-cloud-sdk\lib\googlecloudsdk\core\cli.py", line 127, in Http
creds = c_store.Load()
File "C:\Users\patrick\AppData\Local\Google\Cloud
SDK\google-cloud-sdk\lib\googlecloudsdk\core\credentials\store.py", line
249, in Load
Refresh(cred)
File "C:\Users\patrick\AppData\Local\Google\Cloud
SDK\google-cloud-sdk\lib\googlecloudsdk\core\credentials\store.py", line
269, in Refresh
raise RefreshError(e)
RefreshError: internal_failure
ERROR: (gcloud.beta.projects.list) internal_failure
C:\Users\patrick\AppData\Local\Google\Cloud SDK>
Original comment by big....@gmail.com
on 17 Dec 2015 at 7:50
Thanks! This is helpful.
Have you already logged in? You can do that via [gcloud auth login].
Do other commands work for you like [gcloud compute instances list]?
Original comment by che...@google.com
on 17 Dec 2015 at 8:02
I had a user from a previous old cloud SDK install that I had just removed,
that was detected during gcloud init and which I selected as the active
user.
If I run gcloud auth login things start working again.
Original comment by big....@gmail.com
on 17 Dec 2015 at 8:05
Original issue reported on code.google.com by
big....@gmail.com
on 17 Dec 2015 at 7:39