-
Choerodon平台版本: 0.22.0
-
遇到问题的执行步骤:
一键安装和分布安装 -
文档地址:
https://choerodon.io/zh/docs/installation-configuration/steps/install/choerodon/ -
环境信息(如:节点信息):
4台4核心16G -
报错日志:
-
原因分析:
提出您分析问题的过程,以便我们能更准确的找到问题所在
文档里面的版本 不是最新版 导致邮件发送 -
疑问:
提出您对于遇到和解决该问题时的疑问
分布安装时gitlab进行整合时使用平台账号登录进去发现不是root 账户只是普通的gitlab成员 如何解决
进入 pod gitlab-gitlab-database-0,登陆 postgresql 的 gitlabhq_production 数据库。
$ kubectl exec -it -n c7n-system gitlab-gitlab-database-0 -- bash
$ psql -U postgres
# \c gitlabhq_production
查看表 identities 数据
# select id, user_id, extern_uid from identities;
---------------------------
1 | 2 | 1
将这条数据的 user_id 改为 1 即可
# update identities set user_id=1 where id=1;