gcloud is crashing while authenticating service account key with error: gcloud crashed (OperationalError): disk I/O error
gcloud is crashing while authenticating service account key with error: gcloud crashed (OperationalError): disk I/O error
我正在尝试 运行 以下命令:gcloud auth activate-service-account --key-file service_account_key.json
Post 我得到如下错误输出:
ERROR: gcloud crashed (OperationalError): disk I/O error
If you would like to report this issue, please run the following command:
gcloud feedback
To check gcloud for common problems, please run the following command:
gcloud info --run-diagnostics
运行 gcloud 诊断很干净,输出如下:
Network diagnostic detects and fixes local network connection issues.
Checking network connection...done.
Reachability Check passed.
Network diagnostic passed (1/1 checks passed).
Property diagnostic detects issues that may be caused by properties.
Checking hidden properties...done.
Hidden Property Check passed.
Property diagnostic passed (1/1 checks passed).
早些时候,诊断程序会给出 google 服务无法访问的错误,这是通过设置代理修复的,然后身份验证开始工作。但现在代理设置失败了(代理工作正常)。
诊断程序既没有提供有关崩溃的足够信息,也没有提供错误消息本身。
以下是 gcloud 版本信息:
$ gcloud version
Google Cloud SDK 254.0.0
bq 2.0.45
core 2019.07.15
gsutil 4.40
Updates are available for some Cloud SDK components. To install them,
please run:
$ gcloud components update
我也试过 --verbose 也没什么用。
按照@guillaume 的建议,我将 gcloud SDK 更新到最新版本并收到了更详细的错误消息 post,我能够解决该问题。
WARNING: Could not store access token in cache: disk I/O error
[Step 1/1] ERROR: gcloud crashed (OperationalError): disk I/O error
gcloud 写入配置的默认位置 (/.config/gcloud) 需要 clean-up。我们将配置目录本身更新为一个新目录,因为我们对早期指向的目录的访问权限有限,否则 clean-up 就足够了。
我正在尝试 运行 以下命令:gcloud auth activate-service-account --key-file service_account_key.json
Post 我得到如下错误输出:
ERROR: gcloud crashed (OperationalError): disk I/O error
If you would like to report this issue, please run the following command:
gcloud feedback
To check gcloud for common problems, please run the following command:
gcloud info --run-diagnostics
运行 gcloud 诊断很干净,输出如下:
Network diagnostic detects and fixes local network connection issues.
Checking network connection...done.
Reachability Check passed.
Network diagnostic passed (1/1 checks passed).
Property diagnostic detects issues that may be caused by properties.
Checking hidden properties...done.
Hidden Property Check passed.
Property diagnostic passed (1/1 checks passed).
早些时候,诊断程序会给出 google 服务无法访问的错误,这是通过设置代理修复的,然后身份验证开始工作。但现在代理设置失败了(代理工作正常)。
诊断程序既没有提供有关崩溃的足够信息,也没有提供错误消息本身。
以下是 gcloud 版本信息:
$ gcloud version
Google Cloud SDK 254.0.0
bq 2.0.45
core 2019.07.15
gsutil 4.40
Updates are available for some Cloud SDK components. To install them,
please run:
$ gcloud components update
我也试过 --verbose 也没什么用。
按照@guillaume 的建议,我将 gcloud SDK 更新到最新版本并收到了更详细的错误消息 post,我能够解决该问题。
WARNING: Could not store access token in cache: disk I/O error
[Step 1/1] ERROR: gcloud crashed (OperationalError): disk I/O error
gcloud 写入配置的默认位置 (/.config/gcloud) 需要 clean-up。我们将配置目录本身更新为一个新目录,因为我们对早期指向的目录的访问权限有限,否则 clean-up 就足够了。