身份验证设置没有 Rewrapper 标志。但需要身份验证类型

There is no Rewrapper flag for authentication settings. But Authentication Type required

提问人:Raphael10 提问时间:10/10/2023 最后编辑:Raphael10 更新时间:10/10/2023 访问量:27

问:

使用此配置文件:

root@k8s-eu-1-master:~/chromium-original/chromium/src/buildtools/reclient/bb-deployments/bare# cat reclientConfigBBFrontend.txt 
service=127.0.0.1:8980
instance=$RE_SERVER_INSTANCE
log_dir=/tmp
output_dir=/tmp
proxy_log_dir=/tmp
depsscanner_address=$scandeps_server_location #distributed with Reclient

我收到此错误: :Unable to authenticate with RBE service needs to be specified, authentication type (identity) used="unknown authentication type

root@k8s-eu-1-master:~/chromium-original/chromium/src/buildtools/reclient/bb-deployments/bare# ../../rewrapper -cfg=reclientConfigBBFrontend.txt -platform=OSFamily=linux,ISA=x86-64,docker=//gcr.io/cloud-marketplace/google/rbe-ubuntu16-04@sha256:b4dad0bfc4951d619229ab15343a311f2415a16ef83bcaa55b44f4e2bf1cf635 -exec_strategy="remote_local_fallback" -dial_timeout="10m" -exec_root="/root/chromium-original/chromium/src" -- /root/tmp/bb-cache/
F1010 12:59:21.831161  377524 main.go:175] Command failed: rpc error: code = Unauthenticated desc = Unable to authenticate with RBE
service needs to be specified, authentication type (identity) used="unknown authentication type"

但是在标志中没有用于身份验证设置的标志:https://github.com/bazelbuild/reclient/blob/main/docs/cmd-line-flags.md#rewrapperRewrapper

操作系统:Ubuntu 22.04

因为根据 https://github.com/bazelbuild/reclient/blob/main/docs/cmd-line-flags.md#notes-on-credentials-and-authentication-source 这些标志之一:

credential_file,
use_application_default_credentials,
use_gce_credentials

是强制性的,

如何定义 ,以使自托管 BuildBarn 远程实例正常工作?credental_file

bazel

评论


答: 暂无答案