gitlab在安装完成后出现问题

  • Choerodon平台版本: 0.10.0

请帮忙分析一下

 kubectl get po -n c7n-system
NAME                                         READY     STATUS             RESTARTS   AGE
agile-service-575d8dc4b8-kpjk6               1/1       Running            0          7h
api-gateway-84cdcd47b4-rhl42                 1/1       Running            0          7h
asgard-service-6d96b6849d-n5qrl              1/1       Running            0          7h
c7n-mysql-64746b49cf-gmztn                   1/1       Running            0          7h
c7n-redis-5cf967b4b7-25cd2                   1/1       Running            0          7h
chartmuseum-chartmuseum-864cb9cc5d-jvflz     1/1       Running            0          7h
choerodon-front-655f7999f-m2ghc              1/1       Running            0          7h
config-server-665bffc98b-jzqm2               1/1       Running            0          7h
devops-service-56848df947-8xcgn              1/1       Running            0          7h
dnsmasq-5f5777c999-lt5c7                     1/1       Running            0          8h
file-service-b5cf6c4c9-hkvzc                 1/1       Running            0          7h
gateway-helper-7dcf5c6788-44mw9              1/1       Running            0          7h
gitlab-5cb48ccc48-d2p4z                      1/1       Running            0          7h
gitlab-68c56cb755-94ncn                      0/1       CrashLoopBackOff   78         7h
gitlab-mysql-7f9df57f66-bf8zl                1/1       Running            0          7h
gitlab-redis-6c6cd6c7f-ckr2p                 1/1       Running            0          7h
gitlab-service-7bbbdb8c5-pqbp6               1/1       Running            0          7h
harbor-harbor-adminserver-848698c4cb-fh4rp   1/1       Running            1          7h
harbor-harbor-database-0                     1/1       Running            0          7h
harbor-harbor-jobservice-8789bb4b-mvwbf      1/1       Running            1          7h
harbor-harbor-registry-786bc87b47-wl2ld      1/1       Running            0          7h
harbor-harbor-ui-59df9446f8-nttql            1/1       Running            2          7h
harbor-redis-master-0                        1/1       Running            0          7h
iam-service-6cb9d9f75f-qzv4v                 1/1       Running            0          7h
kafka-0                                      1/1       Running            0          7h
kafka-1                                      1/1       Running            0          7h
kafka-2                                      1/1       Running            0          7h
manager-service-ccb49bcb4-5dgjl              1/1       Running            0          7h
minio-c4c85b847-wc7pl                        1/1       Running            0          7h
nfs-provisioner-6767bdd874-5g2zl             1/1       Running            0          8h
notify-service-5bd96c594d-bgwr4              1/1       Running            0          7h
oauth-server-84b85f95b4-v2sn4                1/1       Running            0          7h
register-server-5c9977ff4-nn5qd              1/1       Running            0          7h
test-manager-service-6f75659689-sv9f8        1/1       Running            0          7h
wiki-service-54f7b5779-kg89v                 1/1       Running            0          7h
xwiki-6947fbd7f4-dnlsq                       1/1       Running            0          7h
zookeeper-0                                  1/1       Running            0          7h
zookeeper-1                                  1/1       Running            0          7h
zookeeper-2                                  1/1       Running            0          7h

kubectl logs -f gitlab-68c56cb755-94ncn -n c7n-system

Installing configmap gitlab.rb config...
 * Restarting periodic command scheduler cron
 * Stopping periodic command scheduler cron
   ...done.
 * Starting periodic command scheduler cron
   ...done.
Configuring gitlab::backups::schedule...
Thank you for using GitLab Docker Image!
Current version: gitlab-ce=11.0.1-ce.0

Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file
And restart this container to reload settings.
To do it use docker exec:

  docker exec -it gitlab vim /etc/gitlab/gitlab.rb
  docker restart gitlab

For a comprehensive list of configuration options please see the Omnibus GitLab readme
https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md

If this container fails to start due to permission problems try to fix it by executing:

  docker exec -it gitlab update-permissions
  docker restart gitlab

Preparing services...
Starting services...
Configuring GitLab package...
/opt/gitlab/embedded/bin/runsvdir-start: line 37: /proc/sys/fs/file-max: Read-only file system
JSON file with existing configuration not found inside /opt/gitlab/embedded/nodes.
Skipping config check.
gitlab preinstall:
gitlab preinstall: This node does not appear to be running a database
gitlab preinstall: Skipping version check, if you think this is an error exit now
gitlab preinstall:
Configuring GitLab...
Starting Chef Client, version 13.6.4
resolving cookbooks for run list: ["gitlab"]
Synchronizing Cookbooks:
  - gitlab (0.0.1)
  - package (0.1.0)
  - postgresql (0.1.0)
  - registry (0.1.0)
  - mattermost (0.1.0)
  - consul (0.0.0)
  - gitaly (0.1.0)
  - letsencrypt (0.1.0)
  - nginx (0.1.0)
  - runit (0.14.2)
  - acme (3.1.0)
  - crond (0.1.0)
  - compat_resource (12.19.0)
Installing Cookbook Gems:
Compiling Cookbooks...
Recipe: gitlab::default
  * directory[/etc/gitlab] action create (up to date)
  Converging 304 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
    - create new directory /opt/gitlab/embedded/etc
    - change mode from '' to '0755'
    - change owner from '' to 'root'
    - change group from '' to 'root'
  * template[/opt/gitlab/embedded/etc/gitconfig] action create
    - create new file /opt/gitlab/embedded/etc/gitconfig
    - update content in file /opt/gitlab/embedded/etc/gitconfig from none to 987af3
    --- /opt/gitlab/embedded/etc/gitconfig      2018-10-28 09:29:33.233240107 +0800
    +++ /opt/gitlab/embedded/etc/.chef-gitconfig20181028-87-1288s4u     2018-10-28 09:29:33.233240107 +0800
    @@ -1 +1,11 @@
    +[pack]
    +  threads = 1
    +[receive]
    +  fsckObjects = true
    +advertisePushOptions = true
    +[repack]
    +  writeBitmaps = true
    +[transfer]
    +  hideRefs=^refs/tmp/
    +hideRefs=^refs/keep-around/
    - change mode from '' to '0755'
Recipe: gitlab::web-server
  * account[Webserver user and group] action create (up to date)
Recipe: gitlab::users
  * directory[/var/opt/gitlab] action create (up to date)
  * account[GitLab user and group] action create (up to date)
  * template[/var/opt/gitlab/.gitconfig] action create
    - change group from '99' to 'git'
  * 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
      - create symlink at /opt/gitlab/embedded/service/gitlab-shell/config.yml to /var/opt/gitlab/gitlab-shell/config.yml

  * link[/opt/gitlab/embedded/service/gitlab-shell/.gitlab_shell_secret] action create
    - create symlink at /opt/gitlab/embedded/service/gitlab-shell/.gitlab_shell_secret to /opt/gitlab/embedded/service/gitlab-rails/.gitlab_shell_secret
  * 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 (skipped due to only_if)
