Check the PostgreSQL data dir is not a mount point before pg-upgrade

Summary

If sudo gitlab-ctl pg-upgrade is executed and the PostgreSQL data directory /var/opt/gitlab/postgresql/data is mounted, the pg-upgrade operation will be unable to move the data directory and shows a Device or resource busy message. The problem here is that the command continues to run despite this error.

Upgrading the data: OK
Move the old data directory out of the way:mv: cannot move ‘/var/opt/gitlab/postgresql/data’ to ‘/var/opt/gitlab/postgresql/data.10’: Device or resource busy
Move the old data directory out of the way: OK
Rename the new data directory:mv: inter-device move failed: ‘/var/opt/gitlab/postgresql/data.11’ to ‘/var/opt/gitlab/postgresql/data/data.11’; unable to remove target: Directory not empty
Rename the new data directory: OK
Saving the old version information: OK
Configuring PostgreSQL

A full log is in the relevant logs section.

Steps to reproduce

  1. Setup an Omnibus instance that uses bundled PostgreSQL 10
  2. Configure /var/opt/gitlab/postgresql/data to be a mount point in the OS
  3. Run sudo gitlab-ctl pg-upgrade -V 11

What is the current bug behavior?

gitlab-ctl pg-upgrade fails to move the data directory because it is a mount point, which is understandable, but pg-upgrade should deal gracefully with this situation.

What is the expected correct behavior?

There are several ways this could be dealt with, including:

  1. pg-upgrade should detect if the data directory is a mount point before beginning the actual upgrade, and abort with an informative message as to why
  2. If pg-upgrade is unable to move the data directory, it should either:
    • Attempt to rollback or abort gracefully
    • Provide instructions to the user to move the directories manually after the reconfigure prehaps?

Relevant logs

Relevant logs
$ sudo gitlab-ctl pg-upgrade -V 11
Checking for an omnibus managed postgresql: OK
Checking if postgresql['version'] is set: OK
Checking if we already upgraded: NOT OK
Checking for a newer version of PostgreSQL to install
Upgrading PostgreSQL to 11.7
Checking if PostgreSQL bin files are symlinked to the expected location: OK
Waiting 30 seconds to ensure tasks complete before PostgreSQL upgrade.
See https://docs.gitlab.com/omnibus/settings/database.html#upgrade-packaged-postgresql-server for details
If you do not want to upgrade the PostgreSQL server at this time, enter Ctrl-C and see the documentation for details

Please hit Ctrl-C now if you want to cancel the operation. Toggling deploy page:cp /opt/gitlab/embedded/service/gitlab-rails/public/deploy.html /opt/gitlab/embedded/service/gitlab -rails/public/index.html Toggling deploy page: OK Toggling services:ok: down: alertmanager: 1s, normally up ok: down: gitaly: 0s, normally up ok: down: gitlab-exporter: 0s, normally up ok: down: grafana: 0s, normally up ok: down: logrotate: 0s, normally up ok: down: node-exporter: 1s, normally up ok: down: postgres-exporter: 0s, normally up ok: down: prometheus: 1s, normally up ok: down: redis-exporter: 0s, normally up ok: down: sidekiq: 0s, normally up Toggling services: OK Running stop on postgresql:ok: down: postgresql: 0s, normally up Running stop on postgresql: OK Symlink correct version of binaries: OK Creating temporary data directory: OK Initializing the new database: OK Upgrading the data: OK Move the old data directory out of the way:mv: cannot move ‘/var/opt/gitlab/postgresql/data’ to ‘/var/opt/gitlab/postgre sql/data.10’: Device or resource busy Move the old data directory out of the way: OK Rename the new data directory:mv: inter-device move failed: ‘/var/opt/gitlab/postgresql/data.11’ to ‘/var/opt/gitlab/pos tgresql/data/data.11’; unable to remove target: Directory not empty Rename the new data directory: OK Saving the old version information: OK Configuring PostgreSQL Starting Chef Client, version 14.14.29 resolving cookbooks for run list: ["gitlab-ee::config", "postgresql::enable"] Synchronizing Cookbooks:

  • gitlab-ee (0.0.1)
  • postgresql (0.1.0)
  • package (0.1.0)
  • gitlab (0.0.1)
  • consul (0.1.0)
  • repmgr (0.1.0)
  • runit (4.3.0)
  • redis (0.1.0)
  • monitoring (0.1.0)
  • registry (0.1.0)
  • mattermost (0.1.0)
  • gitaly (0.1.0)
  • praefect (0.1.0)
  • letsencrypt (0.1.0)
  • nginx (0.1.0)
  • acme (4.1.1)
  • crond (0.1.0) Installing Cookbook Gems: Compiling Cookbooks... Converging 26 resources 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 (up to date) (up to date)
  • directory[/var/opt/gitlab/postgresql] action create (up to date)

  • file[/var/opt/gitlab/postgresql/.profile] action create (up to date) Recipe: postgresql::enable

  • directory[/var/opt/gitlab/postgresql] action create (up to date)

  • directory[/var/opt/gitlab/postgresql/data] action create (up to date)

  • directory[/var/log/gitlab/postgresql] action create (up to date)

  • link[/var/opt/gitlab/postgresql/data] action create (skipped due to not_if) Recipe: package::sysctl

  • execute[reload all sysctl conf] action nothing (skipped due to action :nothing) Recipe: postgresql::enable

  • gitlab_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)
    • execute[load sysctl conf kernel.shmmax] action nothing (skipped due to action :nothing) (up to date)
  • gitlab_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)
    • execute[load sysctl conf kernel.shmall] action nothing (skipped due to action :nothing) (up to date)
  • gitlab_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)
    • execute[load sysctl conf kernel.sem] action nothing (skipped due to action :nothing) (up to date)
  • execute[/opt/gitlab/embedded/bin/initdb -D /var/opt/gitlab/postgresql/data -E UTF8] action run (skipped due to not_i f)

  • file[/var/opt/gitlab/postgresql/data/server.crt] action create (up to date)

  • file[/var/opt/gitlab/postgresql/data/server.key] action create (up to date)

  • postgresql_config[gitlab] action create

    • template[/var/opt/gitlab/postgresql/data/postgresql.conf] action create (up to date)
    • template[/var/opt/gitlab/postgresql/data/runtime.conf] action create (up to date)
    • template[/var/opt/gitlab/postgresql/data/pg_hba.conf] action create (up to date)
    • template[/var/opt/gitlab/postgresql/data/pg_ident.conf] action create (up to date) (up to date) Recipe:
  • service[postgresql] action nothing (skipped due to action :nothing) Recipe: postgresql::enable

  • runit_service[postgresql] action enable

    • ruby_block[restart_service] action nothing (skipped due to action :nothing)
    • ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
    • ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
    • directory[/opt/gitlab/sv/postgresql] action create (up to date)
    • template[/opt/gitlab/sv/postgresql/run] 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/log/run] action create (up to date)
    • template[/var/log/gitlab/postgresql/config] action create (up to date)
    • ruby_block[verify_chown_persisted_on_postgresql] action nothing (skipped due to action :nothing)
    • directory[/opt/gitlab/sv/postgresql/env] action create (up to date)
    • ruby_block[Delete unmanaged env files for postgresql service] action run (skipped due to only_if)
    • template[/opt/gitlab/sv/postgresql/check] action create (skipped due to only_if)
    • template[/opt/gitlab/sv/postgresql/finish] action create (skipped due to only_if)
    • 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)
    • file[/opt/gitlab/sv/postgresql/down] action delete (up to date)
    • directory[/opt/gitlab/service] action create (up to date)
    • link[/opt/gitlab/service/postgresql] action create (up to date)
    • ruby_block[wait for postgresql service socket] action run (skipped due to not_if)
    • directory[/opt/gitlab/service/postgresql/supervise] action create (up to date)
    • directory[/opt/gitlab/service/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/status] action touch
      • change owner from 'root' to 'gitlab-psql'
      • change group from 'root' to 'gitlab-psql'
      • restore selinux security context
      • update utime on file /opt/gitlab/sv/postgresql/supervise/status
    • file[/opt/gitlab/sv/postgresql/log/supervise/status] 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)
  • execute[/opt/gitlab/bin/gitlab-ctl start postgresql] action run [execute] ok: run: postgresql: (pid 383029) 0s

    • execute /opt/gitlab/bin/gitlab-ctl start postgresql
  • template[/opt/gitlab/etc/gitlab-psql-rc] action create (up to date)

  • postgresql_user[gitlab] action create

    • execute[create gitlab postgresql user] action run (skipped due to not_if) (up to date)
  • execute[create gitlabhq_production database] action run (skipped due to not_if)

  • postgresql_user[gitlab_replicator] action create

    • execute[create gitlab_replicator postgresql user] action run (skipped due to not_if)
    • execute[set options for gitlab_replicator postgresql user] action run (skipped due to not_if) (up to date)
  • postgresql_extension[pg_trgm] action enable

    • postgresql_query[enable pg_trgm extension] action run (skipped due to only_if) (up to date)
  • ruby_block[warn pending postgresql restart] action run (skipped due to only_if)

  • execute[reload postgresql] action nothing (skipped due to action :nothing)

  • execute[start postgresql] action nothing (skipped due to action :nothing)

