升级 GitLab 至 v16.11.10-ee 版后,服务 gitlab-kas 会持续重启。
异常现象
检查日志可以看到下述提示:
2026-08-01_11:16:26.22475 Program aborted: redis client: NOAUTH HELLO must be called with the client already authenticated, otherwise the HELLO AUTH <user> <pass> option can be used to authenticate the client and select the RESP protocol version at the same time新版引入了一个限制,如果 Redis 服务配置了密码认证,而没有配置 kas 服务的认证则会出现此问题。
异常处理
查询 Redis 服务密码,然后添加配置:
gitlab_kas['redis_password'] = 'GitLab@Redis@2024'然后执行:
gitlab-ctl reconfigure
gitlab-ctl restart gitlab-kas重启服务后检查服务状态即可恢复。
配置变更
这个版本废弃了部分参数支持:
sidekiq['min_concurrency'] = 10
sidekiq['max_concurrency'] = 20变更为 sidekiq['concurrency'] 默认值为 20,除特殊需求外一般无需修改,仅移除废弃参数即可。
附录
参考链接
- GitLab-kas pod fails to start due to Redis authentication error – GitLab, Inc.
- Deprecate Sidekiq min-concurrency and max-concurrency (#439687) · Issue · gitlab-org/gitlab
本文由 柒 创作,采用 知识共享署名4.0
国际许可协议进行许可。
转载本站文章前请注明出处,文章作者保留所有权限。
最后编辑时间: 2026-08-31 03:47 AM