-
Choerodon平台版本: 0.6.0
-
遇到问题的执行步骤:
Gitlab部署 -
文档地址:
https://choerodon.io/zh/docs/installation-configuration/steps/install/parts/base/gitlab/ -
环境信息(如:节点信息):
创建参数配置文件 gitlab.yaml
core:
env:
OAUTH_ENABLED: false
OAUTH_AUTO_SIGN_IN_WITH_PROVIDER: "oauth2_generic"
OAUTH_ALLOW_SSO: "'oauth2_generic'"
OAUTH_BLOCK_AUTO_CREATED_USERS: false
OAUTH_GENERIC_API_KEY: "gitlabhq"
OAUTH_GENERIC_APP_SECRET: "gitlabhq"
# choerodon api 访问地址
OAUTH_GENERIC_SITE: "http://api.example.choerodon.io"
OAUTH_GENERIC_USER_INFO_URL: "/oauth/api/user"
OAUTH_GENERIC_AUTHORIZE_URL: "/oauth/oauth/authorize"
OAUTH_GENERIC_TOKEN_URL: "/oauth/oauth/token"
OAUTH_GENERIC_ROOT_PATH: "'userAuthentication','principal'"
OAUTH_GENERIC_ID_PATH: "'userAuthentication','principal','userId'"
OAUTH_GENERIC_USER_NICKNAME: "admin"
OAUTH_GENERIC_USER_NAME: "admin"
RACK_ATTACK_WHITELIST: 0.0.0.0/0
redis:
internal:
password: 123456
persistence:
enabled: true
persistentVolumeClaim:
core:
storageClass: nfs-provisioner
redis:
storageClass: nfs-provisioner
database:
storageClass: nfs-provisioner
expose:
ingress:
host: "jm-gitlab.libybai.com.cn"
database:
internal:
password: "123456"
- 报错日志:
2021-01-11 23:03:00,491 INFO success: sshd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
rake aborted!
URI::InvalidURIError: bad URI(is not URI?): redis://:123456@gitlab-gitlab-redis:6379/0
/home/git/gitlab/lib/gitlab/redis/wrapper.rb:99:in redis_store_options' /home/git/gitlab/lib/gitlab/redis/wrapper.rb:79:in
params’
/home/git/gitlab/lib/gitlab/redis/wrapper.rb:15:in params' /home/git/gitlab/config/application.rb:199:in
class:Application’
/home/git/gitlab/config/application.rb:8:in <module:Gitlab>' /home/git/gitlab/config/application.rb:7:in
<top (required)>’
/home/git/gitlab/Rakefile:5:in require' /home/git/gitlab/Rakefile:5:in
<top (required)>’
/home/git/gitlab/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/exe/rake:27:in `<top (required)>’
(See full trace by running task with --trace)
-
原因分析:
提出您分析问题的过程,以便我们能更准确的找到问题所在
-
疑问:
提出您对于遇到和解决该问题时的疑问