gitlab-ctl reconfigure fails after replacing postgresql['data_dir'] with postgresql['dir']
Summary
Due to the warning message: Deprecations:
- postgresql['data_dir'] has been deprecated since 11.6 and will be removed in 14.0 Please see https://docs.gitlab.com/omnibus/settings/database.html#store-postgresql-data-in-a-different-directory for how to use postgresql['dir']
I wanted to replace postgresql['data_dir'] in my gitlab.rb with postgresql['dir']. Following steps in https://docs.gitlab.com/omnibus/settings/database.html#store-postgresql-data-in-a-different-directory I stopped the gitlab services, made the change & tried gitlab-ctl reconfigure which fails.(error messages below)
I also tried gitlab-ctl reconfigure while the gitlab services are up(as the first message states that it cannot find the postgresql db socket.). This also fails with a different error(error messages below)
Steps to reproduce
1 - Install gitlab-ce omnibus package. Possible relevant gitlab.rb settings(anything with postgresql in my config that is different from default):
postgresql['data_dir'] = "/data/gitlab/postgresql/data"
postgresql['uid'] = 15002
postgresql['gid'] = 15002
--> I hope this works, currently I am not using a "fresh" installed system, I am using the system which is being updated since 9.xxx.
2 - gitlab-ctl stop
3 - replace :
postgresql['data_dir'] = "/data/gitlab/postgresql/data"
with
postgresql['dir'] = "/data/gitlab/postgresql/data"
4 - gitlab-ctl reconfigure
5 - You can also test with "gitlab-ctl start" & "gitlab-ctl reconfigure"
What is the expected correct behavior?
I expect that the documented way https://docs.gitlab.com/omnibus/settings/database.html#store-postgresql-data-in-a-different-directory should work as it is described.
Relevant logs and/or screenshots
Error during gitlab-ctl reconfigure after gitlab-ctl stop:
$ gitlab-ctl stop ok: down: alertmanager: 1s, normally up ok: down: gitaly: 0s, normally up ok: down: gitlab-monitor: 1s, normally up ok: down: gitlab-workhorse: 0s, normally up ok: down: logrotate: 0s, normally up ok: down: nginx: 1s, normally up ok: down: node-exporter: 0s, normally up ok: down: postgres-exporter: 1s, normally up ok: down: postgresql: 0s, normally up ok: down: prometheus: 0s, normally up ok: down: redis: 0s, normally up ok: down: redis-exporter: 0s, normally up ok: down: sidekiq: 0s, normally up ok: down: unicorn: 0s, normally up $ vim gitlab.rb $ gitlab-ctl reconfigure Starting Chef Client, version 13.6.4 resolving cookbooks for run list: ["gitlab"] Synchronizing Cookbooks: postgresql (0.1.0) - gitlab (0.0.1) - redis (0.1.0) - package (0.1.0) - registry (0.1.0) - mattermost (0.1.0) - nginx (0.1.0) - runit (0.14.2) - gitaly (0.1.0) - letsencrypt (0.1.0) - crond (0.1.0) - consul (0.0.0) - acme (3.1.0) - compat_resource (12.19.0) Installing Cookbook Gems: Compiling Cookbooks... Recipe: gitlab::default * directory[/etc/gitlab] action create (up to date) Converging 479 resources * directory[/etc/gitlab] action create (up to date) * directory[Create /var/opt/gitlab] action create (up to date) * directory[/opt/gitlab/embedded/etc] action create (up to date) * template[/opt/gitlab/embedded/etc/gitconfig] action create (up to date) Recipe: gitlab::web-server * account[Webserver user and group] action create * group[Webserver user and group] action create (up to date) * linux_user[Webserver user and group] action create (up to date) (up to date) Recipe: gitlab::users * directory[/var/opt/gitlab] action create (up to date) * account[GitLab user and group] action create * group[GitLab user and group] action create (up to date) * linux_user[GitLab user and group] action create (up to date) (up to date) * template[/var/opt/gitlab/.gitconfig] action create (up to date) * directory[/var/opt/gitlab/.bundle] action create (up to date) Recipe: gitlab::gitlab-shell * storage_directory[/var/opt/gitlab/.ssh] action create * ruby_block[directory resource: /var/opt/gitlab/.ssh] action run (skipped due to not_if) (up to date) * directory[/var/log/gitlab/gitlab-shell/] action create (up to date) * directory[/var/opt/gitlab/gitlab-shell] action create (up to date) * templatesymlink[Create a config.yml and create a symlink to Rails root] action create * template[/var/opt/gitlab/gitlab-shell/config.yml] action create (up to date) * link[Link /opt/gitlab/embedded/service/gitlab-shell/config.yml to /var/opt/gitlab/gitlab-shell/config.yml] action create (up to date) (up to date) * link[/opt/gitlab/embedded/service/gitlab-shell/.gitlab_shell_secret] action create (up to date) * execute[/opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-keys check-permissions] action run - execute /opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-keys check-permissions * bash[Set proper security context on ssh files for selinux] action run - execute "bash" "/tmp/chef-script20190218-13019-c13l89" Recipe: gitlab::gitlab-rails * storage_directory[/data/gitlab/git] action create * ruby_block[directory resource: /data/gitlab/git] action run (skipped due to not_if) (up to date) * storage_directory[/data/gitlab/git/repositories] action create * ruby_block[directory resource: /data/gitlab/git/repositories] action run (skipped due to not_if) (up to date) * directory[/var/log/gitlab] action create (up to date) * storage_directory[/data/gitlab/shared] action create * ruby_block[directory resource: /data/gitlab/shared] action run (skipped due to not_if) (up to date) * storage_directory[/data/gitlab/artifacts] action create * ruby_block[directory resource: /data/gitlab/artifacts] action run (skipped due to not_if) (up to date) * storage_directory[/data/gitlab/shared/lfs-objects] action create * ruby_block[directory resource: /data/gitlab/shared/lfs-objects] action run (skipped due to not_if) (up to date) * storage_directory[/data/gitlab/shared/packages] action create * ruby_block[directory resource: /data/gitlab/shared/packages] action run (skipped due to not_if) (up to date) * storage_directory[/data/gitlab/uploads] action create * ruby_block[directory resource: /data/gitlab/uploads] action run (skipped due to not_if) (up to date) * storage_directory[/data/gitlab/gitlab-ci/builds] action create * ruby_block[directory resource: /data/gitlab/gitlab-ci/builds] action run (skipped due to not_if) (up to date) * storage_directory[/data/gitlab/shared/cache] action create * ruby_block[directory resource: /data/gitlab/shared/cache] action run (skipped due to not_if) (up to date) * storage_directory[/data/gitlab/shared/tmp] action create * ruby_block[directory resource: /data/gitlab/shared/tmp] action run (skipped due to not_if) (up to date) * storage_directory[/data/gitlab/shared/pages] action create * ruby_block[directory resource: /data/gitlab/shared/pages] action run (skipped due to not_if) (up to date) * directory[create /var/opt/gitlab/gitlab-rails/etc] action create (up to date) * directory[create /opt/gitlab/etc/gitlab-rails] action create (up to date) * directory[create /var/opt/gitlab/gitlab-rails/working] action create (up to date) * directory[create /var/opt/gitlab/gitlab-rails/tmp] action create (up to date) * directory[create /var/opt/gitlab/gitlab-rails/upgrade-status] action create (up to date) * directory[create /var/log/gitlab/gitlab-rails] action create (up to date) * storage_directory[/GIT_backups/db_backups] action create * ruby_block[directory resource: /GIT_backups/db_backups] action run (skipped due to not_if) (up to date) * directory[/var/opt/gitlab/gitlab-rails] action create (up to date) * directory[/var/opt/gitlab/gitlab-ci] action create (up to date) * file[/var/opt/gitlab/gitlab-rails/etc/gitlab-registry.key] action create (skipped due to only_if) * template[/opt/gitlab/etc/gitlab-rails/gitlab-rails-rc] action create (up to date) * file[/opt/gitlab/embedded/service/gitlab-rails/.secret] action delete (up to date) * file[/var/opt/gitlab/gitlab-rails/etc/secret] action delete (up to date) * templatesymlink[Create a database.yml and create a symlink to Rails root] action create * template[/var/opt/gitlab/gitlab-rails/etc/database.yml] action create - update content in file /var/opt/gitlab/gitlab-rails/etc/database.yml from ba7f50 to 7669f9 --- /var/opt/gitlab/gitlab-rails/etc/database.yml 2019-02-18 14:58:50.433561981 +0100 +++ /var/opt/gitlab/gitlab-rails/etc/.chef-database20190218-13019-13lr1b6.yml 2019-02-18 15:07:16.376297549 +0100 @@ -10,7 +10,7 @@ pool: 10 username: "gitlab" password: - host: "/var/opt/gitlab/postgresql" + host: "/data/gitlab/postgresql/data" port: 5432 socket: sslmode: - restore selinux security context * link[Link /opt/gitlab/embedded/service/gitlab-rails/config/database.yml to /var/opt/gitlab/gitlab-rails/etc/database.yml] action create (up to date) * templatesymlink[Create a secrets.yml and create a symlink to Rails root] action create * template[/var/opt/gitlab/gitlab-rails/etc/secrets.yml] action create (up to date) * link[Link /opt/gitlab/embedded/service/gitlab-rails/config/secrets.yml to /var/opt/gitlab/gitlab-rails/etc/secrets.yml] action create (up to date) (up to date) * templatesymlink[Create a resque.yml and create a symlink to Rails root] action create * template[/var/opt/gitlab/gitlab-rails/etc/resque.yml] action create (up to date) * link[Link /opt/gitlab/embedded/service/gitlab-rails/config/resque.yml to /var/opt/gitlab/gitlab-rails/etc/resque.yml] action create (up to date) (up to date) * templatesymlink[Create a redis.cache.yml and create a symlink to Rails root] action create (skipped due to not_if) * templatesymlink[Create a redis.queues.yml and create a symlink to Rails root] action create (skipped due to not_if) * templatesymlink[Create a redis.shared_state.yml and create a symlink to Rails root] action create (skipped due to not_if) * templatesymlink[Create a smtp_settings.rb and create a symlink to Rails root] action create * template[/var/opt/gitlab/gitlab-rails/etc/smtp_settings.rb] action create (up to date) * link[Link /opt/gitlab/embedded/service/gitlab-rails/config/initializers/smtp_settings.rb to /var/opt/gitlab/gitlab-rails/etc/smtp_settings.rb] action create (up to date) (up to date) * templatesymlink[Create a gitlab.yml and create a symlink to Rails root] action create * template[/var/opt/gitlab/gitlab-rails/etc/gitlab.yml] action create (up to date) * link[Link /opt/gitlab/embedded/service/gitlab-rails/config/gitlab.yml to /var/opt/gitlab/gitlab-rails/etc/gitlab.yml] action create (up to date) (up to date) * templatesymlink[Create a rack_attack.rb and create a symlink to Rails root] action create * template[/var/opt/gitlab/gitlab-rails/etc/rack_attack.rb] action create (up to date) * link[Link /opt/gitlab/embedded/service/gitlab-rails/config/initializers/rack_attack.rb to /var/opt/gitlab/gitlab-rails/etc/rack_attack.rb] action create (up to date) (up to date) * templatesymlink[Create a gitlab_workhorse_secret and create a symlink to Rails root] action create * template[/var/opt/gitlab/gitlab-rails/etc/gitlab_workhorse_secret] action create (up to date) * link[Link /opt/gitlab/embedded/service/gitlab-rails/.gitlab_workhorse_secret to /var/opt/gitlab/gitlab-rails/etc/gitlab_workhorse_secret] action create (up to date) (up to date) * templatesymlink[Create a gitlab_shell_secret and create a symlink to Rails root] action create * template[/var/opt/gitlab/gitlab-rails/etc/gitlab_shell_secret] action create (up to date) * link[Link /opt/gitlab/embedded/service/gitlab-rails/.gitlab_shell_secret to /var/opt/gitlab/gitlab-rails/etc/gitlab_shell_secret] action create (up to date) (up to date) * templatesymlink[Create a gitlab_pages_secret and create a symlink to Rails root] action create (skipped due to only_if) * link[/opt/gitlab/embedded/service/gitlab-rails/config/initializers/relative_url.rb] action delete (up to date) * file[/var/opt/gitlab/gitlab-rails/etc/relative_url.rb] action delete (up to date) * env_dir[/opt/gitlab/etc/gitlab-rails/env] action create * directory[/opt/gitlab/etc/gitlab-rails/env] action create (up to date) * file[/opt/gitlab/etc/gitlab-rails/env/HOME] action create (up to date) * file[/opt/gitlab/etc/gitlab-rails/env/RAILS_ENV] action create (up to date) * file[/opt/gitlab/etc/gitlab-rails/env/LD_PRELOAD] action create (up to date) * file[/opt/gitlab/etc/gitlab-rails/env/SIDEKIQ_MEMORY_KILLER_MAX_RSS] action create (up to date) * file[/opt/gitlab/etc/gitlab-rails/env/BUNDLE_GEMFILE] action create (up to date) * file[/opt/gitlab/etc/gitlab-rails/env/PATH] action create (up to date) * file[/opt/gitlab/etc/gitlab-rails/env/ICU_DATA] action create (up to date) * file[/opt/gitlab/etc/gitlab-rails/env/PYTHONPATH] action create (up to date) * file[/opt/gitlab/etc/gitlab-rails/env/EXECJS_RUNTIME] action create (up to date) * file[/opt/gitlab/etc/gitlab-rails/env/TZ] action create (up to date) (up to date) * link[/opt/gitlab/embedded/service/gitlab-rails/tmp] action create (up to date) * link[/opt/gitlab/embedded/service/gitlab-rails/public/uploads] action create (up to date) * link[/opt/gitlab/embedded/service/gitlab-rails/log] action create (up to date) * link[/var/log/gitlab/gitlab-rails/sidekiq.log] action create (skipped due to not_if) * file[/opt/gitlab/embedded/service/gitlab-rails/db/schema.rb] action create (up to date) * remote_file[/var/opt/gitlab/gitlab-rails/VERSION] action create (up to date) * remote_file[/var/opt/gitlab/gitlab-rails/REVISION] action create (up to date) * file[/var/opt/gitlab/gitlab-rails/RUBY_VERSION] action create (up to date) * execute[clear the gitlab-rails cache] action nothing (skipped due to action :nothing) * file[/var/opt/gitlab/gitlab-rails/config.ru] action delete (up to date) Recipe: gitlab::selinux * execute[semodule -i /opt/gitlab/embedded/selinux/rhel/7/gitlab-7.2.0-ssh-keygen.pp] action rungitlab-7.2.0-ssh-keygen 1.0 (skipped due to not_if) * execute[semodule -i /opt/gitlab/embedded/selinux/rhel/7/gitlab-10.5.0-ssh-authorized-keys.pp] action rungitlab-10.5.0-ssh-authorized-keys 1.0 (skipped due to not_if) Recipe: gitlab::add_trusted_certs * directory[/etc/gitlab/trusted-certs] action create (up to date) * directory[/opt/gitlab/embedded/ssl/certs] action create (up to date) * file[/opt/gitlab/embedded/ssl/certs/README] action create (up to date) * ruby_block[Move existing certs and link to /opt/gitlab/embedded/ssl/certs] action run (skipped due to only_if) Recipe: gitlab::default * service[create a temporary unicorn service] action nothing (skipped due to action :nothing) * service[create a temporary puma service] action nothing (skipped due to action :nothing) * service[create a temporary sidekiq service] action nothing (skipped due to action :nothing) * service[create a temporary mailroom service] action nothing (skipped due to action :nothing) Recipe: runit::systemd * directory[/usr/lib/systemd/system] action create (up to date) * cookbook_file[/usr/lib/systemd/system/gitlab-runsvdir.service] action create (up to date) * file[/etc/systemd/system/default.target.wants/gitlab-runsvdir.service] action delete (up to date) * file[/etc/systemd/system/basic.target.wants/gitlab-runsvdir.service] action delete (up to date) * execute[systemctl daemon-reload] action nothing (skipped due to action :nothing) * execute[systemctl enable gitlab-runsvdir] action nothing (skipped due to action :nothing) * execute[systemctl start gitlab-runsvdir] action nothing (skipped due to action :nothing) Recipe: redis::enable * account[user and group for redis] action create * group[user and group for redis] action create (up to date) * linux_user[user and group for redis] action create (up to date) (up to date) * group[Socket group] action create (up to date) * directory[/var/opt/gitlab/redis] action create (up to date) * directory[/var/log/gitlab/redis] action create (up to date) * template[/var/opt/gitlab/redis/redis.conf] action create (up to date) * directory[/opt/gitlab/sv/redis] action create (up to date) * directory[/opt/gitlab/sv/redis/log] action create (up to date) * directory[/opt/gitlab/sv/redis/log/main] action create (up to date) * template[/opt/gitlab/sv/redis/run] action create (up to date) * template[/opt/gitlab/sv/redis/log/run] action create (up to date) * template[/var/log/gitlab/redis/config] action create (up to date) * ruby_block[reload redis svlogd configuration] action nothing (skipped due to action :nothing) * ruby_block[restart redis svlogd configuration] action nothing (skipped due to action :nothing) * file[/opt/gitlab/sv/redis/down] action delete (up to date) * link[/opt/gitlab/init/redis] action create (up to date) * link[/opt/gitlab/service/redis] action create (up to date) * ruby_block[supervise_redis_sleep] action run (skipped due to not_if) * directory[/opt/gitlab/sv/redis/supervise] action create (up to date) * directory[/opt/gitlab/sv/redis/log/supervise] action create (up to date) * file[/opt/gitlab/sv/redis/supervise/ok] action touch (skipped due to only_if) * file[/opt/gitlab/sv/redis/log/supervise/ok] action touch (skipped due to only_if) * file[/opt/gitlab/sv/redis/supervise/control] action touch (skipped due to only_if) * file[/opt/gitlab/sv/redis/log/supervise/control] action touch (skipped due to only_if) * service[redis] action nothing (skipped due to action :nothing) Recipe: postgresql::user * account[Postgresql user and group] action create * group[Postgresql user and group] action create (up to date) * linux_user[Postgresql user and group] action create - alter user gitlab-psql Recipe: postgresql::enable * directory[/data/gitlab/postgresql/data] action create - change mode from '0700' to '0755' - restore selinux security context * directory[/data/gitlab/postgresql/data/data] action create (up to date) * directory[/var/log/gitlab/postgresql] action create (up to date) * link[/data/gitlab/postgresql/data/data] action create (skipped due to not_if) * file[/data/gitlab/postgresql/data/.profile] action create (up to date) * sysctl[kernel.shmmax] action create * directory[create /etc/sysctl.d for kernel.shmmax] action create (up to date) * file[create /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf kernel.shmmax] action create (up to date) * link[/etc/sysctl.d/90-omnibus-gitlab-kernel.shmmax.conf] action create (up to date) * file[delete /etc/sysctl.d/90-postgresql.conf kernel.shmmax] action delete (skipped due to only_if) * file[delete /etc/sysctl.d/90-unicorn.conf kernel.shmmax] action delete (skipped due to only_if) * file[delete /opt/gitlab/embedded/etc/90-omnibus-gitlab.conf kernel.shmmax] action delete (skipped due to only_if) * file[delete /etc/sysctl.d/90-omnibus-gitlab.conf kernel.shmmax] action delete (skipped due to only_if) * execute[load sysctl conf kernel.shmmax] action nothing (skipped due to action :nothing) (up to date) * sysctl[kernel.shmall] action create * directory[create /etc/sysctl.d for kernel.shmall] action create (up to date) * file[create /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmall.conf kernel.shmall] action create (up to date) * link[/etc/sysctl.d/90-omnibus-gitlab-kernel.shmall.conf] action create (up to date) * file[delete /etc/sysctl.d/90-postgresql.conf kernel.shmall] action delete (skipped due to only_if) * file[delete /etc/sysctl.d/90-unicorn.conf kernel.shmall] action delete (skipped due to only_if) * file[delete /opt/gitlab/embedded/etc/90-omnibus-gitlab.conf kernel.shmall] action delete (skipped due to only_if) * file[delete /etc/sysctl.d/90-omnibus-gitlab.conf kernel.shmall] action delete (skipped due to only_if) * execute[load sysctl conf kernel.shmall] action nothing (skipped due to action :nothing) (up to date) * sysctl[kernel.sem] action create * directory[create /etc/sysctl.d for kernel.sem] action create (up to date) * file[create /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.sem.conf kernel.sem] action create (up to date) * link[/etc/sysctl.d/90-omnibus-gitlab-kernel.sem.conf] action create (up to date) * file[delete /etc/sysctl.d/90-postgresql.conf kernel.sem] action delete (skipped due to only_if) * file[delete /etc/sysctl.d/90-unicorn.conf kernel.sem] action delete (skipped due to only_if) * file[delete /opt/gitlab/embedded/etc/90-omnibus-gitlab.conf kernel.sem] action delete (skipped due to only_if) * file[delete /etc/sysctl.d/90-omnibus-gitlab.conf kernel.sem] action delete (skipped due to only_if) * execute[load sysctl conf kernel.sem] action nothing (skipped due to action :nothing) (up to date) * execute[/opt/gitlab/embedded/bin/initdb -D /data/gitlab/postgresql/data/data -E UTF8] action run (skipped due to not_if) * file[/data/gitlab/postgresql/data/data/server.crt] action create (up to date) * file[/data/gitlab/postgresql/data/data/server.key] action create (up to date) * template[/data/gitlab/postgresql/data/data/postgresql.conf] action create (up to date) * template[/data/gitlab/postgresql/data/data/runtime.conf] action create (up to date) * template[/data/gitlab/postgresql/data/data/pg_hba.conf] action create (up to date) * template[/data/gitlab/postgresql/data/data/pg_ident.conf] action create (up to date) * directory[/opt/gitlab/sv/postgresql] action create (up to date) * directory[/opt/gitlab/sv/postgresql/log] action create (up to date) * directory[/opt/gitlab/sv/postgresql/log/main] action create (up to date) * template[/opt/gitlab/sv/postgresql/run] action create - update content in file /opt/gitlab/sv/postgresql/run from dc5689 to a995ad --- /opt/gitlab/sv/postgresql/run 2019-02-18 14:39:16.673112258 +0100 +++ /opt/gitlab/sv/postgresql/.chef-run20190218-13019-nsbbms 2019-02-18 15:07:21.576459439 +0100 @@ -1,5 +1,5 @@ #!/bin/sh exec 2>&1 -exec chpst -P -U gitlab-psql:gitlab-psql -u gitlab-psql:gitlab-psql /opt/gitlab/embedded/bin/postgres -D /var/opt/gitlab/postgresql/data +exec chpst -P -U gitlab-psql:gitlab-psql -u gitlab-psql:gitlab-psql /opt/gitlab/embedded/bin/postgres -D /data/gitlab/postgresql/data/data - restore selinux security context * template[/opt/gitlab/sv/postgresql/log/run] action create (up to date) * template[/var/log/gitlab/postgresql/config] action create (up to date) * ruby_block[reload postgresql svlogd configuration] action nothing (skipped due to action :nothing) * ruby_block[restart postgresql svlogd configuration] action nothing (skipped due to action :nothing) * file[/opt/gitlab/sv/postgresql/down] action delete (up to date) * directory[/opt/gitlab/sv/postgresql/control] action create (up to date) * template[/opt/gitlab/sv/postgresql/control/t] action create (up to date) * link[/opt/gitlab/init/postgresql] action create (up to date) * link[/opt/gitlab/service/postgresql] action create (up to date) * ruby_block[supervise_postgresql_sleep] action run (skipped due to not_if) * directory[/opt/gitlab/sv/postgresql/supervise] action create (up to date) * directory[/opt/gitlab/sv/postgresql/log/supervise] action create (up to date) * file[/opt/gitlab/sv/postgresql/supervise/ok] action touch (skipped due to only_if) * file[/opt/gitlab/sv/postgresql/log/supervise/ok] action touch (skipped due to only_if) * file[/opt/gitlab/sv/postgresql/supervise/control] action touch (skipped due to only_if) * file[/opt/gitlab/sv/postgresql/log/supervise/control] action touch (skipped due to only_if) * service[postgresql] action nothing (skipped due to action :nothing) Recipe: postgresql::bin * ruby_block[Link postgresql bin files to the correct version] action run (skipped due to only_if) Recipe: postgresql::enable * template[/opt/gitlab/etc/gitlab-psql-rc] action create - update content in file /opt/gitlab/etc/gitlab-psql-rc from b7b8fc to 59620d --- /opt/gitlab/etc/gitlab-psql-rc 2019-02-18 14:39:16.754114771 +0100 +++ /opt/gitlab/etc/.chef-gitlab-psql-rc20190218-13019-1fti9jn 2019-02-18 15:07:21.677462583 +0100 @@ -1,6 +1,6 @@ psql_user='gitlab-psql' psql_group='gitlab-psql' -psql_host='/var/opt/gitlab/postgresql' +psql_host='/data/gitlab/postgresql/data' psql_port='5432' psql_dbname='gitlabhq_production' - restore selinux security context * postgresql_user[gitlab] action create * execute[create gitlab postgresql user] action run [execute] psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/data/gitlab/postgresql/data/.s.PGSQL.5432"? [execute] psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/data/gitlab/postgresql/data/.s.PGSQL.5432"? [execute] psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/data/gitlab/postgresql/data/.s.PGSQL.5432"? [execute] psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/data/gitlab/postgresql/data/.s.PGSQL.5432"? [execute] psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/data/gitlab/postgresql/data/.s.PGSQL.5432"? [execute] psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/data/gitlab/postgresql/data/.s.PGSQL.5432"? [execute] psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/data/gitlab/postgresql/data/.s.PGSQL.5432"? [execute] psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/data/gitlab/postgresql/data/.s.PGSQL.5432"? [execute] psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/data/gitlab/postgresql/data/.s.PGSQL.5432"? [execute] psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/data/gitlab/postgresql/data/.s.PGSQL.5432"? [execute] psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/data/gitlab/postgresql/data/.s.PGSQL.5432"? [execute] psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/data/gitlab/postgresql/data/.s.PGSQL.5432"? [execute] psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/data/gitlab/postgresql/data/.s.PGSQL.5432"? [execute] psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/data/gitlab/postgresql/data/.s.PGSQL.5432"? [execute] psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/data/gitlab/postgresql/data/.s.PGSQL.5432"? [execute] psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/data/gitlab/postgresql/data/.s.PGSQL.5432"? [execute] psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/data/gitlab/postgresql/data/.s.PGSQL.5432"? [execute] psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/data/gitlab/postgresql/data/.s.PGSQL.5432"? [execute] psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/data/gitlab/postgresql/data/.s.PGSQL.5432"? [execute] psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/data/gitlab/postgresql/data/.s.PGSQL.5432"? [execute] psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/data/gitlab/postgresql/data/.s.PGSQL.5432"? ================================================================================ Error executing action `run` on resource 'execute[create gitlab postgresql user]' ================================================================================ Mixlib::ShellOut::ShellCommandFailed ------------------------------------ Expected process to exit with [0], but received '2' ---- Begin output of /opt/gitlab/bin/gitlab-psql -d template1 -c "CREATE USER \"gitlab\"" ---- STDOUT: STDERR: psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/data/gitlab/postgresql/data/.s.PGSQL.5432"? ---- End output of /opt/gitlab/bin/gitlab-psql -d template1 -c "CREATE USER \"gitlab\"" ---- Ran /opt/gitlab/bin/gitlab-psql -d template1 -c "CREATE USER \"gitlab\"" returned 2 Resource Declaration: --------------------- # In /opt/gitlab/embedded/cookbooks/cache/cookbooks/postgresql/resources/user.rb 11: execute "create #{new_resource.username} postgresql user" do 12: command %(/opt/gitlab/bin/#{new_resource.helper.service_cmd} -d template1 -c "#{query}") 13: user account_helper.postgresql_user 14: # Added retries to give the service time to start on slower systems 15: retries 20 16: not_if { new_resource.helper.is_offline_or_readonly? || new_resource.helper.user_exists?(new_resource.username) } 17: end 18: Compiled Resource: ------------------ # Declared in /opt/gitlab/embedded/cookbooks/cache/cookbooks/postgresql/resources/user.rb:11:in `block in class_from_file' execute("create gitlab postgresql user") do action [:run] default_guard_interpreter :execute command "/opt/gitlab/bin/gitlab-psql -d template1 -c \"CREATE USER \\\"gitlab\\\"\"" backup 5 returns 0 user "gitlab-psql" declared_type :execute cookbook_name "postgresql" domain nil retries 20 not_if { #code block } end System Info: ------------ chef_version=13.6.4 platform=redhat platform_version=7.5 ruby=ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-linux] program_name=/opt/gitlab/embedded/bin/chef-client executable=/opt/gitlab/embedded/bin/chef-client ================================================================================ Error executing action `create` on resource 'postgresql_user[gitlab]' ================================================================================ Mixlib::ShellOut::ShellCommandFailed ------------------------------------ execute[create gitlab postgresql user] (/opt/gitlab/embedded/cookbooks/cache/cookbooks/postgresql/resources/user.rb line 11) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected ceived '2' ---- Begin output of /opt/gitlab/bin/gitlab-psql -d template1 -c "CREATE USER \"gitlab\"" ---- STDOUT: STDERR: psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/data/gitlab/postgresql/data/.s.PGSQL.5432"? ---- End output of /opt/gitlab/bin/gitlab-psql -d template1 -c "CREATE USER \"gitlab\"" ---- Ran /opt/gitlab/bin/gitlab-psql -d template1 -c "CREATE USER \"gitlab\"" returned 2 Resource Declaration: --------------------- # In /opt/gitlab/embedded/cookbooks/cache/cookbooks/postgresql/recipes/enable.rb 196: postgresql_user gitlab_sql_user do 197: password "md5#{gitlab_sql_user_password}" unless gitlab_sql_user_password.nil? 198: action :create 199: not_if { pg_helper.is_slave? } 200: end 201: Compiled Resource: ------------------ # Declared in /opt/gitlab/embedded/cookbooks/cache/cookbooks/postgresql/recipes/enable.rb:196:in `from_file' postgresql_user("gitlab") do action [:create] default_guard_interpreter :default declared_type :postgresql_user cookbook_name "postgresql" recipe_name "enable" not_if { #code block } end System Info: ------------ chef_version=13.6.4 platform=redhat platform_version=7.5 ruby=ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-linux] program_name=/opt/gitlab/embedded/bin/chef-client executable=/opt/gitlab/embedded/bin/chef-client Recipe: gitlab::unicorn * service[unicorn] action restart - restart service service[unicorn] Recipe: gitlab::sidekiq * service[sidekiq] action restart - restart service service[sidekiq] Running handlers: There was an error running gitlab-ctl reconfigure: postgresql_user[gitlab] (postgresql::enable line 196) had an error: Mixlib::ShellOut::ShellCommandFailed: execute[create gitlab postgresql user] (/opt/gitlab/embedded/cookbooks/cache/cookbooline 11) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '2' ---- Begin output of /opt/gitlab/bin/gitlab-psql -d template1 -c "CREATE USER \"gitlab\"" ---- STDOUT: STDERR: psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/data/gitlab/postgresql/data/.s.PGSQL.5432"? ---- End output of /opt/gitlab/bin/gitlab-psql -d template1 -c "CREATE USER \"gitlab\"" ---- Ran /opt/gitlab/bin/gitlab-psql -d template1 -c "CREATE USER \"gitlab\"" returned 2 Running handlers complete Chef Client failed. 11 resources updated in 01 minutes 03 seconds
Error during gitlab-ctl reconfigure after gitlab-ctl start:
$ gitlab-ctl start ok: run: alertmanager: (pid 16997) 1s ok: run: gitaly: (pid 17013) 0s ok: run: gitlab-monitor: (pid 17044) 1s ok: run: gitlab-workhorse: (pid 17055) 0s ok: run: logrotate: (pid 17066) 1s ok: run: nginx: (pid 17149) 0s ok: run: node-exporter: (pid 17163) 0s ok: run: postgres-exporter: (pid 17169) 1s ok: run: postgresql: (pid 17179) 0s ok: run: prometheus: (pid 17188) 1s ok: run: redis: (pid 17217) 0s ok: run: redis-exporter: (pid 17222) 1s ok: run: sidekiq: (pid 17210) 1s ok: run: unicorn: (pid 17230) 0s $ gitlab-ctl reconfigure $ gitlab-ctl reconfigure Starting Chef Client, version 13.6.4 resolving cookbooks for run list: ["gitlab"] Synchronizing Cookbooks: - gitlab (0.0.1) - package (0.1.0) - redis (0.1.0) - registry (0.1.0) - postgresql (0.1.0) - consul (0.0.0) - gitaly (0.1.0) - mattermost (0.1.0) - letsencrypt (0.1.0) - nginx (0.1.0) - runit (0.14.2) - crond (0.1.0) - acme (3.1.0) - compat_resource (12.19.0) Installing Cookbook Gems: Compiling Cookbooks... Recipe: gitlab::default * directory[/etc/gitlab] action create (up to date) Converging 479 resources * directory[/etc/gitlab] action create (up to date) * directory[Create /var/opt/gitlab] action create (up to date) * directory[/opt/gitlab/embedded/etc] action create (up to date) * template[/opt/gitlab/embedded/etc/gitconfig] action create (up to date) Recipe: gitlab::web-server * account[Webserver user and group] action create * group[Webserver user and group] action create (up to date) * linux_user[Webserver user and group] action create (up to date) (up to date) Recipe: gitlab::users * directory[/var/opt/gitlab] action create (up to date) * account[GitLab user and group] action create * group[GitLab user and group] action create (up to date) * linux_user[GitLab user and group] action create (up to date) (up to date) * template[/var/opt/gitlab/.gitconfig] action create (up to date) * directory[/var/opt/gitlab/.bundle] action create (up to date) Recipe: gitlab::gitlab-shell * storage_directory[/var/opt/gitlab/.ssh] action create * ruby_block[directory resource: /var/opt/gitlab/.ssh] action run (skipped due to not_if) (up to date) * directory[/var/log/gitlab/gitlab-shell/] action create (up to date) * directory[/var/opt/gitlab/gitlab-shell] action create (up to date) * templatesymlink[Create a config.yml and create a symlink to Rails root] action create * template[/var/opt/gitlab/gitlab-shell/config.yml] action create (up to date) * link[Link /opt/gitlab/embedded/service/gitlab-shell/config.yml to /var/opt/gitlab/gitlab-shell/config.yml] action create (up to date) (up to date) * link[/opt/gitlab/embedded/service/gitlab-shell/.gitlab_shell_secret] action create (up to date) * execute[/opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-keys check-permissions] action run - execute /opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-keys check-permissions * bash[Set proper security context on ssh files for selinux] action run - execute "bash" "/tmp/chef-script20190218-19968-1s4w9jy" Recipe: gitlab::gitlab-rails * storage_directory[/data/gitlab/git] action create * ruby_block[directory resource: /data/gitlab/git] action run (skipped due to not_if) (up to date) * storage_directory[/data/gitlab/git/repositories] action create * ruby_block[directory resource: /data/gitlab/git/repositories] action run (skipped due to not_if) (up to date) * directory[/var/log/gitlab] action create (up to date) * storage_directory[/data/gitlab/shared] action create * ruby_block[directory resource: /data/gitlab/shared] action run (skipped due to not_if) (up to date) * storage_directory[/data/gitlab/artifacts] action create * ruby_block[directory resource: /data/gitlab/artifacts] action run (skipped due to not_if) (up to date) * storage_directory[/data/gitlab/shared/lfs-objects] action create * ruby_block[directory resource: /data/gitlab/shared/lfs-objects] action run (skipped due to not_if) (up to date) * storage_directory[/data/gitlab/shared/packages] action create * ruby_block[directory resource: /data/gitlab/shared/packages] action run (skipped due to not_if) (up to date) * storage_directory[/data/gitlab/uploads] action create * ruby_block[directory resource: /data/gitlab/uploads] action run (skipped due to not_if) (up to date) * storage_directory[/data/gitlab/gitlab-ci/builds] action create * ruby_block[directory resource: /data/gitlab/gitlab-ci/builds] action run (skipped due to not_if) (up to date) * storage_directory[/data/gitlab/shared/cache] action create * ruby_block[directory resource: /data/gitlab/shared/cache] action run (skipped due to not_if) (up to date) * storage_directory[/data/gitlab/shared/tmp] action create * ruby_block[directory resource: /data/gitlab/shared/tmp] action run (skipped due to not_if) (up to date) * storage_directory[/data/gitlab/shared/pages] action create * ruby_block[directory resource: /data/gitlab/shared/pages] action run (skipped due to not_if) (up to date) * directory[create /var/opt/gitlab/gitlab-rails/etc] action create (up to date) * directory[create /opt/gitlab/etc/gitlab-rails] action create (up to date) * directory[create /var/opt/gitlab/gitlab-rails/working] action create (up to date) * directory[create /var/opt/gitlab/gitlab-rails/tmp] action create (up to date) * directory[create /var/opt/gitlab/gitlab-rails/upgrade-status] action create (up to date) * directory[create /var/log/gitlab/gitlab-rails] action create (up to date) * storage_directory[/GIT_backups/db_backups] action create * ruby_block[directory resource: /GIT_backups/db_backups] action run (skipped due to not_if) (up to date) * directory[/var/opt/gitlab/gitlab-rails] action create (up to date) * directory[/var/opt/gitlab/gitlab-ci] action create (up to date) * file[/var/opt/gitlab/gitlab-rails/etc/gitlab-registry.key] action create (skipped due to only_if) * template[/opt/gitlab/etc/gitlab-rails/gitlab-rails-rc] action create (up to date) * file[/opt/gitlab/embedded/service/gitlab-rails/.secret] action delete (up to date) * file[/var/opt/gitlab/gitlab-rails/etc/secret] action delete (up to date) * templatesymlink[Create a database.yml and create a symlink to Rails root] action create * template[/var/opt/gitlab/gitlab-rails/etc/database.yml] action create - update content in file /var/opt/gitlab/gitlab-rails/etc/database.yml from ba7f50 to 7669f9 --- /var/opt/gitlab/gitlab-rails/etc/database.yml 2019-02-18 15:09:10.816860281 +0100 +++ /var/opt/gitlab/gitlab-rails/etc/.chef-database20190218-19968-1si5m0y.yml 2019-02-18 15:15:00.685752303 +0100 @@ -10,7 +10,7 @@ pool: 10 username: "gitlab" password: - host: "/var/opt/gitlab/postgresql" + host: "/data/gitlab/postgresql/data" port: 5432 socket: sslmode: - restore selinux security context * link[Link /opt/gitlab/embedded/service/gitlab-rails/config/database.yml to /var/opt/gitlab/gitlab-rails/etc/database.yml] action create (up to date) * templatesymlink[Create a secrets.yml and create a symlink to Rails root] action create * template[/var/opt/gitlab/gitlab-rails/etc/secrets.yml] action create (up to date) * link[Link /opt/gitlab/embedded/service/gitlab-rails/config/secrets.yml to /var/opt/gitlab/gitlab-rails/etc/secrets.yml] action create (up to date) (up to date) * templatesymlink[Create a resque.yml and create a symlink to Rails root] action create * template[/var/opt/gitlab/gitlab-rails/etc/resque.yml] action create (up to date) * link[Link /opt/gitlab/embedded/service/gitlab-rails/config/resque.yml to /var/opt/gitlab/gitlab-rails/etc/resque.yml] action create (up to date) (up to date) * templatesymlink[Create a redis.cache.yml and create a symlink to Rails root] action create (skipped due to not_if) * templatesymlink[Create a redis.queues.yml and create a symlink to Rails root] action create (skipped due to not_if) * templatesymlink[Create a redis.shared_state.yml and create a symlink to Rails root] action create (skipped due to not_if) * templatesymlink[Create a smtp_settings.rb and create a symlink to Rails root] action create * template[/var/opt/gitlab/gitlab-rails/etc/smtp_settings.rb] action create (up to date) * link[Link /opt/gitlab/embedded/service/gitlab-rails/config/initializers/smtp_settings.rb to /var/opt/gitlab/gitlab-rails/etc/smtp_settings.rb] action create (up to date) (up to date) * templatesymlink[Create a gitlab.yml and create a symlink to Rails root] action create * template[/var/opt/gitlab/gitlab-rails/etc/gitlab.yml] action create (up to date) * link[Link /opt/gitlab/embedded/service/gitlab-rails/config/gitlab.yml to /var/opt/gitlab/gitlab-rails/etc/gitlab.yml] action create (up to date) (up to date) * templatesymlink[Create a rack_attack.rb and create a symlink to Rails root] action create * template[/var/opt/gitlab/gitlab-rails/etc/rack_attack.rb] action create (up to date) * link[Link /opt/gitlab/embedded/service/gitlab-rails/config/initializers/rack_attack.rb to /var/opt/gitlab/gitlab-rails/etc/rack_attack.rb] action create (up to date) (up to date) * templatesymlink[Create a gitlab_workhorse_secret and create a symlink to Rails root] action create * template[/var/opt/gitlab/gitlab-rails/etc/gitlab_workhorse_secret] action create (up to date) * link[Link /opt/gitlab/embedded/service/gitlab-rails/.gitlab_workhorse_secret to /var/opt/gitlab/gitlab-rails/etc/gitlab_workhorse_secret] action create (up to date) (up to date) * templatesymlink[Create a gitlab_shell_secret and create a symlink to Rails root] action create * template[/var/opt/gitlab/gitlab-rails/etc/gitlab_shell_secret] action create (up to date) * link[Link /opt/gitlab/embedded/service/gitlab-rails/.gitlab_shell_secret to /var/opt/gitlab/gitlab-rails/etc/gitlab_shell_secret] action create (up to date) (up to date) * templatesymlink[Create a gitlab_pages_secret and create a symlink to Rails root] action create (skipped due to only_if) * link[/opt/gitlab/embedded/service/gitlab-rails/config/initializers/relative_url.rb] action delete (up to date) * file[/var/opt/gitlab/gitlab-rails/etc/relative_url.rb] action delete (up to date) * env_dir[/opt/gitlab/etc/gitlab-rails/env] action create * directory[/opt/gitlab/etc/gitlab-rails/env] action create (up to date) * file[/opt/gitlab/etc/gitlab-rails/env/HOME] action create (up to date) * file[/opt/gitlab/etc/gitlab-rails/env/RAILS_ENV] action create (up to date) * file[/opt/gitlab/etc/gitlab-rails/env/LD_PRELOAD] action create (up to date) * file[/opt/gitlab/etc/gitlab-rails/env/SIDEKIQ_MEMORY_KILLER_MAX_RSS] action create (up to date) * file[/opt/gitlab/etc/gitlab-rails/env/BUNDLE_GEMFILE] action create (up to date) * file[/opt/gitlab/etc/gitlab-rails/env/PATH] action create (up to date) * file[/opt/gitlab/etc/gitlab-rails/env/ICU_DATA] action create (up to date) * file[/opt/gitlab/etc/gitlab-rails/env/PYTHONPATH] action create (up to date) * file[/opt/gitlab/etc/gitlab-rails/env/EXECJS_RUNTIME] action create (up to date) * file[/opt/gitlab/etc/gitlab-rails/env/TZ] action create (up to date) (up to date) * link[/opt/gitlab/embedded/service/gitlab-rails/tmp] action create (up to date) * link[/opt/gitlab/embedded/service/gitlab-rails/public/uploads] action create (up to date) * link[/opt/gitlab/embedded/service/gitlab-rails/log] action create (up to date) * link[/var/log/gitlab/gitlab-rails/sidekiq.log] action create (skipped due to not_if) * file[/opt/gitlab/embedded/service/gitlab-rails/db/schema.rb] action create (up to date) * remote_file[/var/opt/gitlab/gitlab-rails/VERSION] action create (up to date) * remote_file[/var/opt/gitlab/gitlab-rails/REVISION] action create (up to date) * file[/var/opt/gitlab/gitlab-rails/RUBY_VERSION] action create (up to date) * execute[clear the gitlab-rails cache] action nothing (skipped due to action :nothing) * file[/var/opt/gitlab/gitlab-rails/config.ru] action delete (up to date) Recipe: gitlab::selinux * execute[semodule -i /opt/gitlab/embedded/selinux/rhel/7/gitlab-7.2.0-ssh-keygen.pp] action rungitlab-7.2.0-ssh-keygen 1.0 (skipped due to not_if) * execute[semodule -i /opt/gitlab/embedded/selinux/rhel/7/gitlab-10.5.0-ssh-authorized-keys.pp] action rungitlab-10.5.0-ssh-authorized-keys 1.0 (skipped due to not_if) Recipe: gitlab::add_trusted_certs * directory[/etc/gitlab/trusted-certs] action create (up to date) * directory[/opt/gitlab/embedded/ssl/certs] action create (up to date) * file[/opt/gitlab/embedded/ssl/certs/README] action create (up to date) * ruby_block[Move existing certs and link to /opt/gitlab/embedded/ssl/certs] action run (skipped due to only_if) Recipe: gitlab::default * service[create a temporary unicorn service] action nothing (skipped due to action :nothing) * service[create a temporary puma service] action nothing (skipped due to action :nothing) * service[create a temporary sidekiq service] action nothing (skipped due to action :nothing) * service[create a temporary mailroom service] action nothing (skipped due to action :nothing) Recipe: runit::systemd * directory[/usr/lib/systemd/system] action create (up to date) * cookbook_file[/usr/lib/systemd/system/gitlab-runsvdir.service] action create (up to date) * file[/etc/systemd/system/default.target.wants/gitlab-runsvdir.service] action delete (up to date) * file[/etc/systemd/system/basic.target.wants/gitlab-runsvdir.service] action delete (up to date) * execute[systemctl daemon-reload] action nothing (skipped due to action :nothing) * execute[systemctl enable gitlab-runsvdir] action nothing (skipped due to action :nothing) * execute[systemctl start gitlab-runsvdir] action nothing (skipped due to action :nothing) Recipe: redis::enable * account[user and group for redis] action create * group[user and group for redis] action create (up to date) * linux_user[user and group for redis] action create (up to date) (up to date) * group[Socket group] action create (up to date) * directory[/var/opt/gitlab/redis] action create (up to date) * directory[/var/log/gitlab/redis] action create (up to date) * template[/var/opt/gitlab/redis/redis.conf] action create (up to date) * directory[/opt/gitlab/sv/redis] action create (up to date) * directory[/opt/gitlab/sv/redis/log] action create (up to date) * directory[/opt/gitlab/sv/redis/log/main] action create (up to date) * template[/opt/gitlab/sv/redis/run] action create (up to date) * template[/opt/gitlab/sv/redis/log/run] action create (up to date) * template[/var/log/gitlab/redis/config] action create (up to date) * ruby_block[reload redis svlogd configuration] action nothing (skipped due to action :nothing) * ruby_block[restart redis svlogd configuration] action nothing (skipped due to action :nothing) * file[/opt/gitlab/sv/redis/down] action delete (up to date) * link[/opt/gitlab/init/redis] action create (up to date) * link[/opt/gitlab/service/redis] action create (up to date) * ruby_block[supervise_redis_sleep] action run (skipped due to not_if) * directory[/opt/gitlab/sv/redis/supervise] action create (up to date) * directory[/opt/gitlab/sv/redis/log/supervise] action create (up to date) * file[/opt/gitlab/sv/redis/supervise/ok] action touch (skipped due to only_if) * file[/opt/gitlab/sv/redis/log/supervise/ok] action touch (skipped due to only_if) * file[/opt/gitlab/sv/redis/supervise/control] action touch (skipped due to only_if) * file[/opt/gitlab/sv/redis/log/supervise/control] action touch (skipped due to only_if) * service[redis] action nothing (skipped due to action :nothing) Recipe: postgresql::user * account[Postgresql user and group] action create * group[Postgresql user and group] action create (up to date) * linux_user[Postgresql user and group] action create ================================================================================ Error executing action `create` on resource 'linux_user[Postgresql user and group]' ================================================================================ Mixlib::ShellOut::ShellCommandFailed ------------------------------------ Expected process to exit with [0], but received '8' ---- Begin output of ["usermod", "-d", "/data/gitlab/postgresql/data", "gitlab-psql"] ---- STDOUT: STDERR: usermod: user gitlab-psql is currently used by process 17169 ---- End output of ["usermod", "-d", "/data/gitlab/postgresql/data", "gitlab-psql"] ---- Ran ["usermod", "-d", "/data/gitlab/postgresql/data", "gitlab-psql"] returned 8 Resource Declaration: --------------------- # In /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/account.rb 51: user new_resource.name do 52: username new_resource.username 53: shell new_resource.shell 54: home new_resource.home 55: uid new_resource.uid 56: gid new_resource.ugid 57: system new_resource.system 58: manage_home new_resource.manage_home 59: action :create 60: end 61: end Compiled Resource: ------------------ # Declared in /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/account.rb:51:in `block in class_from_file' linux_user("Postgresql user and group") do action [:create] default_guard_interpreter :default username "gitlab-psql" uid 15002 gid 15002 home "/data/gitlab/postgresql/data" shell "/bin/sh" system true iterations 27855 declared_type :user cookbook_name "postgresql" end System Info: ------------ chef_version=13.6.4 platform=redhat platform_version=7.5 ruby=ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-linux] program_name=/opt/gitlab/embedded/bin/chef-client executable=/opt/gitlab/embedded/bin/chef-client ================================================================================ Error executing action `create` on resource 'account[Postgresql user and group]' ================================================================================ Mixlib::ShellOut::ShellCommandFailed ------------------------------------ linux_user[Postgresql user and group] (/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/account.rb line 51) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected p ---- Begin output of ["usermod", "-d", "/data/gitlab/postgresql/data", "gitlab-psql"] ---- STDOUT: STDERR: usermod: user gitlab-psql is currently used by process 17169 ---- End output of ["usermod", "-d", "/data/gitlab/postgresql/data", "gitlab-psql"] ---- Ran ["usermod", "-d", "/data/gitlab/postgresql/data", "gitlab-psql"] returned 8 Resource Declaration: --------------------- # In /opt/gitlab/embedded/cookbooks/cache/cookbooks/postgresql/recipes/user.rb 20: account "Postgresql user and group" do 21: username postgresql_username 22: uid node['gitlab']['postgresql']['uid'] 23: ugid postgresql_username 24: groupname postgresql_group 25: gid node['gitlab']['postgresql']['gid'] 26: shell node['gitlab']['postgresql']['shell'] 27: home node['gitlab']['postgresql']['home'] 28: manage node['gitlab']['manage-accounts']['enable'] 29: end Compiled Resource: ------------------ # Declared in /opt/gitlab/embedded/cookbooks/cache/cookbooks/postgresql/recipes/user.rb:20:in `from_file' account("Postgresql user and group") do action [:create] default_guard_interpreter :default declared_type :account cookbook_name "postgresql" recipe_name "user" username "gitlab-psql" uid 15002 ugid "gitlab-psql" groupname "gitlab-psql" gid 15002 shell "/bin/sh" home "/data/gitlab/postgresql/data" manage true end System Info: ------------ chef_version=13.6.4 platform=redhat platform_version=7.5 ruby=ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-linux] program_name=/opt/gitlab/embedded/bin/chef-client executable=/opt/gitlab/embedded/bin/chef-client Recipe: gitlab::unicorn * service[unicorn] action restart - restart service service[unicorn] Recipe: gitlab::sidekiq * service[sidekiq] action restart - restart service service[sidekiq] Running handlers: There was an error running gitlab-ctl reconfigure: account[Postgresql user and group] (postgresql::user line 20) had an error: Mixlib::ShellOut::ShellCommandFailed: linux_user[Postgresql user and group] (/opt/gitlab/embedded/cookbooks/cache/ had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '8' ---- Begin output of ["usermod", "-d", "/data/gitlab/postgresql/data", "gitlab-psql"] ---- STDOUT: STDERR: usermod: user gitlab-psql is currently used by process 17169 ---- End output of ["usermod", "-d", "/data/gitlab/postgresql/data", "gitlab-psql"] ---- Ran ["usermod", "-d", "/data/gitlab/postgresql/data", "gitlab-psql"] returned 8 Running handlers complete Chef Client failed. 6 resources updated in 24 seconds
Output of checks
I am not sure what kind of checks I can make on this...
1 - If gitlab-ctl reconfigure depends on postgresql to be up, it needs to start it.
2 - There is no reason for gitlab-ctl reconfigure to run "usermod -d" if it already has the correct settings.
Results of GitLab environment info
Expand for output related to GitLab environment info
System information System: Current User: git Using RVM: no Ruby Version: 2.5.3p105 Gem Version: 2.7.6 Bundler Version:1.16.6 Rake Version: 12.3.2 Redis Version: 3.2.12 Git Version: 2.18.1 Sidekiq Version:5.2.3 Go Version: unknown
GitLab information Version: 11.7.3 Revision: 3424476 Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: postgresql URL: https://dev-emcode.siemens.com HTTP Clone URL: https://dev-emcode.siemens.com/some-group/some-project.git SSH Clone URL: git@dev-emcode.siemens.com:some-group/some-project.git Using LDAP: yes Using Omniauth: no
GitLab Shell Version: 8.4.4 Repository storage paths:
- default: /data/gitlab/git/repositories Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks Git: /opt/gitlab/embedded/bin/git
Results of GitLab application Check
Checks made on the current working gitlab installation, i.e. with "data_dir"
Expand for output related to the GitLab application check
Checking GitLab subtasks ...
Checking GitLab Shell ...
GitLab Shell: ... GitLab Shell version >= 8.4.4 ? ... OK (8.4.4) Running /opt/gitlab/embedded/service/gitlab-shell/bin/check Check GitLab API access: OK Redis available via internal API: OK
Access to /var/opt/gitlab/.ssh/authorized_keys: OK gitlab-shell self-check successful
Checking GitLab Shell ... Finished
Checking Gitaly ...
Gitaly: ... default ... OK
Checking Gitaly ... Finished
Checking Sidekiq ...
Sidekiq: ... Running? ... yes Number of Sidekiq processes ... 1
Checking Sidekiq ... Finished
Checking Incoming Email ...
Incoming Email: ... Reply by email is disabled in config/gitlab.yml
Checking Incoming Email ... Finished
Checking LDAP ...
LDAP: ... Server: ldapmain LDAP authentication... Success LDAP users with access to your GitLab server (only showing the first 100 results) DN: cn=zimmermann christian z001s1cc,ou=users,ou=_central,ou=79de000,ou=79de,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: christian.cz.zimmermann@siemens.com DN: cn=uramkumarath sujitkumar z000crby,ou=users,ou=_central,ou=0min000,ou=0min,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: sujitkumar.u@siemens.com DN: cn=gopi krishna b. z0015sfh,ou=users,ou=_central,ou=0min000,ou=0min,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: b.gopikrishna@siemens.com DN: cn=nb2cm202,ou=a,ou=usersfunctional,ou=_central,ou=ra009,dc=ad001,dc=siemens,dc=net userPrincipalName: NB2CM202@ad001.siemens.net DN: cn=bruhn matthias deb00ac9,ou=users,ou=_central,ou=79de000,ou=79de,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: matthias.bruhn@siemens.com DN: cn=gutwirth thomas z002uuuu,ou=users,ou=_central,ou=79de000,ou=79de,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: thomas.gutwirth@siemens.com DN: cn=arkhangelskiy oleg arkha00o,ou=users,ou=_central,ou=76us000,ou=76us,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: oleg.arkhangelskiy@siemens.com DN: cn=sharma bhawna z001kwwk,ou=users,ou=_central,ou=0min000,ou=0min,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: bhawna.sharma@siemens.com DN: cn=ward alfred stywami1,ou=users,ou=_central,ou=76us000,ou=76us,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: michaelward@siemens.com DN: cn=schlanser aaron schla00a,ou=users,ou=_central,ou=76us000,ou=76us,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: aaron.schlanser@siemens.com DN: cn=graham justin mspgrju2,ou=users,ou=_central,ou=76us000,ou=76us,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: justin.graham@siemens.com DN: cn=orduian robert z001s76d,ou=users,ou=_central,ou=86mx001,ou=86mx,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: robert.orduian@siemens.com DN: cn=ganatra vaibhav ganat00v,ou=compliance002,ou=users,ou=_central,ou=compliance,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: ganat00v@ad001.siemens.net DN: cn=methi arnt-jonny nor03388,ou=users,ou=_central,ou=87no000,ou=87no,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: arnt.methi@siemens.com DN: cn=brdaric boris z003mx4k,ou=users,ou=_central,ou=15rs000,ou=15rs,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: boris.brdaric.ext@siemens.com DN: cn=gogu venkata koteswara rao z003e56y,ou=users,ou=_central,ou=0min000,ou=0min,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: venkata.gogu@siemens.com DN: cn=pradeep k. s. z00228hy,ou=users,ou=_central,ou=0min000,ou=0min,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: pradeep.ks@siemens.com DN: cn=chakraborty aninda z002e5bh,ou=users,ou=_central,ou=0min000,ou=0min,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: aninda.chakraborty@siemens.com DN: cn=ganesh vikas z003f5cw,ou=users,ou=_central,ou=0min000,ou=0min,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: vikas.ganesh@siemens.com DN: cn=chukka thirumala babu z000enyh,ou=users,ou=_central,ou=0min000,ou=0min,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: thirumala.babu@siemens.com DN: cn=b thushara z002faej,ou=users,ou=_central,ou=0min000,ou=0min,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: thushara.b@siemens.com DN: cn=loesel soeren deb00b22,ou=users,ou=_central,ou=79de000,ou=79de,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: soeren.loesel@siemens.com DN: cn=sahin celal tr1s4323,ou=users,ou=_central,ou=79de000,ou=79de,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: celal.sahin@siemens.com DN: cn=doppler helmut atw105e4,ou=users,ou=_central,ou=15at000,ou=15at,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: helmut.doppler@siemens.com DN: cn=uenver halil caglar z001w95y,ou=users,ou=_central,ou=06de000,ou=06de,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: caglar.unver@siemens.com DN: cn=v s kishore z003pzjr,ou=users,ou=_central,ou=0min000,ou=0min,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: kishore.vs@siemens.com DN: cn=zuehlcke florian deb00b73,ou=users,ou=_central,ou=79de000,ou=79de,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: florian.zuehlcke@siemens.com DN: cn=boluk gokhan tr1b4327,ou=users,ou=_central,ou=15tr000,ou=15tr,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: gokhan.boluk@siemens.com DN: cn=reisser thomas deba8gw0,ou=users,ou=_central,ou=79de000,ou=79de,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: thomas.reisser@siemens.com DN: cn=wilimsky michael deb00b60,ou=users,ou=_central,ou=79de000,ou=79de,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: michael.wilimsky@siemens.com DN: cn=kalegari diego humberto z000pxht,ou=users,ou=_central,ou=84br001,ou=84br,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: diego.kalegari@siemens.com DN: cn=fuchs erich atw108s6,ou=users,ou=_central,ou=15at000,ou=15at,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: erich.fuchs@siemens.com DN: cn=matos bruna krasota z00345uy,ou=users,ou=_central,ou=84br001,ou=84br,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: z00345uy@ad001.siemens.net DN: cn=beyer gerhard deba27i3,ou=users,ou=_central,ou=79de000,ou=79de,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: gerhard.beyer@siemens.com DN: cn=krause eric mspkrer2,ou=users,ou=_central,ou=76us000,ou=76us,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: eric.krause@siemens.com DN: cn=schmidt claus-juergen deb00a00,ou=users,ou=_central,ou=79de000,ou=79de,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: claus-juergen.schmidt@siemens.com DN: cn=sachsenhauser bernd deba27v3,ou=users,ou=_central,ou=79de000,ou=79de,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: bernd.sachsenhauser@siemens.com DN: cn=kritscha willibald atw10nn7,ou=users,ou=_central,ou=15at000,ou=15at,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: willibald.kritscha@siemens.com DN: cn=lugmayr hubert atw10r50,ou=users,ou=_central,ou=15at000,ou=15at,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: hubert.lugmayr@siemens.com DN: cn=glatzl andreas atw10a18,ou=users,ou=_central,ou=15at000,ou=15at,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: andreas.k.glatzl@siemens.com DN: cn=huettner andreas deb00ah3,ou=users,ou=_central,ou=40de000,ou=40de,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: huettner.andreas@siemens.com DN: cn=kroenig arnd nb22a500,ou=users,ou=_central,ou=79de000,ou=79de,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: arnd.kroenig@siemens.com DN: cn=vogl thomas deb00a08,ou=users,ou=_central,ou=79de000,ou=79de,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: vogl@siemens.com DN: cn=ardic serpen burcu tr1r4323,ou=users,ou=_central,ou=15tr000,ou=15tr,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: burcu.ardic@siemens.com DN: cn=kranzl thomas atw10n80,ou=users,ou=_central,ou=15at000,ou=15at,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: thomas.kranzl@siemens.com DN: cn=kovacs istvan z003mwyr,ou=users,ou=_central,ou=15hu000,ou=15hu,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: kovacs@siemens.com DN: cn=villanueva suarez roberto alejandro z0030ttr,ou=users,ou=_central,ou=85co001,ou=85co,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: roberto.villanueva_s@siemens.com DN: cn=kolberg judith kolbergj,ou=users,ou=_central,ou=79de000,ou=79de,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: judith.kolberg@siemens.com DN: cn=erlbeck stefan z002bdpt,ou=users,ou=_central,ou=79de000,ou=79de,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: stefan.erlbeck@siemens.com DN: cn=seiss christian deb00av0,ou=users,ou=_central,ou=79de000,ou=79de,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: christian.seiss@siemens.com DN: cn=fontana timothy mspfoti2,ou=users,ou=_central,ou=76us000,ou=76us,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: timothy.fontana@siemens.com DN: cn=sonmez sercan tr1o4323,ou=users,ou=_central,ou=15tr000,ou=15tr,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: sercan.sonmez@siemens.com DN: cn=ozyildirim isa tr1o4272,ou=users,ou=_central,ou=15tr000,ou=15tr,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: isa.ozyildirim@siemens.com DN: cn=andriolo rodrigo farias z0034ecd,ou=users,ou=_central,ou=84br001,ou=84br,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: rodrigo.farias@siemens.com DN: cn=ressl andreas atw10zy6,ou=users,ou=_central,ou=15at000,ou=15at,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: andreas.ressl@siemens.com DN: cn=stankic nemanja z003sxxa,ou=users,ou=_central,ou=15rs000,ou=15rs,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: nemanja.stankic.ext@siemens.com DN: cn=patriarca aline correa z0032p8v,ou=users,ou=_central,ou=84br001,ou=84br,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: aline.correa@siemens.com DN: cn=de oliveira alessandro luiz z000s6vt,ou=users,ou=_central,ou=84br001,ou=84br,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: alessandro.oliveira@siemens.com DN: cn=hinrichs andrea z001pz7k,ou=users,ou=_central,ou=79de000,ou=79de,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: andrea.hinrichs@siemens.com DN: cn=rindal lars nor01898,ou=users,ou=_central,ou=87no000,ou=87no,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: lars.rindal@siemens.com DN: cn=faehrmann jens zzzzzaqy,ou=users,ou=_central,ou=79de000,ou=79de,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: jens.faehrmann@siemens.com DN: cn=arias villanueva jaime andres deba28e3,ou=users,ou=_central,ou=79de000,ou=79de,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: andres.arias@siemens.com DN: cn=wellman scott mspwesc2,ou=users,ou=_central,ou=76us000,ou=76us,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: scott.wellman@siemens.com DN: cn=pradhan ravi mspprra2,ou=users,ou=_central,ou=76us000,ou=76us,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: ravi.pradhan@siemens.com DN: cn=saxena akanksha z003h1vr,ou=users,ou=_central,ou=0min000,ou=0min,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: saxena.akanksha@siemens.com DN: cn=wolff peter atw10tk7,ou=users,ou=_central,ou=15at000,ou=15at,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: peter.a.wolff@siemens.com DN: cn=karate hemantkumar z0033hvr,ou=users,ou=_central,ou=0min000,ou=0min,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: hemantkumar.karate@siemens.com DN: cn=babu mahendra z003t2jn,ou=users,ou=_central,ou=0min000,ou=0min,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: mahendra.babu@siemens.com DN: cn=sivadas kamala z0038f1s,ou=users,ou=_central,ou=0min000,ou=0min,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: kamala.sivadas@siemens.com DN: cn=balasubramanian prakash z0034yvc,ou=users,ou=_central,ou=0min000,ou=0min,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: prakash.balasubramanian@siemens.com DN: cn=g v mrudula z0030nsm,ou=users,ou=_central,ou=0min000,ou=0min,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: mrudula.gv@siemens.com DN: cn=kurian ancy z002da1a,ou=users,ou=_central,ou=0min000,ou=0min,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: ancy.kurian@siemens.com DN: cn=hadlich eduardo bruno z0032r4e,ou=users,ou=_central,ou=84br001,ou=84br,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: eduardo.hadlich@siemens.com DN: cn=boehm guenter zzzzz897,ou=users,ou=_central,ou=79de000,ou=79de,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: guenter.boehm@siemens.com DN: cn=woehrer andreas atw11w88,ou=users,ou=_central,ou=15at000,ou=15at,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: andreas.woehrer@siemens.com DN: cn=prabhu sanath z003711p,ou=users,ou=_central,ou=0min000,ou=0min,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: sanath.prabhu@siemens.com DN: cn=awaji sheetal z002zb5d,ou=users,ou=_central,ou=0min000,ou=0min,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: sheetal.awaji@siemens.com DN: cn=reischboeck markus deb00av5,ou=users,ou=_central,ou=79de000,ou=79de,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: markus.reischboeck@siemens.com DN: cn=abraham renju ann z00362rp,ou=users,ou=_central,ou=0min000,ou=0min,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: renju.abraham@siemens.com DN: cn=kalliparambil vinod z0037x8p,ou=users,ou=_central,ou=0min000,ou=0min,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: vinod.kalliparambil@siemens.com DN: cn=rohan bernard z003fvfz,ou=users,ou=_central,ou=0min000,ou=0min,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: bernard.rohan@siemens.com DN: cn=u h siddesh z002u94d,ou=users,ou=_central,ou=0min000,ou=0min,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: siddesh.h@siemens.com DN: cn=kotabagi rohith m z002te1p,ou=users,ou=_central,ou=0min000,ou=0min,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: rohith.kotabagi@siemens.com DN: cn=kandukuri suresh babu z002d66a,ou=users,ou=_central,ou=0min000,ou=0min,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: suresh.kandukuri@siemens.com DN: cn=kundu sumit z003k25m,ou=users,ou=_central,ou=0min000,ou=0min,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: sumit.kundu@siemens.com DN: cn=hampel christoph z002p6bj,ou=users,ou=_central,ou=79de000,ou=79de,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: christoph.hampel@siemens.com DN: cn=chartier gerald deba28i5,ou=users,ou=_central,ou=79de000,ou=79de,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: chartier.gerald@siemens.com DN: cn=schwarzer manuel z002bvne,ou=users,ou=_central,ou=79de000,ou=79de,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: manuel.schwarzer@siemens.com DN: cn=zhao kun z003meay,ou=users,ou=_central,ou=76us000,ou=76us,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: kun.kz.zhao@siemens.com DN: cn=bonniwell jed bonni00j,ou=compliance002,ou=users,ou=_central,ou=compliance,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: bonni00j@ad001.siemens.net DN: cn=schulte robert z003k0am,ou=users,ou=_central,ou=76us000,ou=76us,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: robert-schulte@siemens.com DN: cn=mogalla christian z000r8tv,ou=users,ou=_central,ou=79de000,ou=79de,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: christian.mogalla@siemens.com DN: cn=kiesel yvonne z003kpxj,ou=users,ou=_central,ou=79de000,ou=79de,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: yvonne.kiesel@siemens.com DN: cn=waegner janine z0035zyc,ou=users,ou=_central,ou=79de000,ou=79de,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: janine.waegner@siemens.com DN: cn=qiu bin z003meph,ou=compliance002,ou=users,ou=_central,ou=compliance,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: z003meph@ad001.siemens.net DN: cn=wendt sebastian z003atkm,ou=users,ou=_central,ou=79de000,ou=79de,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: sebastian.wendt@siemens.com DN: cn=nichtawitz florian z003mhvh,ou=users,ou=_central,ou=15at000,ou=15at,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: florian.nichtawitz@siemens.com DN: cn=saft matthias mch01180,ou=users,ou=_central,ou=20de001,ou=20de,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: matthias.saft@siemens.com DN: cn=varela jose carlos chavajc0,ou=users,ou=_central,ou=32ch001,ou=32ch,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: varela.carlos@siemens.com DN: cn=meidl markus atw10sr4,ou=users,ou=_central,ou=15at000,ou=15at,ou=ra006,dc=ad001,dc=siemens,dc=net userPrincipalName: markus.meidl@omnetric.com
Checking LDAP ... Finished
Checking GitLab App ...
Git configured correctly? ... yes Database config exists? ... yes All migrations up? ... yes Database contains orphaned GroupMembers? ... no GitLab config exists? ... yes GitLab config up to date? ... yes Log directory writable? ... yes Tmp directory writable? ... yes Uploads directory exists? ... yes Uploads directory has correct permissions? ... yes Uploads directory tmp has correct permissions? ... yes Init script exists? ... skipped (omnibus-gitlab has no init script) Init script up-to-date? ... skipped (omnibus-gitlab has no init script) Projects have namespace: ... 30/1 ... yes 104/2 ... yes 30/7 ... yes 30/8 ... yes 2/10 ... yes 30/11 ... yes 2/15 ... yes 19/16 ... yes 4/22 ... yes 23/24 ... yes 22/25 ... yes 47/26 ... yes 45/27 ... yes 25/28 ... yes 9/29 ... yes 52/30 ... yes 54/31 ... yes 49/32 ... yes 46/34 ... yes 24/35 ... yes 55/36 ... yes 48/37 ... yes 105/38 ... yes 19/39 ... yes 33/40 ... yes 19/41 ... yes 21/42 ... yes 50/43 ... yes 51/45 ... yes 53/46 ... yes 28/47 ... yes 57/48 ... yes 21/49 ... yes 22/50 ... yes 57/51 ... yes 59/52 ... yes 59/53 ... yes 59/54 ... yes 59/55 ... yes 59/56 ... yes 104/57 ... yes 11/59 ... yes 27/60 ... yes 2/61 ... yes 2/62 ... yes 83/63 ... yes 2/64 ... yes 2/65 ... yes 2/66 ... yes 2/68 ... yes 2/69 ... yes 7/70 ... yes 67/74 ... yes 70/75 ... yes 70/76 ... yes 70/77 ... yes 70/78 ... yes 70/79 ... yes 70/80 ... yes 70/81 ... yes 70/82 ... yes 70/83 ... yes 70/84 ... yes 70/86 ... yes 70/87 ... yes 70/88 ... yes 70/89 ... yes 70/90 ... yes 70/91 ... yes 70/93 ... yes 70/94 ... yes 70/95 ... yes 70/96 ... yes 70/98 ... yes 70/100 ... yes 15/105 ... yes 2/110 ... yes 106/111 ... yes 79/112 ... yes 91/113 ... yes 91/114 ... yes 91/115 ... yes 91/116 ... yes 91/118 ... yes 91/119 ... yes 91/120 ... yes 79/121 ... yes 91/122 ... yes 79/123 ... yes 2/124 ... yes 82/125 ... yes 91/128 ... yes 91/129 ... yes 2/130 ... yes 91/132 ... yes 19/134 ... yes 19/135 ... yes 91/139 ... yes 19/143 ... yes 80/145 ... yes 85/146 ... yes 74/147 ... yes 92/148 ... yes 93/149 ... yes 84/150 ... yes 94/151 ... yes 95/155 ... yes 77/156 ... yes 88/157 ... yes 78/158 ... yes 73/161 ... yes 75/163 ... yes 86/164 ... yes 94/165 ... yes 73/167 ... yes 73/169 ... yes 79/170 ... yes 79/171 ... yes 79/172 ... yes 99/174 ... yes 99/175 ... yes 99/176 ... yes 99/177 ... yes 99/178 ... yes 99/179 ... yes 99/180 ... yes 108/183 ... yes 108/184 ... yes 109/186 ... yes 109/187 ... yes 110/189 ... yes 110/190 ... yes 111/191 ... yes 111/192 ... yes 112/193 ... yes 113/194 ... yes 113/195 ... yes 114/196 ... yes 115/197 ... yes 102/198 ... yes 102/199 ... yes 102/200 ... yes 102/201 ... yes 102/202 ... yes 102/203 ... yes 102/204 ... yes 117/205 ... yes 117/206 ... yes 117/207 ... yes 117/208 ... yes 117/209 ... yes 117/210 ... yes 118/211 ... yes 118/212 ... yes 118/213 ... yes 118/214 ... yes 118/215 ... yes 118/216 ... yes 118/217 ... yes 118/218 ... yes 118/219 ... yes 118/220 ... yes 119/221 ... yes 119/222 ... yes 119/223 ... yes 119/224 ... yes 119/225 ... yes 119/226 ... yes 116/227 ... yes 30/228 ... yes 15/239 ... yes 15/242 ... yes 15/243 ... yes 79/245 ... yes 121/246 ... yes 122/247 ... yes 123/248 ... yes 125/250 ... yes 126/251 ... yes 127/252 ... yes 116/254 ... yes 129/255 ... yes 124/258 ... yes 75/260 ... yes 130/261 ... yes 75/262 ... yes 75/263 ... yes 75/264 ... yes 75/266 ... yes 75/267 ... yes 75/269 ... yes 75/270 ... yes 109/271 ... yes 75/275 ... yes 75/276 ... yes 75/277 ... yes 75/280 ... yes 75/281 ... yes 75/282 ... yes 75/283 ... yes 110/284 ... yes 75/285 ... yes 75/286 ... yes 75/287 ... yes 75/288 ... yes 131/290 ... yes 108/291 ... yes 99/292 ... yes 132/293 ... yes 132/294 ... yes 107/295 ... yes 133/296 ... yes 134/297 ... yes 135/298 ... yes 136/299 ... yes 137/300 ... yes 121/301 ... yes 15/304 ... yes 27/305 ... yes Redis version >= 2.8.0? ... yes Ruby version >= 2.3.5 ? ... yes (2.5.3) Git version >= 2.18.0 ? ... yes (2.18.1) Git user has default SSH configuration? ... yes Active users: ... 37
Checking GitLab App ... Finished
Checking GitLab subtasks ... Finished