Running handlers: Running handlers complete Chef Client finished, 3/77 resources updated in 12 seconds Running restart on postgresql:timeout: down: postgresql: 0s, normally up, want up Running restart on postgresql: OK Running reconfigure to re-generate any dependent service configuration Running reconfigure:Starting Chef Client, version 14.14.29 resolving cookbooks for run list: ["gitlab-ee"] Synchronizing Cookbooks:

  • gitlab-ee (0.0.1)
  • package (0.1.0)
  • gitlab (0.0.1)
  • consul (0.1.0)
  • repmgr (0.1.0)
  • runit (4.3.0)
  • postgresql (0.1.0)
  • redis (0.1.0)
  • monitoring (0.1.0)
  • registry (0.1.0)
  • mattermost (0.1.0)
  • gitaly (0.1.0)
  • praefect (0.1.0)
  • letsencrypt (0.1.0)
  • nginx (0.1.0)
  • acme (4.1.1)
  • crond (0.1.0) Installing Cookbook Gems: Compiling Cookbooks... Recipe: gitlab::default
  • directory[/etc/gitlab] action create (up to date) Converging 298 resources

  • directory[/etc/gitlab] action create (up to date)

  • directory[Create /var/opt/gitlab] action create (up to date)

  • directory[Create /var/log/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)

  • file[/var/opt/gitlab/.ssh/authorized_keys] action create_if_missing (up to date) Recipe: gitlab::gitlab-rails

  • storage_directory[/opt/gitlab/repodata01] action create

    • ruby_block[directory resource: /opt/gitlab/repodata01] action run (skipped due to not_if) (up to date)
  • storage_directory[/opt/gitlab/repodata01/repositories] action create

    • ruby_block[directory resource: /opt/gitlab/repodata01/repositories] action run (skipped due to not_if) (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 (skipped due to not_if) (up to date)
  • storage_directory[/opt/gitlab/artifacts] action create

    • ruby_block[directory resource: /opt/gitlab/artifacts] action run (skipped due to not_if) (up to date)
  • storage_directory[/var/opt/gitlab/gitlab-rails/shared/external-diffs] action create

    • ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/external-diffs] action run (skipped due to not_ if) (up to date)
  • storage_directory[/opt/gitlab/git-lfs-objects] action create

    • ruby_block[directory resource: /opt/gitlab/git-lfs-objects] action run (skipped due to not_if) (up to date)
  • storage_directory[/var/opt/gitlab/gitlab-rails/shared/packages] action create

    • ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/packages] action run (skipped due to not_if) (up to date)
  • storage_directory[/var/opt/gitlab/gitlab-rails/shared/dependency_proxy] action create

    • ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/dependency_proxy] action run (skipped due to no t_if) (up to date)
  • storage_directory[/var/opt/gitlab/gitlab-rails/shared/terraform_state] action create

    • ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/terraform_state] 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[/opt/gitlab/builds] action create

    • ruby_block[directory resource: /opt/gitlab/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[/opt/gitlab/uploads/] action create

    • ruby_block[directory resource: /opt/gitlab/uploads/] 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 (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[/opt/gitlab/exports] action create

    • ruby_block[directory resource: /opt/gitlab/exports] 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 (up to date)
    • link[Link /opt/gitlab/embedded/service/gitlab-rails/config/database.yml to /var/opt/gitlab/gitlab-rails/etc/databa se.yml] action create (up to date) (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.y ml] action create (up to date) (up to date)
  • templatesymlink[Create a cable.yml and create a symlink to Rails root] action create

    • template[/var/opt/gitlab/gitlab-rails/etc/cable.yml] action create (up to date)
    • link[Link /opt/gitlab/embedded/service/gitlab-rails/config/cable.yml to /var/opt/gitlab/gitlab-rails/etc/cable.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)

  • file[/opt/gitlab/embedded/service/gitlab-rails/config/redis.cache.yml] action delete (up to date)

  • file[/var/opt/gitlab/gitlab-rails/etc/redis.cache.yml] action delete (up to date)

  • templatesymlink[Create a redis.queues.yml and create a symlink to Rails root] action create (skipped due to not_if)

  • file[/opt/gitlab/embedded/service/gitlab-rails/config/redis.queues.yml] action delete (up to date)

  • file[/var/opt/gitlab/gitlab-rails/etc/redis.queues.yml] action delete (up to date)

  • templatesymlink[Create a redis.shared_state.yml and create a symlink to Rails root] action create (skipped due to no t_if)

  • file[/opt/gitlab/embedded/service/gitlab-rails/config/redis.shared_state.yml] action delete (up to date)

  • file[/var/opt/gitlab/gitlab-rails/etc/redis.shared_state.yml] action delete (up to date)

  • 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.y ml] 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-r ails/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/g itlab_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/gitla b_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

    • template[/var/opt/gitlab/gitlab-rails/etc/gitlab_pages_secret] action create (up to date)
    • link[Link /opt/gitlab/embedded/service/gitlab-rails/.gitlab_pages_secret to /var/opt/gitlab/gitlab-rails/etc/gitla b_pages_secret] action create (up to date) (up to date)
  • 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/structure.sql] action create

    • change owner from 'root' to 'git'
    • restore selinux security context
  • remote_file[/var/opt/gitlab/gitlab-rails/VERSION] action create

    • update content in file /var/opt/gitlab/gitlab-rails/VERSION from 453115 to 9e2f1c --- /var/opt/gitlab/gitlab-rails/VERSION 2020-10-06 10:09:57.102470363 +0200 +++ /var/opt/gitlab/gitlab-rails/.chef-VERSION20201007-383111-zihl2r 2020-10-07 10:10:47.728677087 +0200 @@ -1 +1 @@ -12.10.13-ee +12.10.14-ee
    • restore selinux security context
  • remote_file[/var/opt/gitlab/gitlab-rails/REVISION] action create

    • update content in file /var/opt/gitlab/gitlab-rails/REVISION from 9554e5 to f9c00c --- /var/opt/gitlab/gitlab-rails/REVISION 2020-10-06 10:09:57.128470565 +0200 +++ /var/opt/gitlab/gitlab-rails/.chef-REVISION20201007-383111-f88678 2020-10-07 10:10:47.754677311 +0200 @@ -1 +1 @@ -ec145a32727 +f64cd73fb77
    • restore selinux security context
  • 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-keyge n 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)

  • bash[Set proper security context on ssh files for selinux] action run

    • execute "bash" "/tmp/chef-script20201007-383111-m704f9" 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

  • 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 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: package::runit_systemd

  • directory[/usr/lib/systemd/system] action create (up to date)

  • template[/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: package::sysctl

  • execute[reload all sysctl conf] action nothing (skipped due to action :nothing) Recipe: postgresql::bin

  • ruby_block[check_postgresql_version] action run (skipped due to not_if)

  • ruby_block[check_postgresql_version_is_deprecated] action run (skipped due to not_if)

  • ruby_block[Link postgresql bin files to the correct version] action run

    • execute the ruby block Link postgresql bin files to the correct version 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) Recipe:

  • service[redis] action nothing (skipped due to action :nothing) Recipe: redis::enable

  • runit_service[redis] action enable

    • ruby_block[restart_service] action nothing (skipped due to action :nothing)
    • ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
    • ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
    • directory[/opt/gitlab/sv/redis] action create (up to date)
    • template[/opt/gitlab/sv/redis/run] 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/log/run] action create (up to date)
    • template[/var/log/gitlab/redis/config] action create (up to date)
    • ruby_block[verify_chown_persisted_on_redis] action nothing (skipped due to action :nothing)
    • directory[/opt/gitlab/sv/redis/env] action create (up to date)
    • ruby_block[Delete unmanaged env files for redis service] action run (skipped due to only_if)
    • template[/opt/gitlab/sv/redis/check] action create (skipped due to only_if)
    • template[/opt/gitlab/sv/redis/finish] action create (skipped due to only_if)
    • directory[/opt/gitlab/sv/redis/control] action create (up to date)
    • link[/opt/gitlab/init/redis] action create (up to date)
    • file[/opt/gitlab/sv/redis/down] action delete (up to date)
    • directory[/opt/gitlab/service] action create (up to date)
    • link[/opt/gitlab/service/redis] action create (up to date)
    • ruby_block[wait for redis service socket] action run (skipped due to not_if) (up to date)
  • ruby_block[warn pending redis restart] action run (skipped due to only_if)

  • template[/opt/gitlab/etc/gitlab-redis-cli-rc] action create (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)

  • directory[/var/opt/gitlab/gitaly/internal_sockets] action create (up to date)

  • env_dir[/opt/gitlab/etc/gitaly/env] action create

    • directory[/opt/gitlab/etc/gitaly/env] action create (up to date)
    • file[/opt/gitlab/etc/gitaly/env/HOME] action create (up to date)
    • file[/opt/gitlab/etc/gitaly/env/PATH] action create (up to date)
    • file[/opt/gitlab/etc/gitaly/env/TZ] action create (up to date)
    • file[/opt/gitlab/etc/gitaly/env/PYTHONPATH] action create (up to date)
    • file[/opt/gitlab/etc/gitaly/env/ICU_DATA] action create (up to date)
    • file[/opt/gitlab/etc/gitaly/env/SSL_CERT_DIR] action create (up to date)
    • file[/opt/gitlab/etc/gitaly/env/GITALY_PID_FILE] action create (up to date)
    • file[/opt/gitlab/etc/gitaly/env/WRAPPER_JSON_LOGGING] action create (up to date) (up to date)
  • template[Create Gitaly config.toml] action create (up to date) Recipe:

  • service[gitaly] action nothing (skipped due to action :nothing) Recipe: gitaly::enable

  • runit_service[gitaly] action enable

    • ruby_block[restart_service] action nothing (skipped due to action :nothing)
    • ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
    • ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
    • directory[/opt/gitlab/sv/gitaly] action create (up to date)
    • template[/opt/gitlab/sv/gitaly/run] action create (up to date)
    • directory[/opt/gitlab/sv/gitaly/log] action create (up to date)
    • directory[/opt/gitlab/sv/gitaly/log/main] action create (up to date)
    • template[/opt/gitlab/sv/gitaly/log/run] action create (up to date)
    • template[/var/log/gitlab/gitaly/config] action create (up to date)
    • ruby_block[verify_chown_persisted_on_gitaly] action nothing (skipped due to action :nothing)
    • directory[/opt/gitlab/sv/gitaly/env] action create (up to date)
    • ruby_block[Delete unmanaged env files for gitaly service] action run (skipped due to only_if)
    • template[/opt/gitlab/sv/gitaly/check] action create (skipped due to only_if)
    • template[/opt/gitlab/sv/gitaly/finish] action create (skipped due to only_if)
    • directory[/opt/gitlab/sv/gitaly/control] action create (up to date)
    • link[/opt/gitlab/init/gitaly] action create (up to date)
    • file[/opt/gitlab/sv/gitaly/down] action delete (up to date)
    • directory[/opt/gitlab/service] action create (up to date)
    • link[/opt/gitlab/service/gitaly] action create (up to date)
    • ruby_block[wait for gitaly service socket] action run (skipped due to not_if) (up to date)
  • file[/var/opt/gitlab/gitaly/VERSION] action create

    • update content in file /var/opt/gitlab/gitaly/VERSION from 4fd372 to 50da90 --- /var/opt/gitlab/gitaly/VERSION 2020-10-06 10:10:16.601621820 +0200 +++ /var/opt/gitlab/gitaly/.chef-VERSION20201007-383111-e18v50 2020-10-07 10:11:05.953834285 +0200 @@ -1 +1 @@ -Gitaly, version 12.10.13 +Gitaly, version 12.10.14
    • restore selinux security context
  • consul_service[gitaly] action delete

    • file[/var/opt/gitlab/consul/config.d/gitaly-service.json] action delete (up to date) (up to date) Recipe:
  • service[praefect] action nothing (skipped due to action :nothing) Recipe: praefect::disable

  • runit_service[praefect] action disable

    • ruby_block[disable praefect] action run (skipped due to only_if) (up to date)
  • consul_service[praefect] action delete

    • file[/var/opt/gitlab/consul/config.d/praefect-service.json] action delete (up to date) (up to date) 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 (up to date) (up to date)
  • directory[/var/opt/gitlab/postgresql] action create (up to date)

  • file[/var/opt/gitlab/postgresql/.profile] action create (up to date) Recipe: postgresql::enable

  • directory[/var/opt/gitlab/postgresql] action create (up to date)

  • directory[/var/opt/gitlab/postgresql/data] action create (up to date)

  • directory[/var/log/gitlab/postgresql] action create (up to date)

  • link[/var/opt/gitlab/postgresql/data] action create (skipped due to not_if)

  • gitlab_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)
    • execute[load sysctl conf kernel.shmmax] action nothing (skipped due to action :nothing) (up to date)
  • gitlab_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)
    • execute[load sysctl conf kernel.shmall] action nothing (skipped due to action :nothing) (up to date)
  • gitlab_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)
    • execute[load sysctl conf kernel.sem] action nothing (skipped due to action :nothing) (up to date)
  • execute[/opt/gitlab/embedded/bin/initdb -D /var/opt/gitlab/postgresql/data -E UTF8] action run (skipped due to not_i f)

  • file[/var/opt/gitlab/postgresql/data/server.crt] action create (up to date)

  • file[/var/opt/gitlab/postgresql/data/server.key] action create (up to date)

  • postgresql_config[gitlab] action create

    • template[/var/opt/gitlab/postgresql/data/postgresql.conf] action create (up to date)
    • template[/var/opt/gitlab/postgresql/data/runtime.conf] action create (up to date)
    • template[/var/opt/gitlab/postgresql/data/pg_hba.conf] action create (up to date)
    • template[/var/opt/gitlab/postgresql/data/pg_ident.conf] action create (up to date) (up to date) Recipe:
  • service[postgresql] action nothing (skipped due to action :nothing) Recipe: postgresql::enable

  • runit_service[postgresql] action enable

    • ruby_block[restart_service] action nothing (skipped due to action :nothing)
    • ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
    • ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
    • directory[/opt/gitlab/sv/postgresql] action create (up to date)
    • template[/opt/gitlab/sv/postgresql/run] 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/log/run] action create (up to date)
    • template[/var/log/gitlab/postgresql/config] action create (up to date)
    • ruby_block[verify_chown_persisted_on_postgresql] action nothing (skipped due to action :nothing)
    • directory[/opt/gitlab/sv/postgresql/env] action create (up to date)
    • ruby_block[Delete unmanaged env files for postgresql service] action run (skipped due to only_if)
    • template[/opt/gitlab/sv/postgresql/check] action create (skipped due to only_if)
    • template[/opt/gitlab/sv/postgresql/finish] action create (skipped due to only_if)
    • 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)
    • file[/opt/gitlab/sv/postgresql/down] action delete (up to date)
    • directory[/opt/gitlab/service] action create (up to date)
    • link[/opt/gitlab/service/postgresql] action create (up to date)
    • ruby_block[wait for postgresql service socket] action run (skipped due to not_if)
    • directory[/opt/gitlab/service/postgresql/supervise] action create (up to date)
    • directory[/opt/gitlab/service/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/status] action touch
      • change owner from 'root' to 'gitlab-psql'
      • change group from 'root' to 'gitlab-psql'
      • restore selinux security context
      • update utime on file /opt/gitlab/sv/postgresql/supervise/status
    • file[/opt/gitlab/sv/postgresql/log/supervise/status] 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)
  • template[/opt/gitlab/etc/gitlab-psql-rc] action create (up to date)

  • postgresql_user[gitlab] action create

    • execute[create gitlab postgresql user] action run (skipped due to not_if) (up to date)
  • execute[create gitlabhq_production database] action run (skipped due to not_if)

  • postgresql_user[gitlab_replicator] action create

    • execute[create gitlab_replicator postgresql user] action run (skipped due to not_if)
    • execute[set options for gitlab_replicator postgresql user] action run (skipped due to not_if) (up to date)
  • postgresql_extension[pg_trgm] action enable

    • postgresql_query[enable pg_trgm extension] action run (skipped due to only_if) (up to date)
  • ruby_block[warn pending postgresql restart] action run (skipped due to only_if)

  • execute[reload postgresql] action nothing (skipped due to action :nothing)

  • execute[start postgresql] action nothing (skipped due to action :nothing) Recipe: gitlab::database_migrations

  • bash[migrate gitlab-rails database] action run

    • execute "bash" "/tmp/chef-script20201007-383111-4ubvby" Recipe: gitlab::gitlab-rails
  • execute[clear the gitlab-rails cache] action run

    • execute /opt/gitlab/bin/gitlab-rake cache:clear Recipe: gitlab::unicorn
  • runit_service[unicorn] action restart (up to date)

  • runit_service[unicorn] action restart (up to date) Recipe: gitlab::database_migrations

  • bash[set ownership of old migration log files] action run

    • execute "bash" "/tmp/chef-script20201007-383111-2f7ngx" 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/puma] 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 (up to date)

  • 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) Recipe:

  • service[unicorn] action nothing (skipped due to action :nothing) Recipe: gitlab::unicorn

  • runit_service[unicorn] action enable

    • ruby_block[restart_service] action nothing (skipped due to action :nothing)
    • ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
    • ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
    • directory[/opt/gitlab/sv/unicorn] action create (up to date)
    • template[/opt/gitlab/sv/unicorn/run] action create (up to date)
    • directory[/opt/gitlab/sv/unicorn/log] action create (up to date)
    • directory[/opt/gitlab/sv/unicorn/log/main] action create (up to date)
    • template[/opt/gitlab/sv/unicorn/log/run] action create (up to date)
    • template[/var/log/gitlab/unicorn/config] action create (up to date)
    • ruby_block[verify_chown_persisted_on_unicorn] action nothing (skipped due to action :nothing)
    • directory[/opt/gitlab/sv/unicorn/env] action create (up to date)
    • ruby_block[Delete unmanaged env files for unicorn service] action run (skipped due to only_if)
    • template[/opt/gitlab/sv/unicorn/check] action create (skipped due to only_if)
    • template[/opt/gitlab/sv/unicorn/finish] action create (skipped due to only_if)
    • directory[/opt/gitlab/sv/unicorn/control] action create (up to date)
    • template[/opt/gitlab/sv/unicorn/control/t] action create (up to date)
    • link[/opt/gitlab/init/unicorn] action create (up to date)
    • file[/opt/gitlab/sv/unicorn/down] action delete (up to date)
    • directory[/opt/gitlab/service] action create (up to date)
    • link[/opt/gitlab/service/unicorn] action create (up to date)
    • ruby_block[wait for unicorn service socket] action run (skipped due to not_if) (up to date)
  • runit_service[unicorn] action enable

    • ruby_block[restart_service] action nothing (skipped due to action :nothing)
    • ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
    • ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
    • directory[/opt/gitlab/sv/unicorn] action create (up to date)
    • template[/opt/gitlab/sv/unicorn/run] action create (up to date)
    • directory[/opt/gitlab/sv/unicorn/log] action create (up to date)
    • directory[/opt/gitlab/sv/unicorn/log/main] action create (up to date)
    • template[/opt/gitlab/sv/unicorn/log/run] action create (up to date)
    • template[/var/log/gitlab/unicorn/config] action create (up to date)
    • ruby_block[verify_chown_persisted_on_unicorn] action nothing (skipped due to action :nothing)
    • directory[/opt/gitlab/sv/unicorn/env] action create (up to date)
    • ruby_block[Delete unmanaged env files for unicorn service] action run (skipped due to only_if)
    • template[/opt/gitlab/sv/unicorn/check] action create (skipped due to only_if)
    • template[/opt/gitlab/sv/unicorn/finish] action create (skipped due to only_if)
    • directory[/opt/gitlab/sv/unicorn/control] action create (up to date)
    • template[/opt/gitlab/sv/unicorn/control/t] action create (up to date)
    • link[/opt/gitlab/init/unicorn] action create (up to date)
    • file[/opt/gitlab/sv/unicorn/down] action delete (up to date)
    • directory[/opt/gitlab/service] action create (up to date)
    • link[/opt/gitlab/service/unicorn] action create (up to date)
    • ruby_block[wait for unicorn service socket] action run (skipped due to not_if) (up to date)
  • consul_service[rails] action delete

    • file[/var/opt/gitlab/consul/config.d/rails-service.json] action delete (up to date) (up to date)
  • gitlab_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 ( up to date)
    • link[/etc/sysctl.d/90-omnibus-gitlab-net.core.somaxconn.conf] action create (up to date)
    • execute[load sysctl conf net.core.somaxconn] action nothing (skipped due to action :nothing) (up to date) Recipe:
  • service[puma] action nothing (skipped due to action :nothing) Recipe: gitlab::puma_disable

  • runit_service[puma] action disable

    • ruby_block[disable puma] action run (skipped due to only_if) (up to date)
  • consul_service[rails] action delete (skipped due to not_if) Recipe: gitlab::sidekiq

  • directory[/var/log/gitlab/sidekiq] action create (up to date) Recipe:

  • service[sidekiq] action nothing (skipped due to action :nothing) Recipe: gitlab::sidekiq

  • runit_service[sidekiq] action enable

    • ruby_block[restart_service] action nothing (skipped due to action :nothing)
    • ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
    • ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
    • directory[/opt/gitlab/sv/sidekiq] action create (up to date)
    • template[/opt/gitlab/sv/sidekiq/run] action create (up to date)
    • directory[/opt/gitlab/sv/sidekiq/log] action create (up to date)
    • directory[/opt/gitlab/sv/sidekiq/log/main] action create (up to date)
    • template[/opt/gitlab/sv/sidekiq/log/run] action create (up to date)
    • template[/var/log/gitlab/sidekiq/config] action create (up to date)
    • ruby_block[verify_chown_persisted_on_sidekiq] action nothing (skipped due to action :nothing)
    • directory[/opt/gitlab/sv/sidekiq/env] action create (up to date)
    • ruby_block[Delete unmanaged env files for sidekiq service] action run (skipped due to only_if)
    • template[/opt/gitlab/sv/sidekiq/check] action create (skipped due to only_if)
    • template[/opt/gitlab/sv/sidekiq/finish] action create (skipped due to only_if)
    • directory[/opt/gitlab/sv/sidekiq/control] action create (up to date)
    • link[/opt/gitlab/init/sidekiq] action create (up to date)
    • file[/opt/gitlab/sv/sidekiq/down] action delete (up to date)
    • directory[/opt/gitlab/service] action create (up to date)
    • link[/opt/gitlab/service/sidekiq] action create (up to date)
    • ruby_block[wait for sidekiq service socket] action run (skipped due to not_if) (up to date)
  • consul_service[sidekiq] action delete

    • file[/var/opt/gitlab/consul/config.d/sidekiq-service.json] action delete (up to date) (up to date) Recipe:
  • service[sidekiq-cluster] action nothing (skipped due to action :nothing) Recipe: gitlab::sidekiq-cluster_disable

  • runit_service[sidekiq-cluster] action disable

    • ruby_block[disable sidekiq-cluster] action run (skipped due to only_if) (up to date) 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 (up to date)

  • env_dir[/opt/gitlab/etc/gitlab-workhorse/env] action create

    • directory[/opt/gitlab/etc/gitlab-workhorse/env] action create (up to date)
    • file[/opt/gitlab/etc/gitlab-workhorse/env/PATH] action create (up to date)
    • file[/opt/gitlab/etc/gitlab-workhorse/env/HOME] action create (up to date)
    • file[/opt/gitlab/etc/gitlab-workhorse/env/SSL_CERT_DIR] action create (up to date) (up to date) Recipe:
  • service[gitlab-workhorse] action nothing (skipped due to action :nothing) Recipe: gitlab::gitlab-workhorse

  • runit_service[gitlab-workhorse] action enable

    • ruby_block[restart_service] action nothing (skipped due to action :nothing)
    • ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
    • ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
    • directory[/opt/gitlab/sv/gitlab-workhorse] action create (up to date)
    • template[/opt/gitlab/sv/gitlab-workhorse/run] action create (up to date)
    • directory[/opt/gitlab/sv/gitlab-workhorse/log] action create (up to date)
    • directory[/opt/gitlab/sv/gitlab-workhorse/log/main] action create (up to date)
    • template[/opt/gitlab/sv/gitlab-workhorse/log/run] action create (up to date)
    • template[/var/log/gitlab/gitlab-workhorse/config] action create (up to date)
    • ruby_block[verify_chown_persisted_on_gitlab-workhorse] action nothing (skipped due to action :nothing)
    • directory[/opt/gitlab/sv/gitlab-workhorse/env] action create (up to date)
    • ruby_block[Delete unmanaged env files for gitlab-workhorse service] action run (skipped due to only_if)
    • template[/opt/gitlab/sv/gitlab-workhorse/check] action create (skipped due to only_if)
    • template[/opt/gitlab/sv/gitlab-workhorse/finish] action create (skipped due to only_if)
    • directory[/opt/gitlab/sv/gitlab-workhorse/control] action create (up to date)
    • link[/opt/gitlab/init/gitlab-workhorse] action create (up to date)
    • file[/opt/gitlab/sv/gitlab-workhorse/down] action delete (up to date)
    • directory[/opt/gitlab/service] action create (up to date)
    • link[/opt/gitlab/service/gitlab-workhorse] action create (up to date)
    • ruby_block[wait for gitlab-workhorse service socket] action run (skipped due to not_if) (up to date)
  • consul_service[workhorse] action delete

    • file[/var/opt/gitlab/consul/config.d/workhorse-service.json] action delete (up to date) (up to date)
  • 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:

  • service[mailroom] action nothing (skipped due to action :nothing) Recipe: gitlab::mailroom_disable

  • runit_service[mailroom] action disable

    • ruby_block[disable mailroom] action run (skipped due to only_if) (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-smartcard-http.conf] action delete (up to date)

  • template[/var/opt/gitlab/nginx/conf/gitlab-health.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)

  • consul_service[nginx] action delete

    • file[/var/opt/gitlab/consul/config.d/nginx-service.json] action delete (up to date) (up to date)
  • template[/var/opt/gitlab/nginx/conf/nginx.conf] action create (up to date) Recipe:

  • service[nginx] action nothing (skipped due to action :nothing) Recipe: nginx::enable

  • runit_service[nginx] action enable

    • ruby_block[restart_service] action nothing (skipped due to action :nothing)
    • ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
    • ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
    • directory[/opt/gitlab/sv/nginx] action create (up to date)
    • template[/opt/gitlab/sv/nginx/run] action create (up to date)
    • directory[/opt/gitlab/sv/nginx/log] action create (up to date)
    • directory[/opt/gitlab/sv/nginx/log/main] action create (up to date)
    • template[/opt/gitlab/sv/nginx/log/run] action create (up to date)
    • template[/var/log/gitlab/nginx/config] action create (up to date)
    • ruby_block[verify_chown_persisted_on_nginx] action nothing (skipped due to action :nothing)
    • directory[/opt/gitlab/sv/nginx/env] action create (up to date)
    • ruby_block[Delete unmanaged env files for nginx service] action run (skipped due to only_if)
    • template[/opt/gitlab/sv/nginx/check] action create (skipped due to only_if)
    • template[/opt/gitlab/sv/nginx/finish] action create (skipped due to only_if)
    • directory[/opt/gitlab/sv/nginx/control] action create (up to date)
    • link[/opt/gitlab/init/nginx] action create (up to date)
    • file[/opt/gitlab/sv/nginx/down] action delete (up to date)
    • directory[/opt/gitlab/service] action create (up to date)
    • link[/opt/gitlab/service/nginx] action create (up to date)
    • ruby_block[wait for nginx service socket] action run (skipped due to not_if) (up to date)
  • execute[reload nginx] action nothing (skipped due to action :nothing) Recipe:

  • service[remote-syslog] action nothing (skipped due to action :nothing) Recipe: gitlab::remote-syslog_disable

  • runit_service[remote-syslog] action disable

    • ruby_block[disable remote-syslog] action run (skipped due to only_if) (up to date) Recipe:
  • service[logrotate] action nothing (skipped due to action :nothing) Recipe: gitlab::logrotate

  • runit_service[logrotate] action enable

    • ruby_block[restart_service] action nothing (skipped due to action :nothing)
    • ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
    • ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
    • directory[/opt/gitlab/sv/logrotate] action create (up to date)
    • template[/opt/gitlab/sv/logrotate/run] action create (up to date)
    • directory[/opt/gitlab/sv/logrotate/log] action create (up to date)
    • directory[/opt/gitlab/sv/logrotate/log/main] action create (up to date)
    • template[/opt/gitlab/sv/logrotate/log/run] action create (up to date)
    • template[/var/log/gitlab/logrotate/config] action create (up to date)
    • ruby_block[verify_chown_persisted_on_logrotate] action nothing (skipped due to action :nothing)
    • directory[/opt/gitlab/sv/logrotate/env] action create (up to date)
    • ruby_block[Delete unmanaged env files for logrotate service] action run (skipped due to only_if)
    • template[/opt/gitlab/sv/logrotate/check] action create (skipped due to only_if)
    • template[/opt/gitlab/sv/logrotate/finish] action create (skipped due to only_if)
    • directory[/opt/gitlab/sv/logrotate/control] action create (up to date)
    • template[/opt/gitlab/sv/logrotate/control/t] action create (up to date)
    • link[/opt/gitlab/init/logrotate] action create (up to date)
    • file[/opt/gitlab/sv/logrotate/down] action delete (up to date)
    • directory[/opt/gitlab/service] action create (up to date)
    • link[/opt/gitlab/service/logrotate] action create (up to date)
    • ruby_block[wait for logrotate service socket] action run (skipped due to not_if) (up to date) Recipe:
  • service[gitlab-pages] action nothing (skipped due to action :nothing) Recipe: gitlab::gitlab-pages_disable

  • runit_service[gitlab-pages] action disable

    • ruby_block[disable gitlab-pages] action run (skipped due to only_if) (up to date) Recipe:
  • service[storage-check] action nothing (skipped due to action :nothing) Recipe: gitlab::storage-check_disable

  • runit_service[storage-check] action disable

    • ruby_block[disable storage-check] action run (skipped due to only_if) (up to date) Recipe:
  • service[registry] action nothing (skipped due to action :nothing) Recipe: registry::disable

  • runit_service[registry] action disable

    • ruby_block[disable registry] action run (skipped due to only_if) (up to date) Recipe:
  • service[mattermost] action nothing (skipped due to action :nothing) Recipe: mattermost::disable

  • runit_service[mattermost] action disable

    • ruby_block[disable mattermost] action run (skipped due to only_if) (up to date) Recipe: gitlab::gitlab-healthcheck
  • template[/opt/gitlab/etc/gitlab-healthcheck-rc] action create (up to date) Recipe: monitoring::user

  • account[Prometheus user and group] action create

    • group[Prometheus user and group] action create (up to date)
    • linux_user[Prometheus user and group] action create (up to date) (up to date) Recipe: monitoring::node-exporter
  • directory[/var/log/gitlab/node-exporter] action create (up to date)

  • directory[/opt/gitlab/etc/node-exporter/env] action create (up to date)

  • env_dir[/opt/gitlab/etc/node-exporter/env] action create

    • directory[/opt/gitlab/etc/node-exporter/env] action create (up to date)
    • file[/opt/gitlab/etc/node-exporter/env/SSL_CERT_DIR] action create (up to date) (up to date)
  • directory[/var/opt/gitlab/node-exporter/textfile_collector] action create (up to date) Recipe:

  • service[node-exporter] action nothing (skipped due to action :nothing) Recipe: monitoring::node-exporter

  • runit_service[node-exporter] action enable

    • ruby_block[restart_service] action nothing (skipped due to action :nothing)
    • ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
    • ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
    • directory[/opt/gitlab/sv/node-exporter] action create (up to date)
    • template[/opt/gitlab/sv/node-exporter/run] action create (up to date)
    • directory[/opt/gitlab/sv/node-exporter/log] action create (up to date)
    • directory[/opt/gitlab/sv/node-exporter/log/main] action create (up to date)
    • template[/opt/gitlab/sv/node-exporter/log/run] action create (up to date)
    • template[/var/log/gitlab/node-exporter/config] action create (up to date)
    • ruby_block[verify_chown_persisted_on_node-exporter] action nothing (skipped due to action :nothing)
    • directory[/opt/gitlab/sv/node-exporter/env] action create (up to date)
    • ruby_block[Delete unmanaged env files for node-exporter service] action run (skipped due to only_if)
    • template[/opt/gitlab/sv/node-exporter/check] action create (skipped due to only_if)
    • template[/opt/gitlab/sv/node-exporter/finish] action create (skipped due to only_if)
    • directory[/opt/gitlab/sv/node-exporter/control] action create (up to date)
    • link[/opt/gitlab/init/node-exporter] action create (up to date)
    • file[/opt/gitlab/sv/node-exporter/down] action delete (up to date)
    • directory[/opt/gitlab/service] action create (up to date)
    • link[/opt/gitlab/service/node-exporter] action create (up to date)
    • ruby_block[wait for node-exporter service socket] action run (skipped due to not_if) (up to date)
  • consul_service[node-exporter] action delete

    • file[/var/opt/gitlab/consul/config.d/node-exporter-service.json] action delete (up to date) (up to date) Recipe: monitoring::gitlab-exporter
  • directory[/var/opt/gitlab/gitlab-exporter] action create (up to date) Recipe:

  • service[gitlab-monitor] action nothing (skipped due to action :nothing) Recipe: monitoring::gitlab-exporter

  • runit_service[gitlab-monitor] action disable

    • ruby_block[disable gitlab-monitor] action run (skipped due to only_if) (up to date)
  • directory[/var/opt/gitlab/gitlab-monitor] action delete (up to date)

  • directory[/var/log/gitlab/gitlab-exporter] action create (up to date)

  • template[/var/opt/gitlab/gitlab-exporter/gitlab-exporter.yml] action create (up to date)

  • file[/var/opt/gitlab/gitlab-exporter/RUBY_VERSION] action create (up to date) Recipe:

  • service[gitlab-exporter] action nothing (skipped due to action :nothing) Recipe: monitoring::gitlab-exporter

  • runit_service[gitlab-exporter] action enable

    • ruby_block[restart_service] action nothing (skipped due to action :nothing)
    • ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
    • ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
    • directory[/opt/gitlab/sv/gitlab-exporter] action create (up to date)
    • template[/opt/gitlab/sv/gitlab-exporter/run] action create (up to date)
    • directory[/opt/gitlab/sv/gitlab-exporter/log] action create (up to date)
    • directory[/opt/gitlab/sv/gitlab-exporter/log/main] action create (up to date)
    • template[/opt/gitlab/sv/gitlab-exporter/log/run] action create (up to date)
    • template[/var/log/gitlab/gitlab-exporter/config] action create (up to date)
    • ruby_block[verify_chown_persisted_on_gitlab-exporter] action nothing (skipped due to action :nothing)
    • directory[/opt/gitlab/sv/gitlab-exporter/env] action create (up to date)
    • ruby_block[Delete unmanaged env files for gitlab-exporter service] action run (skipped due to only_if)
    • template[/opt/gitlab/sv/gitlab-exporter/check] action create (skipped due to only_if)
    • template[/opt/gitlab/sv/gitlab-exporter/finish] action create (skipped due to only_if)
    • directory[/opt/gitlab/sv/gitlab-exporter/control] action create (up to date)
    • link[/opt/gitlab/init/gitlab-exporter] action create (up to date)
    • file[/opt/gitlab/sv/gitlab-exporter/down] action delete (up to date)
    • directory[/opt/gitlab/service] action create (up to date)
    • link[/opt/gitlab/service/gitlab-exporter] action create (up to date)
    • ruby_block[wait for gitlab-exporter service socket] action run (skipped due to not_if) (up to date) Recipe: monitoring::redis-exporter
  • directory[/var/log/gitlab/redis-exporter] action create (up to date)

  • directory[/opt/gitlab/etc/redis-exporter/env] action create (up to date)

  • env_dir[/opt/gitlab/etc/redis-exporter/env] action create

    • directory[/opt/gitlab/etc/redis-exporter/env] action create (up to date)
    • file[/opt/gitlab/etc/redis-exporter/env/SSL_CERT_DIR] action create (up to date) (up to date) Recipe:
  • service[redis-exporter] action nothing (skipped due to action :nothing) Recipe: monitoring::redis-exporter

  • runit_service[redis-exporter] action enable

    • ruby_block[restart_service] action nothing (skipped due to action :nothing)
    • ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
    • ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
    • directory[/opt/gitlab/sv/redis-exporter] action create (up to date)
    • template[/opt/gitlab/sv/redis-exporter/run] action create (up to date)
    • directory[/opt/gitlab/sv/redis-exporter/log] action create (up to date)
    • directory[/opt/gitlab/sv/redis-exporter/log/main] action create (up to date)
    • template[/opt/gitlab/sv/redis-exporter/log/run] action create (up to date)
    • template[/var/log/gitlab/redis-exporter/config] action create (up to date)
    • ruby_block[verify_chown_persisted_on_redis-exporter] action nothing (skipped due to action :nothing)
    • directory[/opt/gitlab/sv/redis-exporter/env] action create (up to date)
    • ruby_block[Delete unmanaged env files for redis-exporter service] action run (skipped due to only_if)
    • template[/opt/gitlab/sv/redis-exporter/check] action create (skipped due to only_if)
    • template[/opt/gitlab/sv/redis-exporter/finish] action create (skipped due to only_if)
    • directory[/opt/gitlab/sv/redis-exporter/control] action create (up to date)
    • link[/opt/gitlab/init/redis-exporter] action create (up to date)
    • file[/opt/gitlab/sv/redis-exporter/down] action delete (up to date)
    • directory[/opt/gitlab/service] action create (up to date)
    • link[/opt/gitlab/service/redis-exporter] action create (up to date)
    • ruby_block[wait for redis-exporter service socket] action run (skipped due to not_if) (up to date)
  • consul_service[redis-exporter] action delete

    • file[/var/opt/gitlab/consul/config.d/redis-exporter-service.json] action delete (up to date) (up to date) Recipe: monitoring::prometheus
  • directory[/var/opt/gitlab/prometheus] action create (up to date)

  • directory[/var/opt/gitlab/prometheus/rules] action create (up to date)

  • directory[/var/log/gitlab/prometheus] action create (up to date)

  • directory[/opt/gitlab/etc/prometheus/env] action create (up to date)

  • env_dir[/opt/gitlab/etc/prometheus/env] action create

    • directory[/opt/gitlab/etc/prometheus/env] action create (up to date)
    • file[/opt/gitlab/etc/prometheus/env/SSL_CERT_DIR] action create (up to date) (up to date)
  • execute[reload prometheus] action nothing (skipped due to action :nothing)

  • file[Prometheus config] action create (up to date) Recipe:

  • service[prometheus] action nothing (skipped due to action :nothing) Recipe: monitoring::prometheus

  • runit_service[prometheus] action enable

    • ruby_block[restart_service] action nothing (skipped due to action :nothing)
    • ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
    • ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
    • directory[/opt/gitlab/sv/prometheus] action create (up to date)
    • template[/opt/gitlab/sv/prometheus/run] action create (up to date)
    • directory[/opt/gitlab/sv/prometheus/log] action create (up to date)
    • directory[/opt/gitlab/sv/prometheus/log/main] action create (up to date)
    • template[/opt/gitlab/sv/prometheus/log/run] action create (up to date)
    • template[/var/log/gitlab/prometheus/config] action create (up to date)
    • ruby_block[verify_chown_persisted_on_prometheus] action nothing (skipped due to action :nothing)
    • directory[/opt/gitlab/sv/prometheus/env] action create (up to date)
    • ruby_block[Delete unmanaged env files for prometheus service] action run (skipped due to only_if)
    • template[/opt/gitlab/sv/prometheus/check] action create (skipped due to only_if)
    • template[/opt/gitlab/sv/prometheus/finish] action create (skipped due to only_if)
    • directory[/opt/gitlab/sv/prometheus/control] action create (up to date)
    • link[/opt/gitlab/init/prometheus] action create (up to date)
    • file[/opt/gitlab/sv/prometheus/down] action delete (up to date)
    • directory[/opt/gitlab/service] action create (up to date)
    • link[/opt/gitlab/service/prometheus] action create (up to date)
    • ruby_block[wait for prometheus service socket] action run (skipped due to not_if) (up to date)
  • consul_service[prometheus] action delete

    • file[/var/opt/gitlab/consul/config.d/prometheus-service.json] action delete (up to date) (up to date)
  • template[/var/opt/gitlab/prometheus/rules/gitlab.rules] action create (up to date)

  • template[/var/opt/gitlab/prometheus/rules/node.rules] action create (up to date) Recipe: monitoring::alertmanager

  • directory[/var/opt/gitlab/alertmanager] action create (up to date)

  • directory[/var/log/gitlab/alertmanager] action create (up to date)

  • directory[/opt/gitlab/etc/alertmanager/env] action create (up to date)

  • env_dir[/opt/gitlab/etc/alertmanager/env] action create

    • directory[/opt/gitlab/etc/alertmanager/env] action create (up to date)
    • file[/opt/gitlab/etc/alertmanager/env/SSL_CERT_DIR] action create (up to date) (up to date)
  • file[Alertmanager config] action create (up to date) Recipe:

  • service[alertmanager] action nothing (skipped due to action :nothing) Recipe: monitoring::alertmanager

  • runit_service[alertmanager] action enable

    • ruby_block[restart_service] action nothing (skipped due to action :nothing)
    • ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
    • ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
    • directory[/opt/gitlab/sv/alertmanager] action create (up to date)
    • template[/opt/gitlab/sv/alertmanager/run] action create (up to date)
    • directory[/opt/gitlab/sv/alertmanager/log] action create (up to date)
    • directory[/opt/gitlab/sv/alertmanager/log/main] action create (up to date)
    • template[/opt/gitlab/sv/alertmanager/log/run] action create (up to date)
    • template[/var/log/gitlab/alertmanager/config] action create (up to date)
    • ruby_block[verify_chown_persisted_on_alertmanager] action nothing (skipped due to action :nothing)
    • directory[/opt/gitlab/sv/alertmanager/env] action create (up to date)
    • ruby_block[Delete unmanaged env files for alertmanager service] action run (skipped due to only_if)
    • template[/opt/gitlab/sv/alertmanager/check] action create (skipped due to only_if)
    • template[/opt/gitlab/sv/alertmanager/finish] action create (skipped due to only_if)
    • directory[/opt/gitlab/sv/alertmanager/control] action create (up to date)
    • link[/opt/gitlab/init/alertmanager] action create (up to date)
    • file[/opt/gitlab/sv/alertmanager/down] action delete (up to date)
    • directory[/opt/gitlab/service] action create (up to date)
    • link[/opt/gitlab/service/alertmanager] action create (up to date)
    • ruby_block[wait for alertmanager service socket] action run (skipped due to not_if) (up to date) Recipe: monitoring::postgres-exporter
  • directory[/var/log/gitlab/postgres-exporter] action create (up to date)

  • directory[/var/opt/gitlab/postgres-exporter] action create (up to date)

  • env_dir[/opt/gitlab/etc/postgres-exporter/env] action create

    • directory[/opt/gitlab/etc/postgres-exporter/env] action create (up to date)
    • file[/opt/gitlab/etc/postgres-exporter/env/SSL_CERT_DIR] action create (up to date)
    • file[/opt/gitlab/etc/postgres-exporter/env/DATA_SOURCE_NAME] action create (up to date) (up to date) Recipe:
  • service[postgres-exporter] action nothing (skipped due to action :nothing) Recipe: monitoring::postgres-exporter

  • runit_service[postgres-exporter] action enable

    • ruby_block[restart_service] action nothing (skipped due to action :nothing)
    • ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
    • ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
    • directory[/opt/gitlab/sv/postgres-exporter] action create (up to date)
    • template[/opt/gitlab/sv/postgres-exporter/run] action create (up to date)
    • directory[/opt/gitlab/sv/postgres-exporter/log] action create (up to date)
    • directory[/opt/gitlab/sv/postgres-exporter/log/main] action create (up to date)
    • template[/opt/gitlab/sv/postgres-exporter/log/run] action create (up to date)
    • template[/var/log/gitlab/postgres-exporter/config] action create (up to date)
    • ruby_block[verify_chown_persisted_on_postgres-exporter] action nothing (skipped due to action :nothing)
    • directory[/opt/gitlab/sv/postgres-exporter/env] action create (up to date)
    • ruby_block[Delete unmanaged env files for postgres-exporter service] action run (skipped due to only_if)
    • template[/opt/gitlab/sv/postgres-exporter/check] action create (skipped due to only_if)
    • template[/opt/gitlab/sv/postgres-exporter/finish] action create (skipped due to only_if)
    • directory[/opt/gitlab/sv/postgres-exporter/control] action create (up to date)
    • link[/opt/gitlab/init/postgres-exporter] action create (up to date)
    • file[/opt/gitlab/sv/postgres-exporter/down] action delete (up to date)
    • directory[/opt/gitlab/service] action create (up to date)
    • link[/opt/gitlab/service/postgres-exporter] action create (up to date)
    • ruby_block[wait for postgres-exporter service socket] action run (skipped due to not_if) (up to date)
  • template[/var/opt/gitlab/postgres-exporter/queries.yaml] action create (up to date)

  • consul_service[postgres-exporter] action delete

    • file[/var/opt/gitlab/consul/config.d/postgres-exporter-service.json] action delete (up to date) (up to date) Recipe: monitoring::grafana
  • directory[/var/log/gitlab/grafana] action create (up to date)

  • directory[/var/opt/gitlab/grafana] action create (up to date)

  • directory[/var/opt/gitlab/grafana/provisioning] action create (up to date)

  • directory[/var/opt/gitlab/grafana/provisioning/dashboards] action create (up to date)

  • directory[/var/opt/gitlab/grafana/provisioning/datasources] action create (up to date)

  • directory[/var/opt/gitlab/grafana/provisioning/notifiers] action create (up to date)

  • file[/var/opt/gitlab/grafana/CVE_reset_status] action create (up to date)

  • link[/var/opt/gitlab/grafana/conf] action create (up to date)

  • link[/var/opt/gitlab/grafana/public] action create (up to date)

  • directory[/opt/gitlab/etc/grafana/env] action create (up to date)

  • ruby_block[populate Grafana configuration options] action run

    • execute the ruby block populate Grafana configuration options
  • env_dir[/opt/gitlab/etc/grafana/env] action create

    • directory[/opt/gitlab/etc/grafana/env] action create (up to date)
    • file[/opt/gitlab/etc/grafana/env/SSL_CERT_DIR] action create (up to date) (up to date)
  • template[/var/opt/gitlab/grafana/grafana.ini] action create (up to date)

  • file[/var/opt/gitlab/grafana/provisioning/dashboards/gitlab_dashboards.yml] action create (up to date)

  • file[/var/opt/gitlab/grafana/provisioning/datasources/gitlab_datasources.yml] action create (up to date) Recipe:

  • service[grafana] action nothing (skipped due to action :nothing) Recipe: monitoring::grafana

  • runit_service[grafana] action enable

    • ruby_block[restart_service] action nothing (skipped due to action :nothing)
    • ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
    • ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
    • directory[/opt/gitlab/sv/grafana] action create (up to date)
    • template[/opt/gitlab/sv/grafana/run] action create (up to date)
    • directory[/opt/gitlab/sv/grafana/log] action create (up to date)
    • directory[/opt/gitlab/sv/grafana/log/main] action create (up to date)
    • template[/opt/gitlab/sv/grafana/log/run] action create (up to date)
    • template[/var/log/gitlab/grafana/config] action create (up to date)
    • ruby_block[verify_chown_persisted_on_grafana] action nothing (skipped due to action :nothing)
    • directory[/opt/gitlab/sv/grafana/env] action create (up to date)
    • ruby_block[Delete unmanaged env files for grafana service] action run (skipped due to only_if)
    • template[/opt/gitlab/sv/grafana/check] action create (skipped due to only_if)
    • template[/opt/gitlab/sv/grafana/finish] action create (skipped due to only_if)
    • directory[/opt/gitlab/sv/grafana/control] action create (up to date)
    • link[/opt/gitlab/init/grafana] action create (up to date)
    • file[/opt/gitlab/sv/grafana/down] action delete (up to date)
    • directory[/opt/gitlab/service] action create (up to date)
    • link[/opt/gitlab/service/grafana] action create (up to date)
    • ruby_block[wait for grafana service socket] action run (skipped due to not_if) (up to date) Recipe: gitlab-ee::sentinel_disable
  • account[user and group for sentinel] action create

    • group[user and group for sentinel] action create (up to date)
    • linux_user[user and group for sentinel] action create (up to date) (up to date) Recipe:
  • service[sentinel] action nothing (skipped due to action :nothing) Recipe: gitlab-ee::sentinel_disable

  • runit_service[sentinel] action disable

    • ruby_block[disable sentinel] action run (skipped due to only_if) (up to date)
  • file[/var/opt/gitlab/sentinel/sentinel.conf] action delete (up to date)

  • directory[/var/opt/gitlab/sentinel] action delete (up to date) Recipe:

  • service[geo-postgresql] action nothing (skipped due to action :nothing) Recipe: gitlab-ee::geo-postgresql_disable

  • runit_service[geo-postgresql] action disable

    • ruby_block[disable geo-postgresql] action run (skipped due to only_if) (up to date) Recipe:
  • service[geo-logcursor] action nothing (skipped due to action :nothing) Recipe: gitlab-ee::geo-logcursor_disable

  • runit_service[geo-logcursor] action disable

    • ruby_block[disable geo-logcursor] action run (skipped due to only_if) (up to date) Recipe:
  • service[pgbouncer] action nothing (skipped due to action :nothing) Recipe: gitlab-ee::pgbouncer_disable

  • runit_service[pgbouncer] action disable

    • ruby_block[disable pgbouncer] action run (skipped due to only_if) (up to date) Recipe:
  • service[pgbouncer-exporter] action nothing (skipped due to action :nothing) Recipe: gitlab-ee::pgbouncer-exporter_disable

  • runit_service[pgbouncer-exporter] action disable

    • ruby_block[disable pgbouncer-exporter] action run (skipped due to only_if) (up to date) Recipe:
  • service[consul] action nothing (skipped due to action :nothing) Recipe: consul::disable_daemon

  • runit_service[consul] action disable

    • ruby_block[disable consul] action run (skipped due to only_if) (up to date) Recipe:
  • service[repmgrd] action nothing (skipped due to action :nothing) Recipe: repmgr::repmgrd_disable

  • runit_service[repmgrd] action disable

    • ruby_block[disable repmgrd] action run (skipped due to only_if) (up to date) Recipe: gitlab-ee::geo-secondary_disable
  • templatesymlink[Removes database_geo.yml symlink] action delete

    • file[/var/opt/gitlab/gitlab-rails/etc/database_geo.yml] action delete (up to date)
    • link[/opt/gitlab/embedded/service/gitlab-rails/config/database_geo.yml] action delete (up to date) (up to date) Recipe: gitlab::unicorn
  • runit_service[unicorn] action restart (up to date)

  • runit_service[unicorn] action restart (up to date) Recipe: gitaly::enable

  • runit_service[gitaly] action hup (up to date)

Running handlers: Running handlers complete Chef Client finished, 13/779 resources updated in 01 minutes 03 seconds Running reconfigure: OK Waiting for Database to be running. Database upgrade is complete, running vacuumdb analyze Toggling deploy page:rm -f /opt/gitlab/embedded/service/gitlab-rails/public/index.html Toggling deploy page: OK Toggling services:ok: run: alertmanager: (pid 383682) 1s ok: run: gitaly: (pid 383698) 0s ok: run: gitlab-exporter: (pid 383719) 1s ok: run: grafana: (pid 383725) 0s ok: run: logrotate: (pid 383751) 0s ok: run: node-exporter: (pid 383758) 1s ok: run: postgres-exporter: (pid 383768) 0s ok: run: prometheus: (pid 383814) 1s ok: run: redis-exporter: (pid 383868) 0s ok: run: sidekiq: (pid 383875) 0s Toggling services: OK ==== Upgrade has completed ==== Please verify everything is working and run the following if so sudo rm -rf /var/opt/gitlab/postgresql/data.10 sudo rm -f /var/opt/gitlab/postgresql-version.old

$

Details of package version

Provide the package version installation details