Recipe: gitlab::gitlab-rails
  * storage_directory[/var/opt/gitlab/git-data] action create
    * ruby_block[directory resource: /var/opt/gitlab/git-data] action run (skipped due to not_if)
     (up to date)
  * storage_directory[/var/opt/gitlab/git-data/repositories] action create
    * ruby_block[directory resource: /var/opt/gitlab/git-data/repositories] action run (skipped due to not_if)
     (up to date)
  * directory[/var/log/gitlab] action create (up to date)
  * storage_directory[/var/opt/gitlab/gitlab-rails/shared] action create
    * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared] action run
      - execute the ruby block directory resource: /var/opt/gitlab/gitlab-rails/shared

  * storage_directory[/var/opt/gitlab/gitlab-rails/shared/artifacts] action create
    * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/artifacts] action run (skipped due to not_if)
     (up to date)
  * storage_directory[/var/opt/gitlab/gitlab-rails/shared/lfs-objects] action create
    * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/lfs-objects] action run (skipped due to not_if)
     (up to date)
  * storage_directory[/var/opt/gitlab/gitlab-rails/uploads] action create
    * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/uploads] action run (skipped due to not_if)
     (up to date)
  * storage_directory[/var/opt/gitlab/gitlab-ci/builds] action create
    * ruby_block[directory resource: /var/opt/gitlab/gitlab-ci/builds] action run (skipped due to not_if)
     (up to date)
  * storage_directory[/var/opt/gitlab/gitlab-rails/shared/cache] action create
    * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/cache] action run (skipped due to not_if)
     (up to date)
  * storage_directory[/var/opt/gitlab/gitlab-rails/shared/tmp] action create
    * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/tmp] action run (skipped due to not_if)
     (up to date)
  * storage_directory[/var/opt/gitlab/gitlab-rails/shared/pages] action create
    * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/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
    - create new directory /opt/gitlab/etc/gitlab-rails
    - change mode from '' to '0700'
    - change owner from '' to 'git'
  * 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[/var/opt/gitlab/backups] action create
    * ruby_block[directory resource: /var/opt/gitlab/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
    - create new file /opt/gitlab/etc/gitlab-rails/gitlab-rails-rc
    - update content in file /opt/gitlab/etc/gitlab-rails/gitlab-rails-rc from none to 15c7d9
    --- /opt/gitlab/etc/gitlab-rails/gitlab-rails-rc    2018-10-28 09:29:34.243277566 +0800
    +++ /opt/gitlab/etc/gitlab-rails/.chef-gitlab-rails-rc20181028-87-bb7k7m    2018-10-28 09:29:34.243277566 +0800
    @@ -1 +1,2 @@
    +gitlab_user='git'
  * 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 (up to date)
    * link[Link /opt/gitlab/embedded/service/gitlab-rails/config/database.yml to /var/opt/gitlab/gitlab-rails/etc/database.yml] action create
      - create symlink at /opt/gitlab/embedded/service/gitlab-rails/config/database.yml to /var/opt/gitlab/gitlab-rails/etc/database.yml

  * 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
      - create symlink at /opt/gitlab/embedded/service/gitlab-rails/config/secrets.yml to /var/opt/gitlab/gitlab-rails/etc/secrets.yml

  * 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
      - create symlink at /opt/gitlab/embedded/service/gitlab-rails/config/resque.yml to /var/opt/gitlab/gitlab-rails/etc/resque.yml

  * 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 aws.yml and create a symlink to Rails root] action delete
    * file[/var/opt/gitlab/gitlab-rails/etc/aws.yml] action delete (up to date)
    * link[/opt/gitlab/embedded/service/gitlab-rails/config/aws.yml] action delete (up to date)
     (up to date)
  * templatesymlink[Create a smtp_settings.rb and create a symlink to Rails root] action delete
    * file[/var/opt/gitlab/gitlab-rails/etc/smtp_settings.rb] action delete (up to date)
    * link[/opt/gitlab/embedded/service/gitlab-rails/config/initializers/smtp_settings.rb] action delete (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
      - create symlink at /opt/gitlab/embedded/service/gitlab-rails/config/gitlab.yml to /var/opt/gitlab/gitlab-rails/etc/gitlab.yml

  * 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
      - create symlink at /opt/gitlab/embedded/service/gitlab-rails/config/initializers/rack_attack.rb to /var/opt/gitlab/gitlab-rails/etc/rack_attack.rb

  * 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
      - create symlink at /opt/gitlab/embedded/service/gitlab-rails/.gitlab_workhorse_secret to /var/opt/gitlab/gitlab-rails/etc/gitlab_workhorse_secret

  * 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
      - create symlink at /opt/gitlab/embedded/service/gitlab-rails/.gitlab_shell_secret to /var/opt/gitlab/gitlab-rails/etc/gitlab_shell_secret

  * 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
      - create new directory /opt/gitlab/etc/gitlab-rails/env
    * file[/opt/gitlab/etc/gitlab-rails/env/HOME] action create
      - create new file /opt/gitlab/etc/gitlab-rails/env/HOME
      - update content in file /opt/gitlab/etc/gitlab-rails/env/HOME from none to 205bb9
      --- /opt/gitlab/etc/gitlab-rails/env/HOME 2018-10-28 09:29:34.368282202 +0800
      +++ /opt/gitlab/etc/gitlab-rails/env/.chef-HOME20181028-87-jx1whd 2018-10-28 09:29:34.368282202 +0800
      @@ -1 +1,2 @@
      +/var/opt/gitlab
    * file[/opt/gitlab/etc/gitlab-rails/env/RAILS_ENV] action create
      - create new file /opt/gitlab/etc/gitlab-rails/env/RAILS_ENV
      - update content in file /opt/gitlab/etc/gitlab-rails/env/RAILS_ENV from none to ab8e18
      --- /opt/gitlab/etc/gitlab-rails/env/RAILS_ENV    2018-10-28 09:29:34.370282276 +0800
      +++ /opt/gitlab/etc/gitlab-rails/env/.chef-RAILS_ENV20181028-87-16ge78x   2018-10-28 09:29:34.370282276 +0800
      @@ -1 +1,2 @@
      +production
    * file[/opt/gitlab/etc/gitlab-rails/env/LD_PRELOAD] action create
      - create new file /opt/gitlab/etc/gitlab-rails/env/LD_PRELOAD
      - update content in file /opt/gitlab/etc/gitlab-rails/env/LD_PRELOAD from none to f79114
      --- /opt/gitlab/etc/gitlab-rails/env/LD_PRELOAD   2018-10-28 09:29:34.372282350 +0800
      +++ /opt/gitlab/etc/gitlab-rails/env/.chef-LD_PRELOAD20181028-87-newt55   2018-10-28 09:29:34.372282350 +0800
      @@ -1 +1,2 @@
      +/opt/gitlab/embedded/lib/libjemalloc.so
    * file[/opt/gitlab/etc/gitlab-rails/env/SIDEKIQ_MEMORY_KILLER_MAX_RSS] action create
      - create new file /opt/gitlab/etc/gitlab-rails/env/SIDEKIQ_MEMORY_KILLER_MAX_RSS
      - update content in file /opt/gitlab/etc/gitlab-rails/env/SIDEKIQ_MEMORY_KILLER_MAX_RSS from none to 6cce36
      --- /opt/gitlab/etc/gitlab-rails/env/SIDEKIQ_MEMORY_KILLER_MAX_RSS        2018-10-28 09:29:34.374282425 +0800
      +++ /opt/gitlab/etc/gitlab-rails/env/.chef-SIDEKIQ_MEMORY_KILLER_MAX_RSS20181028-87-x353u9        2018-10-28 09:29:34.374282425 +0800
      @@ -1 +1,2 @@
      +1000000
    * file[/opt/gitlab/etc/gitlab-rails/env/BUNDLE_GEMFILE] action create
      - create new file /opt/gitlab/etc/gitlab-rails/env/BUNDLE_GEMFILE
      - update content in file /opt/gitlab/etc/gitlab-rails/env/BUNDLE_GEMFILE from none to 28d586
      --- /opt/gitlab/etc/gitlab-rails/env/BUNDLE_GEMFILE       2018-10-28 09:29:34.376282499 +0800
      +++ /opt/gitlab/etc/gitlab-rails/env/.chef-BUNDLE_GEMFILE20181028-87-8cfj6m       2018-10-28 09:29:34.376282499 +0800
      @@ -1 +1,2 @@
      +/opt/gitlab/embedded/service/gitlab-rails/Gemfile
    * file[/opt/gitlab/etc/gitlab-rails/env/PATH] action create
      - create new file /opt/gitlab/etc/gitlab-rails/env/PATH
      - update content in file /opt/gitlab/etc/gitlab-rails/env/PATH from none to d5dc07
      --- /opt/gitlab/etc/gitlab-rails/env/PATH 2018-10-28 09:29:34.378282573 +0800
      +++ /opt/gitlab/etc/gitlab-rails/env/.chef-PATH20181028-87-1k6oyzb        2018-10-28 09:29:34.378282573 +0800
      @@ -1 +1,2 @@
      +/opt/gitlab/bin:/opt/gitlab/embedded/bin:/bin:/usr/bin
    * file[/opt/gitlab/etc/gitlab-rails/env/ICU_DATA] action create
      - create new file /opt/gitlab/etc/gitlab-rails/env/ICU_DATA
      - update content in file /opt/gitlab/etc/gitlab-rails/env/ICU_DATA from none to a04260
      --- /opt/gitlab/etc/gitlab-rails/env/ICU_DATA     2018-10-28 09:29:34.380282647 +0800
      +++ /opt/gitlab/etc/gitlab-rails/env/.chef-ICU_DATA20181028-87-x235ci     2018-10-28 09:29:34.379282610 +0800
      @@ -1 +1,2 @@
      +/opt/gitlab/embedded/share/icu/current
    * file[/opt/gitlab/etc/gitlab-rails/env/PYTHONPATH] action create
      - create new file /opt/gitlab/etc/gitlab-rails/env/PYTHONPATH
      - update content in file /opt/gitlab/etc/gitlab-rails/env/PYTHONPATH from none to 990cc2
      --- /opt/gitlab/etc/gitlab-rails/env/PYTHONPATH   2018-10-28 09:29:34.382282721 +0800
      +++ /opt/gitlab/etc/gitlab-rails/env/.chef-PYTHONPATH20181028-87-1bfutpi  2018-10-28 09:29:34.381282684 +0800
      @@ -1 +1,2 @@
      +/opt/gitlab/embedded/lib/python3.4/site-packages
    * file[/opt/gitlab/etc/gitlab-rails/env/EXECJS_RUNTIME] action create
      - create new file /opt/gitlab/etc/gitlab-rails/env/EXECJS_RUNTIME
      - update content in file /opt/gitlab/etc/gitlab-rails/env/EXECJS_RUNTIME from none to 75081b
      --- /opt/gitlab/etc/gitlab-rails/env/EXECJS_RUNTIME       2018-10-28 09:29:34.384282795 +0800
      +++ /opt/gitlab/etc/gitlab-rails/env/.chef-EXECJS_RUNTIME20181028-87-14bvo2i      2018-10-28 09:29:34.384282795 +0800
      @@ -1 +1,2 @@
      +Disabled



  * link[/opt/gitlab/embedded/service/gitlab-rails/tmp] action create
    - create symlink at /opt/gitlab/embedded/service/gitlab-rails/tmp to /var/opt/gitlab/gitlab-rails/tmp
  * link[/opt/gitlab/embedded/service/gitlab-rails/public/uploads] action create
    - create symlink at /opt/gitlab/embedded/service/gitlab-rails/public/uploads to /var/opt/gitlab/gitlab-rails/uploads
  * link[/opt/gitlab/embedded/service/gitlab-rails/log] action create
    - create symlink at /opt/gitlab/embedded/service/gitlab-rails/log to /var/log/gitlab/gitlab-rails
  * 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
    - change owner from 'root' to 'git'
  * 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[chown -R root:root /opt/gitlab/embedded/service/gitlab-rails/public] action run
    - execute chown -R root:root /opt/gitlab/embedded/service/gitlab-rails/public
  * 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::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
    - create new file /opt/gitlab/embedded/ssl/certs/README
    - update content in file /opt/gitlab/embedded/ssl/certs/README from none to 623059
    --- /opt/gitlab/embedded/ssl/certs/README   2018-10-28 09:29:44.835670485 +0800
    +++ /opt/gitlab/embedded/ssl/certs/.chef-README20181028-87-24f4uk   2018-10-28 09:29:44.835670485 +0800
    @@ -1 +1,4 @@
    +This directory is managed by omnibus-gitlab.
    + Any file placed in this directory will be ignored
    +. Place certificates in /etc/gitlab/trusted-certs.
    - change mode from '' to '0644'
  * ruby_block[Move existing certs and link to /opt/gitlab/embedded/ssl/certs] action run

  * Moving existing certificates found in /opt/gitlab/embedded/ssl/certs

  * Symlinking existing certificates found in /etc/gitlab/trusted-certs

    - execute the ruby block Move existing certs and link to /opt/gitlab/embedded/ssl/certs
Recipe: gitlab::default
  * service[create a temporary unicorn 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: gitlab::redis_disable
  * link[/opt/gitlab/service/redis] action delete (up to date)
  * directory[/opt/gitlab/sv/redis] action delete (up to date)
Recipe: postgresql::disable
  * link[/opt/gitlab/service/postgresql] action delete (up to date)
  * directory[/opt/gitlab/sv/postgresql] action delete (up to date)
Recipe: gitlab::database_migrations
  * bash[migrate gitlab-rails database] action run (skipped due to not_if)
Recipe: gitlab::logrotate_folders_and_configs
  * directory[/var/opt/gitlab/logrotate] action create (up to date)
  * directory[/var/opt/gitlab/logrotate/logrotate.d] action create (up to date)
  * directory[/var/log/gitlab/logrotate] action create (up to date)
  * template[/var/opt/gitlab/logrotate/logrotate.conf] action create (up to date)
  * template[/var/opt/gitlab/logrotate/logrotate.d/nginx] action create (up to date)
  * template[/var/opt/gitlab/logrotate/logrotate.d/unicorn] action create (up to date)
  * template[/var/opt/gitlab/logrotate/logrotate.d/gitlab-rails] action create (up to date)
  * template[/var/opt/gitlab/logrotate/logrotate.d/gitlab-shell] action create (up to date)
  * template[/var/opt/gitlab/logrotate/logrotate.d/gitlab-workhorse] action create (up to date)
  * template[/var/opt/gitlab/logrotate/logrotate.d/gitlab-pages] action create (up to date)
Recipe: gitlab::unicorn
  * directory[/var/log/gitlab/unicorn] action create (up to date)
  * directory[/opt/gitlab/var/unicorn] action create
    - create new directory /opt/gitlab/var/unicorn
    - change mode from '' to '0700'
    - change owner from '' to 'git'
  * directory[/var/opt/gitlab/gitlab-rails/sockets] action create (up to date)
  * directory[/var/opt/gitlab/gitlab-rails/etc] action create (up to date)
  * template[/var/opt/gitlab/gitlab-rails/etc/unicorn.rb] action create (up to date)
  * directory[/opt/gitlab/sv/unicorn] action create
    - create new directory /opt/gitlab/sv/unicorn
    - change mode from '' to '0755'
    - change owner from '' to 'root'
    - change group from '' to 'root'
  * directory[/opt/gitlab/sv/unicorn/log] action create
    - create new directory /opt/gitlab/sv/unicorn/log
    - change mode from '' to '0755'
    - change owner from '' to 'root'
    - change group from '' to 'root'
  * directory[/opt/gitlab/sv/unicorn/log/main] action create
    - create new directory /opt/gitlab/sv/unicorn/log/main
    - change mode from '' to '0755'
    - change owner from '' to 'root'
    - change group from '' to 'root'
  * template[/opt/gitlab/sv/unicorn/run] action create
    - create new file /opt/gitlab/sv/unicorn/run
    - update content in file /opt/gitlab/sv/unicorn/run from none to 8eaf78
    --- /opt/gitlab/sv/unicorn/run      2018-10-28 09:29:44.991676273 +0800
    +++ /opt/gitlab/sv/unicorn/.chef-run20181028-87-1t55cg0     2018-10-28 09:29:44.991676273 +0800
    @@ -1 +1,19 @@
    +#!/bin/bash
    +
    +# Let runit capture all script error messages
    +exec 2>&1
    +
    +export prometheus_run_dir=''
    +
    +
    +
    +exec chpst -P -u git \
    +  /usr/bin/env \
    +    current_pidfile=/opt/gitlab/var/unicorn/unicorn.pid \
    +    rails_app=gitlab-rails \
    +    user=git \
    +    environment=production \
    +    unicorn_rb=/var/opt/gitlab/gitlab-rails/etc/unicorn.rb \
    +    prometheus_multiproc_dir="${prometheus_run_dir}" \
    +    /opt/gitlab/embedded/bin/gitlab-unicorn-wrapper
    - change mode from '' to '0755'
    - change owner from '' to 'root'
    - change group from '' to 'root'
  * template[/opt/gitlab/sv/unicorn/log/run] action create
    - create new file /opt/gitlab/sv/unicorn/log/run
    - update content in file /opt/gitlab/sv/unicorn/log/run from none to d50262
    --- /opt/gitlab/sv/unicorn/log/run  2018-10-28 09:29:45.000676606 +0800
    +++ /opt/gitlab/sv/unicorn/log/.chef-run20181028-87-1vcq961 2018-10-28 09:29:45.000676606 +0800
    @@ -1 +1,3 @@
    +#!/bin/sh
    +exec svlogd -tt /var/log/gitlab/unicorn
    - change mode from '' to '0755'
    - change owner from '' to 'root'
    - change group from '' to 'root'
  * template[/var/log/gitlab/unicorn/config] action create (up to date)
  * ruby_block[reload unicorn svlogd configuration] action nothing (skipped due to action :nothing)
  * ruby_block[restart unicorn svlogd configuration] action nothing (skipped due to action :nothing)
  * file[/opt/gitlab/sv/unicorn/down] action delete (up to date)
  * directory[/opt/gitlab/sv/unicorn/control] action create
    - create new directory /opt/gitlab/sv/unicorn/control
    - change mode from '' to '0755'
    - change owner from '' to 'root'
    - change group from '' to 'root'
  * template[/opt/gitlab/sv/unicorn/control/t] action create
    - create new file /opt/gitlab/sv/unicorn/control/t
    - update content in file /opt/gitlab/sv/unicorn/control/t from none to 84b233
    --- /opt/gitlab/sv/unicorn/control/t        2018-10-28 09:29:45.017677237 +0800
    +++ /opt/gitlab/sv/unicorn/control/.chef-t20181028-87-1huteiz       2018-10-28 09:29:45.017677237 +0800
    @@ -1 +1,4 @@
    +#!/bin/sh
    +echo "Received TERM from runit, sending to process group (-PID)"
    +kill -- -$(cat /opt/gitlab/service/unicorn/supervise/pid)
    - change mode from '' to '0755'
    - change owner from '' to 'root'
    - change group from '' to 'root'
  * link[/opt/gitlab/init/unicorn] action create
    - create symlink at /opt/gitlab/init/unicorn to /opt/gitlab/embedded/bin/sv
  * link[/opt/gitlab/service/unicorn] action create
    - create symlink at /opt/gitlab/service/unicorn to /opt/gitlab/sv/unicorn
  * ruby_block[supervise_unicorn_sleep] action run
    - execute the ruby block supervise_unicorn_sleep
  * directory[/opt/gitlab/sv/unicorn/supervise] action create
    - change mode from '0700' to '0755'
  * directory[/opt/gitlab/sv/unicorn/log/supervise] action create
    - change mode from '0700' to '0755'
  * file[/opt/gitlab/sv/unicorn/supervise/ok] action touch (skipped due to only_if)
  * file[/opt/gitlab/sv/unicorn/log/supervise/ok] action touch (skipped due to only_if)
  * file[/opt/gitlab/sv/unicorn/supervise/control] action touch (skipped due to only_if)
  * file[/opt/gitlab/sv/unicorn/log/supervise/control] action touch (skipped due to only_if)
  * service[unicorn] action nothing (skipped due to action :nothing)
  * sysctl[net.core.somaxconn] action create
    * directory[create /etc/sysctl.d for net.core.somaxconn] action create (up to date)
    * file[create /opt/gitlab/embedded/etc/90-omnibus-gitlab-net.core.somaxconn.conf net.core.somaxconn] action create
      - create new file /opt/gitlab/embedded/etc/90-omnibus-gitlab-net.core.somaxconn.conf
      - update content in file /opt/gitlab/embedded/etc/90-omnibus-gitlab-net.core.somaxconn.conf from none to 353a75
      --- /opt/gitlab/embedded/etc/90-omnibus-gitlab-net.core.somaxconn.conf    2018-10-28 09:29:47.045752484 +0800
      +++ /opt/gitlab/embedded/etc/.chef-90-omnibus-gitlab-net20181028-87-a9g6tj.core.somaxconn.conf    2018-10-28 09:29:47.045752484 +0800
      @@ -1 +1,2 @@
      +net.core.somaxconn = 1024
    * execute[load sysctl conf net.core.somaxconn] action run
      [execute] sysctl: setting key "kernel.printk": Read-only file system
                sysctl: setting key "net.ipv6.conf.all.use_tempaddr": Read-only file system
                sysctl: setting key "net.ipv6.conf.default.use_tempaddr": Read-only file system
                sysctl: setting key "kernel.kptr_restrict": Read-only file system
                sysctl: setting key "fs.protected_hardlinks": Read-only file system
                sysctl: setting key "fs.protected_symlinks": Read-only file system
                sysctl: setting key "kernel.sysrq": Read-only file system
                sysctl: setting key "net.ipv4.conf.default.rp_filter": Read-only file system
                sysctl: setting key "net.ipv4.conf.all.rp_filter": Read-only file system
                sysctl: setting key "kernel.yama.ptrace_scope": Read-only file system
                sysctl: setting key "vm.mmap_min_addr": Read-only file system
      - execute cat /etc/sysctl.conf /etc/sysctl.d/*.conf  | sysctl -e -p -
    * link[/etc/sysctl.d/90-omnibus-gitlab-net.core.somaxconn.conf] action create
      - create symlink at /etc/sysctl.d/90-omnibus-gitlab-net.core.somaxconn.conf to /opt/gitlab/embedded/etc/90-omnibus-gitlab-net.core.somaxconn.conf
    * file[delete /etc/sysctl.d/90-postgresql.conf net.core.somaxconn] action delete (skipped due to only_if)
    * file[delete /etc/sysctl.d/90-unicorn.conf net.core.somaxconn] action delete (skipped due to only_if)
    * file[delete /opt/gitlab/embedded/etc/90-omnibus-gitlab.conf net.core.somaxconn] action delete (skipped due to only_if)
    * file[delete /etc/sysctl.d/90-omnibus-gitlab.conf net.core.somaxconn] action delete (skipped due to only_if)
    * execute[load sysctl conf net.core.somaxconn] action nothing (skipped due to action :nothing)

Recipe: gitlab::sidekiq
  * directory[/var/log/gitlab/sidekiq] action create (up to date)
  * directory[/opt/gitlab/sv/sidekiq] action create
    - create new directory /opt/gitlab/sv/sidekiq
    - change mode from '' to '0755'
    - change owner from '' to 'root'
    - change group from '' to 'root'
  * directory[/opt/gitlab/sv/sidekiq/log] action create
    - create new directory /opt/gitlab/sv/sidekiq/log
    - change mode from '' to '0755'
    - change owner from '' to 'root'
    - change group from '' to 'root'
  * directory[/opt/gitlab/sv/sidekiq/log/main] action create
    - create new directory /opt/gitlab/sv/sidekiq/log/main
    - change mode from '' to '0755'
    - change owner from '' to 'root'
    - change group from '' to 'root'
  * template[/opt/gitlab/sv/sidekiq/run] action create
    - create new file /opt/gitlab/sv/sidekiq/run
    - update content in file /opt/gitlab/sv/sidekiq/run from none to 38fc88
    --- /opt/gitlab/sv/sidekiq/run      2018-10-28 09:29:47.086754006 +0800
    +++ /opt/gitlab/sv/sidekiq/.chef-run20181028-87-10ulk18     2018-10-28 09:29:47.086754006 +0800
    @@ -1 +1,19 @@
    +#!/bin/sh
    +
    +cd /var/opt/gitlab/gitlab-rails/working
    +
    +exec 2>&1
    +export prometheus_run_dir=''
    +
    +
    +exec chpst -e /opt/gitlab/etc/gitlab-rails/env -P \
    +  -U git -u git \
    +  /usr/bin/env \
    +    prometheus_multiproc_dir="${prometheus_run_dir}" \
    +    /opt/gitlab/embedded/bin/bundle exec sidekiq \
    +      -C /opt/gitlab/embedded/service/gitlab-rails/config/sidekiq_queues.yml \
    +      -e production \
    +      -r /opt/gitlab/embedded/service/gitlab-rails \
    +      -t 4 \
    +      -c 25
    - change mode from '' to '0755'
    - change owner from '' to 'root'
    - change group from '' to 'root'
  * template[/opt/gitlab/sv/sidekiq/log/run] action create
    - create new file /opt/gitlab/sv/sidekiq/log/run
    - update content in file /opt/gitlab/sv/sidekiq/log/run from none to 051d8f
    --- /opt/gitlab/sv/sidekiq/log/run  2018-10-28 09:29:47.094754303 +0800
    +++ /opt/gitlab/sv/sidekiq/log/.chef-run20181028-87-p7y091  2018-10-28 09:29:47.094754303 +0800
    @@ -1 +1,3 @@
    
+#!/bin/sh
    +exec svlogd -tt /var/log/gitlab/sidekiq
    - change mode from '' to '0755'
    - change owner from '' to 'root'
    - change group from '' to 'root'
  * template[/var/log/gitlab/sidekiq/config] action create (up to date)
  * ruby_block[reload sidekiq svlogd configuration] action nothing (skipped due to action :nothing)
  * ruby_block[restart sidekiq svlogd configuration] action nothing (skipped due to action :nothing)
  * file[/opt/gitlab/sv/sidekiq/down] action delete (up to date)
  * link[/opt/gitlab/init/sidekiq] action create
    - create symlink at /opt/gitlab/init/sidekiq to /opt/gitlab/embedded/bin/sv
  * link[/opt/gitlab/service/sidekiq] action create
    - create symlink at /opt/gitlab/service/sidekiq to /opt/gitlab/sv/sidekiq
  * ruby_block[supervise_sidekiq_sleep] action run
    - execute the ruby block supervise_sidekiq_sleep
  * directory[/opt/gitlab/sv/sidekiq/supervise] action create
    - change mode from '0700' to '0755'
  * directory[/opt/gitlab/sv/sidekiq/log/supervise] action create
    - change mode from '0700' to '0755'
  * file[/opt/gitlab/sv/sidekiq/supervise/ok] action touch (skipped due to only_if)
  * file[/opt/gitlab/sv/sidekiq/log/supervise/ok] action touch (skipped due to only_if)
  * file[/opt/gitlab/sv/sidekiq/supervise/control] action touch (skipped due to only_if)
  * file[/opt/gitlab/sv/sidekiq/log/supervise/control] action touch (skipped due to only_if)
  * service[sidekiq] action nothing (skipped due to action :nothing)
Recipe: gitlab::gitlab-workhorse
  * directory[/var/opt/gitlab/gitlab-workhorse] action create (up to date)
  * directory[/var/log/gitlab/gitlab-workhorse] action create (up to date)
  * directory[/opt/gitlab/etc/gitlab-workhorse] action create
    - create new directory /opt/gitlab/etc/gitlab-workhorse
    - change mode from '' to '0700'
    - change owner from '' to 'git'
  * env_dir[/opt/gitlab/etc/gitlab-workhorse/env] action create
    * directory[/opt/gitlab/etc/gitlab-workhorse/env] action create
      - create new directory /opt/gitlab/etc/gitlab-workhorse/env
    * file[/opt/gitlab/etc/gitlab-workhorse/env/PATH] action create
      - create new file /opt/gitlab/etc/gitlab-workhorse/env/PATH
      - update content in file /opt/gitlab/etc/gitlab-workhorse/env/PATH from none to d5dc07
      --- /opt/gitlab/etc/gitlab-workhorse/env/PATH     2018-10-28 09:29:49.133829963 +0800
      +++ /opt/gitlab/etc/gitlab-workhorse/env/.chef-PATH20181028-87-l7q5oj     2018-10-28 09:29:49.133829963 +0800
      @@ -1 +1,2 @@
      +/opt/gitlab/bin:/opt/gitlab/embedded/bin:/bin:/usr/bin
    * file[/opt/gitlab/etc/gitlab-workhorse/env/HOME] action create
      - create new file /opt/gitlab/etc/gitlab-workhorse/env/HOME
      - update content in file /opt/gitlab/etc/gitlab-workhorse/env/HOME from none to 205bb9
      --- /opt/gitlab/etc/gitlab-workhorse/env/HOME     2018-10-28 09:29:49.135830037 +0800
      +++ /opt/gitlab/etc/gitlab-workhorse/env/.chef-HOME20181028-87-ms4xdt     2018-10-28 09:29:49.135830037 +0800
      @@ -1 +1,2 @@
      +/var/opt/gitlab


  * directory[/opt/gitlab/sv/gitlab-workhorse] action create
    - create new directory /opt/gitlab/sv/gitlab-workhorse
    - change mode from '' to '0755'
    - change owner from '' to 'root'
    - change group from '' to 'root'
  * directory[/opt/gitlab/sv/gitlab-workhorse/log] action create
    - create new directory /opt/gitlab/sv/gitlab-workhorse/log
    - change mode from '' to '0755'
    - change owner from '' to 'root'
    - change group from '' to 'root'
  * directory[/opt/gitlab/sv/gitlab-workhorse/log/main] action create
    - create new directory /opt/gitlab/sv/gitlab-workhorse/log/main
    - change mode from '' to '0755'
    - change owner from '' to 'root'
    - change group from '' to 'root'
  * template[/opt/gitlab/sv/gitlab-workhorse/run] action create
    - create new file /opt/gitlab/sv/gitlab-workhorse/run
    - update content in file /opt/gitlab/sv/gitlab-workhorse/run from none to 275116
    --- /opt/gitlab/sv/gitlab-workhorse/run     2018-10-28 09:29:49.154830743 +0800
    +++ /opt/gitlab/sv/gitlab-workhorse/.chef-run20181028-87-1twv8rh    2018-10-28 09:29:49.154830743 +0800
    @@ -1 +1,27 @@
    +#!/bin/sh
    +set -e # fail on errors
    +
    +# Redirect stderr -> stdout
    +exec 2>&1
    +
    +
    +
    +cd /var/opt/gitlab/gitlab-workhorse
    +
    +exec chpst -e /opt/gitlab/etc/gitlab-workhorse/env -P \
    +  -U git \
    +  -u git \
    +  /opt/gitlab/embedded/bin/gitlab-workhorse \
    +    -listenNetwork unix \
    +    -listenUmask 0 \
    +    -listenAddr /var/opt/gitlab/gitlab-workhorse/socket \
    +    -authBackend http://localhost:8080 \
    +    -authSocket /var/opt/gitlab/gitlab-rails/sockets/gitlab.socket \
    +    -documentRoot /opt/gitlab/embedded/service/gitlab-rails/public \
    +    -pprofListenAddr ''\
    +    -prometheusListenAddr localhost:9229 \
    +    -secretPath /opt/gitlab/embedded/service/gitlab-rails/.gitlab_workhorse_secret \
    +    -config config.toml \
    +
    +# Do not remove this line; it prevents trouble with the trailing backslashes above.
    - change mode from '' to '0755'
    - change owner from '' to 'root'
    - change group from '' to 'root'
  * template[/opt/gitlab/sv/gitlab-workhorse/log/run] action create
    - create new file /opt/gitlab/sv/gitlab-workhorse/log/run
    - update content in file /opt/gitlab/sv/gitlab-workhorse/log/run from none to 6ed0e1
    --- /opt/gitlab/sv/gitlab-workhorse/log/run 2018-10-28 09:29:49.160830965 +0800
    +++ /opt/gitlab/sv/gitlab-workhorse/log/.chef-run20181028-87-163hucb        2018-10-28 09:29:49.160830965 +0800
    @@ -1 +1,3 @@
    +#!/bin/sh
    +exec svlogd -tt /var/log/gitlab/gitlab-workhorse
    - change mode from '' to '0755'
    - change owner from '' to 'root'
    - change group from '' to 'root'
  * template[/var/log/gitlab/gitlab-workhorse/config] action create (up to date)
  * ruby_block[reload gitlab-workhorse svlogd configuration] action nothing (skipped due to action :nothing)
  * ruby_block[restart gitlab-workhorse svlogd configuration] action nothing (skipped due to action :nothing)
  * file[/opt/gitlab/sv/gitlab-workhorse/down] action delete (up to date)
  * link[/opt/gitlab/init/gitlab-workhorse] action create
    - create symlink at /opt/gitlab/init/gitlab-workhorse to /opt/gitlab/embedded/bin/sv
  * link[/opt/gitlab/service/gitlab-workhorse] action create
    - create symlink at /opt/gitlab/service/gitlab-workhorse to /opt/gitlab/sv/gitlab-workhorse
  * ruby_block[supervise_gitlab-workhorse_sleep] action run
    - execute the ruby block supervise_gitlab-workhorse_sleep
  * directory[/opt/gitlab/sv/gitlab-workhorse/supervise] action create
    - change mode from '0700' to '0755'
  * directory[/opt/gitlab/sv/gitlab-workhorse/log/supervise] action create
    - change mode from '0700' to '0755'
  * file[/opt/gitlab/sv/gitlab-workhorse/supervise/ok] action touch (skipped due to only_if)
  * file[/opt/gitlab/sv/gitlab-workhorse/log/supervise/ok] action touch (skipped due to only_if)
  * file[/opt/gitlab/sv/gitlab-workhorse/supervise/control] action touch (skipped due to only_if)
  * file[/opt/gitlab/sv/gitlab-workhorse/log/supervise/control] action touch (skipped due to only_if)
  * service[gitlab-workhorse] action nothing (skipped due to action :nothing)
  * file[/var/opt/gitlab/gitlab-workhorse/VERSION] action create (up to date)
  * template[/var/opt/gitlab/gitlab-workhorse/config.toml] action create (up to date)
Recipe: gitlab::mailroom_disable
  * link[/opt/gitlab/service/mailroom] action delete (up to date)
  * directory[/opt/gitlab/sv/mailroom] action delete (up to date)
Recipe: gitlab::nginx
  * directory[/var/opt/gitlab/nginx] action create (up to date)
  * directory[/var/opt/gitlab/nginx/conf] action create (up to date)
  * directory[/var/log/gitlab/nginx] action create (up to date)
  * link[/var/opt/gitlab/nginx/logs] action create (up to date)
  * template[/var/opt/gitlab/nginx/conf/gitlab-http.conf] action create (up to date)
  * template[/var/opt/gitlab/nginx/conf/gitlab-pages.conf] action delete (up to date)
  * template[/var/opt/gitlab/nginx/conf/gitlab-registry.conf] action delete (up to date)
  * template[/var/opt/gitlab/nginx/conf/gitlab-mattermost-http.conf] action delete (up to date)
  * template[/var/opt/gitlab/nginx/conf/nginx-status.conf] action create (up to date)
  * template[/var/opt/gitlab/nginx/conf/nginx.conf] action create (up to date)
Recipe: nginx::enable
  * directory[/opt/gitlab/sv/nginx] action create
    - create new directory /opt/gitlab/sv/nginx
    - change mode from '' to '0755'
    - change owner from '' to 'root'
    - change group from '' to 'root'
  * directory[/opt/gitlab/sv/nginx/log] action create
    - create new directory /opt/gitlab/sv/nginx/log
    - change mode from '' to '0755'
    - change owner from '' to 'root'
    - change group from '' to 'root'
  * directory[/opt/gitlab/sv/nginx/log/main] action create
    - create new directory /opt/gitlab/sv/nginx/log/main
    - change mode from '' to '0755'
    - change owner from '' to 'root'
    - change group from '' to 'root'
  * template[/opt/gitlab/sv/nginx/run] action create
    - create new file /opt/gitlab/sv/nginx/run
    - update content in file /opt/gitlab/sv/nginx/run from none to d75aea
    --- /opt/gitlab/sv/nginx/run        2018-10-28 09:29:51.284909786 +0800
    +++ /opt/gitlab/sv/nginx/.chef-run20181028-87-1179biv       2018-10-28 09:29:51.284909786 +0800
    @@ -1 +1,6 @@
    +#!/bin/sh
    +exec 2>&1
    +
    +cd /var/opt/gitlab/nginx
    +exec chpst -P /opt/gitlab/embedded/sbin/nginx -p /var/opt/gitlab/nginx
    - change mode from '' to '0755'
    - change owner from '' to 'root'
    - change group from '' to 'root'
  * template[/opt/gitlab/sv/nginx/log/run] action create
    - create new file /opt/gitlab/sv/nginx/log/run
    - update content in file /opt/gitlab/sv/nginx/log/run from none to c70025
    --- /opt/gitlab/sv/nginx/log/run    2018-10-28 09:29:51.289909971 +0800
    +++ /opt/gitlab/sv/nginx/log/.chef-run20181028-87-1q8pu5p   2018-10-28 09:29:51.289909971 +0800
    @@ -1 +1,3 @@
    +#!/bin/sh
    +exec svlogd -tt /var/log/gitlab/nginx
    - change mode from '' to '0755'
    - change owner from '' to 'root'
    - change group from '' to 'root'
  * template[/var/log/gitlab/nginx/config] action create (up to date)
  * ruby_block[reload nginx svlogd configuration] action nothing (skipped due to action :nothing)
  * ruby_block[restart nginx svlogd configuration] action nothing (skipped due to action :nothing)
  * file[/opt/gitlab/sv/nginx/down] action delete (up to date)
  * link[/opt/gitlab/init/nginx] action create
    - create symlink at /opt/gitlab/init/nginx to /opt/gitlab/embedded/bin/sv
  * link[/opt/gitlab/service/nginx] action create
    - create symlink at /opt/gitlab/service/nginx to /opt/gitlab/sv/nginx
  * ruby_block[supervise_nginx_sleep] action run
    - execute the ruby block supervise_nginx_sleep
  * directory[/opt/gitlab/sv/nginx/supervise] action create
    - change mode from '0700' to '0755'
  * directory[/opt/gitlab/sv/nginx/log/supervise] action create
    - change mode from '0700' to '0755'
  * file[/opt/gitlab/sv/nginx/supervise/ok] action touch (skipped due to only_if)
  * file[/opt/gitlab/sv/nginx/log/supervise/ok] action touch (skipped due to only_if)
  * file[/opt/gitlab/sv/nginx/supervise/control] action touch (skipped due to only_if)
  * file[/opt/gitlab/sv/nginx/log/supervise/control] action touch (skipped due to only_if)
  * service[nginx] action nothing (skipped due to action :nothing)
  * execute[reload nginx] action nothing (skipped due to action :nothing)
Recipe: gitlab::remote-syslog_disable
  * link[/opt/gitlab/service/remote-syslog] action delete (up to date)
  * directory[/opt/gitlab/sv/remote-syslog] action delete (up to date)
Recipe: gitlab::logrotate
  * directory[/opt/gitlab/sv/logrotate] action create
    - create new directory /opt/gitlab/sv/logrotate
    - change mode from '' to '0755'
    - change owner from '' to 'root'
    - change group from '' to 'root'
  * directory[/opt/gitlab/sv/logrotate/log] action create
    - create new directory /opt/gitlab/sv/logrotate/log
    - change mode from '' to '0755'
    - change owner from '' to 'root'
    - change group from '' to 'root'
  * directory[/opt/gitlab/sv/logrotate/log/main] action create
    - create new directory /opt/gitlab/sv/logrotate/log/main
    - change mode from '' to '0755'
    - change owner from '' to 'root'
    - change group from '' to 'root'
  * template[/opt/gitlab/sv/logrotate/run] action create
    - create new file /opt/gitlab/sv/logrotate/run
    - update content in file /opt/gitlab/sv/logrotate/run from none to 07f1b6
    --- /opt/gitlab/sv/logrotate/run    2018-10-28 09:29:53.334985865 +0800
    +++ /opt/gitlab/sv/logrotate/.chef-run20181028-87-191lefp   2018-10-28 09:29:53.334985865 +0800
    @@ -1 +1,11 @@
    +#!/bin/sh
    +exec 2>&1
    +
    +cd /var/opt/gitlab/logrotate
    +
    +exec /opt/gitlab/embedded/bin/chpst -P /usr/bin/env \
    +  dir=/var/opt/gitlab/logrotate \
    +  pre_sleep=600 \
    +  post_sleep=3000 \
    +  /opt/gitlab/embedded/bin/gitlab-logrotate-wrapper
    - change mode from '' to '0755'
    - change owner from '' to 'root'
    - change group from '' to 'root'
  * template[/opt/gitlab/sv/logrotate/log/run] action create
    - create new file /opt/gitlab/sv/logrotate/log/run
    - update content in file /opt/gitlab/sv/logrotate/log/run from none to 94afe6
    --- /opt/gitlab/sv/logrotate/log/run        2018-10-28 09:29:53.340986088 +0800
    +++ /opt/gitlab/sv/logrotate/log/.chef-run20181028-87-1hkiz65       2018-10-28 09:29:53.340986088 +0800
    @@ -1 +1,3 @@
    +#!/bin/sh
    +exec svlogd -tt /var/log/gitlab/logrotate
    - change mode from '' to '0755'
    - change owner from '' to 'root'
    - change group from '' to 'root'
  * template[/var/log/gitlab/logrotate/config] action create (up to date)
  * ruby_block[reload logrotate svlogd configuration] action nothing (skipped due to action :nothing)
  * ruby_block[restart logrotate svlogd configuration] action nothing (skipped due to action :nothing)
  * file[/opt/gitlab/sv/logrotate/down] action delete (up to date)
  * directory[/opt/gitlab/sv/logrotate/control] action create
    - create new directory /opt/gitlab/sv/logrotate/control
    - change mode from '' to '0755'
    - change owner from '' to 'root'
    - change group from '' to 'root'
  * template[/opt/gitlab/sv/logrotate/control/t] action create
    - create new file /opt/gitlab/sv/logrotate/control/t
    - update content in file /opt/gitlab/sv/logrotate/control/t from none to 8fa3fa
    --- /opt/gitlab/sv/logrotate/control/t      2018-10-28 09:29:53.366987053 +0800
    +++ /opt/gitlab/sv/logrotate/control/.chef-t20181028-87-1x4gpuz     2018-10-28 09:29:53.365987016 +0800
    @@ -1 +1,4 @@
    +#!/bin/sh
    +echo "Received TERM from runit, sending to process group (-PID)"
    +kill -- -$(cat /opt/gitlab/service/logrotate/supervise/pid)
    - change mode from '' to '0755'
    - change owner from '' to 'root'
    - change group from '' to 'root'
  * link[/opt/gitlab/init/logrotate] action create
    - create symlink at /opt/gitlab/init/logrotate to /opt/gitlab/embedded/bin/sv
  * link[/opt/gitlab/service/logrotate] action create
    - create symlink at /opt/gitlab/service/logrotate to /opt/gitlab/sv/logrotate
  * ruby_block[supervise_logrotate_sleep] action run
    - execute the ruby block supervise_logrotate_sleep
  * directory[/opt/gitlab/sv/logrotate/supervise] action create
    - change mode from '0700' to '0755'
  * directory[/opt/gitlab/sv/logrotate/log/supervise] action create
    - change mode from '0700' to '0755'
  * file[/opt/gitlab/sv/logrotate/supervise/ok] action touch (skipped due to only_if)
  * file[/opt/gitlab/sv/logrotate/log/supervise/ok] action touch (skipped due to only_if)
  * file[/opt/gitlab/sv/logrotate/supervise/control] action touch (skipped due to only_if)
  * file[/opt/gitlab/sv/logrotate/log/supervise/control] action touch (skipped due to only_if)
  * service[logrotate] action nothing (skipped due to action :nothing)
Recipe: gitlab::gitlab-pages_disable
  * link[/opt/gitlab/service/gitlab-pages] action delete (up to date)
  * directory[/opt/gitlab/sv/gitlab-pages] action delete (up to date)
Recipe: gitlab::storage-check_disable
  * link[/opt/gitlab/service/storage-check] action delete (up to date)
  * directory[/opt/gitlab/sv/storage-check] action delete (up to date)
Recipe: registry::disable
  * link[/opt/gitlab/service/registry] action delete (up to date)
  * directory[/opt/gitlab/sv/registry] action delete (up to date)
Recipe: gitaly::enable
  * directory[/var/opt/gitlab/gitaly] action create (up to date)
  * directory[/var/log/gitlab/gitaly] action create (up to date)
  * env_dir[/opt/gitlab/etc/gitaly] action create
    * directory[/opt/gitlab/etc/gitaly] action create
      - create new directory /opt/gitlab/etc/gitaly
    * file[/opt/gitlab/etc/gitaly/HOME] action create
      - create new file /opt/gitlab/etc/gitaly/HOME
      - update content in file /opt/gitlab/etc/gitaly/HOME from none to 205bb9
      --- /opt/gitlab/etc/gitaly/HOME   2018-10-28 09:29:55.391062173 +0800
      +++ /opt/gitlab/etc/gitaly/.chef-HOME20181028-87-p11ndd   2018-10-28 09:29:55.391062173 +0800
      @@ -1 +1,2 @@
      +/var/opt/gitlab
    * file[/opt/gitlab/etc/gitaly/PATH] action create
      - create new file /opt/gitlab/etc/gitaly/PATH
      - update content in file /opt/gitlab/etc/gitaly/PATH from none to d5dc07
      --- /opt/gitlab/etc/gitaly/PATH   2018-10-28 09:29:55.393062247 +0800
      +++ /opt/gitlab/etc/gitaly/.chef-PATH20181028-87-j4sndr   2018-10-28 09:29:55.393062247 +0800
      @@ -1 +1,2 @@
      +/opt/gitlab/bin:/opt/gitlab/embedded/bin:/bin:/usr/bin
    * file[/opt/gitlab/etc/gitaly/TZ] action create
      - create new file /opt/gitlab/etc/gitaly/TZ
      - update content in file /opt/gitlab/etc/gitaly/TZ from none to 983a95
      --- /opt/gitlab/etc/gitaly/TZ     2018-10-28 09:29:55.395062321 +0800
      +++ /opt/gitlab/etc/gitaly/.chef-TZ20181028-87-tzy01m     2018-10-28 09:29:55.395062321 +0800
      @@ -1 +1,2 @@
      +:/etc/localtime

  * template[Create Gitaly config.toml] action create (up to date)
  * directory[/opt/gitlab/sv/gitaly] action create
    - create new directory /opt/gitlab/sv/gitaly
    - change mode from '' to '0755'
    - change owner from '' to 'root'
    - change group from '' to 'root'
  * directory[/opt/gitlab/sv/gitaly/log] action create
    - create new directory /opt/gitlab/sv/gitaly/log
    - change mode from '' to '0755'
    - change owner from '' to 'root'
    - change group from '' to 'root'
  * directory[/opt/gitlab/sv/gitaly/log/main] action create
    - create new directory /opt/gitlab/sv/gitaly/log/main
    - change mode from '' to '0755'
    - change owner from '' to 'root'
    - change group from '' to 'root'
  * template[/opt/gitlab/sv/gitaly/run] action create
    - create new file /opt/gitlab/sv/gitaly/run
    - update content in file /opt/gitlab/sv/gitaly/run from none to ca190e
    --- /opt/gitlab/sv/gitaly/run       2018-10-28 09:29:55.418063175 +0800
    +++ /opt/gitlab/sv/gitaly/.chef-run20181028-87-4bgu01       2018-10-28 09:29:55.418063175 +0800
    @@ -1 +1,15 @@
    +#!/bin/sh
    +set -e # fail on errors
    +
    +# Redirect stderr -> stdout
    +exec 2>&1
    +
    +
    +
    +cd /var/opt/gitlab/gitaly
    +
    +exec chpst -e /opt/gitlab/etc/gitaly -P \
    +  -U git \
    +  -u git \
    +  /opt/gitlab/embedded/bin/gitaly /var/opt/gitlab/gitaly/config.toml
    - change mode from '' to '0755'
    - change owner from '' to 'root'
    - change group from '' to 'root'
  * template[/opt/gitlab/sv/gitaly/log/run] action create
    - create new file /opt/gitlab/sv/gitaly/log/run
    - update content in file /opt/gitlab/sv/gitaly/log/run from none to 0627d2
    --- /opt/gitlab/sv/gitaly/log/run   2018-10-28 09:29:55.423063360 +0800
    +++ /opt/gitlab/sv/gitaly/log/.chef-run20181028-87-f3wv45   2018-10-28 09:29:55.423063360 +0800
    @@ -1 +1,3 @@
    +#!/bin/sh
    +exec svlogd -tt /var/log/gitlab/gitaly
    - change mode from '' to '0755'
    - change owner from '' to 'root'
    - change group from '' to 'root'
  * template[/var/log/gitlab/gitaly/config] action create (up to date)
  * ruby_block[reload gitaly svlogd configuration] action nothing (skipped due to action :nothing)
  * ruby_block[restart gitaly svlogd configuration] action nothing (skipped due to action :nothing)
  * file[/opt/gitlab/sv/gitaly/down] action delete (up to date)
  * link[/opt/gitlab/init/gitaly] action create
    - create symlink at /opt/gitlab/init/gitaly to /opt/gitlab/embedded/bin/sv
  * link[/opt/gitlab/service/gitaly] action create
    - create symlink at /opt/gitlab/service/gitaly to /opt/gitlab/sv/gitaly
  * ruby_block[supervise_gitaly_sleep] action run
    - execute the ruby block supervise_gitaly_sleep
  * directory[/opt/gitlab/sv/gitaly/supervise] action create
    - change mode from '0700' to '0755'
  * directory[/opt/gitlab/sv/gitaly/log/supervise] action create
    - change mode from '0700' to '0755'
  * file[/opt/gitlab/sv/gitaly/supervise/ok] action touch (skipped due to only_if)
  * file[/opt/gitlab/sv/gitaly/log/supervise/ok] action touch (skipped due to only_if)
  * file[/opt/gitlab/sv/gitaly/supervise/control] action touch (skipped due to only_if)
  * file[/opt/gitlab/sv/gitaly/log/supervise/control] action touch (skipped due to only_if)
  * service[gitaly] action nothing (skipped due to action :nothing)
  * file[/var/opt/gitlab/gitaly/VERSION] action create (up to date)
Recipe: mattermost::disable
  * link[/opt/gitlab/service/mattermost] action delete (up to date)
  * directory[/opt/gitlab/sv/mattermost] action delete (up to date)
Recipe: gitlab::gitlab-healthcheck
  * template[/opt/gitlab/etc/gitlab-healthcheck-rc] action create
    - create new file /opt/gitlab/etc/gitlab-healthcheck-rc
    - update content in file /opt/gitlab/etc/gitlab-healthcheck-rc from none to 6da55f
    --- /opt/gitlab/etc/gitlab-healthcheck-rc   2018-10-28 09:29:57.479139674 +0800
    +++ /opt/gitlab/etc/.chef-gitlab-healthcheck-rc20181028-87-a77z7j   2018-10-28 09:29:57.478139636 +0800
    @@ -1 +1,3 @@
    +url='http://localhost:80/help'
    +flags='--insecure'
    - change owner from '' to 'root'
    - change group from '' to 'root'
Recipe: gitlab::node-exporter_disable
  * link[/opt/gitlab/service/node-exporter] action delete (up to date)
  * directory[/opt/gitlab/sv/node-exporter] action delete (up to date)
Recipe: gitlab::gitlab-monitor
  * directory[/var/opt/gitlab/gitlab-monitor] action create (up to date)
  * directory[/var/log/gitlab/gitlab-monitor] action create (up to date)
  * template[/var/opt/gitlab/gitlab-monitor/gitlab-monitor.yml] action create (up to date)
  * directory[/opt/gitlab/sv/gitlab-monitor] action create
    - create new directory /opt/gitlab/sv/gitlab-monitor
    - change mode from '' to '0755'
    - change owner from '' to 'root'
    - change group from '' to 'root'
  * directory[/opt/gitlab/sv/gitlab-monitor/log] action create
    - create new directory /opt/gitlab/sv/gitlab-monitor/log
    - change mode from '' to '0755'
    - change owner from '' to 'root'
    - change group from '' to 'root'
  * directory[/opt/gitlab/sv/gitlab-monitor/log/main] action create
    - create new directory /opt/gitlab/sv/gitlab-monitor/log/main
    - change mode from '' to '0755'
    - change owner from '' to 'root'
    - change group from '' to 'root'
  * template[/opt/gitlab/sv/gitlab-monitor/run] action create
    - create new file /opt/gitlab/sv/gitlab-monitor/run
    - update content in file /opt/gitlab/sv/gitlab-monitor/run from none to 2f480f
    --- /opt/gitlab/sv/gitlab-monitor/run       2018-10-28 09:29:57.518141121 +0800
    +++ /opt/gitlab/sv/gitlab-monitor/.chef-run20181028-87-wm2mrp       2018-10-28 09:29:57.518141121 +0800
    @@ -1 +1,6 @@
    +#!/bin/sh
    +exec 2>&1
    +
    +umask 077
    +exec chpst -P -U git -u git /opt/gitlab/embedded/bin/gitlab-mon web -c /var/opt/gitlab/gitlab-monitor/gitlab-monitor.yml
    - change mode from '' to '0755'
    - change owner from '' to 'root'
    - change group from '' to 'root'
  * template[/opt/gitlab/sv/gitlab-monitor/log/run] action create
    - create new file /opt/gitlab/sv/gitlab-monitor/log/run
    - update content in file /opt/gitlab/sv/gitlab-monitor/log/run from none to be403a
    --- /opt/gitlab/sv/gitlab-monitor/log/run   2018-10-28 09:29:57.528141492 +0800
    +++ /opt/gitlab/sv/gitlab-monitor/log/.chef-run20181028-87-ex8mkp   2018-10-28 09:29:57.527141455 +0800
    @@ -1 +1,3 @@

    +#!/bin/sh
    +exec svlogd -tt /var/log/gitlab/gitlab-monitor
    - change mode from '' to '0755'
    - change owner from '' to 'root'
    - change group from '' to 'root'
  * template[/var/log/gitlab/gitlab-monitor/config] action create (up to date)
  * ruby_block[reload gitlab-monitor svlogd configuration] action nothing (skipped due to action :nothing)
  * ruby_block[restart gitlab-monitor svlogd configuration] action nothing (skipped due to action :nothing)
  * file[/opt/gitlab/sv/gitlab-monitor/down] action delete (up to date)
  * link[/opt/gitlab/init/gitlab-monitor] action create
    - create symlink at /opt/gitlab/init/gitlab-monitor to /opt/gitlab/embedded/bin/sv
  * link[/opt/gitlab/service/gitlab-monitor] action create
    - create symlink at /opt/gitlab/service/gitlab-monitor to /opt/gitlab/sv/gitlab-monitor
  * ruby_block[supervise_gitlab-monitor_sleep] action run
    - execute the ruby block supervise_gitlab-monitor_sleep
  * directory[/opt/gitlab/sv/gitlab-monitor/supervise] action create
    - change mode from '0700' to '0755'
  * directory[/opt/gitlab/sv/gitlab-monitor/log/supervise] action create
    - change mode from '0700' to '0755'
  * file[/opt/gitlab/sv/gitlab-monitor/supervise/ok] action touch (skipped due to only_if)
  * file[/opt/gitlab/sv/gitlab-monitor/log/supervise/ok] action touch (skipped due to only_if)
  * file[/opt/gitlab/sv/gitlab-monitor/supervise/control] action touch (skipped due to only_if)
  * file[/opt/gitlab/sv/gitlab-monitor/log/supervise/control] action touch (skipped due to only_if)
  * service[gitlab-monitor] action nothing (skipped due to action :nothing)
Recipe: gitlab::redis-exporter_disable
  * link[/opt/gitlab/service/redis-exporter] action delete (up to date)
  * directory[/opt/gitlab/sv/redis-exporter] action delete (up to date)
Recipe: gitlab::prometheus_disable
  * link[/opt/gitlab/service/prometheus] action delete (up to date)
  * directory[/opt/gitlab/sv/prometheus] action delete (up to date)
Recipe: gitlab::prometheus_user
  * account[Prometheus user and group] action create (up to date)
Recipe: gitlab::alertmanager
  * directory[/var/opt/gitlab/alertmanager] action create (up to date)
  * directory[/var/log/gitlab/alertmanager] action create (up to date)
  * file[Alertmanager config] action create (up to date)
  * directory[/opt/gitlab/sv/alertmanager] action create
    - create new directory /opt/gitlab/sv/alertmanager
    - change mode from '' to '0755'
    - change owner from '' to 'root'
    - change group from '' to 'root'
  * directory[/opt/gitlab/sv/alertmanager/log] action create
    - create new directory /opt/gitlab/sv/alertmanager/log
    - change mode from '' to '0755'
    - change owner from '' to 'root'
    - change group from '' to 'root'
  * directory[/opt/gitlab/sv/alertmanager/log/main] action create
    - create new directory /opt/gitlab/sv/alertmanager/log/main
    - change mode from '' to '0755'
    - change owner from '' to 'root'
    - change group from '' to 'root'
  * template[/opt/gitlab/sv/alertmanager/run] action create
    - create new file /opt/gitlab/sv/alertmanager/run
    - update content in file /opt/gitlab/sv/alertmanager/run from none to ac906d
    --- /opt/gitlab/sv/alertmanager/run 2018-10-28 09:29:59.595218219 +0800
    +++ /opt/gitlab/sv/alertmanager/.chef-run20181028-87-5qcmos 2018-10-28 09:29:59.595218219 +0800
    @@ -1 +1,7 @@
    +#!/bin/sh
    +exec 2>&1
    +
    +umask 077
    +exec chpst -P -U gitlab-prometheus -u gitlab-prometheus \
    +  /opt/gitlab/embedded/bin/alertmanager --web.listen-address=localhost:9093 --storage.path=/var/opt/gitlab/alertmanager/data --config.file=/var/opt/gitlab/alertmanager/alertmanager.yml
    - change mode from '' to '0755'
    - change owner from '' to 'root'
    - change group from '' to 'root'
  * template[/opt/gitlab/sv/alertmanager/log/run] action create
    - create new file /opt/gitlab/sv/alertmanager/log/run
    - update content in file /opt/gitlab/sv/alertmanager/log/run from none to 2feab9
    --- /opt/gitlab/sv/alertmanager/log/run     2018-10-28 09:29:59.602218479 +0800
    +++ /opt/gitlab/sv/alertmanager/log/.chef-run20181028-87-1a6az7j    2018-10-28 09:29:59.602218479 +0800
    @@ -1 +1,3 @@
    +#!/bin/sh
    +exec svlogd -tt /var/log/gitlab/alertmanager
    - change mode from '' to '0755'
    - change owner from '' to 'root'
    - change group from '' to 'root'
  * template[/var/log/gitlab/alertmanager/config] action create (up to date)
  * ruby_block[reload alertmanager svlogd configuration] action nothing (skipped due to action :nothing)
  * ruby_block[restart alertmanager svlogd configuration] action nothing (skipped due to action :nothing)
  * file[/opt/gitlab/sv/alertmanager/down] action delete (up to date)
  * link[/opt/gitlab/init/alertmanager] action create
    - create symlink at /opt/gitlab/init/alertmanager to /opt/gitlab/embedded/bin/sv
  * link[/opt/gitlab/service/alertmanager] action create
    - create symlink at /opt/gitlab/service/alertmanager to /opt/gitlab/sv/alertmanager
  * ruby_block[supervise_alertmanager_sleep] action run
    - execute the ruby block supervise_alertmanager_sleep
  * directory[/opt/gitlab/sv/alertmanager/supervise] action create
    - change mode from '0700' to '0755'
  * directory[/opt/gitlab/sv/alertmanager/log/supervise] action create
    - change mode from '0700' to '0755'
  * file[/opt/gitlab/sv/alertmanager/supervise/ok] action touch (skipped due to only_if)
  * file[/opt/gitlab/sv/alertmanager/log/supervise/ok] action touch (skipped due to only_if)
  * file[/opt/gitlab/sv/alertmanager/supervise/control] action touch (skipped due to only_if)
  * file[/opt/gitlab/sv/alertmanager/log/supervise/control] action touch (skipped due to only_if)
  * service[alertmanager] action nothing (skipped due to action :nothing)
Recipe: gitlab::postgres-exporter_disable
  * link[/opt/gitlab/service/postgres-exporter] action delete (up to date)
  * directory[/opt/gitlab/sv/postgres-exporter] action delete (up to date)
Recipe: gitlab::deprecate-skip-auto-migrations
  * file[/etc/gitlab/skip-auto-reconfigure] action create (skipped due to only_if)
  * ruby_block[skip-auto-migrations deprecation] action run (skipped due to only_if)
Recipe: gitlab::gitlab-rails
  * execute[clear the gitlab-rails cache] action run (skipped due to not_if)
Recipe: gitlab::unicorn
  * ruby_block[restart unicorn svlogd configuration] action create
    - execute the ruby block restart unicorn svlogd configuration
Recipe: gitlab::sidekiq
  * ruby_block[restart sidekiq svlogd configuration] action create
    - execute the ruby block restart sidekiq svlogd configuration
Recipe: gitlab::gitlab-workhorse
  * service[gitlab-workhorse] action restart
    - restart service service[gitlab-workhorse]
  * ruby_block[restart gitlab-workhorse svlogd configuration] action create
    - execute the ruby block restart gitlab-workhorse svlogd configuration
Recipe: nginx::enable
  * ruby_block[restart nginx svlogd configuration] action create
    - execute the ruby block restart nginx svlogd configuration
Recipe: gitlab::logrotate
  * ruby_block[restart logrotate svlogd configuration] action create
    - execute the ruby block restart logrotate svlogd configuration
Recipe: gitaly::enable
  * service[gitaly] action restart

    ================================================================================
    Error executing action `restart` on resource 'service[gitaly]'
    ================================================================================

    Mixlib::ShellOut::ShellCommandFailed
    ------------------------------------
    Expected process to exit with [0], but received '1'
    ---- Begin output of /opt/gitlab/embedded/bin/chpst -u root /opt/gitlab/embedded/bin/sv restart /opt/gitlab/service/gitaly ----
    STDOUT: timeout: run: /opt/gitlab/service/gitaly: (pid 625) 36s, got TERM
    STDERR:
    ---- End output of /opt/gitlab/embedded/bin/chpst -u root /opt/gitlab/embedded/bin/sv restart /opt/gitlab/service/gitaly ----
    Ran /opt/gitlab/embedded/bin/chpst -u root /opt/gitlab/embedded/bin/sv restart /opt/gitlab/service/gitaly returned 1

    Resource Declaration:
    ---------------------
    # In /opt/gitlab/embedded/cookbooks/cache/cookbooks/runit/definitions/runit_service.rb

    227:     service params[:name] do
    228:       control_cmd = node[:runit][:sv_bin]
    229:       if params[:owner]
    230:         control_cmd = "#{node[:runit][:chpst_bin]} -u #{params[:owner]} #{control_cmd}"
    231:       end
    232:       provider Chef::Provider::Service::Simple

    Compiled Resource:
    ------------------
    # Declared in /opt/gitlab/embedded/cookbooks/cache/cookbooks/runit/definitions/runit_service.rb:227:in `block in from_file'

    service("gitaly") do
      params {:directory=>"/opt/gitlab/sv", :only_if=>false, :finish_script=>false, :control=>[], :run_restart=>true, :active_directory=>"/opt/gitlab/service", :init_script_template=>nil, :owner=>"root", :group=>"root", :template_name=>"gitaly", :start_command=>"start", :stop_command=>"stop", :restart_command=>"restart", :status_command=>"status", :options=>{:user=>"git", :working_dir=>"/var/opt/gitlab/gitaly", :env_dir=>"/opt/gitlab/etc/gitaly", :bin_path=>"/opt/gitlab/embedded/bin/gitaly", :config_path=>"/var/opt/gitlab/gitaly/config.toml", :log_directory=>"/var/log/gitlab/gitaly", :directory=>nil, :only_if=>false, :finish_script=>false, :control=>[], :run_restart=>true, :active_directory=>nil, :init_script_template=>nil, :owner=>"root", :group=>"root", :template_name=>nil, :start_command=>"start", :stop_command=>"stop", :restart_command=>"restart", :status_command=>"status", :options=>{}, :log_options=>{}, :env=>{}, :action=>:enable, :down=>false, :supervisor_owner=>nil, :supervisor_group=>nil}, :log_options=>{"svlogd_size"=>209715200, "svlogd_num"=>30, "svlogd_timeout"=>86400, "svlogd_filter"=>"gzip", "svlogd_udp"=>nil, "svlogd_prefix"=>nil, "udp_log_shipping_host"=>nil, "udp_log_shipping_hostname"=>nil, "udp_log_shipping_port"=>514, "logrotate_frequency"=>"daily", "logrotate_size"=>nil, "logrotate_rotate"=>30, "logrotate_compress"=>"compress", "logrotate_method"=>"copytruncate", "logrotate_postrotate"=>nil, "logrotate_dateformat"=>nil, "enable"=>true, "ha"=>false, "dir"=>"/var/opt/gitlab/gitaly", "log_directory"=>"/var/log/gitlab/gitaly", "env_directory"=>"/opt/gitlab/etc/gitaly", "bin_path"=>"/opt/gitlab/embedded/bin/gitaly", "socket_path"=>"/var/opt/gitlab/gitaly/gitaly.socket", "listen_addr"=>nil, "prometheus_listen_addr"=>"localhost:9236", "logging_format"=>nil, "logging_sentry_dsn"=>nil, "logging_ruby_sentry_dsn"=>nil, "prometheus_grpc_latency_buckets"=>nil, "storage"=>[{"name"=>"default", "path"=>"/var/opt/gitlab/git-data/repositories"}], "auth_token"=>nil, "auth_transitioning"=>false, "ruby_max_rss"=>nil, "ruby_graceful_restart_timeout"=>nil, "ruby_restart_delay"=>nil, "ruby_num_workers"=>nil, "concurrency"=>nil, "env"=>{"HOME"=>"/var/opt/gitlab", "PATH"=>"/opt/gitlab/bin:/opt/gitlab/embedded/bin:/bin:/usr/bin", "TZ"=>":/etc/localtime"}}, :env=>{}, :action=>:enable, :down=>false, :supervisor_owner=>nil, :supervisor_group=>nil, :name=>"gitaly"}
      provider Chef::Provider::Service::Simple
      action [:nothing]
      default_guard_interpreter :default
      service_name "gitaly"
      enabled nil
      running nil
      masked nil
      pattern "gitaly"
      start_command "/opt/gitlab/embedded/bin/chpst -u root /opt/gitlab/embedded/bin/sv start /opt/gitlab/service/gitaly"
      stop_command "/opt/gitlab/embedded/bin/chpst -u root /opt/gitlab/embedded/bin/sv stop /opt/gitlab/service/gitaly"
      status_command "/opt/gitlab/embedded/bin/chpst -u root /opt/gitlab/embedded/bin/sv status /opt/gitlab/service/gitaly"
      restart_command "/opt/gitlab/embedded/bin/chpst -u root /opt/gitlab/embedded/bin/sv restart /opt/gitlab/service/gitaly"
      declared_type :service
      cookbook_name "gitaly"
      recipe_name "enable"
      supports {:restart=>true, :status=>true}
    end

    System Info:
    ------------
    chef_version=13.6.4
    platform=ubuntu
    platform_version=16.04
    ruby=ruby 2.4.4p296 (2018-03-28 revision 63013) [x86_64-linux]
    program_name=/opt/gitlab/embedded/bin/chef-client
    executable=/opt/gitlab/embedded/bin/chef-client

  * ruby_block[restart gitaly svlogd configuration] action create
    - execute the ruby block restart gitaly svlogd configuration
Recipe: gitlab::gitlab-monitor
  * ruby_block[restart gitlab-monitor svlogd configuration] action create
    - execute the ruby block restart gitlab-monitor svlogd configuration
Recipe: gitlab::alertmanager
  * ruby_block[restart alertmanager svlogd configuration] action create
    - execute the ruby block restart alertmanager svlogd configuration

Running handlers:
Running handlers complete
Chef Client failed. 152 resources updated in 01 minutes 05 seconds
There was an error running gitlab-ctl reconfigure:

service[gitaly] (gitaly::enable line 227) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of /opt/gitlab/embedded/bin/chpst -u root /opt/gitlab/embedded/bin/sv restart /opt/gitlab/service/gitaly ----
STDOUT: timeout: run: /opt/gitlab/service/gitaly: (pid 625) 36s, got TERM
STDERR:
---- End output of /opt/gitlab/embedded/bin/chpst -u root /opt/gitlab/embedded/bin/sv restart /opt/gitlab/service/gitaly ----
Ran /opt/gitlab/embedded/bin/chpst -u root /opt/gitlab/embedded/bin/sv restart /opt/gitlab/service/gitaly returned 

你添加了 gitaly 的配置 ?

这个问题你解决了吗?