ravermeister / gitlab

GitLab CE (Docker image) for ARM devices. This is a mirror repository of
https://gitlab.com/ravermeister/gitlab
MIT License
12 stars 5 forks source link

Error : [execute] sysctl: permission denied on key "kernel.shmmax" #4

Closed l0u1sg closed 2 years ago

l0u1sg commented 2 years ago

Hello,

I am currently on the yrzr/gitlab-ce-arm64v8 image which is not updated anymore and I would like to switch to your image. The problem is that when I change the image from my container to yours, I get this error (the configuration is the same as with the old image)

[execute] sysctl: permission denied on key "kernel.shmmax"
Error executing action `run` on resource 'execute[load sysctl conf kernel.shmmax]'

Is there a particular workaround?

ravermeister commented 2 years ago

hmm, I need a little bit more info. Where is the sysctl comman executed? have you done it like mentioned here? https://github.com/ravermeister/gitlab#sysctl-tunning

YasserAntonio commented 2 years ago

Since I have the same problem:

I'm trying to deploy a fresh install on a raspberry 4 the image ravermeister/gitlab:14.10.2 . At the first try I got these logs (which includ the error of @l0u1sg) :

HypriotOS/armv7: pi@Janus in ~/gitlab
$ docker stack deploy --compose-file docker_gitlab.yml gitlab && docker service logs -f gitlab_git
Creating network gitlab_runners-local
Creating service gitlab_git
Creating service gitlab_runner_ARMv7-rev4
Creating service gitlab_runner_ARMv7-rev3
gitlab_git.1.7awyoyegw1mv@Mneme    | Thank you for using GitLab Docker Image!
gitlab_git.1.7awyoyegw1mv@Mneme    | Current version: =gitlab-ce_14.10.2-ce.0
gitlab_git.1.7awyoyegw1mv@Mneme    | 
gitlab_git.1.7awyoyegw1mv@Mneme    | Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file
gitlab_git.1.7awyoyegw1mv@Mneme    | And restart this container to reload settings.
gitlab_git.1.7awyoyegw1mv@Mneme    | To do it use docker exec:
gitlab_git.1.7awyoyegw1mv@Mneme    | 
gitlab_git.1.7awyoyegw1mv@Mneme    |   docker exec -it gitlab editor /etc/gitlab/gitlab.rb
gitlab_git.1.7awyoyegw1mv@Mneme    |   docker restart gitlab
gitlab_git.1.7awyoyegw1mv@Mneme    | 
gitlab_git.1.7awyoyegw1mv@Mneme    | For a comprehensive list of configuration options please see the Omnibus GitLab readme
gitlab_git.1.7awyoyegw1mv@Mneme    | https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md
gitlab_git.1.7awyoyegw1mv@Mneme    | 
gitlab_git.1.7awyoyegw1mv@Mneme    | If this container fails to start due to permission problems try to fix it by executing:
gitlab_git.1.7awyoyegw1mv@Mneme    | 
gitlab_git.1.7awyoyegw1mv@Mneme    |   docker exec -it gitlab update-permissions
gitlab_git.1.7awyoyegw1mv@Mneme    |   docker restart gitlab
gitlab_git.1.7awyoyegw1mv@Mneme    | 
gitlab_git.1.7awyoyegw1mv@Mneme    | Cleaning stale PIDs & sockets
gitlab_git.1.7awyoyegw1mv@Mneme    | cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory
gitlab_git.1.7awyoyegw1mv@Mneme    | Installing gitlab.rb config...
gitlab_git.1.7awyoyegw1mv@Mneme    | Generating ssh_host_rsa_key...
gitlab_git.1.7awyoyegw1mv@Mneme    | Generating public/private rsa key pair.
gitlab_git.1.7awyoyegw1mv@Mneme    | Your identification has been saved in /etc/gitlab/ssh_host_rsa_key
gitlab_git.1.7awyoyegw1mv@Mneme    | Your public key has been saved in /etc/gitlab/ssh_host_rsa_key.pub
gitlab_git.1.7awyoyegw1mv@Mneme    | The key fingerprint is:
gitlab_git.1.7awyoyegw1mv@Mneme    | SHA256:Yh/xRdAjxYU3ouCDCJpBp0xhbFhmmMY1Iv0y2QN69QU root@52f086cdb451
gitlab_git.1.7awyoyegw1mv@Mneme    | The key's randomart image is:
gitlab_git.1.7awyoyegw1mv@Mneme    | +---[RSA 3072]----+
gitlab_git.1.7awyoyegw1mv@Mneme    | |*@*+  E.  .=oo.  |
gitlab_git.1.7awyoyegw1mv@Mneme    | |XBB o   o ..* o  |
gitlab_git.1.7awyoyegw1mv@Mneme    | |oB B o +.. o.+ . |
gitlab_git.1.7awyoyegw1mv@Mneme    | |+ = = o oo..     |
gitlab_git.1.7awyoyegw1mv@Mneme    | | . o .o S..      |
gitlab_git.1.7awyoyegw1mv@Mneme    | |     . o .       |
gitlab_git.1.7awyoyegw1mv@Mneme    | |        .        |
gitlab_git.1.7awyoyegw1mv@Mneme    | |                 |
gitlab_git.1.7awyoyegw1mv@Mneme    | |                 |
gitlab_git.1.7awyoyegw1mv@Mneme    | +----[SHA256]-----+
gitlab_git.1.7awyoyegw1mv@Mneme    | Generating ssh_host_ecdsa_key...
gitlab_git.1.7awyoyegw1mv@Mneme    | Generating public/private ecdsa key pair.
gitlab_git.1.7awyoyegw1mv@Mneme    | Your identification has been saved in /etc/gitlab/ssh_host_ecdsa_key
gitlab_git.1.7awyoyegw1mv@Mneme    | Your public key has been saved in /etc/gitlab/ssh_host_ecdsa_key.pub
gitlab_git.1.7awyoyegw1mv@Mneme    | The key fingerprint is:
gitlab_git.1.7awyoyegw1mv@Mneme    | SHA256:e64H88cdLrtUI6NzOFUoNFEZikM6ShJXvACcPCzx88U root@52f086cdb451
gitlab_git.1.7awyoyegw1mv@Mneme    | The key's randomart image is:
gitlab_git.1.7awyoyegw1mv@Mneme    | +---[ECDSA 256]---+
gitlab_git.1.7awyoyegw1mv@Mneme    | |.=oo.o. . +ooo   |
gitlab_git.1.7awyoyegw1mv@Mneme    | |..*o...o o o..   |
gitlab_git.1.7awyoyegw1mv@Mneme    | | .+...E.o o . .  |
gitlab_git.1.7awyoyegw1mv@Mneme    | |   = o.. . . .   |
gitlab_git.1.7awyoyegw1mv@Mneme    | |    o   S   + o  |
gitlab_git.1.7awyoyegw1mv@Mneme    | |        o. + +.. |
gitlab_git.1.7awyoyegw1mv@Mneme    | |        .+*.oo . |
gitlab_git.1.7awyoyegw1mv@Mneme    | |         oo=+ o  |
gitlab_git.1.7awyoyegw1mv@Mneme    | |        .o..o+   |
gitlab_git.1.7awyoyegw1mv@Mneme    | +----[SHA256]-----+
gitlab_git.1.7awyoyegw1mv@Mneme    | Generating ssh_host_ed25519_key...
gitlab_git.1.7awyoyegw1mv@Mneme    | Generating public/private ed25519 key pair.
gitlab_git.1.7awyoyegw1mv@Mneme    | Your identification has been saved in /etc/gitlab/ssh_host_ed25519_key
gitlab_git.1.7awyoyegw1mv@Mneme    | Your public key has been saved in /etc/gitlab/ssh_host_ed25519_key.pub
gitlab_git.1.7awyoyegw1mv@Mneme    | The key fingerprint is:
gitlab_git.1.7awyoyegw1mv@Mneme    | SHA256:YsZVzT+dBQUNps39hXmFQynD+XNL3F7Sz0uMtQKEUpo root@52f086cdb451
gitlab_git.1.7awyoyegw1mv@Mneme    | The key's randomart image is:
gitlab_git.1.7awyoyegw1mv@Mneme    | +--[ED25519 256]--+
gitlab_git.1.7awyoyegw1mv@Mneme    | |        ..o+ o*Oo|
gitlab_git.1.7awyoyegw1mv@Mneme    | |       .oo .B=+++|
gitlab_git.1.7awyoyegw1mv@Mneme    | |       Eo . .=*+B|
gitlab_git.1.7awyoyegw1mv@Mneme    | |     . .   .  **O|
gitlab_git.1.7awyoyegw1mv@Mneme    | |      = S   . =B*|
gitlab_git.1.7awyoyegw1mv@Mneme    | |     o .     o =+|
gitlab_git.1.7awyoyegw1mv@Mneme    | |              o .|
gitlab_git.1.7awyoyegw1mv@Mneme    | |               . |
gitlab_git.1.7awyoyegw1mv@Mneme    | |                 |
gitlab_git.1.7awyoyegw1mv@Mneme    | +----[SHA256]-----+
gitlab_git.1.7awyoyegw1mv@Mneme    | Preparing services...
gitlab_git.1.7awyoyegw1mv@Mneme    | Starting services...
gitlab_git.1.7awyoyegw1mv@Mneme    | Configuring GitLab...
gitlab_git.1.7awyoyegw1mv@Mneme    | /opt/gitlab/embedded/bin/runsvdir-start: line 24: ulimit: pending signals: cannot modify limit: Operation not permitted
gitlab_git.1.7awyoyegw1mv@Mneme    | /opt/gitlab/embedded/bin/runsvdir-start: line 37: /proc/sys/fs/file-max: Read-only file system
gitlab_git.1.7awyoyegw1mv@Mneme    | Starting Chef Infra Client, version 15.17.4
gitlab_git.1.7awyoyegw1mv@Mneme    | resolving cookbooks for run list: ["gitlab"]
gitlab_git.1.7awyoyegw1mv@Mneme    | Synchronizing Cookbooks:
gitlab_git.1.7awyoyegw1mv@Mneme    |   - gitlab (0.0.1)
gitlab_git.1.7awyoyegw1mv@Mneme    |   - package (0.1.0)
gitlab_git.1.7awyoyegw1mv@Mneme    |   - logrotate (0.1.0)
gitlab_git.1.7awyoyegw1mv@Mneme    |   - postgresql (0.1.0)
gitlab_git.1.7awyoyegw1mv@Mneme    |   - redis (0.1.0)
gitlab_git.1.7awyoyegw1mv@Mneme    |   - monitoring (0.1.0)
gitlab_git.1.7awyoyegw1mv@Mneme    |   - registry (0.1.0)
gitlab_git.1.7awyoyegw1mv@Mneme    |   - mattermost (0.1.0)
gitlab_git.1.7awyoyegw1mv@Mneme    |   - consul (0.1.0)
gitlab_git.1.7awyoyegw1mv@Mneme    |   - gitaly (0.1.0)
gitlab_git.1.7awyoyegw1mv@Mneme    |   - praefect (0.1.0)
gitlab_git.1.7awyoyegw1mv@Mneme    |   - gitlab-kas (0.1.0)
gitlab_git.1.7awyoyegw1mv@Mneme    |   - letsencrypt (0.1.0)
gitlab_git.1.7awyoyegw1mv@Mneme    |   - gitlab-pages (0.1.0)
gitlab_git.1.7awyoyegw1mv@Mneme    |   - nginx (0.1.0)
gitlab_git.1.7awyoyegw1mv@Mneme    |   - runit (5.1.3)
gitlab_git.1.7awyoyegw1mv@Mneme    |   - acme (4.1.3)
gitlab_git.1.7awyoyegw1mv@Mneme    |   - crond (0.1.0)
gitlab_git.1.7awyoyegw1mv@Mneme    | Installing Cookbook Gems:
gitlab_git.1.7awyoyegw1mv@Mneme    | Compiling Cookbooks...
gitlab_git.1.7awyoyegw1mv@Mneme    | Recipe: gitlab::default
gitlab_git.1.7awyoyegw1mv@Mneme    |   * directory[/etc/gitlab] action create
gitlab_git.1.7awyoyegw1mv@Mneme    |     - change mode from '0777' to '0775'
gitlab_git.1.7awyoyegw1mv@Mneme    |   Converging 246 resources
gitlab_git.1.7awyoyegw1mv@Mneme    |   * directory[/etc/gitlab] action create (up to date)
gitlab_git.1.7awyoyegw1mv@Mneme    |   * directory[Create /var/opt/gitlab] action create
gitlab_git.1.7awyoyegw1mv@Mneme    |     - change mode from '0777' to '0755'
gitlab_git.1.7awyoyegw1mv@Mneme    |   * directory[Create /var/log/gitlab] action create (up to date)
gitlab_git.1.7awyoyegw1mv@Mneme    |   * directory[/opt/gitlab/embedded/etc] action create
gitlab_git.1.7awyoyegw1mv@Mneme    |     - create new directory /opt/gitlab/embedded/etc
gitlab_git.1.7awyoyegw1mv@Mneme    |     - change mode from '' to '0755'
gitlab_git.1.7awyoyegw1mv@Mneme    |     - change owner from '' to 'root'
gitlab_git.1.7awyoyegw1mv@Mneme    |     - change group from '' to 'root'
gitlab_git.1.7awyoyegw1mv@Mneme    |   * template[/opt/gitlab/embedded/etc/gitconfig] action create
gitlab_git.1.7awyoyegw1mv@Mneme    |     - create new file /opt/gitlab/embedded/etc/gitconfig
gitlab_git.1.7awyoyegw1mv@Mneme    |     - update content in file /opt/gitlab/embedded/etc/gitconfig from none to 5a725a
gitlab_git.1.7awyoyegw1mv@Mneme    |     --- /opt/gitlab/embedded/etc/gitconfig 2022-05-14 08:59:17.166817086 +0000
gitlab_git.1.7awyoyegw1mv@Mneme    |     +++ /opt/gitlab/embedded/etc/.chef-gitconfig20220514-35-1c8zrg9        2022-05-14 08:59:17.166817086 +0000
gitlab_git.1.7awyoyegw1mv@Mneme    |     @@ -1 +1,17 @@
gitlab_git.1.7awyoyegw1mv@Mneme    |     +[pack]
gitlab_git.1.7awyoyegw1mv@Mneme    |     +  threads = 1
gitlab_git.1.7awyoyegw1mv@Mneme    |     +[receive]
gitlab_git.1.7awyoyegw1mv@Mneme    |     +  fsckObjects = true
gitlab_git.1.7awyoyegw1mv@Mneme    |     +advertisePushOptions = true
gitlab_git.1.7awyoyegw1mv@Mneme    |     +[repack]
gitlab_git.1.7awyoyegw1mv@Mneme    |     +  writeBitmaps = true
gitlab_git.1.7awyoyegw1mv@Mneme    |     +[transfer]
gitlab_git.1.7awyoyegw1mv@Mneme    |     +  hideRefs=^refs/tmp/
gitlab_git.1.7awyoyegw1mv@Mneme    |     +hideRefs=^refs/keep-around/
gitlab_git.1.7awyoyegw1mv@Mneme    |     +hideRefs=^refs/remotes/
gitlab_git.1.7awyoyegw1mv@Mneme    |     +[core]
gitlab_git.1.7awyoyegw1mv@Mneme    |     +  alternateRefsCommand="exit 0 #"
gitlab_git.1.7awyoyegw1mv@Mneme    |     +fsyncObjectFiles = true
gitlab_git.1.7awyoyegw1mv@Mneme    |     +[fetch]
gitlab_git.1.7awyoyegw1mv@Mneme    |     +  writeCommitGraph = true
gitlab_git.1.7awyoyegw1mv@Mneme    |     - change mode from '' to '0755'
gitlab_git.1.7awyoyegw1mv@Mneme    | Recipe: gitlab::web-server
gitlab_git.1.7awyoyegw1mv@Mneme    |   * account[Webserver user and group] action create
gitlab_git.1.7awyoyegw1mv@Mneme    |     * group[Webserver user and group] action create (up to date)
gitlab_git.1.7awyoyegw1mv@Mneme    |     * linux_user[Webserver user and group] action create (up to date)
gitlab_git.1.7awyoyegw1mv@Mneme    |      (up to date)
gitlab_git.1.7awyoyegw1mv@Mneme    | Recipe: gitlab::users
gitlab_git.1.7awyoyegw1mv@Mneme    |   * directory[/var/opt/gitlab] action create (up to date)
gitlab_git.1.7awyoyegw1mv@Mneme    |   * account[GitLab user and group] action create
gitlab_git.1.7awyoyegw1mv@Mneme    |     * group[GitLab user and group] action create (up to date)
gitlab_git.1.7awyoyegw1mv@Mneme    |     * linux_user[GitLab user and group] action create (up to date)
gitlab_git.1.7awyoyegw1mv@Mneme    |      (up to date)
gitlab_git.1.7awyoyegw1mv@Mneme    |   * template[/var/opt/gitlab/.gitconfig] action create
gitlab_git.1.7awyoyegw1mv@Mneme    |     - update content in file /var/opt/gitlab/.gitconfig from fc7610 to 677529
gitlab_git.1.7awyoyegw1mv@Mneme    |     --- /var/opt/gitlab/.gitconfig 2022-01-07 11:01:10.851034723 +0000
gitlab_git.1.7awyoyegw1mv@Mneme    |     +++ /var/opt/gitlab/.chef-.gitconfig20220514-35-1i9kw2e.gitconfig      2022-05-14 08:59:17.276815623 +0000
gitlab_git.1.7awyoyegw1mv@Mneme    |     @@ -4,7 +4,7 @@
gitlab_git.1.7awyoyegw1mv@Mneme    |      
gitlab_git.1.7awyoyegw1mv@Mneme    |      [user]
gitlab_git.1.7awyoyegw1mv@Mneme    |              name = GitLab
gitlab_git.1.7awyoyegw1mv@Mneme    |     -        email = gitlab@gitlab.ln
gitlab_git.1.7awyoyegw1mv@Mneme    |     +        email = gitlab@52f086cdb451
gitlab_git.1.7awyoyegw1mv@Mneme    |      [core]
gitlab_git.1.7awyoyegw1mv@Mneme    |              autocrlf = input
gitlab_git.1.7awyoyegw1mv@Mneme    |              alternateRefsCommand="exit 0 #"
gitlab_git.1.7awyoyegw1mv@Mneme    |     - change mode from '0777' to '0644'
gitlab_git.1.7awyoyegw1mv@Mneme    |   * directory[/var/opt/gitlab/.bundle] action create (up to date)
gitlab_git.1.7awyoyegw1mv@Mneme    | Recipe: gitlab::gitlab-shell
gitlab_git.1.7awyoyegw1mv@Mneme    |   * storage_directory[/var/opt/gitlab/.ssh] action create
gitlab_git.1.7awyoyegw1mv@Mneme    |     * ruby_block[directory resource: /var/opt/gitlab/.ssh] action run
gitlab_git.1.7awyoyegw1mv@Mneme    |       - execute the ruby block directory resource: /var/opt/gitlab/.ssh
gitlab_git.1.7awyoyegw1mv@Mneme    |   
gitlab_git.1.7awyoyegw1mv@Mneme    |   * directory[/var/log/gitlab/gitlab-shell/] action create
gitlab_git.1.7awyoyegw1mv@Mneme    |     - create new directory /var/log/gitlab/gitlab-shell/
gitlab_git.1.7awyoyegw1mv@Mneme    |     - change mode from '' to '0700'
gitlab_git.1.7awyoyegw1mv@Mneme    |     - change owner from '' to 'git'
gitlab_git.1.7awyoyegw1mv@Mneme    |   * directory[/var/opt/gitlab/gitlab-shell] action create
gitlab_git.1.7awyoyegw1mv@Mneme    |     - create new directory /var/opt/gitlab/gitlab-shell
gitlab_git.1.7awyoyegw1mv@Mneme    |     - change mode from '' to '0700'
gitlab_git.1.7awyoyegw1mv@Mneme    |     - change owner from '' to 'git'
gitlab_git.1.7awyoyegw1mv@Mneme    |   * templatesymlink[Create a config.yml and create a symlink to Rails root] action create
gitlab_git.1.7awyoyegw1mv@Mneme    |     * template[/var/opt/gitlab/gitlab-shell/config.yml] action create
gitlab_git.1.7awyoyegw1mv@Mneme    |       - create new file /var/opt/gitlab/gitlab-shell/config.yml
gitlab_git.1.7awyoyegw1mv@Mneme    |       - update content in file /var/opt/gitlab/gitlab-shell/config.yml from none to 1dedc0
gitlab_git.1.7awyoyegw1mv@Mneme    |       - suppressed sensitive resource
gitlab_git.1.7awyoyegw1mv@Mneme    |       - change mode from '' to '0640'
gitlab_git.1.7awyoyegw1mv@Mneme    |       - change owner from '' to 'root'
gitlab_git.1.7awyoyegw1mv@Mneme    |       - change group from '' to 'git'
gitlab_git.1.7awyoyegw1mv@Mneme    |     * link[Link /opt/gitlab/embedded/service/gitlab-shell/config.yml to /var/opt/gitlab/gitlab-shell/config.yml] action create
gitlab_git.1.7awyoyegw1mv@Mneme    |       - create symlink at /opt/gitlab/embedded/service/gitlab-shell/config.yml to /var/opt/gitlab/gitlab-shell/config.yml
gitlab_git.1.7awyoyegw1mv@Mneme    |   
gitlab_git.1.7awyoyegw1mv@Mneme    |   * link[/opt/gitlab/embedded/service/gitlab-shell/.gitlab_shell_secret] action create
gitlab_git.1.7awyoyegw1mv@Mneme    |     - create symlink at /opt/gitlab/embedded/service/gitlab-shell/.gitlab_shell_secret to /opt/gitlab/embedded/service/gitlab-rails/.gitlab_shell_secret
gitlab_git.1.7awyoyegw1mv@Mneme    |   * file[/var/opt/gitlab/.ssh/authorized_keys] action create_if_missing (up to date)
gitlab_git.1.7awyoyegw1mv@Mneme    | Recipe: gitlab::gitlab-rails
gitlab_git.1.7awyoyegw1mv@Mneme    |   * storage_directory[/var/opt/gitlab/git-data] action create
gitlab_git.1.7awyoyegw1mv@Mneme    |     * ruby_block[directory resource: /var/opt/gitlab/git-data] action run
gitlab_git.1.7awyoyegw1mv@Mneme    |       - execute the ruby block directory resource: /var/opt/gitlab/git-data
gitlab_git.1.7awyoyegw1mv@Mneme    |   
gitlab_git.1.7awyoyegw1mv@Mneme    |   * storage_directory[/var/opt/gitlab/git-data/repositories] action create
gitlab_git.1.7awyoyegw1mv@Mneme    |     * ruby_block[directory resource: /var/opt/gitlab/git-data/repositories] action run
gitlab_git.1.7awyoyegw1mv@Mneme    |       - execute the ruby block directory resource: /var/opt/gitlab/git-data/repositories
gitlab_git.1.7awyoyegw1mv@Mneme    |   
gitlab_git.1.7awyoyegw1mv@Mneme    | Recipe: gitlab::rails_pages_shared_path
gitlab_git.1.7awyoyegw1mv@Mneme    |   * storage_directory[/var/opt/gitlab/gitlab-rails/shared] action create
gitlab_git.1.7awyoyegw1mv@Mneme    |     * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared] action run
gitlab_git.1.7awyoyegw1mv@Mneme    |       - execute the ruby block directory resource: /var/opt/gitlab/gitlab-rails/shared
gitlab_git.1.7awyoyegw1mv@Mneme    |   
gitlab_git.1.7awyoyegw1mv@Mneme    |   * storage_directory[/var/opt/gitlab/gitlab-rails/shared/pages] action create
gitlab_git.1.7awyoyegw1mv@Mneme    |     * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/pages] action run
gitlab_git.1.7awyoyegw1mv@Mneme    |       - execute the ruby block directory resource: /var/opt/gitlab/gitlab-rails/shared/pages
gitlab_git.1.7awyoyegw1mv@Mneme    |   
gitlab_git.1.7awyoyegw1mv@Mneme    | Recipe: gitlab::gitlab-rails
gitlab_git.1.7awyoyegw1mv@Mneme    |   * storage_directory[/var/opt/gitlab/gitlab-rails/shared/artifacts] action create
gitlab_git.1.7awyoyegw1mv@Mneme    |     * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/artifacts] action run
gitlab_git.1.7awyoyegw1mv@Mneme    |       - execute the ruby block directory resource: /var/opt/gitlab/gitlab-rails/shared/artifacts
gitlab_git.1.7awyoyegw1mv@Mneme    |   
gitlab_git.1.7awyoyegw1mv@Mneme    |   * storage_directory[/var/opt/gitlab/gitlab-rails/shared/external-diffs] action create
gitlab_git.1.7awyoyegw1mv@Mneme    |     * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/external-diffs] action run
gitlab_git.1.7awyoyegw1mv@Mneme    |       - execute the ruby block directory resource: /var/opt/gitlab/gitlab-rails/shared/external-diffs
gitlab_git.1.7awyoyegw1mv@Mneme    |   
gitlab_git.1.7awyoyegw1mv@Mneme    |   * storage_directory[/var/opt/gitlab/gitlab-rails/shared/lfs-objects] action create
gitlab_git.1.7awyoyegw1mv@Mneme    |     * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/lfs-objects] action run
gitlab_git.1.7awyoyegw1mv@Mneme    |       - execute the ruby block directory resource: /var/opt/gitlab/gitlab-rails/shared/lfs-objects
gitlab_git.1.7awyoyegw1mv@Mneme    |   
gitlab_git.1.7awyoyegw1mv@Mneme    |   * storage_directory[/var/opt/gitlab/gitlab-rails/shared/packages] action create
gitlab_git.1.7awyoyegw1mv@Mneme    |     * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/packages] action run
gitlab_git.1.7awyoyegw1mv@Mneme    |       - execute the ruby block directory resource: /var/opt/gitlab/gitlab-rails/shared/packages
gitlab_git.1.7awyoyegw1mv@Mneme    |   
gitlab_git.1.7awyoyegw1mv@Mneme    |   * storage_directory[/var/opt/gitlab/gitlab-rails/shared/dependency_proxy] action create
gitlab_git.1.7awyoyegw1mv@Mneme    |     * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/dependency_proxy] action run
gitlab_git.1.7awyoyegw1mv@Mneme    |       - execute the ruby block directory resource: /var/opt/gitlab/gitlab-rails/shared/dependency_proxy
gitlab_git.1.7awyoyegw1mv@Mneme    |   
gitlab_git.1.7awyoyegw1mv@Mneme    |   * storage_directory[/var/opt/gitlab/gitlab-rails/shared/terraform_state] action create
gitlab_git.1.7awyoyegw1mv@Mneme    |     * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/terraform_state] action run
gitlab_git.1.7awyoyegw1mv@Mneme    |       - execute the ruby block directory resource: /var/opt/gitlab/gitlab-rails/shared/terraform_state
gitlab_git.1.7awyoyegw1mv@Mneme    |   
gitlab_git.1.7awyoyegw1mv@Mneme    |   * storage_directory[/var/opt/gitlab/gitlab-rails/shared/ci_secure_files] action create
gitlab_git.1.7awyoyegw1mv@Mneme    |     * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/ci_secure_files] action run
gitlab_git.1.7awyoyegw1mv@Mneme    |       - execute the ruby block directory resource: /var/opt/gitlab/gitlab-rails/shared/ci_secure_files
gitlab_git.1.7awyoyegw1mv@Mneme    |   
gitlab_git.1.7awyoyegw1mv@Mneme    |   * storage_directory[/var/opt/gitlab/gitlab-rails/shared/encrypted_settings] action create
gitlab_git.1.7awyoyegw1mv@Mneme    |     * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/encrypted_settings] action run
gitlab_git.1.7awyoyegw1mv@Mneme    |       - execute the ruby block directory resource: /var/opt/gitlab/gitlab-rails/shared/encrypted_settings
gitlab_git.1.7awyoyegw1mv@Mneme    |   
gitlab_git.1.7awyoyegw1mv@Mneme    |   * storage_directory[/var/opt/gitlab/gitlab-rails/uploads] action create
gitlab_git.1.7awyoyegw1mv@Mneme    |     * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/uploads] action run
gitlab_git.1.7awyoyegw1mv@Mneme    |       - execute the ruby block directory resource: /var/opt/gitlab/gitlab-rails/uploads
gitlab_git.1.7awyoyegw1mv@Mneme    |   
gitlab_git.1.7awyoyegw1mv@Mneme    |   * storage_directory[/var/opt/gitlab/gitlab-ci/builds] action create
gitlab_git.1.7awyoyegw1mv@Mneme    |     * ruby_block[directory resource: /var/opt/gitlab/gitlab-ci/builds] action run
gitlab_git.1.7awyoyegw1mv@Mneme    |       - execute the ruby block directory resource: /var/opt/gitlab/gitlab-ci/builds
gitlab_git.1.7awyoyegw1mv@Mneme    |   
gitlab_git.1.7awyoyegw1mv@Mneme    |   * storage_directory[/var/opt/gitlab/gitlab-rails/shared/cache] action create
gitlab_git.1.7awyoyegw1mv@Mneme    |     * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/cache] action run
gitlab_git.1.7awyoyegw1mv@Mneme    |       - execute the ruby block directory resource: /var/opt/gitlab/gitlab-rails/shared/cache
gitlab_git.1.7awyoyegw1mv@Mneme    |   
gitlab_git.1.7awyoyegw1mv@Mneme    |   * storage_directory[/var/opt/gitlab/gitlab-rails/shared/tmp] action create
gitlab_git.1.7awyoyegw1mv@Mneme    |     * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/tmp] action run
gitlab_git.1.7awyoyegw1mv@Mneme    |       - execute the ruby block directory resource: /var/opt/gitlab/gitlab-rails/shared/tmp

...

gitlab_git.1.ptky87fulf22@Mneme    | Recipe: redis::enable
gitlab_git.1.ptky87fulf22@Mneme    |   * template[/opt/gitlab/etc/gitlab-redis-cli-rc] action create
gitlab_git.1.ptky87fulf22@Mneme    |     - create new file /opt/gitlab/etc/gitlab-redis-cli-rc
gitlab_git.1.ptky87fulf22@Mneme    |     - update content in file /opt/gitlab/etc/gitlab-redis-cli-rc from none to 44cac1
gitlab_git.1.ptky87fulf22@Mneme    |     --- /opt/gitlab/etc/gitlab-redis-cli-rc        2022-05-14 09:03:59.623085514 +0000
gitlab_git.1.ptky87fulf22@Mneme    |     +++ /opt/gitlab/etc/.chef-gitlab-redis-cli-rc20220514-34-4bk8f5        2022-05-14 09:03:59.623085514 +0000
gitlab_git.1.ptky87fulf22@Mneme    |     @@ -1 +1,5 @@
gitlab_git.1.ptky87fulf22@Mneme    |     +redis_dir='/var/opt/gitlab/redis'
gitlab_git.1.ptky87fulf22@Mneme    |     +redis_host='127.0.0.1'
gitlab_git.1.ptky87fulf22@Mneme    |     +redis_port='0'
gitlab_git.1.ptky87fulf22@Mneme    |     +redis_socket='/var/opt/gitlab/redis/redis.socket'
gitlab_git.1.ptky87fulf22@Mneme    |     - change owner from '' to 'root'
gitlab_git.1.ptky87fulf22@Mneme    |     - change group from '' to 'root'
gitlab_git.1.ptky87fulf22@Mneme    | Recipe: gitaly::enable
gitlab_git.1.ptky87fulf22@Mneme    |   * directory[/var/opt/gitlab/gitaly] action create (up to date)
gitlab_git.1.ptky87fulf22@Mneme    |   * directory[/var/opt/gitlab/gitaly/run] action create (up to date)
gitlab_git.1.ptky87fulf22@Mneme    |   * directory[/var/log/gitlab/gitaly] action create
gitlab_git.1.ptky87fulf22@Mneme    |     - create new directory /var/log/gitlab/gitaly
gitlab_git.1.ptky87fulf22@Mneme    |     - change mode from '' to '0700'
gitlab_git.1.ptky87fulf22@Mneme    |     - change owner from '' to 'git'
gitlab_git.1.ptky87fulf22@Mneme    |   * directory[/var/opt/gitlab/gitaly/internal_sockets] action delete (up to date)
gitlab_git.1.ptky87fulf22@Mneme    |   * env_dir[/opt/gitlab/etc/gitaly/env] action create
gitlab_git.1.ptky87fulf22@Mneme    |     * directory[/opt/gitlab/etc/gitaly/env] action create
gitlab_git.1.ptky87fulf22@Mneme    |       - create new directory /opt/gitlab/etc/gitaly/env
gitlab_git.1.ptky87fulf22@Mneme    |     * file[/opt/gitlab/etc/gitaly/env/HOME] action create
gitlab_git.1.ptky87fulf22@Mneme    |       - create new file /opt/gitlab/etc/gitaly/env/HOME
gitlab_git.1.ptky87fulf22@Mneme    |       - update content in file /opt/gitlab/etc/gitaly/env/HOME from none to 205bb9
gitlab_git.1.ptky87fulf22@Mneme    |       - suppressed sensitive resource
gitlab_git.1.ptky87fulf22@Mneme    |     * file[/opt/gitlab/etc/gitaly/env/PATH] action create
gitlab_git.1.ptky87fulf22@Mneme    |       - create new file /opt/gitlab/etc/gitaly/env/PATH
gitlab_git.1.ptky87fulf22@Mneme    |       - update content in file /opt/gitlab/etc/gitaly/env/PATH from none to d5dc07
gitlab_git.1.ptky87fulf22@Mneme    |       - suppressed sensitive resource
gitlab_git.1.ptky87fulf22@Mneme    |     * file[/opt/gitlab/etc/gitaly/env/TZ] action create
gitlab_git.1.ptky87fulf22@Mneme    |       - create new file /opt/gitlab/etc/gitaly/env/TZ
gitlab_git.1.ptky87fulf22@Mneme    |       - update content in file /opt/gitlab/etc/gitaly/env/TZ from none to 983a95
gitlab_git.1.ptky87fulf22@Mneme    |       - suppressed sensitive resource
gitlab_git.1.ptky87fulf22@Mneme    |     * file[/opt/gitlab/etc/gitaly/env/PYTHONPATH] action create
gitlab_git.1.ptky87fulf22@Mneme    |       - create new file /opt/gitlab/etc/gitaly/env/PYTHONPATH
gitlab_git.1.ptky87fulf22@Mneme    |       - update content in file /opt/gitlab/etc/gitaly/env/PYTHONPATH from none to 98c9f4
gitlab_git.1.ptky87fulf22@Mneme    |       - suppressed sensitive resource
gitlab_git.1.ptky87fulf22@Mneme    |     * file[/opt/gitlab/etc/gitaly/env/ICU_DATA] action create
gitlab_git.1.ptky87fulf22@Mneme    |       - create new file /opt/gitlab/etc/gitaly/env/ICU_DATA
gitlab_git.1.ptky87fulf22@Mneme    |       - update content in file /opt/gitlab/etc/gitaly/env/ICU_DATA from none to a04260
gitlab_git.1.ptky87fulf22@Mneme    |       - suppressed sensitive resource
gitlab_git.1.ptky87fulf22@Mneme    |     * file[/opt/gitlab/etc/gitaly/env/SSL_CERT_DIR] action create
gitlab_git.1.ptky87fulf22@Mneme    |       - create new file /opt/gitlab/etc/gitaly/env/SSL_CERT_DIR
gitlab_git.1.ptky87fulf22@Mneme    |       - update content in file /opt/gitlab/etc/gitaly/env/SSL_CERT_DIR from none to 4f45cf
gitlab_git.1.ptky87fulf22@Mneme    |       - suppressed sensitive resource
gitlab_git.1.ptky87fulf22@Mneme    |     * file[/opt/gitlab/etc/gitaly/env/GITALY_PID_FILE] action create
gitlab_git.1.ptky87fulf22@Mneme    |       - create new file /opt/gitlab/etc/gitaly/env/GITALY_PID_FILE
gitlab_git.1.ptky87fulf22@Mneme    |       - update content in file /opt/gitlab/etc/gitaly/env/GITALY_PID_FILE from none to e82748
gitlab_git.1.ptky87fulf22@Mneme    |       - suppressed sensitive resource
gitlab_git.1.ptky87fulf22@Mneme    |     * file[/opt/gitlab/etc/gitaly/env/WRAPPER_JSON_LOGGING] action create
gitlab_git.1.ptky87fulf22@Mneme    |       - create new file /opt/gitlab/etc/gitaly/env/WRAPPER_JSON_LOGGING
gitlab_git.1.ptky87fulf22@Mneme    |       - update content in file /opt/gitlab/etc/gitaly/env/WRAPPER_JSON_LOGGING from none to b5bea4
gitlab_git.1.ptky87fulf22@Mneme    |       - suppressed sensitive resource
gitlab_git.1.ptky87fulf22@Mneme    |   
gitlab_git.1.ptky87fulf22@Mneme    |   * template[Create Gitaly config.toml] action create (up to date)
gitlab_git.1.ptky87fulf22@Mneme    |   * service[gitaly] action nothing (skipped due to action :nothing)
gitlab_git.1.ptky87fulf22@Mneme    |   * runit_service[gitaly] action enable
gitlab_git.1.ptky87fulf22@Mneme    |     * ruby_block[restart_service] action nothing (skipped due to action :nothing)
gitlab_git.1.ptky87fulf22@Mneme    |     * ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
gitlab_git.1.ptky87fulf22@Mneme    |     * ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
gitlab_git.1.ptky87fulf22@Mneme    |     * directory[/opt/gitlab/sv/gitaly] action create
gitlab_git.1.ptky87fulf22@Mneme    |       - create new directory /opt/gitlab/sv/gitaly
gitlab_git.1.ptky87fulf22@Mneme    |       - change mode from '' to '0755'
gitlab_git.1.ptky87fulf22@Mneme    |       - change owner from '' to 'root'
gitlab_git.1.ptky87fulf22@Mneme    |       - change group from '' to 'root'
gitlab_git.1.ptky87fulf22@Mneme    |     * template[/opt/gitlab/sv/gitaly/run] action create
gitlab_git.1.ptky87fulf22@Mneme    |       - create new file /opt/gitlab/sv/gitaly/run
gitlab_git.1.ptky87fulf22@Mneme    |       - update content in file /opt/gitlab/sv/gitaly/run from none to 7fef11
gitlab_git.1.ptky87fulf22@Mneme    |       --- /opt/gitlab/sv/gitaly/run        2022-05-14 09:04:00.383075246 +0000
gitlab_git.1.ptky87fulf22@Mneme    |       +++ /opt/gitlab/sv/gitaly/.chef-run20220514-34-1cc37kq       2022-05-14 09:04:00.383075246 +0000
gitlab_git.1.ptky87fulf22@Mneme    |       @@ -1 +1,20 @@
gitlab_git.1.ptky87fulf22@Mneme    |       +#!/bin/sh
gitlab_git.1.ptky87fulf22@Mneme    |       +
gitlab_git.1.ptky87fulf22@Mneme    |       +# Attempt to change ulimit before the set -e flag, ignore failures
gitlab_git.1.ptky87fulf22@Mneme    |       +ulimit -n 15000
gitlab_git.1.ptky87fulf22@Mneme    |       +
gitlab_git.1.ptky87fulf22@Mneme    |       +set -e # fail on errors
gitlab_git.1.ptky87fulf22@Mneme    |       +
gitlab_git.1.ptky87fulf22@Mneme    |       +# Redirect stderr -> stdout
gitlab_git.1.ptky87fulf22@Mneme    |       +exec 2>&1
gitlab_git.1.ptky87fulf22@Mneme    |       +
gitlab_git.1.ptky87fulf22@Mneme    |       +
gitlab_git.1.ptky87fulf22@Mneme    |       +
gitlab_git.1.ptky87fulf22@Mneme    |       +
gitlab_git.1.ptky87fulf22@Mneme    |       +cd /var/opt/gitlab/gitaly
gitlab_git.1.ptky87fulf22@Mneme    |       +
gitlab_git.1.ptky87fulf22@Mneme    |       +exec chpst -e /opt/gitlab/etc/gitaly/env -P \
gitlab_git.1.ptky87fulf22@Mneme    |       +  -U git:git \
gitlab_git.1.ptky87fulf22@Mneme    |       +  -u git:git \
gitlab_git.1.ptky87fulf22@Mneme    |       +  /opt/gitlab/embedded/bin/gitaly-wrapper /opt/gitlab/embedded/bin/gitaly /var/opt/gitlab/gitaly/config.toml
gitlab_git.1.ptky87fulf22@Mneme    |       - change mode from '' to '0755'
gitlab_git.1.ptky87fulf22@Mneme    |       - change owner from '' to 'root'
gitlab_git.1.ptky87fulf22@Mneme    |       - change group from '' to 'root'
gitlab_git.1.ptky87fulf22@Mneme    |     * directory[/opt/gitlab/sv/gitaly/log] action create
gitlab_git.1.ptky87fulf22@Mneme    |       - create new directory /opt/gitlab/sv/gitaly/log
gitlab_git.1.ptky87fulf22@Mneme    |       - change mode from '' to '0755'
gitlab_git.1.ptky87fulf22@Mneme    |       - change owner from '' to 'root'
gitlab_git.1.ptky87fulf22@Mneme    |       - change group from '' to 'root'
gitlab_git.1.ptky87fulf22@Mneme    |     * directory[/opt/gitlab/sv/gitaly/log/main] action create
gitlab_git.1.ptky87fulf22@Mneme    |       - create new directory /opt/gitlab/sv/gitaly/log/main
gitlab_git.1.ptky87fulf22@Mneme    |       - change mode from '' to '0755'
gitlab_git.1.ptky87fulf22@Mneme    |       - change owner from '' to 'root'
gitlab_git.1.ptky87fulf22@Mneme    |       - change group from '' to 'root'
gitlab_git.1.ptky87fulf22@Mneme    |     * template[/opt/gitlab/sv/gitaly/log/config] action create
gitlab_git.1.ptky87fulf22@Mneme    |       - create new file /opt/gitlab/sv/gitaly/log/config
gitlab_git.1.ptky87fulf22@Mneme    |       - update content in file /opt/gitlab/sv/gitaly/log/config from none to 623c00
gitlab_git.1.ptky87fulf22@Mneme    |       --- /opt/gitlab/sv/gitaly/log/config 2022-05-14 09:04:00.463074165 +0000
gitlab_git.1.ptky87fulf22@Mneme    |       +++ /opt/gitlab/sv/gitaly/log/.chef-config20220514-34-1n02l2l        2022-05-14 09:04:00.463074165 +0000
gitlab_git.1.ptky87fulf22@Mneme    |       @@ -1 +1,7 @@
gitlab_git.1.ptky87fulf22@Mneme    |       +s209715200
gitlab_git.1.ptky87fulf22@Mneme    |       +n30
gitlab_git.1.ptky87fulf22@Mneme    |       +t86400
gitlab_git.1.ptky87fulf22@Mneme    |       +!gzip
gitlab_git.1.ptky87fulf22@Mneme    |       +
gitlab_git.1.ptky87fulf22@Mneme    |       +
gitlab_git.1.ptky87fulf22@Mneme    |       - change mode from '' to '0644'
gitlab_git.1.ptky87fulf22@Mneme    |       - change owner from '' to 'root'
gitlab_git.1.ptky87fulf22@Mneme    |       - change group from '' to 'root'
gitlab_git.1.ptky87fulf22@Mneme    |     * ruby_block[verify_chown_persisted_on_gitaly] action create
gitlab_git.1.ptky87fulf22@Mneme    |       - execute the ruby block verify_chown_persisted_on_gitaly
gitlab_git.1.ptky87fulf22@Mneme    |     * ruby_block[verify_chown_persisted_on_gitaly] action nothing (skipped due to action :nothing)
gitlab_git.1.ptky87fulf22@Mneme    |     * link[/var/log/gitlab/gitaly/config] action create
gitlab_git.1.ptky87fulf22@Mneme    |       - create symlink at /var/log/gitlab/gitaly/config to /opt/gitlab/sv/gitaly/log/config
gitlab_git.1.ptky87fulf22@Mneme    |     * template[/opt/gitlab/sv/gitaly/log/run] action create
gitlab_git.1.ptky87fulf22@Mneme    |       - create new file /opt/gitlab/sv/gitaly/log/run
gitlab_git.1.ptky87fulf22@Mneme    |       - update content in file /opt/gitlab/sv/gitaly/log/run from none to fa6dcc
gitlab_git.1.ptky87fulf22@Mneme    |       --- /opt/gitlab/sv/gitaly/log/run    2022-05-14 09:04:00.533073219 +0000
gitlab_git.1.ptky87fulf22@Mneme    |       +++ /opt/gitlab/sv/gitaly/log/.chef-run20220514-34-gjz0i2    2022-05-14 09:04:00.533073219 +0000
gitlab_git.1.ptky87fulf22@Mneme    |       @@ -1 +1,3 @@
gitlab_git.1.ptky87fulf22@Mneme    |       +#!/bin/sh
gitlab_git.1.ptky87fulf22@Mneme    |       +exec svlogd /var/log/gitlab/gitaly
gitlab_git.1.ptky87fulf22@Mneme    |       - change mode from '' to '0755'
gitlab_git.1.ptky87fulf22@Mneme    |       - change owner from '' to 'root'
gitlab_git.1.ptky87fulf22@Mneme    |       - change group from '' to 'root'
gitlab_git.1.ptky87fulf22@Mneme    |     * directory[/opt/gitlab/sv/gitaly/env] action create
gitlab_git.1.ptky87fulf22@Mneme    |       - create new directory /opt/gitlab/sv/gitaly/env
gitlab_git.1.ptky87fulf22@Mneme    |       - change mode from '' to '0755'
gitlab_git.1.ptky87fulf22@Mneme    |       - change owner from '' to 'root'
gitlab_git.1.ptky87fulf22@Mneme    |       - change group from '' to 'root'
gitlab_git.1.ptky87fulf22@Mneme    |     * ruby_block[Delete unmanaged env files for gitaly service] action run (skipped due to only_if)
gitlab_git.1.ptky87fulf22@Mneme    |     * template[/opt/gitlab/sv/gitaly/check] action create (skipped due to only_if)
gitlab_git.1.ptky87fulf22@Mneme    |     * template[/opt/gitlab/sv/gitaly/finish] action create (skipped due to only_if)
gitlab_git.1.ptky87fulf22@Mneme    |     * directory[/opt/gitlab/sv/gitaly/control] action create
gitlab_git.1.ptky87fulf22@Mneme    |       - create new directory /opt/gitlab/sv/gitaly/control
gitlab_git.1.ptky87fulf22@Mneme    |       - change mode from '' to '0755'
gitlab_git.1.ptky87fulf22@Mneme    |       - change owner from '' to 'root'
gitlab_git.1.ptky87fulf22@Mneme    |       - change group from '' to 'root'
gitlab_git.1.ptky87fulf22@Mneme    |     * link[/opt/gitlab/init/gitaly] action create
gitlab_git.1.ptky87fulf22@Mneme    |       - create symlink at /opt/gitlab/init/gitaly to /opt/gitlab/embedded/bin/sv
gitlab_git.1.ptky87fulf22@Mneme    |     * file[/opt/gitlab/sv/gitaly/down] action nothing (skipped due to action :nothing)
gitlab_git.1.ptky87fulf22@Mneme    |     * ruby_block[restart_service] action run (skipped due to only_if)
gitlab_git.1.ptky87fulf22@Mneme    |     * ruby_block[reload_log_service] action create
gitlab_git.1.ptky87fulf22@Mneme    |       * ruby_block[restart_service] action nothing (skipped due to action :nothing)
gitlab_git.1.ptky87fulf22@Mneme    |       * ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
gitlab_git.1.ptky87fulf22@Mneme    |       * ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
gitlab_git.1.ptky87fulf22@Mneme    |       * directory[/opt/gitlab/sv/gitaly] action create (up to date)
gitlab_git.1.ptky87fulf22@Mneme    |       * template[/opt/gitlab/sv/gitaly/run] action create (up to date)
gitlab_git.1.ptky87fulf22@Mneme    |       * directory[/opt/gitlab/sv/gitaly/log] action create (up to date)
gitlab_git.1.ptky87fulf22@Mneme    |       * directory[/opt/gitlab/sv/gitaly/log/main] action create (up to date)
gitlab_git.1.ptky87fulf22@Mneme    |       * template[/opt/gitlab/sv/gitaly/log/config] action create (up to date)
gitlab_git.1.ptky87fulf22@Mneme    |       * ruby_block[verify_chown_persisted_on_gitaly] action nothing (skipped due to action :nothing)
gitlab_git.1.ptky87fulf22@Mneme    |       * link[/var/log/gitlab/gitaly/config] action create (up to date)
gitlab_git.1.ptky87fulf22@Mneme    |       * template[/opt/gitlab/sv/gitaly/log/run] action create (up to date)
gitlab_git.1.ptky87fulf22@Mneme    |       * directory[/opt/gitlab/sv/gitaly/env] action create (up to date)
gitlab_git.1.ptky87fulf22@Mneme    |       * ruby_block[Delete unmanaged env files for gitaly service] action run (skipped due to only_if)
gitlab_git.1.ptky87fulf22@Mneme    |       * template[/opt/gitlab/sv/gitaly/check] action create (skipped due to only_if)
gitlab_git.1.ptky87fulf22@Mneme    |       * template[/opt/gitlab/sv/gitaly/finish] action create (skipped due to only_if)
gitlab_git.1.ptky87fulf22@Mneme    |       * directory[/opt/gitlab/sv/gitaly/control] action create (up to date)
gitlab_git.1.ptky87fulf22@Mneme    |       * link[/opt/gitlab/init/gitaly] action create (up to date)
gitlab_git.1.ptky87fulf22@Mneme    |       * file[/opt/gitlab/sv/gitaly/down] action nothing (skipped due to action :nothing)
gitlab_git.1.ptky87fulf22@Mneme    |       * directory[/opt/gitlab/service] action create (up to date)
gitlab_git.1.ptky87fulf22@Mneme    |       * link[/opt/gitlab/service/gitaly] action create
gitlab_git.1.ptky87fulf22@Mneme    |         - create symlink at /opt/gitlab/service/gitaly to /opt/gitlab/sv/gitaly
gitlab_git.1.ptky87fulf22@Mneme    |       * ruby_block[wait for gitaly service socket] action run
gitlab_git.1.ptky87fulf22@Mneme    |         - execute the ruby block wait for gitaly service socket
gitlab_git.1.ptky87fulf22@Mneme    |       - execute the ruby block reload_log_service
gitlab_git.1.ptky87fulf22@Mneme    |     * ruby_block[restart_log_service] action run
gitlab_git.1.ptky87fulf22@Mneme    |       * ruby_block[restart_service] action nothing (skipped due to action :nothing)
gitlab_git.1.ptky87fulf22@Mneme    |       * ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
gitlab_git.1.ptky87fulf22@Mneme    |       * ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
gitlab_git.1.ptky87fulf22@Mneme    |       * directory[/opt/gitlab/sv/gitaly] action create (up to date)
gitlab_git.1.ptky87fulf22@Mneme    |       * template[/opt/gitlab/sv/gitaly/run] action create (up to date)
gitlab_git.1.ptky87fulf22@Mneme    |       * directory[/opt/gitlab/sv/gitaly/log] action create (up to date)
gitlab_git.1.ptky87fulf22@Mneme    |       * directory[/opt/gitlab/sv/gitaly/log/main] action create (up to date)
gitlab_git.1.ptky87fulf22@Mneme    |       * template[/opt/gitlab/sv/gitaly/log/config] action create (up to date)
gitlab_git.1.ptky87fulf22@Mneme    |       * ruby_block[verify_chown_persisted_on_gitaly] action nothing (skipped due to action :nothing)
gitlab_git.1.ptky87fulf22@Mneme    |       * link[/var/log/gitlab/gitaly/config] action create (up to date)
gitlab_git.1.ptky87fulf22@Mneme    |       * template[/opt/gitlab/sv/gitaly/log/run] action create (up to date)
gitlab_git.1.ptky87fulf22@Mneme    |       * directory[/opt/gitlab/sv/gitaly/env] action create (up to date)
gitlab_git.1.ptky87fulf22@Mneme    |       * ruby_block[Delete unmanaged env files for gitaly service] action run (skipped due to only_if)
gitlab_git.1.ptky87fulf22@Mneme    |       * template[/opt/gitlab/sv/gitaly/check] action create (skipped due to only_if)
gitlab_git.1.ptky87fulf22@Mneme    |       * template[/opt/gitlab/sv/gitaly/finish] action create (skipped due to only_if)
gitlab_git.1.ptky87fulf22@Mneme    |       * directory[/opt/gitlab/sv/gitaly/control] action create (up to date)
gitlab_git.1.ptky87fulf22@Mneme    |       * link[/opt/gitlab/init/gitaly] action create (up to date)
gitlab_git.1.ptky87fulf22@Mneme    |       * file[/opt/gitlab/sv/gitaly/down] action nothing (skipped due to action :nothing)
gitlab_git.1.ptky87fulf22@Mneme    |       * directory[/opt/gitlab/service] action create (up to date)
gitlab_git.1.ptky87fulf22@Mneme    |       * link[/opt/gitlab/service/gitaly] action create (up to date)
gitlab_git.1.ptky87fulf22@Mneme    |       * ruby_block[wait for gitaly service socket] action run (skipped due to not_if)
gitlab_git.1.ptky87fulf22@Mneme    |       - execute the ruby block restart_log_service
gitlab_git.1.ptky87fulf22@Mneme    |     * directory[/opt/gitlab/service] action create (up to date)
gitlab_git.1.ptky87fulf22@Mneme    |     * link[/opt/gitlab/service/gitaly] action create (up to date)
gitlab_git.1.ptky87fulf22@Mneme    |     * ruby_block[wait for gitaly service socket] action run (skipped due to not_if)
gitlab_git.1.ptky87fulf22@Mneme    |   
gitlab_git.1.ptky87fulf22@Mneme    |   * execute[/opt/gitlab/bin/gitlab-ctl start gitaly] action run
gitlab_git.1.ptky87fulf22@Mneme    |     [execute] ok: run: gitaly: (pid 308) 9s
gitlab_git.1.ptky87fulf22@Mneme    |     - execute /opt/gitlab/bin/gitlab-ctl start gitaly
gitlab_git.1.ptky87fulf22@Mneme    |   * version_file[Create version file for Gitaly] action create
gitlab_git.1.ptky87fulf22@Mneme    |     * file[/var/opt/gitlab/gitaly/VERSION] action create (up to date)
gitlab_git.1.ptky87fulf22@Mneme    |      (up to date)
gitlab_git.1.ptky87fulf22@Mneme    |   * version_file[Create Ruby version file for Gitaly] action create
gitlab_git.1.ptky87fulf22@Mneme    |     * file[/var/opt/gitlab/gitaly/RUBY_VERSION] action create (up to date)
gitlab_git.1.ptky87fulf22@Mneme    |      (up to date)
gitlab_git.1.ptky87fulf22@Mneme    |   * consul_service[gitaly] action delete
gitlab_git.1.ptky87fulf22@Mneme    |     * file[/var/opt/gitlab/consul/config.d/gitaly-service.json] action delete (up to date)
gitlab_git.1.ptky87fulf22@Mneme    |      (up to date)
gitlab_git.1.ptky87fulf22@Mneme    | Recipe: postgresql::bin
gitlab_git.1.ptky87fulf22@Mneme    |   * ruby_block[check_postgresql_version] action run (skipped due to not_if)
gitlab_git.1.ptky87fulf22@Mneme    |   * ruby_block[check_postgresql_version_is_deprecated] action run (skipped due to not_if)
gitlab_git.1.ptky87fulf22@Mneme    |   * ruby_block[Link postgresql bin files to the correct version] action run
gitlab_git.1.ptky87fulf22@Mneme    |     - execute the ruby block Link postgresql bin files to the correct version
gitlab_git.1.ptky87fulf22@Mneme    |   * template[/opt/gitlab/etc/gitlab-psql-rc] action create
gitlab_git.1.ptky87fulf22@Mneme    |     - create new file /opt/gitlab/etc/gitlab-psql-rc
gitlab_git.1.ptky87fulf22@Mneme    |     - update content in file /opt/gitlab/etc/gitlab-psql-rc from none to b7b8fc
gitlab_git.1.ptky87fulf22@Mneme    |     - suppressed sensitive resource
gitlab_git.1.ptky87fulf22@Mneme    |     - change owner from '' to 'root'
gitlab_git.1.ptky87fulf22@Mneme    |     - change group from '' to 'root'
gitlab_git.1.ptky87fulf22@Mneme    | Recipe: postgresql::user
gitlab_git.1.ptky87fulf22@Mneme    |   * account[Postgresql user and group] action create
gitlab_git.1.ptky87fulf22@Mneme    |     * group[Postgresql user and group] action create (up to date)
gitlab_git.1.ptky87fulf22@Mneme    |     * linux_user[Postgresql user and group] action create (up to date)
gitlab_git.1.ptky87fulf22@Mneme    |      (up to date)
gitlab_git.1.ptky87fulf22@Mneme    |   * directory[/var/opt/gitlab/postgresql] action create (up to date)
gitlab_git.1.ptky87fulf22@Mneme    |   * file[/var/opt/gitlab/postgresql/.profile] action create (up to date)
gitlab_git.1.ptky87fulf22@Mneme    | Recipe: postgresql::sysctl
gitlab_git.1.ptky87fulf22@Mneme    |   * gitlab_sysctl[kernel.shmmax] action create
gitlab_git.1.ptky87fulf22@Mneme    |     * directory[create /etc/sysctl.d for kernel.shmmax] action create (up to date)
gitlab_git.1.ptky87fulf22@Mneme    |     * file[create /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf kernel.shmmax] action create
gitlab_git.1.ptky87fulf22@Mneme    |       - create new file /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf
gitlab_git.1.ptky87fulf22@Mneme    |       - update content in file /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf from none to d5cabf
gitlab_git.1.ptky87fulf22@Mneme    |       --- /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf    2022-05-14 09:04:15.052876993 +0000
gitlab_git.1.ptky87fulf22@Mneme    |       +++ /opt/gitlab/embedded/etc/.chef-90-omnibus-gitlab-kernel20220514-34-u6lvg8.shmmax.conf    2022-05-14 09:04:15.032877264 +0000
gitlab_git.1.ptky87fulf22@Mneme    |       @@ -1 +1,2 @@
gitlab_git.1.ptky87fulf22@Mneme    |       +kernel.shmmax = 4294967295
gitlab_git.1.ptky87fulf22@Mneme    |     * link[/etc/sysctl.d/90-omnibus-gitlab-kernel.shmmax.conf] action create
gitlab_git.1.ptky87fulf22@Mneme    |       - create symlink at /etc/sysctl.d/90-omnibus-gitlab-kernel.shmmax.conf to /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf
gitlab_git.1.ptky87fulf22@Mneme    |     * execute[load sysctl conf kernel.shmmax] action nothing (skipped due to action :nothing)
gitlab_git.1.ptky87fulf22@Mneme    |     * execute[load sysctl conf kernel.shmmax] action run
gitlab_git.1.ptky87fulf22@Mneme    |       [execute] sysctl: permission denied on key "kernel.shmmax"
gitlab_git.1.ptky87fulf22@Mneme    |       
gitlab_git.1.ptky87fulf22@Mneme    |       ================================================================================
gitlab_git.1.ptky87fulf22@Mneme    |       Error executing action `run` on resource 'execute[load sysctl conf kernel.shmmax]'
gitlab_git.1.ptky87fulf22@Mneme    |       ================================================================================
gitlab_git.1.ptky87fulf22@Mneme    |       
gitlab_git.1.ptky87fulf22@Mneme    |       Mixlib::ShellOut::ShellCommandFailed
gitlab_git.1.ptky87fulf22@Mneme    |       ------------------------------------
gitlab_git.1.ptky87fulf22@Mneme    |       Expected process to exit with [0], but received '255'
gitlab_git.1.ptky87fulf22@Mneme    |       ---- Begin output of sysctl -e -p /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf ----
gitlab_git.1.ptky87fulf22@Mneme    |       STDOUT: 
gitlab_git.1.ptky87fulf22@Mneme    |       STDERR: sysctl: permission denied on key "kernel.shmmax"
gitlab_git.1.ptky87fulf22@Mneme    |       ---- End output of sysctl -e -p /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf ----
gitlab_git.1.ptky87fulf22@Mneme    |       Ran sysctl -e -p /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf returned 255
gitlab_git.1.ptky87fulf22@Mneme    |       
gitlab_git.1.ptky87fulf22@Mneme    |       Resource Declaration:
gitlab_git.1.ptky87fulf22@Mneme    |       ---------------------
gitlab_git.1.ptky87fulf22@Mneme    |       # In /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/gitlab_sysctl.rb
gitlab_git.1.ptky87fulf22@Mneme    |       
gitlab_git.1.ptky87fulf22@Mneme    |        54:   execute "load sysctl conf #{new_resource.name}" do
gitlab_git.1.ptky87fulf22@Mneme    |        55:     command "sysctl -e -p /opt/gitlab/embedded/etc/#{conf_name}"
gitlab_git.1.ptky87fulf22@Mneme    |        56:     action :nothing
gitlab_git.1.ptky87fulf22@Mneme    |        57: 
gitlab_git.1.ptky87fulf22@Mneme    |        58:     only_if { node['package']['modify_kernel_parameters'] }
gitlab_git.1.ptky87fulf22@Mneme    |        59:   end
gitlab_git.1.ptky87fulf22@Mneme    |        60: end
gitlab_git.1.ptky87fulf22@Mneme    |       
gitlab_git.1.ptky87fulf22@Mneme    |       Compiled Resource:
gitlab_git.1.ptky87fulf22@Mneme    |       ------------------
gitlab_git.1.ptky87fulf22@Mneme    |       # Declared in /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/gitlab_sysctl.rb:54:in `block in class_from_file'
gitlab_git.1.ptky87fulf22@Mneme    |       
gitlab_git.1.ptky87fulf22@Mneme    |       execute("load sysctl conf kernel.shmmax") do
gitlab_git.1.ptky87fulf22@Mneme    |         action [:nothing]
gitlab_git.1.ptky87fulf22@Mneme    |         default_guard_interpreter :execute
gitlab_git.1.ptky87fulf22@Mneme    |         command "sysctl -e -p /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf"
gitlab_git.1.ptky87fulf22@Mneme    |         backup 5
gitlab_git.1.ptky87fulf22@Mneme    |         declared_type :execute
gitlab_git.1.ptky87fulf22@Mneme    |         cookbook_name "postgresql"
gitlab_git.1.ptky87fulf22@Mneme    |         domain nil
gitlab_git.1.ptky87fulf22@Mneme    |         user nil
gitlab_git.1.ptky87fulf22@Mneme    |         only_if { #code block }
gitlab_git.1.ptky87fulf22@Mneme    |       end
gitlab_git.1.ptky87fulf22@Mneme    |       
gitlab_git.1.ptky87fulf22@Mneme    |       System Info:
gitlab_git.1.ptky87fulf22@Mneme    |       ------------
gitlab_git.1.ptky87fulf22@Mneme    |       chef_version=15.17.4
gitlab_git.1.ptky87fulf22@Mneme    |       platform=debian
gitlab_git.1.ptky87fulf22@Mneme    |       platform_version=11
gitlab_git.1.ptky87fulf22@Mneme    |       ruby=ruby 2.7.5p203 (2021-11-24 revision f69aeb8314) [arm-linux-gnueabihf]
gitlab_git.1.ptky87fulf22@Mneme    |       program_name=/opt/gitlab/embedded/bin/chef-client
gitlab_git.1.ptky87fulf22@Mneme    |       executable=/opt/gitlab/embedded/bin/chef-client
gitlab_git.1.ptky87fulf22@Mneme    |       
gitlab_git.1.ptky87fulf22@Mneme    |     
gitlab_git.1.ptky87fulf22@Mneme    |     ================================================================================
gitlab_git.1.ptky87fulf22@Mneme    |     Error executing action `create` on resource 'gitlab_sysctl[kernel.shmmax]'
gitlab_git.1.ptky87fulf22@Mneme    |     ================================================================================
gitlab_git.1.ptky87fulf22@Mneme    |     
gitlab_git.1.ptky87fulf22@Mneme    |     Mixlib::ShellOut::ShellCommandFailed
gitlab_git.1.ptky87fulf22@Mneme    |     ------------------------------------
gitlab_git.1.ptky87fulf22@Mneme    |     execute[load sysctl conf kernel.shmmax] (/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/gitlab_sysctl.rb line 54) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '255'
gitlab_git.1.ptky87fulf22@Mneme    |     ---- Begin output of sysctl -e -p /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf ----
gitlab_git.1.ptky87fulf22@Mneme    |     STDOUT: 
gitlab_git.1.ptky87fulf22@Mneme    |     STDERR: sysctl: permission denied on key "kernel.shmmax"
gitlab_git.1.ptky87fulf22@Mneme    |     ---- End output of sysctl -e -p /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf ----
gitlab_git.1.ptky87fulf22@Mneme    |     Ran sysctl -e -p /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf returned 255
gitlab_git.1.ptky87fulf22@Mneme    |     
gitlab_git.1.ptky87fulf22@Mneme    |     Resource Declaration:
gitlab_git.1.ptky87fulf22@Mneme    |     ---------------------
gitlab_git.1.ptky87fulf22@Mneme    |     # In /opt/gitlab/embedded/cookbooks/cache/cookbooks/postgresql/recipes/sysctl.rb
gitlab_git.1.ptky87fulf22@Mneme    |     
gitlab_git.1.ptky87fulf22@Mneme    |       5: gitlab_sysctl 'kernel.shmmax' do
gitlab_git.1.ptky87fulf22@Mneme    |       6:   value node['postgresql']['shmmax']
gitlab_git.1.ptky87fulf22@Mneme    |       7: end
gitlab_git.1.ptky87fulf22@Mneme    |       8: 
gitlab_git.1.ptky87fulf22@Mneme    |     
gitlab_git.1.ptky87fulf22@Mneme    |     Compiled Resource:
gitlab_git.1.ptky87fulf22@Mneme    |     ------------------
gitlab_git.1.ptky87fulf22@Mneme    |     # Declared in /opt/gitlab/embedded/cookbooks/cache/cookbooks/postgresql/recipes/sysctl.rb:5:in `from_file'
gitlab_git.1.ptky87fulf22@Mneme    |     
gitlab_git.1.ptky87fulf22@Mneme    |     gitlab_sysctl("kernel.shmmax") do
gitlab_git.1.ptky87fulf22@Mneme    |       action [:create]
gitlab_git.1.ptky87fulf22@Mneme    |       updated true
gitlab_git.1.ptky87fulf22@Mneme    |       updated_by_last_action true
gitlab_git.1.ptky87fulf22@Mneme    |       default_guard_interpreter :default
gitlab_git.1.ptky87fulf22@Mneme    |       declared_type :gitlab_sysctl
gitlab_git.1.ptky87fulf22@Mneme    |       cookbook_name "postgresql"
gitlab_git.1.ptky87fulf22@Mneme    |       recipe_name "sysctl"
gitlab_git.1.ptky87fulf22@Mneme    |       value 4294967295
gitlab_git.1.ptky87fulf22@Mneme    |     end
gitlab_git.1.ptky87fulf22@Mneme    |     
gitlab_git.1.ptky87fulf22@Mneme    |     System Info:
gitlab_git.1.ptky87fulf22@Mneme    |     ------------
gitlab_git.1.ptky87fulf22@Mneme    |     chef_version=15.17.4
gitlab_git.1.ptky87fulf22@Mneme    |     platform=debian
gitlab_git.1.ptky87fulf22@Mneme    |     platform_version=11
gitlab_git.1.ptky87fulf22@Mneme    |     ruby=ruby 2.7.5p203 (2021-11-24 revision f69aeb8314) [arm-linux-gnueabihf]
gitlab_git.1.ptky87fulf22@Mneme    |     program_name=/opt/gitlab/embedded/bin/chef-client
gitlab_git.1.ptky87fulf22@Mneme    |     executable=/opt/gitlab/embedded/bin/chef-client
gitlab_git.1.ptky87fulf22@Mneme    |     
gitlab_git.1.ptky87fulf22@Mneme    | Recipe: gitlab::gitlab-rails
gitlab_git.1.ptky87fulf22@Mneme    |   * execute[clear the gitlab-rails cache] action run
gitlab_git.1.ptky87fulf22@Mneme    |     - execute /opt/gitlab/bin/gitlab-rake cache:clear
gitlab_git.1.ptky87fulf22@Mneme    | Recipe: package::sysctl
gitlab_git.1.ptky87fulf22@Mneme    |   * execute[reload all sysctl conf] action run
gitlab_git.1.ptky87fulf22@Mneme    |     [execute] * Applying /etc/sysctl.d/90-omnibus-gitlab-kernel.shmmax.conf ...
gitlab_git.1.ptky87fulf22@Mneme    |               * Applying /usr/lib/sysctl.d/protect-links.conf ...
gitlab_git.1.ptky87fulf22@Mneme    |               * Applying /etc/sysctl.conf ...
gitlab_git.1.ptky87fulf22@Mneme    |               sysctl: permission denied on key "kernel.shmmax"
gitlab_git.1.ptky87fulf22@Mneme    |               sysctl: permission denied on key "fs.protected_fifos"
gitlab_git.1.ptky87fulf22@Mneme    |               sysctl: permission denied on key "fs.protected_hardlinks"
gitlab_git.1.ptky87fulf22@Mneme    |               sysctl: permission denied on key "fs.protected_regular"
gitlab_git.1.ptky87fulf22@Mneme    |               sysctl: permission denied on key "fs.protected_symlinks"
gitlab_git.1.ptky87fulf22@Mneme    |     
gitlab_git.1.ptky87fulf22@Mneme    |     ================================================================================
gitlab_git.1.ptky87fulf22@Mneme    |     Error executing action `run` on resource 'execute[reload all sysctl conf]'
gitlab_git.1.ptky87fulf22@Mneme    |     ================================================================================
gitlab_git.1.ptky87fulf22@Mneme    |     
gitlab_git.1.ptky87fulf22@Mneme    |     Mixlib::ShellOut::ShellCommandFailed
gitlab_git.1.ptky87fulf22@Mneme    |     ------------------------------------
gitlab_git.1.ptky87fulf22@Mneme    |     Expected process to exit with [0], but received '255'
gitlab_git.1.ptky87fulf22@Mneme    |     ---- Begin output of sysctl -e --system ----
gitlab_git.1.ptky87fulf22@Mneme    |     STDOUT: * Applying /etc/sysctl.d/90-omnibus-gitlab-kernel.shmmax.conf ...
gitlab_git.1.ptky87fulf22@Mneme    |     * Applying /usr/lib/sysctl.d/protect-links.conf ...
gitlab_git.1.ptky87fulf22@Mneme    |     * Applying /etc/sysctl.conf ...
gitlab_git.1.ptky87fulf22@Mneme    |     STDERR: sysctl: permission denied on key "kernel.shmmax"
gitlab_git.1.ptky87fulf22@Mneme    |     sysctl: permission denied on key "fs.protected_fifos"
gitlab_git.1.ptky87fulf22@Mneme    |     sysctl: permission denied on key "fs.protected_hardlinks"
gitlab_git.1.ptky87fulf22@Mneme    |     sysctl: permission denied on key "fs.protected_regular"
gitlab_git.1.ptky87fulf22@Mneme    |     sysctl: permission denied on key "fs.protected_symlinks"
gitlab_git.1.ptky87fulf22@Mneme    |     ---- End output of sysctl -e --system ----
gitlab_git.1.ptky87fulf22@Mneme    |     Ran sysctl -e --system returned 255
gitlab_git.1.ptky87fulf22@Mneme    |     
gitlab_git.1.ptky87fulf22@Mneme    |     Resource Declaration:
gitlab_git.1.ptky87fulf22@Mneme    |     ---------------------
gitlab_git.1.ptky87fulf22@Mneme    |     # In /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/recipes/sysctl.rb
gitlab_git.1.ptky87fulf22@Mneme    |     
gitlab_git.1.ptky87fulf22@Mneme    |      18: execute "reload all sysctl conf" do
gitlab_git.1.ptky87fulf22@Mneme    |      19:   command "sysctl -e --system"
gitlab_git.1.ptky87fulf22@Mneme    |      20:   action :nothing
gitlab_git.1.ptky87fulf22@Mneme    |      21: 
gitlab_git.1.ptky87fulf22@Mneme    |      22:   only_if { node['package']['modify_kernel_parameters'] }
gitlab_git.1.ptky87fulf22@Mneme    |      23: end
gitlab_git.1.ptky87fulf22@Mneme    |     
gitlab_git.1.ptky87fulf22@Mneme    |     Compiled Resource:
gitlab_git.1.ptky87fulf22@Mneme    |     ------------------
gitlab_git.1.ptky87fulf22@Mneme    |     # Declared in /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/recipes/sysctl.rb:18:in `from_file'
gitlab_git.1.ptky87fulf22@Mneme    |     
gitlab_git.1.ptky87fulf22@Mneme    |     execute("reload all sysctl conf") do
gitlab_git.1.ptky87fulf22@Mneme    |       action [:nothing]
gitlab_git.1.ptky87fulf22@Mneme    |       default_guard_interpreter :execute
gitlab_git.1.ptky87fulf22@Mneme    |       command "sysctl -e --system"
gitlab_git.1.ptky87fulf22@Mneme    |       backup 5
gitlab_git.1.ptky87fulf22@Mneme    |       declared_type :execute
gitlab_git.1.ptky87fulf22@Mneme    |       cookbook_name "package"
gitlab_git.1.ptky87fulf22@Mneme    |       recipe_name "sysctl"
gitlab_git.1.ptky87fulf22@Mneme    |       domain nil
gitlab_git.1.ptky87fulf22@Mneme    |       user nil
gitlab_git.1.ptky87fulf22@Mneme    |       only_if { #code block }
gitlab_git.1.ptky87fulf22@Mneme    |     end
gitlab_git.1.ptky87fulf22@Mneme    |     
gitlab_git.1.ptky87fulf22@Mneme    |     System Info:
gitlab_git.1.ptky87fulf22@Mneme    |     ------------
gitlab_git.1.ptky87fulf22@Mneme    |     chef_version=15.17.4
gitlab_git.1.ptky87fulf22@Mneme    |     platform=debian
gitlab_git.1.ptky87fulf22@Mneme    |     platform_version=11
gitlab_git.1.ptky87fulf22@Mneme    |     ruby=ruby 2.7.5p203 (2021-11-24 revision f69aeb8314) [arm-linux-gnueabihf]
gitlab_git.1.ptky87fulf22@Mneme    |     program_name=/opt/gitlab/embedded/bin/chef-client
gitlab_git.1.ptky87fulf22@Mneme    |     executable=/opt/gitlab/embedded/bin/chef-client
gitlab_git.1.ptky87fulf22@Mneme    |     
gitlab_git.1.ptky87fulf22@Mneme    | 
gitlab_git.1.ptky87fulf22@Mneme    | Running handlers:
gitlab_git.1.ptky87fulf22@Mneme    | There was an error running gitlab-ctl reconfigure:
gitlab_git.1.ptky87fulf22@Mneme    | 
gitlab_git.1.ptky87fulf22@Mneme    | Multiple failures occurred:
gitlab_git.1.ptky87fulf22@Mneme    | * Mixlib::ShellOut::ShellCommandFailed occurred in Chef Infra Client run: gitlab_sysctl[kernel.shmmax] (postgresql::sysctl line 5) had an error: Mixlib::ShellOut::ShellCommandFailed: execute[load sysctl conf kernel.shmmax] (/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/gitlab_sysctl.rb line 54) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '255'
gitlab_git.1.ptky87fulf22@Mneme    | ---- Begin output of sysctl -e -p /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf ----
gitlab_git.1.ptky87fulf22@Mneme    | STDOUT: 
gitlab_git.1.ptky87fulf22@Mneme    | STDERR: sysctl: permission denied on key "kernel.shmmax"
gitlab_git.1.ptky87fulf22@Mneme    | ---- End output of sysctl -e -p /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf ----
gitlab_git.1.ptky87fulf22@Mneme    | Ran sysctl -e -p /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf returned 255
gitlab_git.1.ptky87fulf22@Mneme    | * Mixlib::ShellOut::ShellCommandFailed occurred in delayed notification: execute[reload all sysctl conf] (package::sysctl line 18) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '255'
gitlab_git.1.ptky87fulf22@Mneme    | ---- Begin output of sysctl -e --system ----
gitlab_git.1.ptky87fulf22@Mneme    | STDOUT: * Applying /etc/sysctl.d/90-omnibus-gitlab-kernel.shmmax.conf ...
gitlab_git.1.ptky87fulf22@Mneme    | * Applying /usr/lib/sysctl.d/protect-links.conf ...
gitlab_git.1.ptky87fulf22@Mneme    | * Applying /etc/sysctl.conf ...
gitlab_git.1.ptky87fulf22@Mneme    | STDERR: sysctl: permission denied on key "kernel.shmmax"
gitlab_git.1.ptky87fulf22@Mneme    | sysctl: permission denied on key "fs.protected_fifos"
gitlab_git.1.ptky87fulf22@Mneme    | sysctl: permission denied on key "fs.protected_hardlinks"
gitlab_git.1.ptky87fulf22@Mneme    | sysctl: permission denied on key "fs.protected_regular"
gitlab_git.1.ptky87fulf22@Mneme    | sysctl: permission denied on key "fs.protected_symlinks"
gitlab_git.1.ptky87fulf22@Mneme    | ---- End output of sysctl -e --system ----
gitlab_git.1.ptky87fulf22@Mneme    | Ran sysctl -e --system returned 255
gitlab_git.1.ptky87fulf22@Mneme    | 
gitlab_git.1.ptky87fulf22@Mneme    | 
gitlab_git.1.ptky87fulf22@Mneme    | Notes:
gitlab_git.1.ptky87fulf22@Mneme    | Default admin account has been configured with following details:
gitlab_git.1.ptky87fulf22@Mneme    | Username: root
gitlab_git.1.ptky87fulf22@Mneme    | Password: You didn't opt-in to print initial root password to STDOUT.
gitlab_git.1.ptky87fulf22@Mneme    | Password stored to /etc/gitlab/initial_root_password. This file will be cleaned up in first reconfigure run after 24 hours.
gitlab_git.1.ptky87fulf22@Mneme    | 
gitlab_git.1.ptky87fulf22@Mneme    | NOTE: Because these credentials might be present in your log files in plain text, it is highly recommended to reset the password following https://docs.gitlab.com/ee/security/reset_user_password.html#reset-your-root-password.
gitlab_git.1.ptky87fulf22@Mneme    | 
gitlab_git.1.ptky87fulf22@Mneme    | Running handlers complete
gitlab_git.1.ptky87fulf22@Mneme    | Chef Infra Client failed. 121 resources updated in 03 minutes 22 seconds
gitlab_git.1.ptky87fulf22@Mneme    | 
gitlab_git.1.ptky87fulf22@Mneme    | Notes:
gitlab_git.1.ptky87fulf22@Mneme    | Default admin account has been configured with following details:
gitlab_git.1.ptky87fulf22@Mneme    | Username: root
gitlab_git.1.ptky87fulf22@Mneme    | Password: You didn't opt-in to print initial root password to STDOUT.
gitlab_git.1.ptky87fulf22@Mneme    | Password stored to /etc/gitlab/initial_root_password. This file will be cleaned up in first reconfigure run after 24 hours.
gitlab_git.1.ptky87fulf22@Mneme    | 
gitlab_git.1.ptky87fulf22@Mneme    | NOTE: Because these credentials might be present in your log files in plain text, it is highly recommended to reset the password following https://docs.gitlab.com/ee/security/reset_user_password.html#reset-your-root-password.
gitlab_git.1.ptky87fulf22@Mneme    | 
gitlab_git.1.49va7e8q8oal@Mneme    | Thank you for using GitLab Docker Image!
gitlab_git.1.49va7e8q8oal@Mneme    | Current version: =gitlab-ce_14.10.2-ce.0
gitlab_git.1.49va7e8q8oal@Mneme    | 
gitlab_git.1.49va7e8q8oal@Mneme    | Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file
gitlab_git.1.49va7e8q8oal@Mneme    | And restart this container to reload settings.
gitlab_git.1.49va7e8q8oal@Mneme    | To do it use docker exec:
gitlab_git.1.49va7e8q8oal@Mneme    | 
gitlab_git.1.49va7e8q8oal@Mneme    |   docker exec -it gitlab editor /etc/gitlab/gitlab.rb
gitlab_git.1.49va7e8q8oal@Mneme    |   docker restart gitlab
gitlab_git.1.49va7e8q8oal@Mneme    | 
gitlab_git.1.49va7e8q8oal@Mneme    | For a comprehensive list of configuration options please see the Omnibus GitLab readme
gitlab_git.1.49va7e8q8oal@Mneme    | https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md
gitlab_git.1.49va7e8q8oal@Mneme    | 
gitlab_git.1.49va7e8q8oal@Mneme    | If this container fails to start due to permission problems try to fix it by executing:
gitlab_git.1.49va7e8q8oal@Mneme    | 
gitlab_git.1.49va7e8q8oal@Mneme    |   docker exec -it gitlab update-permissions
gitlab_git.1.49va7e8q8oal@Mneme    |   docker restart gitlab
gitlab_git.1.49va7e8q8oal@Mneme    | 
gitlab_git.1.49va7e8q8oal@Mneme    | Cleaning stale PIDs & sockets
gitlab_git.1.49va7e8q8oal@Mneme    | Preparing services...
gitlab_git.1.49va7e8q8oal@Mneme    | Starting services...
gitlab_git.1.49va7e8q8oal@Mneme    | Configuring GitLab...
gitlab_git.1.49va7e8q8oal@Mneme    | /opt/gitlab/embedded/bin/runsvdir-start: line 24: ulimit: pending signals: cannot modify limit: Operation not permitted
gitlab_git.1.49va7e8q8oal@Mneme    | /opt/gitlab/embedded/bin/runsvdir-start: line 37: /proc/sys/fs/file-max: Read-only file system
^C
HypriotOS/armv7: pi@Janus in ~/gitlab
$ docker stack rm gitlab 
Removing service gitlab_git
Removing service gitlab_runner_ARMv7-rev3
Removing service gitlab_runner_ARMv7-rev4
Removing network gitlab_runners-local
HypriotOS/armv7: pi@Janus in ~/gitlab
$ nano docker_gitlab.yml 
HypriotOS/armv7: pi@Janus in ~/gitlab
$ docker stack rm gitlab && docker stack deploy --compose-file docker_gitlab.yml gitlab && docker service logs -f gitlab_git
Nothing found in stack: gitlab
Creating network gitlab_runners-local
Creating service gitlab_git
Creating service gitlab_runner_ARMv7-rev4
Creating service gitlab_runner_ARMv7-rev3
gitlab_git.1.4467ro8ppjuw@Mneme    | Thank you for using GitLab Docker Image!
gitlab_git.1.4467ro8ppjuw@Mneme    | Current version: =gitlab-ce_14.10.2-ce.0
gitlab_git.1.4467ro8ppjuw@Mneme    | 
gitlab_git.1.4467ro8ppjuw@Mneme    | Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file
gitlab_git.1.4467ro8ppjuw@Mneme    | And restart this container to reload settings.
gitlab_git.1.4467ro8ppjuw@Mneme    | To do it use docker exec:
gitlab_git.1.4467ro8ppjuw@Mneme    | 
gitlab_git.1.4467ro8ppjuw@Mneme    |   docker exec -it gitlab editor /etc/gitlab/gitlab.rb
gitlab_git.1.4467ro8ppjuw@Mneme    |   docker restart gitlab
gitlab_git.1.4467ro8ppjuw@Mneme    | 
gitlab_git.1.4467ro8ppjuw@Mneme    | For a comprehensive list of configuration options please see the Omnibus GitLab readme
gitlab_git.1.4467ro8ppjuw@Mneme    | https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md
gitlab_git.1.4467ro8ppjuw@Mneme    | 
gitlab_git.1.4467ro8ppjuw@Mneme    | If this container fails to start due to permission problems try to fix it by executing:
gitlab_git.1.4467ro8ppjuw@Mneme    | 
gitlab_git.1.4467ro8ppjuw@Mneme    |   docker exec -it gitlab update-permissions
gitlab_git.1.4467ro8ppjuw@Mneme    |   docker restart gitlab
gitlab_git.1.4467ro8ppjuw@Mneme    | 
gitlab_git.1.4467ro8ppjuw@Mneme    | Cleaning stale PIDs & sockets
gitlab_git.1.4467ro8ppjuw@Mneme    | Preparing services...
gitlab_git.1.4467ro8ppjuw@Mneme    | Starting services...
gitlab_git.1.4467ro8ppjuw@Mneme    | Configuring GitLab...
gitlab_git.1.4467ro8ppjuw@Mneme    | /opt/gitlab/embedded/bin/runsvdir-start: line 24: ulimit: pending signals: cannot modify limit: Operation not permitted
gitlab_git.1.4467ro8ppjuw@Mneme    | /opt/gitlab/embedded/bin/runsvdir-start: line 37: /proc/sys/fs/file-max: Read-only file system
gitlab_git.1.4467ro8ppjuw@Mneme    | Starting Chef Infra Client, version 15.17.4
gitlab_git.1.4467ro8ppjuw@Mneme    | resolving cookbooks for run list: ["gitlab"]
gitlab_git.1.4467ro8ppjuw@Mneme    | Synchronizing Cookbooks:
gitlab_git.1.4467ro8ppjuw@Mneme    |   - gitlab (0.0.1)
gitlab_git.1.4467ro8ppjuw@Mneme    |   - package (0.1.0)
gitlab_git.1.4467ro8ppjuw@Mneme    |   - logrotate (0.1.0)
gitlab_git.1.4467ro8ppjuw@Mneme    |   - postgresql (0.1.0)
gitlab_git.1.4467ro8ppjuw@Mneme    |   - redis (0.1.0)
gitlab_git.1.4467ro8ppjuw@Mneme    |   - monitoring (0.1.0)
gitlab_git.1.4467ro8ppjuw@Mneme    |   - registry (0.1.0)
gitlab_git.1.4467ro8ppjuw@Mneme    |   - mattermost (0.1.0)
gitlab_git.1.4467ro8ppjuw@Mneme    |   - consul (0.1.0)
gitlab_git.1.4467ro8ppjuw@Mneme    |   - gitaly (0.1.0)
gitlab_git.1.4467ro8ppjuw@Mneme    |   - praefect (0.1.0)
gitlab_git.1.4467ro8ppjuw@Mneme    |   - gitlab-kas (0.1.0)
gitlab_git.1.4467ro8ppjuw@Mneme    |   - gitlab-pages (0.1.0)
gitlab_git.1.4467ro8ppjuw@Mneme    |   - letsencrypt (0.1.0)
gitlab_git.1.4467ro8ppjuw@Mneme    |   - nginx (0.1.0)
gitlab_git.1.4467ro8ppjuw@Mneme    |   - runit (5.1.3)
gitlab_git.1.4467ro8ppjuw@Mneme    |   - acme (4.1.3)
gitlab_git.1.4467ro8ppjuw@Mneme    |   - crond (0.1.0)
gitlab_git.1.4467ro8ppjuw@Mneme    | Installing Cookbook Gems:
gitlab_git.1.4467ro8ppjuw@Mneme    | Compiling Cookbooks...
gitlab_git.1.4467ro8ppjuw@Mneme    | Recipe: gitlab::default
gitlab_git.1.4467ro8ppjuw@Mneme    |   * directory[/etc/gitlab] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     - change mode from '0777' to '0775'
gitlab_git.1.4467ro8ppjuw@Mneme    |   Converging 246 resources
gitlab_git.1.4467ro8ppjuw@Mneme    |   * directory[/etc/gitlab] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * directory[Create /var/opt/gitlab] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     - change mode from '0777' to '0755'
gitlab_git.1.4467ro8ppjuw@Mneme    |   * directory[Create /var/log/gitlab] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * directory[/opt/gitlab/embedded/etc] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     - create new directory /opt/gitlab/embedded/etc
gitlab_git.1.4467ro8ppjuw@Mneme    |     - change mode from '' to '0755'
gitlab_git.1.4467ro8ppjuw@Mneme    |     - change owner from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |     - change group from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |   * template[/opt/gitlab/embedded/etc/gitconfig] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     - create new file /opt/gitlab/embedded/etc/gitconfig
gitlab_git.1.4467ro8ppjuw@Mneme    |     - update content in file /opt/gitlab/embedded/etc/gitconfig from none to 5a725a
gitlab_git.1.4467ro8ppjuw@Mneme    |     --- /opt/gitlab/embedded/etc/gitconfig 2022-05-14 09:10:37.917646891 +0000
gitlab_git.1.4467ro8ppjuw@Mneme    |     +++ /opt/gitlab/embedded/etc/.chef-gitconfig20220514-35-1v703p 2022-05-14 09:10:37.917646891 +0000
gitlab_git.1.4467ro8ppjuw@Mneme    |     @@ -1 +1,17 @@
gitlab_git.1.4467ro8ppjuw@Mneme    |     +[pack]
gitlab_git.1.4467ro8ppjuw@Mneme    |     +  threads = 1
gitlab_git.1.4467ro8ppjuw@Mneme    |     +[receive]
gitlab_git.1.4467ro8ppjuw@Mneme    |     +  fsckObjects = true
gitlab_git.1.4467ro8ppjuw@Mneme    |     +advertisePushOptions = true
gitlab_git.1.4467ro8ppjuw@Mneme    |     +[repack]
gitlab_git.1.4467ro8ppjuw@Mneme    |     +  writeBitmaps = true
gitlab_git.1.4467ro8ppjuw@Mneme    |     +[transfer]
gitlab_git.1.4467ro8ppjuw@Mneme    |     +  hideRefs=^refs/tmp/
gitlab_git.1.4467ro8ppjuw@Mneme    |     +hideRefs=^refs/keep-around/
gitlab_git.1.4467ro8ppjuw@Mneme    |     +hideRefs=^refs/remotes/
gitlab_git.1.4467ro8ppjuw@Mneme    |     +[core]
gitlab_git.1.4467ro8ppjuw@Mneme    |     +  alternateRefsCommand="exit 0 #"
gitlab_git.1.4467ro8ppjuw@Mneme    |     +fsyncObjectFiles = true
gitlab_git.1.4467ro8ppjuw@Mneme    |     +[fetch]
gitlab_git.1.4467ro8ppjuw@Mneme    |     +  writeCommitGraph = true
gitlab_git.1.4467ro8ppjuw@Mneme    |     - change mode from '' to '0755'
gitlab_git.1.4467ro8ppjuw@Mneme    | Recipe: gitlab::web-server
gitlab_git.1.4467ro8ppjuw@Mneme    |   * account[Webserver user and group] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     * group[Webserver user and group] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |     * linux_user[Webserver user and group] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |      (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    | Recipe: gitlab::users
gitlab_git.1.4467ro8ppjuw@Mneme    |   * directory[/var/opt/gitlab] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * account[GitLab user and group] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     * group[GitLab user and group] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |     * linux_user[GitLab user and group] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |      (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * template[/var/opt/gitlab/.gitconfig] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     - update content in file /var/opt/gitlab/.gitconfig from 40be30 to dd8a81
gitlab_git.1.4467ro8ppjuw@Mneme    |     --- /var/opt/gitlab/.gitconfig 2022-05-14 09:03:33.413439493 +0000
gitlab_git.1.4467ro8ppjuw@Mneme    |     +++ /var/opt/gitlab/.chef-.gitconfig20220514-35-qr88nt.gitconfig       2022-05-14 09:10:38.027645373 +0000
gitlab_git.1.4467ro8ppjuw@Mneme    |     @@ -4,7 +4,7 @@
gitlab_git.1.4467ro8ppjuw@Mneme    |      
gitlab_git.1.4467ro8ppjuw@Mneme    |      [user]
gitlab_git.1.4467ro8ppjuw@Mneme    |              name = GitLab
gitlab_git.1.4467ro8ppjuw@Mneme    |     -        email = gitlab@10a7bc9fd73d
gitlab_git.1.4467ro8ppjuw@Mneme    |     +        email = gitlab@c07075171c8d
gitlab_git.1.4467ro8ppjuw@Mneme    |      [core]
gitlab_git.1.4467ro8ppjuw@Mneme    |              autocrlf = input
gitlab_git.1.4467ro8ppjuw@Mneme    |              alternateRefsCommand="exit 0 #"
gitlab_git.1.4467ro8ppjuw@Mneme    |     - change mode from '0777' to '0644'
gitlab_git.1.4467ro8ppjuw@Mneme    |   * directory[/var/opt/gitlab/.bundle] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    | Recipe: gitlab::gitlab-shell
gitlab_git.1.4467ro8ppjuw@Mneme    |   * storage_directory[/var/opt/gitlab/.ssh] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     * ruby_block[directory resource: /var/opt/gitlab/.ssh] action run
gitlab_git.1.4467ro8ppjuw@Mneme    |       - execute the ruby block directory resource: /var/opt/gitlab/.ssh
gitlab_git.1.4467ro8ppjuw@Mneme    |   
gitlab_git.1.4467ro8ppjuw@Mneme    |   * directory[/var/log/gitlab/gitlab-shell/] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     - create new directory /var/log/gitlab/gitlab-shell/
gitlab_git.1.4467ro8ppjuw@Mneme    |     - change mode from '' to '0700'
gitlab_git.1.4467ro8ppjuw@Mneme    |     - change owner from '' to 'git'
gitlab_git.1.4467ro8ppjuw@Mneme    |   * directory[/var/opt/gitlab/gitlab-shell] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     - change mode from '0777' to '0700'
gitlab_git.1.4467ro8ppjuw@Mneme    |   * templatesymlink[Create a config.yml and create a symlink to Rails root] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     * template[/var/opt/gitlab/gitlab-shell/config.yml] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change mode from '0777' to '0640'
gitlab_git.1.4467ro8ppjuw@Mneme    |     * link[Link /opt/gitlab/embedded/service/gitlab-shell/config.yml to /var/opt/gitlab/gitlab-shell/config.yml] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create symlink at /opt/gitlab/embedded/service/gitlab-shell/config.yml to /var/opt/gitlab/gitlab-shell/config.yml
gitlab_git.1.4467ro8ppjuw@Mneme    |   
gitlab_git.1.4467ro8ppjuw@Mneme    |   * link[/opt/gitlab/embedded/service/gitlab-shell/.gitlab_shell_secret] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     - create symlink at /opt/gitlab/embedded/service/gitlab-shell/.gitlab_shell_secret to /opt/gitlab/embedded/service/gitlab-rails/.gitlab_shell_secret
gitlab_git.1.4467ro8ppjuw@Mneme    |   * file[/var/opt/gitlab/.ssh/authorized_keys] action create_if_missing (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    | Recipe: gitlab::gitlab-rails
gitlab_git.1.4467ro8ppjuw@Mneme    |   * storage_directory[/var/opt/gitlab/git-data] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     * ruby_block[directory resource: /var/opt/gitlab/git-data] action run
gitlab_git.1.4467ro8ppjuw@Mneme    |       - execute the ruby block directory resource: /var/opt/gitlab/git-data
gitlab_git.1.4467ro8ppjuw@Mneme    |   
gitlab_git.1.4467ro8ppjuw@Mneme    |   * storage_directory[/var/opt/gitlab/git-data/repositories] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     * ruby_block[directory resource: /var/opt/gitlab/git-data/repositories] action run
gitlab_git.1.4467ro8ppjuw@Mneme    |       - execute the ruby block directory resource: /var/opt/gitlab/git-data/repositories
gitlab_git.1.4467ro8ppjuw@Mneme    |   
gitlab_git.1.4467ro8ppjuw@Mneme    | Recipe: gitlab::rails_pages_shared_path
gitlab_git.1.4467ro8ppjuw@Mneme    |   * storage_directory[/var/opt/gitlab/gitlab-rails/shared] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared] action run
gitlab_git.1.4467ro8ppjuw@Mneme    |       - execute the ruby block directory resource: /var/opt/gitlab/gitlab-rails/shared
gitlab_git.1.4467ro8ppjuw@Mneme    |   
gitlab_git.1.4467ro8ppjuw@Mneme    |   * storage_directory[/var/opt/gitlab/gitlab-rails/shared/pages] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/pages] action run
gitlab_git.1.4467ro8ppjuw@Mneme    |       - execute the ruby block directory resource: /var/opt/gitlab/gitlab-rails/shared/pages
gitlab_git.1.4467ro8ppjuw@Mneme    |   
gitlab_git.1.4467ro8ppjuw@Mneme    | Recipe: gitlab::gitlab-rails
gitlab_git.1.4467ro8ppjuw@Mneme    |   * storage_directory[/var/opt/gitlab/gitlab-rails/shared/artifacts] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/artifacts] action run
gitlab_git.1.4467ro8ppjuw@Mneme    |       - execute the ruby block directory resource: /var/opt/gitlab/gitlab-rails/shared/artifacts
gitlab_git.1.4467ro8ppjuw@Mneme    |   
gitlab_git.1.4467ro8ppjuw@Mneme    |   * storage_directory[/var/opt/gitlab/gitlab-rails/shared/external-diffs] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/external-diffs] action run
gitlab_git.1.4467ro8ppjuw@Mneme    |       - execute the ruby block directory resource: /var/opt/gitlab/gitlab-rails/shared/external-diffs
gitlab_git.1.4467ro8ppjuw@Mneme    |   
gitlab_git.1.4467ro8ppjuw@Mneme    |   * storage_directory[/var/opt/gitlab/gitlab-rails/shared/lfs-objects] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/lfs-objects] action run
gitlab_git.1.4467ro8ppjuw@Mneme    |       - execute the ruby block directory resource: /var/opt/gitlab/gitlab-rails/shared/lfs-objects
gitlab_git.1.4467ro8ppjuw@Mneme    |   
gitlab_git.1.4467ro8ppjuw@Mneme    |   * storage_directory[/var/opt/gitlab/gitlab-rails/shared/packages] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/packages] action run
gitlab_git.1.4467ro8ppjuw@Mneme    |       - execute the ruby block directory resource: /var/opt/gitlab/gitlab-rails/shared/packages
gitlab_git.1.4467ro8ppjuw@Mneme    |   
gitlab_git.1.4467ro8ppjuw@Mneme    |   * storage_directory[/var/opt/gitlab/gitlab-rails/shared/dependency_proxy] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/dependency_proxy] action run
gitlab_git.1.4467ro8ppjuw@Mneme    |       - execute the ruby block directory resource: /var/opt/gitlab/gitlab-rails/shared/dependency_proxy
gitlab_git.1.4467ro8ppjuw@Mneme    |   
gitlab_git.1.4467ro8ppjuw@Mneme    |   * storage_directory[/var/opt/gitlab/gitlab-rails/shared/terraform_state] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/terraform_state] action run
gitlab_git.1.4467ro8ppjuw@Mneme    |       - execute the ruby block directory resource: /var/opt/gitlab/gitlab-rails/shared/terraform_state
gitlab_git.1.4467ro8ppjuw@Mneme    |   
gitlab_git.1.4467ro8ppjuw@Mneme    |   * storage_directory[/var/opt/gitlab/gitlab-rails/shared/ci_secure_files] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/ci_secure_files] action run
gitlab_git.1.4467ro8ppjuw@Mneme    |       - execute the ruby block directory resource: /var/opt/gitlab/gitlab-rails/shared/ci_secure_files
gitlab_git.1.4467ro8ppjuw@Mneme    |   
gitlab_git.1.4467ro8ppjuw@Mneme    |   * storage_directory[/var/opt/gitlab/gitlab-rails/shared/encrypted_settings] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/encrypted_settings] action run
gitlab_git.1.4467ro8ppjuw@Mneme    |       - execute the ruby block directory resource: /var/opt/gitlab/gitlab-rails/shared/encrypted_settings
gitlab_git.1.4467ro8ppjuw@Mneme    |   
gitlab_git.1.4467ro8ppjuw@Mneme    |   * storage_directory[/var/opt/gitlab/gitlab-rails/uploads] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/uploads] action run
gitlab_git.1.4467ro8ppjuw@Mneme    |       - execute the ruby block directory resource: /var/opt/gitlab/gitlab-rails/uploads
gitlab_git.1.4467ro8ppjuw@Mneme    |   
gitlab_git.1.4467ro8ppjuw@Mneme    |   * storage_directory[/var/opt/gitlab/gitlab-ci/builds] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     * ruby_block[directory resource: /var/opt/gitlab/gitlab-ci/builds] action run
gitlab_git.1.4467ro8ppjuw@Mneme    |       - execute the ruby block directory resource: /var/opt/gitlab/gitlab-ci/builds
gitlab_git.1.4467ro8ppjuw@Mneme    |   
gitlab_git.1.4467ro8ppjuw@Mneme    |   * storage_directory[/var/opt/gitlab/gitlab-rails/shared/cache] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/cache] action run
gitlab_git.1.4467ro8ppjuw@Mneme    |       - execute the ruby block directory resource: /var/opt/gitlab/gitlab-rails/shared/cache
gitlab_git.1.4467ro8ppjuw@Mneme    |   
gitlab_git.1.4467ro8ppjuw@Mneme    |   * storage_directory[/var/opt/gitlab/gitlab-rails/shared/tmp] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/tmp] action run
gitlab_git.1.4467ro8ppjuw@Mneme    |       - execute the ruby block directory resource: /var/opt/gitlab/gitlab-rails/shared/tmp
gitlab_git.1.4467ro8ppjuw@Mneme    |   
gitlab_git.1.4467ro8ppjuw@Mneme    |   * storage_directory[/opt/gitlab/embedded/service/gitlab-rails/public] action create (skipped due to only_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * directory[create /var/opt/gitlab/gitlab-rails/etc] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     - change mode from '0777' to '0700'
gitlab_git.1.4467ro8ppjuw@Mneme    |   * directory[create /opt/gitlab/etc/gitlab-rails] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     - create new directory /opt/gitlab/etc/gitlab-rails
gitlab_git.1.4467ro8ppjuw@Mneme    |     - change mode from '' to '0700'
gitlab_git.1.4467ro8ppjuw@Mneme    |     - change owner from '' to 'git'
gitlab_git.1.4467ro8ppjuw@Mneme    |   * directory[create /var/opt/gitlab/gitlab-rails/working] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     - change mode from '0777' to '0700'
gitlab_git.1.4467ro8ppjuw@Mneme    |   * directory[create /var/opt/gitlab/gitlab-rails/tmp] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     - change mode from '0777' to '0700'
gitlab_git.1.4467ro8ppjuw@Mneme    |   * directory[create /var/opt/gitlab/gitlab-rails/upgrade-status] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     - change mode from '0777' to '0700'
gitlab_git.1.4467ro8ppjuw@Mneme    |   * directory[create /var/log/gitlab/gitlab-rails] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     - create new directory /var/log/gitlab/gitlab-rails
gitlab_git.1.4467ro8ppjuw@Mneme    |     - change mode from '' to '0700'
gitlab_git.1.4467ro8ppjuw@Mneme    |     - change owner from '' to 'git'
gitlab_git.1.4467ro8ppjuw@Mneme    |   * storage_directory[/var/opt/gitlab/backups] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     * ruby_block[directory resource: /var/opt/gitlab/backups] action run
gitlab_git.1.4467ro8ppjuw@Mneme    |       - execute the ruby block directory resource: /var/opt/gitlab/backups
gitlab_git.1.4467ro8ppjuw@Mneme    |   
gitlab_git.1.4467ro8ppjuw@Mneme    |   * directory[/var/opt/gitlab/gitlab-rails] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     - change mode from '0777' to '0755'
gitlab_git.1.4467ro8ppjuw@Mneme    |   * directory[/var/opt/gitlab/gitlab-ci] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     - change mode from '0777' to '0755'
gitlab_git.1.4467ro8ppjuw@Mneme    |   * file[/var/opt/gitlab/gitlab-rails/etc/gitlab-registry.key] action create (skipped due to only_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * template[/opt/gitlab/etc/gitlab-rails-rc] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     - create new file /opt/gitlab/etc/gitlab-rails-rc
gitlab_git.1.4467ro8ppjuw@Mneme    |     - update content in file /opt/gitlab/etc/gitlab-rails-rc from none to 7b16c8
gitlab_git.1.4467ro8ppjuw@Mneme    |     --- /opt/gitlab/etc/gitlab-rails-rc    2022-05-14 09:10:49.777483195 +0000
gitlab_git.1.4467ro8ppjuw@Mneme    |     +++ /opt/gitlab/etc/.chef-gitlab-rails-rc20220514-35-quytxi    2022-05-14 09:10:49.777483195 +0000
gitlab_git.1.4467ro8ppjuw@Mneme    |     @@ -1 +1,6 @@
gitlab_git.1.4467ro8ppjuw@Mneme    |     +gitlab_user='git'
gitlab_git.1.4467ro8ppjuw@Mneme    |     +gitlab_group='git'
gitlab_git.1.4467ro8ppjuw@Mneme    |     +registry_dir=''
gitlab_git.1.4467ro8ppjuw@Mneme    |     +registry_user='registry'
gitlab_git.1.4467ro8ppjuw@Mneme    |     +registry_group='registry'
gitlab_git.1.4467ro8ppjuw@Mneme    |     - change mode from '' to '0644'
gitlab_git.1.4467ro8ppjuw@Mneme    |     - change owner from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |     - change group from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |   * file[/opt/gitlab/etc/gitlab-rails/gitlab-rails-rc] action delete (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * file[/opt/gitlab/embedded/service/gitlab-rails/.secret] action delete (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * file[/var/opt/gitlab/gitlab-rails/etc/secret] action delete (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * templatesymlink[Create a database.yml and create a symlink to Rails root] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     * template[/var/opt/gitlab/gitlab-rails/etc/database.yml] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change mode from '0777' to '0640'
gitlab_git.1.4467ro8ppjuw@Mneme    |     * link[Link /opt/gitlab/embedded/service/gitlab-rails/config/database.yml to /var/opt/gitlab/gitlab-rails/etc/database.yml] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create symlink at /opt/gitlab/embedded/service/gitlab-rails/config/database.yml to /var/opt/gitlab/gitlab-rails/etc/database.yml
gitlab_git.1.4467ro8ppjuw@Mneme    |   
gitlab_git.1.4467ro8ppjuw@Mneme    |   * templatesymlink[Create a secrets.yml and create a symlink to Rails root] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     * template[/var/opt/gitlab/gitlab-rails/etc/secrets.yml] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change mode from '0777' to '0644'
gitlab_git.1.4467ro8ppjuw@Mneme    |     * link[Link /opt/gitlab/embedded/service/gitlab-rails/config/secrets.yml to /var/opt/gitlab/gitlab-rails/etc/secrets.yml] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create symlink at /opt/gitlab/embedded/service/gitlab-rails/config/secrets.yml to /var/opt/gitlab/gitlab-rails/etc/secrets.yml
gitlab_git.1.4467ro8ppjuw@Mneme    |   
gitlab_git.1.4467ro8ppjuw@Mneme    |   * templatesymlink[Create a resque.yml and create a symlink to Rails root] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     * template[/var/opt/gitlab/gitlab-rails/etc/resque.yml] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change mode from '0777' to '0644'
gitlab_git.1.4467ro8ppjuw@Mneme    |     * link[Link /opt/gitlab/embedded/service/gitlab-rails/config/resque.yml to /var/opt/gitlab/gitlab-rails/etc/resque.yml] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create symlink at /opt/gitlab/embedded/service/gitlab-rails/config/resque.yml to /var/opt/gitlab/gitlab-rails/etc/resque.yml
gitlab_git.1.4467ro8ppjuw@Mneme    |   
gitlab_git.1.4467ro8ppjuw@Mneme    |   * templatesymlink[Create a cable.yml and create a symlink to Rails root] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     * template[/var/opt/gitlab/gitlab-rails/etc/cable.yml] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change mode from '0777' to '0644'
gitlab_git.1.4467ro8ppjuw@Mneme    |     * link[Link /opt/gitlab/embedded/service/gitlab-rails/config/cable.yml to /var/opt/gitlab/gitlab-rails/etc/cable.yml] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create symlink at /opt/gitlab/embedded/service/gitlab-rails/config/cable.yml to /var/opt/gitlab/gitlab-rails/etc/cable.yml
gitlab_git.1.4467ro8ppjuw@Mneme    |   
gitlab_git.1.4467ro8ppjuw@Mneme    |   * templatesymlink[Create a redis.cache.yml and create a symlink to Rails root] action create (skipped due to not_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * file[/opt/gitlab/embedded/service/gitlab-rails/config/redis.cache.yml] action delete (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * file[/var/opt/gitlab/gitlab-rails/etc/redis.cache.yml] action delete (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * templatesymlink[Create a redis.queues.yml and create a symlink to Rails root] action create (skipped due to not_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * file[/opt/gitlab/embedded/service/gitlab-rails/config/redis.queues.yml] action delete (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * file[/var/opt/gitlab/gitlab-rails/etc/redis.queues.yml] action delete (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * templatesymlink[Create a redis.shared_state.yml and create a symlink to Rails root] action create (skipped due to not_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * file[/opt/gitlab/embedded/service/gitlab-rails/config/redis.shared_state.yml] action delete (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * file[/var/opt/gitlab/gitlab-rails/etc/redis.shared_state.yml] action delete (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * templatesymlink[Create a redis.trace_chunks.yml and create a symlink to Rails root] action create (skipped due to not_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * file[/opt/gitlab/embedded/service/gitlab-rails/config/redis.trace_chunks.yml] action delete (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * file[/var/opt/gitlab/gitlab-rails/etc/redis.trace_chunks.yml] action delete (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * templatesymlink[Create a redis.rate_limiting.yml and create a symlink to Rails root] action create (skipped due to not_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * file[/opt/gitlab/embedded/service/gitlab-rails/config/redis.rate_limiting.yml] action delete (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * file[/var/opt/gitlab/gitlab-rails/etc/redis.rate_limiting.yml] action delete (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * templatesymlink[Create a redis.sessions.yml and create a symlink to Rails root] action create (skipped due to not_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * file[/opt/gitlab/embedded/service/gitlab-rails/config/redis.sessions.yml] action delete (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * file[/var/opt/gitlab/gitlab-rails/etc/redis.sessions.yml] action delete (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * templatesymlink[Create a smtp_settings.rb and create a symlink to Rails root] action delete
gitlab_git.1.4467ro8ppjuw@Mneme    |     * file[/var/opt/gitlab/gitlab-rails/etc/smtp_settings.rb] action delete (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |     * link[/opt/gitlab/embedded/service/gitlab-rails/config/initializers/smtp_settings.rb] action delete (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |      (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * templatesymlink[Create a gitlab.yml and create a symlink to Rails root] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     * template[/var/opt/gitlab/gitlab-rails/etc/gitlab.yml] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - update content in file /var/opt/gitlab/gitlab-rails/etc/gitlab.yml from eb098e to 56f3af
gitlab_git.1.4467ro8ppjuw@Mneme    |       - suppressed sensitive resource
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change mode from '0777' to '0640'
gitlab_git.1.4467ro8ppjuw@Mneme    |     * link[Link /opt/gitlab/embedded/service/gitlab-rails/config/gitlab.yml to /var/opt/gitlab/gitlab-rails/etc/gitlab.yml] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create symlink at /opt/gitlab/embedded/service/gitlab-rails/config/gitlab.yml to /var/opt/gitlab/gitlab-rails/etc/gitlab.yml
gitlab_git.1.4467ro8ppjuw@Mneme    |   
gitlab_git.1.4467ro8ppjuw@Mneme    |   * templatesymlink[Create a gitlab_workhorse_secret and create a symlink to Rails root] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     * template[/var/opt/gitlab/gitlab-rails/etc/gitlab_workhorse_secret] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change mode from '0777' to '0644'
gitlab_git.1.4467ro8ppjuw@Mneme    |     * link[Link /opt/gitlab/embedded/service/gitlab-rails/.gitlab_workhorse_secret to /var/opt/gitlab/gitlab-rails/etc/gitlab_workhorse_secret] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create symlink at /opt/gitlab/embedded/service/gitlab-rails/.gitlab_workhorse_secret to /var/opt/gitlab/gitlab-rails/etc/gitlab_workhorse_secret
gitlab_git.1.4467ro8ppjuw@Mneme    |   
gitlab_git.1.4467ro8ppjuw@Mneme    |   * templatesymlink[Create a gitlab_shell_secret and create a symlink to Rails root] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     * template[/var/opt/gitlab/gitlab-rails/etc/gitlab_shell_secret] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change mode from '0777' to '0644'
gitlab_git.1.4467ro8ppjuw@Mneme    |     * link[Link /opt/gitlab/embedded/service/gitlab-rails/.gitlab_shell_secret to /var/opt/gitlab/gitlab-rails/etc/gitlab_shell_secret] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create symlink at /opt/gitlab/embedded/service/gitlab-rails/.gitlab_shell_secret to /var/opt/gitlab/gitlab-rails/etc/gitlab_shell_secret
gitlab_git.1.4467ro8ppjuw@Mneme    |   
gitlab_git.1.4467ro8ppjuw@Mneme    |   * templatesymlink[Create a gitlab_incoming_email_secret and create a symlink to Rails root] action create (skipped due to only_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * templatesymlink[Create a gitlab_service_desk_email_secret and create a symlink to Rails root] action create (skipped due to only_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * templatesymlink[Create a gitlab_pages_secret and create a symlink to Rails root] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     * template[/var/opt/gitlab/gitlab-rails/etc/gitlab_pages_secret] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change mode from '0777' to '0644'
gitlab_git.1.4467ro8ppjuw@Mneme    |     * link[Link /opt/gitlab/embedded/service/gitlab-rails/.gitlab_pages_secret to /var/opt/gitlab/gitlab-rails/etc/gitlab_pages_secret] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create symlink at /opt/gitlab/embedded/service/gitlab-rails/.gitlab_pages_secret to /var/opt/gitlab/gitlab-rails/etc/gitlab_pages_secret
gitlab_git.1.4467ro8ppjuw@Mneme    |   
gitlab_git.1.4467ro8ppjuw@Mneme    |   * templatesymlink[Create a gitlab_kas_secret and create a symlink to Rails root] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     * template[/var/opt/gitlab/gitlab-rails/etc/gitlab_kas_secret] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change mode from '0777' to '0644'
gitlab_git.1.4467ro8ppjuw@Mneme    |     * link[Link /opt/gitlab/embedded/service/gitlab-rails/.gitlab_kas_secret to /var/opt/gitlab/gitlab-rails/etc/gitlab_kas_secret] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create symlink at /opt/gitlab/embedded/service/gitlab-rails/.gitlab_kas_secret to /var/opt/gitlab/gitlab-rails/etc/gitlab_kas_secret
gitlab_git.1.4467ro8ppjuw@Mneme    |   
gitlab_git.1.4467ro8ppjuw@Mneme    |   * link[/opt/gitlab/embedded/service/gitlab-rails/config/initializers/relative_url.rb] action delete (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * file[/var/opt/gitlab/gitlab-rails/etc/relative_url.rb] action delete (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * env_dir[/opt/gitlab/etc/gitlab-rails/env] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     * directory[/opt/gitlab/etc/gitlab-rails/env] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create new directory /opt/gitlab/etc/gitlab-rails/env
gitlab_git.1.4467ro8ppjuw@Mneme    |     * file[/opt/gitlab/etc/gitlab-rails/env/HOME] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create new file /opt/gitlab/etc/gitlab-rails/env/HOME
gitlab_git.1.4467ro8ppjuw@Mneme    |       - update content in file /opt/gitlab/etc/gitlab-rails/env/HOME from none to 205bb9
gitlab_git.1.4467ro8ppjuw@Mneme    |       - suppressed sensitive resource
gitlab_git.1.4467ro8ppjuw@Mneme    |     * file[/opt/gitlab/etc/gitlab-rails/env/RAILS_ENV] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create new file /opt/gitlab/etc/gitlab-rails/env/RAILS_ENV
gitlab_git.1.4467ro8ppjuw@Mneme    |       - update content in file /opt/gitlab/etc/gitlab-rails/env/RAILS_ENV from none to ab8e18
gitlab_git.1.4467ro8ppjuw@Mneme    |       - suppressed sensitive resource
gitlab_git.1.4467ro8ppjuw@Mneme    |     * file[/opt/gitlab/etc/gitlab-rails/env/LD_PRELOAD] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create new file /opt/gitlab/etc/gitlab-rails/env/LD_PRELOAD
gitlab_git.1.4467ro8ppjuw@Mneme    |       - update content in file /opt/gitlab/etc/gitlab-rails/env/LD_PRELOAD from none to f79114
gitlab_git.1.4467ro8ppjuw@Mneme    |       - suppressed sensitive resource
gitlab_git.1.4467ro8ppjuw@Mneme    |     * file[/opt/gitlab/etc/gitlab-rails/env/BUNDLE_GEMFILE] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create new file /opt/gitlab/etc/gitlab-rails/env/BUNDLE_GEMFILE
gitlab_git.1.4467ro8ppjuw@Mneme    |       - update content in file /opt/gitlab/etc/gitlab-rails/env/BUNDLE_GEMFILE from none to 28d586
gitlab_git.1.4467ro8ppjuw@Mneme    |       - suppressed sensitive resource
gitlab_git.1.4467ro8ppjuw@Mneme    |     * file[/opt/gitlab/etc/gitlab-rails/env/SIDEKIQ_MEMORY_KILLER_MAX_RSS] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create new file /opt/gitlab/etc/gitlab-rails/env/SIDEKIQ_MEMORY_KILLER_MAX_RSS
gitlab_git.1.4467ro8ppjuw@Mneme    |       - update content in file /opt/gitlab/etc/gitlab-rails/env/SIDEKIQ_MEMORY_KILLER_MAX_RSS from none to dd80d7
gitlab_git.1.4467ro8ppjuw@Mneme    |       - suppressed sensitive resource
gitlab_git.1.4467ro8ppjuw@Mneme    |     * file[/opt/gitlab/etc/gitlab-rails/env/PATH] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create new file /opt/gitlab/etc/gitlab-rails/env/PATH
gitlab_git.1.4467ro8ppjuw@Mneme    |       - update content in file /opt/gitlab/etc/gitlab-rails/env/PATH from none to d5dc07
gitlab_git.1.4467ro8ppjuw@Mneme    |       - suppressed sensitive resource
gitlab_git.1.4467ro8ppjuw@Mneme    |     * file[/opt/gitlab/etc/gitlab-rails/env/ICU_DATA] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create new file /opt/gitlab/etc/gitlab-rails/env/ICU_DATA
gitlab_git.1.4467ro8ppjuw@Mneme    |       - update content in file /opt/gitlab/etc/gitlab-rails/env/ICU_DATA from none to a04260
gitlab_git.1.4467ro8ppjuw@Mneme    |       - suppressed sensitive resource
gitlab_git.1.4467ro8ppjuw@Mneme    |     * file[/opt/gitlab/etc/gitlab-rails/env/PYTHONPATH] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create new file /opt/gitlab/etc/gitlab-rails/env/PYTHONPATH
gitlab_git.1.4467ro8ppjuw@Mneme    |       - update content in file /opt/gitlab/etc/gitlab-rails/env/PYTHONPATH from none to 98c9f4
gitlab_git.1.4467ro8ppjuw@Mneme    |       - suppressed sensitive resource
gitlab_git.1.4467ro8ppjuw@Mneme    |     * file[/opt/gitlab/etc/gitlab-rails/env/EXECJS_RUNTIME] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create new file /opt/gitlab/etc/gitlab-rails/env/EXECJS_RUNTIME
gitlab_git.1.4467ro8ppjuw@Mneme    |       - update content in file /opt/gitlab/etc/gitlab-rails/env/EXECJS_RUNTIME from none to 75081b
gitlab_git.1.4467ro8ppjuw@Mneme    |       - suppressed sensitive resource
gitlab_git.1.4467ro8ppjuw@Mneme    |     * file[/opt/gitlab/etc/gitlab-rails/env/TZ] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create new file /opt/gitlab/etc/gitlab-rails/env/TZ
gitlab_git.1.4467ro8ppjuw@Mneme    |       - update content in file /opt/gitlab/etc/gitlab-rails/env/TZ from none to 983a95
gitlab_git.1.4467ro8ppjuw@Mneme    |       - suppressed sensitive resource
gitlab_git.1.4467ro8ppjuw@Mneme    |     * file[/opt/gitlab/etc/gitlab-rails/env/SSL_CERT_DIR] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create new file /opt/gitlab/etc/gitlab-rails/env/SSL_CERT_DIR
gitlab_git.1.4467ro8ppjuw@Mneme    |       - update content in file /opt/gitlab/etc/gitlab-rails/env/SSL_CERT_DIR from none to 4f45cf
gitlab_git.1.4467ro8ppjuw@Mneme    |       - suppressed sensitive resource
gitlab_git.1.4467ro8ppjuw@Mneme    |     * file[/opt/gitlab/etc/gitlab-rails/env/SSL_CERT_FILE] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create new file /opt/gitlab/etc/gitlab-rails/env/SSL_CERT_FILE
gitlab_git.1.4467ro8ppjuw@Mneme    |       - update content in file /opt/gitlab/etc/gitlab-rails/env/SSL_CERT_FILE from none to f7ce84
gitlab_git.1.4467ro8ppjuw@Mneme    |       - suppressed sensitive resource
gitlab_git.1.4467ro8ppjuw@Mneme    |   
gitlab_git.1.4467ro8ppjuw@Mneme    |   * link[/opt/gitlab/embedded/service/gitlab-rails/tmp] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     - create symlink at /opt/gitlab/embedded/service/gitlab-rails/tmp to /var/opt/gitlab/gitlab-rails/tmp
gitlab_git.1.4467ro8ppjuw@Mneme    |   * link[/opt/gitlab/embedded/service/gitlab-rails/public/uploads] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     - create symlink at /opt/gitlab/embedded/service/gitlab-rails/public/uploads to /var/opt/gitlab/gitlab-rails/uploads
gitlab_git.1.4467ro8ppjuw@Mneme    |   * link[/opt/gitlab/embedded/service/gitlab-rails/log] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     - create symlink at /opt/gitlab/embedded/service/gitlab-rails/log to /var/log/gitlab/gitlab-rails
gitlab_git.1.4467ro8ppjuw@Mneme    |   * link[/var/log/gitlab/gitlab-rails/sidekiq.log] action delete (skipped due to only_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * file[/opt/gitlab/embedded/service/gitlab-rails/db/structure.sql] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     - change owner from 'root' to 'git'
gitlab_git.1.4467ro8ppjuw@Mneme    | /opt/gitlab/embedded/lib/ruby/gems/2.7.0/gems/chef-15.17.4/lib/chef/provider/remote_file/local_file.rb:43: warning: URI.unescape is obsolete
gitlab_git.1.4467ro8ppjuw@Mneme    |   * remote_file[/var/opt/gitlab/gitlab-rails/VERSION] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    | /opt/gitlab/embedded/lib/ruby/gems/2.7.0/gems/chef-15.17.4/lib/chef/provider/remote_file/local_file.rb:43: warning: URI.unescape is obsolete
gitlab_git.1.4467ro8ppjuw@Mneme    |   * remote_file[/var/opt/gitlab/gitlab-rails/REVISION] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * version_file[Create version file for Rails] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     * file[/var/opt/gitlab/gitlab-rails/RUBY_VERSION] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |      (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * execute[clear the gitlab-rails cache] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * file[/var/opt/gitlab/gitlab-rails/config.ru] action delete (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    | Recipe: gitlab::selinux
gitlab_git.1.4467ro8ppjuw@Mneme    |   * bash[Set proper security context on ssh files for selinux] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    | Recipe: gitlab::add_trusted_certs
gitlab_git.1.4467ro8ppjuw@Mneme    |   * directory[/etc/gitlab/trusted-certs] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     - change mode from '0777' to '0755'
gitlab_git.1.4467ro8ppjuw@Mneme    |   * directory[/opt/gitlab/embedded/ssl/certs] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * file[/opt/gitlab/embedded/ssl/certs/README] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     - create new file /opt/gitlab/embedded/ssl/certs/README
gitlab_git.1.4467ro8ppjuw@Mneme    |     - update content in file /opt/gitlab/embedded/ssl/certs/README from none to 623059
gitlab_git.1.4467ro8ppjuw@Mneme    |     --- /opt/gitlab/embedded/ssl/certs/README      2022-05-14 09:10:52.327448001 +0000
gitlab_git.1.4467ro8ppjuw@Mneme    |     +++ /opt/gitlab/embedded/ssl/certs/.chef-README20220514-35-16k4fdd     2022-05-14 09:10:52.327448001 +0000
gitlab_git.1.4467ro8ppjuw@Mneme    |     @@ -1 +1,4 @@
gitlab_git.1.4467ro8ppjuw@Mneme    |     +This directory is managed by omnibus-gitlab.
gitlab_git.1.4467ro8ppjuw@Mneme    |     + Any file placed in this directory will be ignored
gitlab_git.1.4467ro8ppjuw@Mneme    |     +. Place certificates in /etc/gitlab/trusted-certs.
gitlab_git.1.4467ro8ppjuw@Mneme    |     - change mode from '' to '0644'
gitlab_git.1.4467ro8ppjuw@Mneme    |   * ruby_block[Move existing certs and link to /opt/gitlab/embedded/ssl/certs] action run
gitlab_git.1.4467ro8ppjuw@Mneme    | 
gitlab_git.1.4467ro8ppjuw@Mneme    |   * Moving existing certificates found in /opt/gitlab/embedded/ssl/certs
gitlab_git.1.4467ro8ppjuw@Mneme    | 
gitlab_git.1.4467ro8ppjuw@Mneme    |   * Symlinking existing certificates found in /etc/gitlab/trusted-certs
gitlab_git.1.4467ro8ppjuw@Mneme    | 
gitlab_git.1.4467ro8ppjuw@Mneme    |     - execute the ruby block Move existing certs and link to /opt/gitlab/embedded/ssl/certs
gitlab_git.1.4467ro8ppjuw@Mneme    | Recipe: gitlab::default
gitlab_git.1.4467ro8ppjuw@Mneme    |   * service[create a temporary puma service] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * service[create a temporary sidekiq service] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * service[create a temporary mailroom service] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    | Recipe: package::sysctl
gitlab_git.1.4467ro8ppjuw@Mneme    |   * execute[reload all sysctl conf] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    | Recipe: logrotate::folders_and_configs
gitlab_git.1.4467ro8ppjuw@Mneme    |   * directory[/var/opt/gitlab/logrotate] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     - change mode from '0777' to '0700'
gitlab_git.1.4467ro8ppjuw@Mneme    |   * directory[/var/opt/gitlab/logrotate/logrotate.d] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     - change mode from '0777' to '0700'
gitlab_git.1.4467ro8ppjuw@Mneme    |   * directory[/var/log/gitlab/logrotate] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     - create new directory /var/log/gitlab/logrotate
gitlab_git.1.4467ro8ppjuw@Mneme    |     - change mode from '' to '0700'
gitlab_git.1.4467ro8ppjuw@Mneme    |   * template[/var/opt/gitlab/logrotate/logrotate.conf] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     - change mode from '0777' to '0644'
gitlab_git.1.4467ro8ppjuw@Mneme    |   * template[/var/opt/gitlab/logrotate/logrotate.d/nginx] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * template[/var/opt/gitlab/logrotate/logrotate.d/puma] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * template[/var/opt/gitlab/logrotate/logrotate.d/gitlab-rails] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * template[/var/opt/gitlab/logrotate/logrotate.d/gitlab-shell] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * template[/var/opt/gitlab/logrotate/logrotate.d/gitlab-workhorse] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * template[/var/opt/gitlab/logrotate/logrotate.d/gitlab-pages] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * template[/var/opt/gitlab/logrotate/logrotate.d/gitlab-kas] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * template[/var/opt/gitlab/logrotate/logrotate.d/gitaly] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * template[/var/opt/gitlab/logrotate/logrotate.d/mailroom] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    | Recipe: logrotate::enable
gitlab_git.1.4467ro8ppjuw@Mneme    |   * service[logrotate] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * runit_service[logrotate] action enable
gitlab_git.1.4467ro8ppjuw@Mneme    |     * ruby_block[restart_service] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |     * ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |     * ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |     * directory[/opt/gitlab/sv/logrotate] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create new directory /opt/gitlab/sv/logrotate
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change mode from '' to '0755'
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change owner from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change group from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |     * template[/opt/gitlab/sv/logrotate/run] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create new file /opt/gitlab/sv/logrotate/run
gitlab_git.1.4467ro8ppjuw@Mneme    |       - update content in file /opt/gitlab/sv/logrotate/run from none to 07f1b6
gitlab_git.1.4467ro8ppjuw@Mneme    |       --- /opt/gitlab/sv/logrotate/run     2022-05-14 09:10:53.107437235 +0000
gitlab_git.1.4467ro8ppjuw@Mneme    |       +++ /opt/gitlab/sv/logrotate/.chef-run20220514-35-13gdwcv    2022-05-14 09:10:53.107437235 +0000
gitlab_git.1.4467ro8ppjuw@Mneme    |       @@ -1 +1,11 @@
gitlab_git.1.4467ro8ppjuw@Mneme    |       +#!/bin/sh
gitlab_git.1.4467ro8ppjuw@Mneme    |       +exec 2>&1
gitlab_git.1.4467ro8ppjuw@Mneme    |       +
gitlab_git.1.4467ro8ppjuw@Mneme    |       +cd /var/opt/gitlab/logrotate
gitlab_git.1.4467ro8ppjuw@Mneme    |       +
gitlab_git.1.4467ro8ppjuw@Mneme    |       +exec /opt/gitlab/embedded/bin/chpst -P /usr/bin/env \
gitlab_git.1.4467ro8ppjuw@Mneme    |       +  dir=/var/opt/gitlab/logrotate \
gitlab_git.1.4467ro8ppjuw@Mneme    |       +  pre_sleep=600 \
gitlab_git.1.4467ro8ppjuw@Mneme    |       +  post_sleep=3000 \
gitlab_git.1.4467ro8ppjuw@Mneme    |       +  /opt/gitlab/embedded/bin/gitlab-logrotate-wrapper
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change mode from '' to '0755'
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change owner from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change group from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |     * directory[/opt/gitlab/sv/logrotate/log] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create new directory /opt/gitlab/sv/logrotate/log
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change mode from '' to '0755'
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change owner from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change group from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |     * directory[/opt/gitlab/sv/logrotate/log/main] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create new directory /opt/gitlab/sv/logrotate/log/main
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change mode from '' to '0755'
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change owner from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change group from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |     * template[/opt/gitlab/sv/logrotate/log/config] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create new file /opt/gitlab/sv/logrotate/log/config
gitlab_git.1.4467ro8ppjuw@Mneme    |       - update content in file /opt/gitlab/sv/logrotate/log/config from none to 623c00
gitlab_git.1.4467ro8ppjuw@Mneme    |       --- /opt/gitlab/sv/logrotate/log/config      2022-05-14 09:10:53.197435993 +0000
gitlab_git.1.4467ro8ppjuw@Mneme    |       +++ /opt/gitlab/sv/logrotate/log/.chef-config20220514-35-7ltdlz      2022-05-14 09:10:53.197435993 +0000
gitlab_git.1.4467ro8ppjuw@Mneme    |       @@ -1 +1,7 @@
gitlab_git.1.4467ro8ppjuw@Mneme    |       +s209715200
gitlab_git.1.4467ro8ppjuw@Mneme    |       +n30
gitlab_git.1.4467ro8ppjuw@Mneme    |       +t86400
gitlab_git.1.4467ro8ppjuw@Mneme    |       +!gzip
gitlab_git.1.4467ro8ppjuw@Mneme    |       +
gitlab_git.1.4467ro8ppjuw@Mneme    |       +
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change mode from '' to '0644'
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change owner from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change group from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |     * ruby_block[verify_chown_persisted_on_logrotate] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - execute the ruby block verify_chown_persisted_on_logrotate
gitlab_git.1.4467ro8ppjuw@Mneme    |     * ruby_block[verify_chown_persisted_on_logrotate] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |     * link[/var/log/gitlab/logrotate/config] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create symlink at /var/log/gitlab/logrotate/config to /opt/gitlab/sv/logrotate/log/config
gitlab_git.1.4467ro8ppjuw@Mneme    |     * template[/opt/gitlab/sv/logrotate/log/run] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create new file /opt/gitlab/sv/logrotate/log/run
gitlab_git.1.4467ro8ppjuw@Mneme    |       - update content in file /opt/gitlab/sv/logrotate/log/run from none to 94afe6
gitlab_git.1.4467ro8ppjuw@Mneme    |       --- /opt/gitlab/sv/logrotate/log/run 2022-05-14 09:10:53.277434889 +0000
gitlab_git.1.4467ro8ppjuw@Mneme    |       +++ /opt/gitlab/sv/logrotate/log/.chef-run20220514-35-nf6g0z 2022-05-14 09:10:53.277434889 +0000
gitlab_git.1.4467ro8ppjuw@Mneme    |       @@ -1 +1,3 @@
gitlab_git.1.4467ro8ppjuw@Mneme    |       +#!/bin/sh
gitlab_git.1.4467ro8ppjuw@Mneme    |       +exec svlogd -tt /var/log/gitlab/logrotate
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change mode from '' to '0755'
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change owner from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change group from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |     * directory[/opt/gitlab/sv/logrotate/env] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create new directory /opt/gitlab/sv/logrotate/env
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change mode from '' to '0755'
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change owner from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change group from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |     * ruby_block[Delete unmanaged env files for logrotate service] action run (skipped due to only_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |     * template[/opt/gitlab/sv/logrotate/check] action create (skipped due to only_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |     * template[/opt/gitlab/sv/logrotate/finish] action create (skipped due to only_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |     * directory[/opt/gitlab/sv/logrotate/control] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create new directory /opt/gitlab/sv/logrotate/control
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change mode from '' to '0755'
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change owner from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change group from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |     * template[/opt/gitlab/sv/logrotate/control/t] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create new file /opt/gitlab/sv/logrotate/control/t
gitlab_git.1.4467ro8ppjuw@Mneme    |       - update content in file /opt/gitlab/sv/logrotate/control/t from none to 8fa3fa
gitlab_git.1.4467ro8ppjuw@Mneme    |       --- /opt/gitlab/sv/logrotate/control/t       2022-05-14 09:10:53.357433785 +0000
gitlab_git.1.4467ro8ppjuw@Mneme    |       +++ /opt/gitlab/sv/logrotate/control/.chef-t20220514-35-1osa9q7      2022-05-14 09:10:53.357433785 +0000
gitlab_git.1.4467ro8ppjuw@Mneme    |       @@ -1 +1,4 @@
gitlab_git.1.4467ro8ppjuw@Mneme    |       +#!/bin/sh
gitlab_git.1.4467ro8ppjuw@Mneme    |       +echo "Received TERM from runit, sending to process group (-PID)"
gitlab_git.1.4467ro8ppjuw@Mneme    |       +kill -- -$(cat /opt/gitlab/service/logrotate/supervise/pid)
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change mode from '' to '0755'
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change owner from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change group from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |     * link[/opt/gitlab/init/logrotate] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create symlink at /opt/gitlab/init/logrotate to /opt/gitlab/embedded/bin/sv
gitlab_git.1.4467ro8ppjuw@Mneme    |     * file[/opt/gitlab/sv/logrotate/down] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |     * ruby_block[restart_service] action run (skipped due to only_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |     * ruby_block[reload_log_service] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       * ruby_block[restart_service] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * directory[/opt/gitlab/sv/logrotate] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * template[/opt/gitlab/sv/logrotate/run] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * directory[/opt/gitlab/sv/logrotate/log] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * directory[/opt/gitlab/sv/logrotate/log/main] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * template[/opt/gitlab/sv/logrotate/log/config] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * ruby_block[verify_chown_persisted_on_logrotate] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * link[/var/log/gitlab/logrotate/config] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * template[/opt/gitlab/sv/logrotate/log/run] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * directory[/opt/gitlab/sv/logrotate/env] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * ruby_block[Delete unmanaged env files for logrotate service] action run (skipped due to only_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * template[/opt/gitlab/sv/logrotate/check] action create (skipped due to only_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * template[/opt/gitlab/sv/logrotate/finish] action create (skipped due to only_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * directory[/opt/gitlab/sv/logrotate/control] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * template[/opt/gitlab/sv/logrotate/control/t] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * link[/opt/gitlab/init/logrotate] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * file[/opt/gitlab/sv/logrotate/down] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * directory[/opt/gitlab/service] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * link[/opt/gitlab/service/logrotate] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |         - create symlink at /opt/gitlab/service/logrotate to /opt/gitlab/sv/logrotate
gitlab_git.1.4467ro8ppjuw@Mneme    |       * ruby_block[wait for logrotate service socket] action run
gitlab_git.1.4467ro8ppjuw@Mneme    |         - execute the ruby block wait for logrotate service socket
gitlab_git.1.4467ro8ppjuw@Mneme    |       - execute the ruby block reload_log_service
gitlab_git.1.4467ro8ppjuw@Mneme    |     * ruby_block[restart_log_service] action run
gitlab_git.1.4467ro8ppjuw@Mneme    |       * ruby_block[restart_service] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * directory[/opt/gitlab/sv/logrotate] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * template[/opt/gitlab/sv/logrotate/run] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * directory[/opt/gitlab/sv/logrotate/log] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * directory[/opt/gitlab/sv/logrotate/log/main] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * template[/opt/gitlab/sv/logrotate/log/config] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * ruby_block[verify_chown_persisted_on_logrotate] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * link[/var/log/gitlab/logrotate/config] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * template[/opt/gitlab/sv/logrotate/log/run] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * directory[/opt/gitlab/sv/logrotate/env] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * ruby_block[Delete unmanaged env files for logrotate service] action run (skipped due to only_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * template[/opt/gitlab/sv/logrotate/check] action create (skipped due to only_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * template[/opt/gitlab/sv/logrotate/finish] action create (skipped due to only_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * directory[/opt/gitlab/sv/logrotate/control] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * template[/opt/gitlab/sv/logrotate/control/t] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * link[/opt/gitlab/init/logrotate] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * file[/opt/gitlab/sv/logrotate/down] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * directory[/opt/gitlab/service] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * link[/opt/gitlab/service/logrotate] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * ruby_block[wait for logrotate service socket] action run (skipped due to not_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |       - execute the ruby block restart_log_service
gitlab_git.1.4467ro8ppjuw@Mneme    |     * directory[/opt/gitlab/service] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |     * link[/opt/gitlab/service/logrotate] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |     * ruby_block[wait for logrotate service socket] action run (skipped due to not_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |   
gitlab_git.1.4467ro8ppjuw@Mneme    |   * execute[/opt/gitlab/bin/gitlab-ctl start logrotate] action run
gitlab_git.1.4467ro8ppjuw@Mneme    |     [execute] ok: run: logrotate: (pid 726) 9s
gitlab_git.1.4467ro8ppjuw@Mneme    |     - execute /opt/gitlab/bin/gitlab-ctl start logrotate
gitlab_git.1.4467ro8ppjuw@Mneme    | Recipe: redis::enable
gitlab_git.1.4467ro8ppjuw@Mneme    |   * redis_service[redis] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     * account[user and group for redis] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       * group[user and group for redis] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * linux_user[user and group for redis] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |        (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |     * group[Socket group] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |     * directory[/var/opt/gitlab/redis] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change mode from '0777' to '0750'
gitlab_git.1.4467ro8ppjuw@Mneme    |     * directory[/var/log/gitlab/redis] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create new directory /var/log/gitlab/redis
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change mode from '' to '0700'
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change owner from '' to 'gitlab-redis'
gitlab_git.1.4467ro8ppjuw@Mneme    |     * template[/var/opt/gitlab/redis/redis.conf] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change mode from '0777' to '0644'
gitlab_git.1.4467ro8ppjuw@Mneme    |   Recipe: <Dynamically Defined Resource>
gitlab_git.1.4467ro8ppjuw@Mneme    |     * service[redis] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |     * runit_service[redis] action enable
gitlab_git.1.4467ro8ppjuw@Mneme    |       * ruby_block[restart_service] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * directory[/opt/gitlab/sv/redis] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |         - create new directory /opt/gitlab/sv/redis
gitlab_git.1.4467ro8ppjuw@Mneme    |         - change mode from '' to '0755'
gitlab_git.1.4467ro8ppjuw@Mneme    |         - change owner from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |         - change group from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |       * template[/opt/gitlab/sv/redis/run] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |         - create new file /opt/gitlab/sv/redis/run
gitlab_git.1.4467ro8ppjuw@Mneme    |         - update content in file /opt/gitlab/sv/redis/run from none to da365d
gitlab_git.1.4467ro8ppjuw@Mneme    |         --- /opt/gitlab/sv/redis/run       2022-05-14 09:11:07.617236982 +0000
gitlab_git.1.4467ro8ppjuw@Mneme    |         +++ /opt/gitlab/sv/redis/.chef-run20220514-35-13juikg      2022-05-14 09:11:07.617236982 +0000
gitlab_git.1.4467ro8ppjuw@Mneme    |         @@ -1 +1,6 @@
gitlab_git.1.4467ro8ppjuw@Mneme    |         +#!/bin/sh
gitlab_git.1.4467ro8ppjuw@Mneme    |         +exec 2>&1
gitlab_git.1.4467ro8ppjuw@Mneme    |         +
gitlab_git.1.4467ro8ppjuw@Mneme    |         +umask 077
gitlab_git.1.4467ro8ppjuw@Mneme    |         +exec chpst -P -U gitlab-redis:gitlab-redis -u gitlab-redis:gitlab-redis /opt/gitlab/embedded/bin/redis-server /var/opt/gitlab/redis/redis.conf
gitlab_git.1.4467ro8ppjuw@Mneme    |         - change mode from '' to '0755'
gitlab_git.1.4467ro8ppjuw@Mneme    |         - change owner from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |         - change group from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |       * directory[/opt/gitlab/sv/redis/log] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |         - create new directory /opt/gitlab/sv/redis/log
gitlab_git.1.4467ro8ppjuw@Mneme    |         - change mode from '' to '0755'
gitlab_git.1.4467ro8ppjuw@Mneme    |         - change owner from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |         - change group from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |       * directory[/opt/gitlab/sv/redis/log/main] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |         - create new directory /opt/gitlab/sv/redis/log/main
gitlab_git.1.4467ro8ppjuw@Mneme    |         - change mode from '' to '0755'
gitlab_git.1.4467ro8ppjuw@Mneme    |         - change owner from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |         - change group from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |       * template[/opt/gitlab/sv/redis/log/config] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |         - create new file /opt/gitlab/sv/redis/log/config
gitlab_git.1.4467ro8ppjuw@Mneme    |         - update content in file /opt/gitlab/sv/redis/log/config from none to 623c00
gitlab_git.1.4467ro8ppjuw@Mneme    |         --- /opt/gitlab/sv/redis/log/config        2022-05-14 09:11:07.697235878 +0000
gitlab_git.1.4467ro8ppjuw@Mneme    |         +++ /opt/gitlab/sv/redis/log/.chef-config20220514-35-1j3c6bv       2022-05-14 09:11:07.697235878 +0000
gitlab_git.1.4467ro8ppjuw@Mneme    |         @@ -1 +1,7 @@
gitlab_git.1.4467ro8ppjuw@Mneme    |         +s209715200
gitlab_git.1.4467ro8ppjuw@Mneme    |         +n30
gitlab_git.1.4467ro8ppjuw@Mneme    |         +t86400
gitlab_git.1.4467ro8ppjuw@Mneme    |         +!gzip
gitlab_git.1.4467ro8ppjuw@Mneme    |         +
gitlab_git.1.4467ro8ppjuw@Mneme    |         +
gitlab_git.1.4467ro8ppjuw@Mneme    |         - change mode from '' to '0644'
gitlab_git.1.4467ro8ppjuw@Mneme    |         - change owner from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |         - change group from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |       * ruby_block[verify_chown_persisted_on_redis] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |         - execute the ruby block verify_chown_persisted_on_redis
gitlab_git.1.4467ro8ppjuw@Mneme    |       * ruby_block[verify_chown_persisted_on_redis] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * link[/var/log/gitlab/redis/config] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |         - create symlink at /var/log/gitlab/redis/config to /opt/gitlab/sv/redis/log/config
gitlab_git.1.4467ro8ppjuw@Mneme    |       * template[/opt/gitlab/sv/redis/log/run] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |         - create new file /opt/gitlab/sv/redis/log/run
gitlab_git.1.4467ro8ppjuw@Mneme    |         - update content in file /opt/gitlab/sv/redis/log/run from none to af1017
gitlab_git.1.4467ro8ppjuw@Mneme    |         --- /opt/gitlab/sv/redis/log/run   2022-05-14 09:11:07.777234774 +0000
gitlab_git.1.4467ro8ppjuw@Mneme    |         +++ /opt/gitlab/sv/redis/log/.chef-run20220514-35-mio5a4   2022-05-14 09:11:07.777234774 +0000
gitlab_git.1.4467ro8ppjuw@Mneme    |         @@ -1 +1,3 @@
gitlab_git.1.4467ro8ppjuw@Mneme    |         +#!/bin/sh
gitlab_git.1.4467ro8ppjuw@Mneme    |         +exec svlogd -tt /var/log/gitlab/redis
gitlab_git.1.4467ro8ppjuw@Mneme    |         - change mode from '' to '0755'
gitlab_git.1.4467ro8ppjuw@Mneme    |         - change owner from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |         - change group from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |       * directory[/opt/gitlab/sv/redis/env] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |         - create new directory /opt/gitlab/sv/redis/env
gitlab_git.1.4467ro8ppjuw@Mneme    |         - change mode from '' to '0755'
gitlab_git.1.4467ro8ppjuw@Mneme    |         - change owner from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |         - change group from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |       * ruby_block[Delete unmanaged env files for redis service] action run (skipped due to only_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * template[/opt/gitlab/sv/redis/check] action create (skipped due to only_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * template[/opt/gitlab/sv/redis/finish] action create (skipped due to only_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * directory[/opt/gitlab/sv/redis/control] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |         - create new directory /opt/gitlab/sv/redis/control
gitlab_git.1.4467ro8ppjuw@Mneme    |         - change mode from '' to '0755'
gitlab_git.1.4467ro8ppjuw@Mneme    |         - change owner from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |         - change group from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |       * link[/opt/gitlab/init/redis] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |         - create symlink at /opt/gitlab/init/redis to /opt/gitlab/embedded/bin/sv
gitlab_git.1.4467ro8ppjuw@Mneme    |       * file[/opt/gitlab/sv/redis/down] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * ruby_block[restart_service] action run (skipped due to only_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * ruby_block[reload_log_service] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |         * ruby_block[restart_service] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |         * ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |         * ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |         * directory[/opt/gitlab/sv/redis] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |         * template[/opt/gitlab/sv/redis/run] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |         * directory[/opt/gitlab/sv/redis/log] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |         * directory[/opt/gitlab/sv/redis/log/main] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |         * template[/opt/gitlab/sv/redis/log/config] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |         * ruby_block[verify_chown_persisted_on_redis] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |         * link[/var/log/gitlab/redis/config] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |         * template[/opt/gitlab/sv/redis/log/run] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |         * directory[/opt/gitlab/sv/redis/env] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |         * ruby_block[Delete unmanaged env files for redis service] action run (skipped due to only_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |         * template[/opt/gitlab/sv/redis/check] action create (skipped due to only_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |         * template[/opt/gitlab/sv/redis/finish] action create (skipped due to only_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |         * directory[/opt/gitlab/sv/redis/control] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |         * link[/opt/gitlab/init/redis] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |         * file[/opt/gitlab/sv/redis/down] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |         * directory[/opt/gitlab/service] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |         * link[/opt/gitlab/service/redis] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |           - create symlink at /opt/gitlab/service/redis to /opt/gitlab/sv/redis
gitlab_git.1.4467ro8ppjuw@Mneme    |         * ruby_block[wait for redis service socket] action run
gitlab_git.1.4467ro8ppjuw@Mneme    |           - execute the ruby block wait for redis service socket
gitlab_git.1.4467ro8ppjuw@Mneme    |         - execute the ruby block reload_log_service
gitlab_git.1.4467ro8ppjuw@Mneme    |       * ruby_block[restart_log_service] action run
gitlab_git.1.4467ro8ppjuw@Mneme    |         * ruby_block[restart_service] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |         * ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |         * ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |         * directory[/opt/gitlab/sv/redis] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |         * template[/opt/gitlab/sv/redis/run] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |         * directory[/opt/gitlab/sv/redis/log] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |         * directory[/opt/gitlab/sv/redis/log/main] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |         * template[/opt/gitlab/sv/redis/log/config] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |         * ruby_block[verify_chown_persisted_on_redis] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |         * link[/var/log/gitlab/redis/config] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |         * template[/opt/gitlab/sv/redis/log/run] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |         * directory[/opt/gitlab/sv/redis/env] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |         * ruby_block[Delete unmanaged env files for redis service] action run (skipped due to only_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |         * template[/opt/gitlab/sv/redis/check] action create (skipped due to only_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |         * template[/opt/gitlab/sv/redis/finish] action create (skipped due to only_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |         * directory[/opt/gitlab/sv/redis/control] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |         * link[/opt/gitlab/init/redis] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |         * file[/opt/gitlab/sv/redis/down] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |         * directory[/opt/gitlab/service] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |         * link[/opt/gitlab/service/redis] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |         * ruby_block[wait for redis service socket] action run (skipped due to not_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |         - execute the ruby block restart_log_service
gitlab_git.1.4467ro8ppjuw@Mneme    |       * directory[/opt/gitlab/service] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * link[/opt/gitlab/service/redis] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * ruby_block[wait for redis service socket] action run (skipped due to not_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |     
gitlab_git.1.4467ro8ppjuw@Mneme    |     * execute[/opt/gitlab/bin/gitlab-ctl start redis] action run
gitlab_git.1.4467ro8ppjuw@Mneme    |       [execute] ok: run: redis: (pid 753) 7s
gitlab_git.1.4467ro8ppjuw@Mneme    |       - execute /opt/gitlab/bin/gitlab-ctl start redis
gitlab_git.1.4467ro8ppjuw@Mneme    |     * ruby_block[warn pending redis restart] action run (skipped due to only_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |   
gitlab_git.1.4467ro8ppjuw@Mneme    | Recipe: redis::enable
gitlab_git.1.4467ro8ppjuw@Mneme    |   * template[/opt/gitlab/etc/gitlab-redis-cli-rc] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     - create new file /opt/gitlab/etc/gitlab-redis-cli-rc
gitlab_git.1.4467ro8ppjuw@Mneme    |     - update content in file /opt/gitlab/etc/gitlab-redis-cli-rc from none to 44cac1
gitlab_git.1.4467ro8ppjuw@Mneme    |     --- /opt/gitlab/etc/gitlab-redis-cli-rc        2022-05-14 09:11:16.777110573 +0000
gitlab_git.1.4467ro8ppjuw@Mneme    |     +++ /opt/gitlab/etc/.chef-gitlab-redis-cli-rc20220514-35-1cbzj3b       2022-05-14 09:11:16.777110573 +0000
gitlab_git.1.4467ro8ppjuw@Mneme    |     @@ -1 +1,5 @@
gitlab_git.1.4467ro8ppjuw@Mneme    |     +redis_dir='/var/opt/gitlab/redis'
gitlab_git.1.4467ro8ppjuw@Mneme    |     +redis_host='127.0.0.1'
gitlab_git.1.4467ro8ppjuw@Mneme    |     +redis_port='0'
gitlab_git.1.4467ro8ppjuw@Mneme    |     +redis_socket='/var/opt/gitlab/redis/redis.socket'
gitlab_git.1.4467ro8ppjuw@Mneme    |     - change owner from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |     - change group from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    | Recipe: gitaly::enable
gitlab_git.1.4467ro8ppjuw@Mneme    |   * directory[/var/opt/gitlab/gitaly] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     - change mode from '0777' to '0700'
gitlab_git.1.4467ro8ppjuw@Mneme    |   * directory[/var/opt/gitlab/gitaly/run] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     - change mode from '0777' to '0700'
gitlab_git.1.4467ro8ppjuw@Mneme    |   * directory[/var/log/gitlab/gitaly] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     - create new directory /var/log/gitlab/gitaly
gitlab_git.1.4467ro8ppjuw@Mneme    |     - change mode from '' to '0700'
gitlab_git.1.4467ro8ppjuw@Mneme    |     - change owner from '' to 'git'
gitlab_git.1.4467ro8ppjuw@Mneme    |   * directory[/var/opt/gitlab/gitaly/internal_sockets] action delete (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * env_dir[/opt/gitlab/etc/gitaly/env] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     * directory[/opt/gitlab/etc/gitaly/env] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create new directory /opt/gitlab/etc/gitaly/env
gitlab_git.1.4467ro8ppjuw@Mneme    |     * file[/opt/gitlab/etc/gitaly/env/HOME] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create new file /opt/gitlab/etc/gitaly/env/HOME
gitlab_git.1.4467ro8ppjuw@Mneme    |       - update content in file /opt/gitlab/etc/gitaly/env/HOME from none to 205bb9
gitlab_git.1.4467ro8ppjuw@Mneme    |       - suppressed sensitive resource
gitlab_git.1.4467ro8ppjuw@Mneme    |     * file[/opt/gitlab/etc/gitaly/env/PATH] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create new file /opt/gitlab/etc/gitaly/env/PATH
gitlab_git.1.4467ro8ppjuw@Mneme    |       - update content in file /opt/gitlab/etc/gitaly/env/PATH from none to d5dc07
gitlab_git.1.4467ro8ppjuw@Mneme    |       - suppressed sensitive resource
gitlab_git.1.4467ro8ppjuw@Mneme    |     * file[/opt/gitlab/etc/gitaly/env/TZ] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create new file /opt/gitlab/etc/gitaly/env/TZ
gitlab_git.1.4467ro8ppjuw@Mneme    |       - update content in file /opt/gitlab/etc/gitaly/env/TZ from none to 983a95
gitlab_git.1.4467ro8ppjuw@Mneme    |       - suppressed sensitive resource
gitlab_git.1.4467ro8ppjuw@Mneme    |     * file[/opt/gitlab/etc/gitaly/env/PYTHONPATH] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create new file /opt/gitlab/etc/gitaly/env/PYTHONPATH
gitlab_git.1.4467ro8ppjuw@Mneme    |       - update content in file /opt/gitlab/etc/gitaly/env/PYTHONPATH from none to 98c9f4
gitlab_git.1.4467ro8ppjuw@Mneme    |       - suppressed sensitive resource
gitlab_git.1.4467ro8ppjuw@Mneme    |     * file[/opt/gitlab/etc/gitaly/env/ICU_DATA] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create new file /opt/gitlab/etc/gitaly/env/ICU_DATA
gitlab_git.1.4467ro8ppjuw@Mneme    |       - update content in file /opt/gitlab/etc/gitaly/env/ICU_DATA from none to a04260
gitlab_git.1.4467ro8ppjuw@Mneme    |       - suppressed sensitive resource
gitlab_git.1.4467ro8ppjuw@Mneme    |     * file[/opt/gitlab/etc/gitaly/env/SSL_CERT_DIR] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create new file /opt/gitlab/etc/gitaly/env/SSL_CERT_DIR
gitlab_git.1.4467ro8ppjuw@Mneme    |       - update content in file /opt/gitlab/etc/gitaly/env/SSL_CERT_DIR from none to 4f45cf
gitlab_git.1.4467ro8ppjuw@Mneme    |       - suppressed sensitive resource
gitlab_git.1.4467ro8ppjuw@Mneme    |     * file[/opt/gitlab/etc/gitaly/env/GITALY_PID_FILE] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create new file /opt/gitlab/etc/gitaly/env/GITALY_PID_FILE
gitlab_git.1.4467ro8ppjuw@Mneme    |       - update content in file /opt/gitlab/etc/gitaly/env/GITALY_PID_FILE from none to e82748
gitlab_git.1.4467ro8ppjuw@Mneme    |       - suppressed sensitive resource
gitlab_git.1.4467ro8ppjuw@Mneme    |     * file[/opt/gitlab/etc/gitaly/env/WRAPPER_JSON_LOGGING] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create new file /opt/gitlab/etc/gitaly/env/WRAPPER_JSON_LOGGING
gitlab_git.1.4467ro8ppjuw@Mneme    |       - update content in file /opt/gitlab/etc/gitaly/env/WRAPPER_JSON_LOGGING from none to b5bea4
gitlab_git.1.4467ro8ppjuw@Mneme    |       - suppressed sensitive resource
gitlab_git.1.4467ro8ppjuw@Mneme    |   
gitlab_git.1.4467ro8ppjuw@Mneme    |   * template[Create Gitaly config.toml] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     - change mode from '0777' to '0640'
gitlab_git.1.4467ro8ppjuw@Mneme    |   * service[gitaly] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * runit_service[gitaly] action enable
gitlab_git.1.4467ro8ppjuw@Mneme    |     * ruby_block[restart_service] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |     * ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |     * ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |     * directory[/opt/gitlab/sv/gitaly] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create new directory /opt/gitlab/sv/gitaly
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change mode from '' to '0755'
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change owner from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change group from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |     * template[/opt/gitlab/sv/gitaly/run] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create new file /opt/gitlab/sv/gitaly/run
gitlab_git.1.4467ro8ppjuw@Mneme    |       - update content in file /opt/gitlab/sv/gitaly/run from none to 7fef11
gitlab_git.1.4467ro8ppjuw@Mneme    |       --- /opt/gitlab/sv/gitaly/run        2022-05-14 09:11:17.387102155 +0000
gitlab_git.1.4467ro8ppjuw@Mneme    |       +++ /opt/gitlab/sv/gitaly/.chef-run20220514-35-gnh2r3        2022-05-14 09:11:17.387102155 +0000
gitlab_git.1.4467ro8ppjuw@Mneme    |       @@ -1 +1,20 @@
gitlab_git.1.4467ro8ppjuw@Mneme    |       +#!/bin/sh
gitlab_git.1.4467ro8ppjuw@Mneme    |       +
gitlab_git.1.4467ro8ppjuw@Mneme    |       +# Attempt to change ulimit before the set -e flag, ignore failures
gitlab_git.1.4467ro8ppjuw@Mneme    |       +ulimit -n 15000
gitlab_git.1.4467ro8ppjuw@Mneme    |       +
gitlab_git.1.4467ro8ppjuw@Mneme    |       +set -e # fail on errors
gitlab_git.1.4467ro8ppjuw@Mneme    |       +
gitlab_git.1.4467ro8ppjuw@Mneme    |       +# Redirect stderr -> stdout
gitlab_git.1.4467ro8ppjuw@Mneme    |       +exec 2>&1
gitlab_git.1.4467ro8ppjuw@Mneme    |       +
gitlab_git.1.4467ro8ppjuw@Mneme    |       +
gitlab_git.1.4467ro8ppjuw@Mneme    |       +
gitlab_git.1.4467ro8ppjuw@Mneme    |       +
gitlab_git.1.4467ro8ppjuw@Mneme    |       +cd /var/opt/gitlab/gitaly
gitlab_git.1.4467ro8ppjuw@Mneme    |       +
gitlab_git.1.4467ro8ppjuw@Mneme    |       +exec chpst -e /opt/gitlab/etc/gitaly/env -P \
gitlab_git.1.4467ro8ppjuw@Mneme    |       +  -U git:git \
gitlab_git.1.4467ro8ppjuw@Mneme    |       +  -u git:git \
gitlab_git.1.4467ro8ppjuw@Mneme    |       +  /opt/gitlab/embedded/bin/gitaly-wrapper /opt/gitlab/embedded/bin/gitaly /var/opt/gitlab/gitaly/config.toml
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change mode from '' to '0755'
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change owner from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change group from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |     * directory[/opt/gitlab/sv/gitaly/log] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create new directory /opt/gitlab/sv/gitaly/log
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change mode from '' to '0755'
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change owner from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change group from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |     * directory[/opt/gitlab/sv/gitaly/log/main] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create new directory /opt/gitlab/sv/gitaly/log/main
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change mode from '' to '0755'
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change owner from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change group from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |     * template[/opt/gitlab/sv/gitaly/log/config] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create new file /opt/gitlab/sv/gitaly/log/config
gitlab_git.1.4467ro8ppjuw@Mneme    |       - update content in file /opt/gitlab/sv/gitaly/log/config from none to 623c00
gitlab_git.1.4467ro8ppjuw@Mneme    |       --- /opt/gitlab/sv/gitaly/log/config 2022-05-14 09:11:17.477100913 +0000
gitlab_git.1.4467ro8ppjuw@Mneme    |       +++ /opt/gitlab/sv/gitaly/log/.chef-config20220514-35-1h96w3v        2022-05-14 09:11:17.477100913 +0000
gitlab_git.1.4467ro8ppjuw@Mneme    |       @@ -1 +1,7 @@
gitlab_git.1.4467ro8ppjuw@Mneme    |       +s209715200
gitlab_git.1.4467ro8ppjuw@Mneme    |       +n30
gitlab_git.1.4467ro8ppjuw@Mneme    |       +t86400
gitlab_git.1.4467ro8ppjuw@Mneme    |       +!gzip
gitlab_git.1.4467ro8ppjuw@Mneme    |       +
gitlab_git.1.4467ro8ppjuw@Mneme    |       +
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change mode from '' to '0644'
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change owner from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change group from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |     * ruby_block[verify_chown_persisted_on_gitaly] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - execute the ruby block verify_chown_persisted_on_gitaly
gitlab_git.1.4467ro8ppjuw@Mneme    |     * ruby_block[verify_chown_persisted_on_gitaly] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |     * link[/var/log/gitlab/gitaly/config] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create symlink at /var/log/gitlab/gitaly/config to /opt/gitlab/sv/gitaly/log/config
gitlab_git.1.4467ro8ppjuw@Mneme    |     * template[/opt/gitlab/sv/gitaly/log/run] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create new file /opt/gitlab/sv/gitaly/log/run
gitlab_git.1.4467ro8ppjuw@Mneme    |       - update content in file /opt/gitlab/sv/gitaly/log/run from none to fa6dcc
gitlab_git.1.4467ro8ppjuw@Mneme    |       --- /opt/gitlab/sv/gitaly/log/run    2022-05-14 09:11:17.547099947 +0000
gitlab_git.1.4467ro8ppjuw@Mneme    |       +++ /opt/gitlab/sv/gitaly/log/.chef-run20220514-35-hqn1qy    2022-05-14 09:11:17.547099947 +0000
gitlab_git.1.4467ro8ppjuw@Mneme    |       @@ -1 +1,3 @@
gitlab_git.1.4467ro8ppjuw@Mneme    |       +#!/bin/sh
gitlab_git.1.4467ro8ppjuw@Mneme    |       +exec svlogd /var/log/gitlab/gitaly
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change mode from '' to '0755'
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change owner from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change group from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |     * directory[/opt/gitlab/sv/gitaly/env] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create new directory /opt/gitlab/sv/gitaly/env
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change mode from '' to '0755'
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change owner from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change group from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |     * ruby_block[Delete unmanaged env files for gitaly service] action run (skipped due to only_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |     * template[/opt/gitlab/sv/gitaly/check] action create (skipped due to only_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |     * template[/opt/gitlab/sv/gitaly/finish] action create (skipped due to only_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |     * directory[/opt/gitlab/sv/gitaly/control] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create new directory /opt/gitlab/sv/gitaly/control
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change mode from '' to '0755'
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change owner from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |       - change group from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |     * link[/opt/gitlab/init/gitaly] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create symlink at /opt/gitlab/init/gitaly to /opt/gitlab/embedded/bin/sv
gitlab_git.1.4467ro8ppjuw@Mneme    |     * file[/opt/gitlab/sv/gitaly/down] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |     * ruby_block[restart_service] action run (skipped due to only_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |     * ruby_block[reload_log_service] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       * ruby_block[restart_service] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * directory[/opt/gitlab/sv/gitaly] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * template[/opt/gitlab/sv/gitaly/run] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * directory[/opt/gitlab/sv/gitaly/log] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * directory[/opt/gitlab/sv/gitaly/log/main] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * template[/opt/gitlab/sv/gitaly/log/config] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * ruby_block[verify_chown_persisted_on_gitaly] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * link[/var/log/gitlab/gitaly/config] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * template[/opt/gitlab/sv/gitaly/log/run] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * directory[/opt/gitlab/sv/gitaly/env] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * ruby_block[Delete unmanaged env files for gitaly service] action run (skipped due to only_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * template[/opt/gitlab/sv/gitaly/check] action create (skipped due to only_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * template[/opt/gitlab/sv/gitaly/finish] action create (skipped due to only_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * directory[/opt/gitlab/sv/gitaly/control] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * link[/opt/gitlab/init/gitaly] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * file[/opt/gitlab/sv/gitaly/down] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * directory[/opt/gitlab/service] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * link[/opt/gitlab/service/gitaly] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |         - create symlink at /opt/gitlab/service/gitaly to /opt/gitlab/sv/gitaly
gitlab_git.1.4467ro8ppjuw@Mneme    |       * ruby_block[wait for gitaly service socket] action run
gitlab_git.1.4467ro8ppjuw@Mneme    |         - execute the ruby block wait for gitaly service socket
gitlab_git.1.4467ro8ppjuw@Mneme    |       - execute the ruby block reload_log_service
gitlab_git.1.4467ro8ppjuw@Mneme    |     * ruby_block[restart_log_service] action run
gitlab_git.1.4467ro8ppjuw@Mneme    |       * ruby_block[restart_service] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * directory[/opt/gitlab/sv/gitaly] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * template[/opt/gitlab/sv/gitaly/run] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * directory[/opt/gitlab/sv/gitaly/log] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * directory[/opt/gitlab/sv/gitaly/log/main] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * template[/opt/gitlab/sv/gitaly/log/config] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * ruby_block[verify_chown_persisted_on_gitaly] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * link[/var/log/gitlab/gitaly/config] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * template[/opt/gitlab/sv/gitaly/log/run] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * directory[/opt/gitlab/sv/gitaly/env] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * ruby_block[Delete unmanaged env files for gitaly service] action run (skipped due to only_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * template[/opt/gitlab/sv/gitaly/check] action create (skipped due to only_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * template[/opt/gitlab/sv/gitaly/finish] action create (skipped due to only_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * directory[/opt/gitlab/sv/gitaly/control] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * link[/opt/gitlab/init/gitaly] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * file[/opt/gitlab/sv/gitaly/down] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * directory[/opt/gitlab/service] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * link[/opt/gitlab/service/gitaly] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |       * ruby_block[wait for gitaly service socket] action run (skipped due to not_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |       - execute the ruby block restart_log_service
gitlab_git.1.4467ro8ppjuw@Mneme    |     * directory[/opt/gitlab/service] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |     * link[/opt/gitlab/service/gitaly] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |     * ruby_block[wait for gitaly service socket] action run (skipped due to not_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |   
gitlab_git.1.4467ro8ppjuw@Mneme    |   * execute[/opt/gitlab/bin/gitlab-ctl start gitaly] action run
gitlab_git.1.4467ro8ppjuw@Mneme    |     [execute] ok: run: gitaly: (pid 793) 11s
gitlab_git.1.4467ro8ppjuw@Mneme    |     - execute /opt/gitlab/bin/gitlab-ctl start gitaly
gitlab_git.1.4467ro8ppjuw@Mneme    |   * version_file[Create version file for Gitaly] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     * file[/var/opt/gitlab/gitaly/VERSION] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |      (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * version_file[Create Ruby version file for Gitaly] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     * file[/var/opt/gitlab/gitaly/RUBY_VERSION] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |      (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * consul_service[gitaly] action delete
gitlab_git.1.4467ro8ppjuw@Mneme    |     * file[/var/opt/gitlab/consul/config.d/gitaly-service.json] action delete (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |      (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    | Recipe: postgresql::bin
gitlab_git.1.4467ro8ppjuw@Mneme    |   * ruby_block[check_postgresql_version] action run (skipped due to not_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * ruby_block[check_postgresql_version_is_deprecated] action run (skipped due to not_if)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * ruby_block[Link postgresql bin files to the correct version] action run
gitlab_git.1.4467ro8ppjuw@Mneme    |     - execute the ruby block Link postgresql bin files to the correct version
gitlab_git.1.4467ro8ppjuw@Mneme    |   * template[/opt/gitlab/etc/gitlab-psql-rc] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     - create new file /opt/gitlab/etc/gitlab-psql-rc
gitlab_git.1.4467ro8ppjuw@Mneme    |     - update content in file /opt/gitlab/etc/gitlab-psql-rc from none to b7b8fc
gitlab_git.1.4467ro8ppjuw@Mneme    |     - suppressed sensitive resource
gitlab_git.1.4467ro8ppjuw@Mneme    |     - change owner from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    |     - change group from '' to 'root'
gitlab_git.1.4467ro8ppjuw@Mneme    | Recipe: postgresql::user
gitlab_git.1.4467ro8ppjuw@Mneme    |   * account[Postgresql user and group] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     * group[Postgresql user and group] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |     * linux_user[Postgresql user and group] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |      (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |   * directory[/var/opt/gitlab/postgresql] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     - change mode from '0777' to '0755'
gitlab_git.1.4467ro8ppjuw@Mneme    |   * file[/var/opt/gitlab/postgresql/.profile] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     - change mode from '0777' to '0600'
gitlab_git.1.4467ro8ppjuw@Mneme    | Recipe: postgresql::sysctl
gitlab_git.1.4467ro8ppjuw@Mneme    |   * gitlab_sysctl[kernel.shmmax] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |     * directory[create /etc/sysctl.d for kernel.shmmax] action create (up to date)
gitlab_git.1.4467ro8ppjuw@Mneme    |     * file[create /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf kernel.shmmax] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create new file /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf
gitlab_git.1.4467ro8ppjuw@Mneme    |       - update content in file /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf from none to d5cabf
gitlab_git.1.4467ro8ppjuw@Mneme    |       --- /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf    2022-05-14 09:11:34.066871986 +0000
gitlab_git.1.4467ro8ppjuw@Mneme    |       +++ /opt/gitlab/embedded/etc/.chef-90-omnibus-gitlab-kernel20220514-35-ovppr6.shmmax.conf    2022-05-14 09:11:34.066871986 +0000
gitlab_git.1.4467ro8ppjuw@Mneme    |       @@ -1 +1,2 @@
gitlab_git.1.4467ro8ppjuw@Mneme    |       +kernel.shmmax = 4294967295
gitlab_git.1.4467ro8ppjuw@Mneme    |     * link[/etc/sysctl.d/90-omnibus-gitlab-kernel.shmmax.conf] action create
gitlab_git.1.4467ro8ppjuw@Mneme    |       - create symlink at /etc/sysctl.d/90-omnibus-gitlab-kernel.shmmax.conf to /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf
gitlab_git.1.4467ro8ppjuw@Mneme    |     * execute[load sysctl conf kernel.shmmax] action nothing (skipped due to action :nothing)
gitlab_git.1.4467ro8ppjuw@Mneme    |     * execute[load sysctl conf kernel.shmmax] action run
gitlab_git.1.4467ro8ppjuw@Mneme    |       [execute] sysctl: permission denied on key "kernel.shmmax"
gitlab_git.1.4467ro8ppjuw@Mneme    |       
gitlab_git.1.4467ro8ppjuw@Mneme    |       ================================================================================
gitlab_git.1.4467ro8ppjuw@Mneme    |       Error executing action `run` on resource 'execute[load sysctl conf kernel.shmmax]'
gitlab_git.1.4467ro8ppjuw@Mneme    |       ================================================================================
gitlab_git.1.4467ro8ppjuw@Mneme    |       
gitlab_git.1.4467ro8ppjuw@Mneme    |       Mixlib::ShellOut::ShellCommandFailed
gitlab_git.1.4467ro8ppjuw@Mneme    |       ------------------------------------
gitlab_git.1.4467ro8ppjuw@Mneme    |       Expected process to exit with [0], but received '255'
gitlab_git.1.4467ro8ppjuw@Mneme    |       ---- Begin output of sysctl -e -p /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf ----
gitlab_git.1.4467ro8ppjuw@Mneme    |       STDOUT: 
gitlab_git.1.4467ro8ppjuw@Mneme    |       STDERR: sysctl: permission denied on key "kernel.shmmax"
gitlab_git.1.4467ro8ppjuw@Mneme    |       ---- End output of sysctl -e -p /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf ----
gitlab_git.1.4467ro8ppjuw@Mneme    |       Ran sysctl -e -p /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf returned 255
gitlab_git.1.4467ro8ppjuw@Mneme    |       
gitlab_git.1.4467ro8ppjuw@Mneme    |       Resource Declaration:
gitlab_git.1.4467ro8ppjuw@Mneme    |       ---------------------
gitlab_git.1.4467ro8ppjuw@Mneme    |       # In /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/gitlab_sysctl.rb
gitlab_git.1.4467ro8ppjuw@Mneme    |       
gitlab_git.1.4467ro8ppjuw@Mneme    |        54:   execute "load sysctl conf #{new_resource.name}" do
gitlab_git.1.4467ro8ppjuw@Mneme    |        55:     command "sysctl -e -p /opt/gitlab/embedded/etc/#{conf_name}"
gitlab_git.1.4467ro8ppjuw@Mneme    |        56:     action :nothing
gitlab_git.1.4467ro8ppjuw@Mneme    |        57: 
gitlab_git.1.4467ro8ppjuw@Mneme    |        58:     only_if { node['package']['modify_kernel_parameters'] }
gitlab_git.1.4467ro8ppjuw@Mneme    |        59:   end
gitlab_git.1.4467ro8ppjuw@Mneme    |        60: end
gitlab_git.1.4467ro8ppjuw@Mneme    |       
gitlab_git.1.4467ro8ppjuw@Mneme    |       Compiled Resource:
gitlab_git.1.4467ro8ppjuw@Mneme    |       ------------------
gitlab_git.1.4467ro8ppjuw@Mneme    |       # Declared in /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/gitlab_sysctl.rb:54:in `block in class_from_file'
gitlab_git.1.4467ro8ppjuw@Mneme    |       
gitlab_git.1.4467ro8ppjuw@Mneme    |       execute("load sysctl conf kernel.shmmax") do
gitlab_git.1.4467ro8ppjuw@Mneme    |         action [:nothing]
gitlab_git.1.4467ro8ppjuw@Mneme    |         default_guard_interpreter :execute
gitlab_git.1.4467ro8ppjuw@Mneme    |         command "sysctl -e -p /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf"
gitlab_git.1.4467ro8ppjuw@Mneme    |         backup 5
gitlab_git.1.4467ro8ppjuw@Mneme    |         declared_type :execute
gitlab_git.1.4467ro8ppjuw@Mneme    |         cookbook_name "postgresql"
gitlab_git.1.4467ro8ppjuw@Mneme    |         domain nil
gitlab_git.1.4467ro8ppjuw@Mneme    |         user nil
gitlab_git.1.4467ro8ppjuw@Mneme    |         only_if { #code block }
gitlab_git.1.4467ro8ppjuw@Mneme    |       end
gitlab_git.1.4467ro8ppjuw@Mneme    |       
gitlab_git.1.4467ro8ppjuw@Mneme    |       System Info:
gitlab_git.1.4467ro8ppjuw@Mneme    |       ------------
gitlab_git.1.4467ro8ppjuw@Mneme    |       chef_version=15.17.4
gitlab_git.1.4467ro8ppjuw@Mneme    |       platform=debian
gitlab_git.1.4467ro8ppjuw@Mneme    |       platform_version=11
gitlab_git.1.4467ro8ppjuw@Mneme    |       ruby=ruby 2.7.5p203 (2021-11-24 revision f69aeb8314) [arm-linux-gnueabihf]
gitlab_git.1.4467ro8ppjuw@Mneme    |       program_name=/opt/gitlab/embedded/bin/chef-client
gitlab_git.1.4467ro8ppjuw@Mneme    |       executable=/opt/gitlab/embedded/bin/chef-client
gitlab_git.1.4467ro8ppjuw@Mneme    |       
gitlab_git.1.4467ro8ppjuw@Mneme    |     
gitlab_git.1.4467ro8ppjuw@Mneme    |     ================================================================================
gitlab_git.1.4467ro8ppjuw@Mneme    |     Error executing action `create` on resource 'gitlab_sysctl[kernel.shmmax]'
gitlab_git.1.4467ro8ppjuw@Mneme    |     ================================================================================
gitlab_git.1.4467ro8ppjuw@Mneme    |     
gitlab_git.1.4467ro8ppjuw@Mneme    |     Mixlib::ShellOut::ShellCommandFailed
gitlab_git.1.4467ro8ppjuw@Mneme    |     ------------------------------------
gitlab_git.1.4467ro8ppjuw@Mneme    |     execute[load sysctl conf kernel.shmmax] (/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/gitlab_sysctl.rb line 54) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '255'
gitlab_git.1.4467ro8ppjuw@Mneme    |     ---- Begin output of sysctl -e -p /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf ----
gitlab_git.1.4467ro8ppjuw@Mneme    |     STDOUT: 
gitlab_git.1.4467ro8ppjuw@Mneme    |     STDERR: sysctl: permission denied on key "kernel.shmmax"
gitlab_git.1.4467ro8ppjuw@Mneme    |     ---- End output of sysctl -e -p /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf ----
gitlab_git.1.4467ro8ppjuw@Mneme    |     Ran sysctl -e -p /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf returned 255
gitlab_git.1.4467ro8ppjuw@Mneme    |     
gitlab_git.1.4467ro8ppjuw@Mneme    |     Resource Declaration:
gitlab_git.1.4467ro8ppjuw@Mneme    |     ---------------------
gitlab_git.1.4467ro8ppjuw@Mneme    |     # In /opt/gitlab/embedded/cookbooks/cache/cookbooks/postgresql/recipes/sysctl.rb
gitlab_git.1.4467ro8ppjuw@Mneme    |     
gitlab_git.1.4467ro8ppjuw@Mneme    |       5: gitlab_sysctl 'kernel.shmmax' do
gitlab_git.1.4467ro8ppjuw@Mneme    |       6:   value node['postgresql']['shmmax']
gitlab_git.1.4467ro8ppjuw@Mneme    |       7: end
gitlab_git.1.4467ro8ppjuw@Mneme    |       8: 
gitlab_git.1.4467ro8ppjuw@Mneme    |     
gitlab_git.1.4467ro8ppjuw@Mneme    |     Compiled Resource:
gitlab_git.1.4467ro8ppjuw@Mneme    |     ------------------
gitlab_git.1.4467ro8ppjuw@Mneme    |     # Declared in /opt/gitlab/embedded/cookbooks/cache/cookbooks/postgresql/recipes/sysctl.rb:5:in `from_file'
gitlab_git.1.4467ro8ppjuw@Mneme    |     
gitlab_git.1.4467ro8ppjuw@Mneme    |     gitlab_sysctl("kernel.shmmax") do
gitlab_git.1.4467ro8ppjuw@Mneme    |       action [:create]
gitlab_git.1.4467ro8ppjuw@Mneme    |       updated true
gitlab_git.1.4467ro8ppjuw@Mneme    |       updated_by_last_action true
gitlab_git.1.4467ro8ppjuw@Mneme    |       default_guard_interpreter :default
gitlab_git.1.4467ro8ppjuw@Mneme    |       declared_type :gitlab_sysctl
gitlab_git.1.4467ro8ppjuw@Mneme    |       cookbook_name "postgresql"
gitlab_git.1.4467ro8ppjuw@Mneme    |       recipe_name "sysctl"
gitlab_git.1.4467ro8ppjuw@Mneme    |       value 4294967295
gitlab_git.1.4467ro8ppjuw@Mneme    |     end
gitlab_git.1.4467ro8ppjuw@Mneme    |     
gitlab_git.1.4467ro8ppjuw@Mneme    |     System Info:
gitlab_git.1.4467ro8ppjuw@Mneme    |     ------------
gitlab_git.1.4467ro8ppjuw@Mneme    |     chef_version=15.17.4
gitlab_git.1.4467ro8ppjuw@Mneme    |     platform=debian
gitlab_git.1.4467ro8ppjuw@Mneme    |     platform_version=11
gitlab_git.1.4467ro8ppjuw@Mneme    |     ruby=ruby 2.7.5p203 (2021-11-24 revision f69aeb8314) [arm-linux-gnueabihf]
gitlab_git.1.4467ro8ppjuw@Mneme    |     program_name=/opt/gitlab/embedded/bin/chef-client
gitlab_git.1.4467ro8ppjuw@Mneme    |     executable=/opt/gitlab/embedded/bin/chef-client
gitlab_git.1.4467ro8ppjuw@Mneme    |     
gitlab_git.1.4467ro8ppjuw@Mneme    | Recipe: gitlab::gitlab-rails
gitlab_git.1.4467ro8ppjuw@Mneme    |   * execute[clear the gitlab-rails cache] action run
gitlab_git.1.4467ro8ppjuw@Mneme    |     - execute /opt/gitlab/bin/gitlab-rake cache:clear
gitlab_git.1.4467ro8ppjuw@Mneme    | Recipe: package::sysctl
gitlab_git.1.4467ro8ppjuw@Mneme    |   * execute[reload all sysctl conf] action run
gitlab_git.1.4467ro8ppjuw@Mneme    |     [execute] * Applying /etc/sysctl.d/90-omnibus-gitlab-kernel.shmmax.conf ...
gitlab_git.1.4467ro8ppjuw@Mneme    |               * Applying /usr/lib/sysctl.d/protect-links.conf ...
gitlab_git.1.4467ro8ppjuw@Mneme    |               * Applying /etc/sysctl.conf ...
gitlab_git.1.4467ro8ppjuw@Mneme    |               sysctl: permission denied on key "kernel.shmmax"
gitlab_git.1.4467ro8ppjuw@Mneme    |               sysctl: permission denied on key "fs.protected_fifos"
gitlab_git.1.4467ro8ppjuw@Mneme    |               sysctl: permission denied on key "fs.protected_hardlinks"
gitlab_git.1.4467ro8ppjuw@Mneme    |               sysctl: permission denied on key "fs.protected_regular"
gitlab_git.1.4467ro8ppjuw@Mneme    |               sysctl: permission denied on key "fs.protected_symlinks"
gitlab_git.1.4467ro8ppjuw@Mneme    |     
gitlab_git.1.4467ro8ppjuw@Mneme    |     ================================================================================
gitlab_git.1.4467ro8ppjuw@Mneme    |     Error executing action `run` on resource 'execute[reload all sysctl conf]'
gitlab_git.1.4467ro8ppjuw@Mneme    |     ================================================================================
gitlab_git.1.4467ro8ppjuw@Mneme    |     
gitlab_git.1.4467ro8ppjuw@Mneme    |     Mixlib::ShellOut::ShellCommandFailed
gitlab_git.1.4467ro8ppjuw@Mneme    |     ------------------------------------
gitlab_git.1.4467ro8ppjuw@Mneme    |     Expected process to exit with [0], but received '255'
gitlab_git.1.4467ro8ppjuw@Mneme    |     ---- Begin output of sysctl -e --system ----
gitlab_git.1.4467ro8ppjuw@Mneme    |     STDOUT: * Applying /etc/sysctl.d/90-omnibus-gitlab-kernel.shmmax.conf ...
gitlab_git.1.4467ro8ppjuw@Mneme    |     * Applying /usr/lib/sysctl.d/protect-links.conf ...
gitlab_git.1.4467ro8ppjuw@Mneme    |     * Applying /etc/sysctl.conf ...
gitlab_git.1.4467ro8ppjuw@Mneme    |     STDERR: sysctl: permission denied on key "kernel.shmmax"
gitlab_git.1.4467ro8ppjuw@Mneme    |     sysctl: permission denied on key "fs.protected_fifos"
gitlab_git.1.4467ro8ppjuw@Mneme    |     sysctl: permission denied on key "fs.protected_hardlinks"
gitlab_git.1.4467ro8ppjuw@Mneme    |     sysctl: permission denied on key "fs.protected_regular"
gitlab_git.1.4467ro8ppjuw@Mneme    |     sysctl: permission denied on key "fs.protected_symlinks"
gitlab_git.1.4467ro8ppjuw@Mneme    |     ---- End output of sysctl -e --system ----
gitlab_git.1.4467ro8ppjuw@Mneme    |     Ran sysctl -e --system returned 255
gitlab_git.1.4467ro8ppjuw@Mneme    |     
gitlab_git.1.4467ro8ppjuw@Mneme    |     Resource Declaration:
gitlab_git.1.4467ro8ppjuw@Mneme    |     ---------------------
gitlab_git.1.4467ro8ppjuw@Mneme    |     # In /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/recipes/sysctl.rb
gitlab_git.1.4467ro8ppjuw@Mneme    |     
gitlab_git.1.4467ro8ppjuw@Mneme    |      18: execute "reload all sysctl conf" do
gitlab_git.1.4467ro8ppjuw@Mneme    |      19:   command "sysctl -e --system"
gitlab_git.1.4467ro8ppjuw@Mneme    |      20:   action :nothing
gitlab_git.1.4467ro8ppjuw@Mneme    |      21: 
gitlab_git.1.4467ro8ppjuw@Mneme    |      22:   only_if { node['package']['modify_kernel_parameters'] }
gitlab_git.1.4467ro8ppjuw@Mneme    |      23: end
gitlab_git.1.4467ro8ppjuw@Mneme    |     
gitlab_git.1.4467ro8ppjuw@Mneme    |     Compiled Resource:
gitlab_git.1.4467ro8ppjuw@Mneme    |     ------------------
gitlab_git.1.4467ro8ppjuw@Mneme    |     # Declared in /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/recipes/sysctl.rb:18:in `from_file'
gitlab_git.1.4467ro8ppjuw@Mneme    |     
gitlab_git.1.4467ro8ppjuw@Mneme    | There was an error running gitlab-ctl reconfigure:
gitlab_git.1.4467ro8ppjuw@Mneme    | 
gitlab_git.1.4467ro8ppjuw@Mneme    | Multiple failures occurred:
gitlab_git.1.4467ro8ppjuw@Mneme    | * Mixlib::ShellOut::ShellCommandFailed occurred in Chef Infra Client run: gitlab_sysctl[kernel.shmmax] (postgresql::sysctl line 5) had an error: Mixlib::ShellOut::ShellCommandFailed: execute[load sysctl conf kernel.shmmax] (/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/gitlab_sysctl.rb line 54) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '255'
gitlab_git.1.4467ro8ppjuw@Mneme    | ---- Begin output of sysctl -e -p /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf ----
gitlab_git.1.4467ro8ppjuw@Mneme    | STDOUT: 
gitlab_git.1.4467ro8ppjuw@Mneme    | STDERR: sysctl: permission denied on key "kernel.shmmax"
gitlab_git.1.4467ro8ppjuw@Mneme    | ---- End output of sysctl -e -p /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf ----
gitlab_git.1.4467ro8ppjuw@Mneme    | Ran sysctl -e -p /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf returned 255
gitlab_git.1.4467ro8ppjuw@Mneme    | * Mixlib::ShellOut::ShellCommandFailed occurred in delayed notification: execute[reload all sysctl conf] (package::sysctl line 18) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '255'
gitlab_git.1.4467ro8ppjuw@Mneme    | ---- Begin output of sysctl -e --system ----
gitlab_git.1.4467ro8ppjuw@Mneme    | STDOUT: * Applying /etc/sysctl.d/90-omnibus-gitlab-kernel.shmmax.conf ...
gitlab_git.1.4467ro8ppjuw@Mneme    | * Applying /usr/lib/sysctl.d/protect-links.conf ...
gitlab_git.1.4467ro8ppjuw@Mneme    | * Applying /etc/sysctl.conf ...
gitlab_git.1.4467ro8ppjuw@Mneme    | STDERR: sysctl: permission denied on key "kernel.shmmax"
gitlab_git.1.4467ro8ppjuw@Mneme    | sysctl: permission denied on key "fs.protected_fifos"
gitlab_git.1.4467ro8ppjuw@Mneme    | sysctl: permission denied on key "fs.protected_hardlinks"
gitlab_git.1.4467ro8ppjuw@Mneme    | sysctl: permission denied on key "fs.protected_regular"
gitlab_git.1.4467ro8ppjuw@Mneme    | sysctl: permission denied on key "fs.protected_symlinks"
gitlab_git.1.4467ro8ppjuw@Mneme    | ---- End output of sysctl -e --system ----
gitlab_git.1.4467ro8ppjuw@Mneme    | Ran sysctl -e --system returned 255
gitlab_git.1.4467ro8ppjuw@Mneme    | 
gitlab_git.1.4467ro8ppjuw@Mneme    |     execute("reload all sysctl conf") do
gitlab_git.1.4467ro8ppjuw@Mneme    |       action [:nothing]
gitlab_git.1.4467ro8ppjuw@Mneme    |       default_guard_interpreter :execute
gitlab_git.1.4467ro8ppjuw@Mneme    |       command "sysctl -e --system"
gitlab_git.1.4467ro8ppjuw@Mneme    |       backup 5
gitlab_git.1.4467ro8ppjuw@Mneme    |       declared_type :execute
gitlab_git.1.4467ro8ppjuw@Mneme    |       cookbook_name "package"
gitlab_git.1.4467ro8ppjuw@Mneme    |       recipe_name "sysctl"
gitlab_git.1.4467ro8ppjuw@Mneme    |       domain nil
gitlab_git.1.4467ro8ppjuw@Mneme    |       user nil
gitlab_git.1.4467ro8ppjuw@Mneme    |       only_if { #code block }
gitlab_git.1.4467ro8ppjuw@Mneme    |     end
gitlab_git.1.4467ro8ppjuw@Mneme    |     
gitlab_git.1.4467ro8ppjuw@Mneme    |     System Info:
gitlab_git.1.4467ro8ppjuw@Mneme    |     ------------
gitlab_git.1.4467ro8ppjuw@Mneme    |     chef_version=15.17.4
gitlab_git.1.4467ro8ppjuw@Mneme    |     platform=debian
gitlab_git.1.4467ro8ppjuw@Mneme    |     platform_version=11
gitlab_git.1.4467ro8ppjuw@Mneme    |     ruby=ruby 2.7.5p203 (2021-11-24 revision f69aeb8314) [arm-linux-gnueabihf]
gitlab_git.1.4467ro8ppjuw@Mneme    |     program_name=/opt/gitlab/embedded/bin/chef-client
gitlab_git.1.4467ro8ppjuw@Mneme    |     executable=/opt/gitlab/embedded/bin/chef-client
gitlab_git.1.4467ro8ppjuw@Mneme    |     
gitlab_git.1.4467ro8ppjuw@Mneme    | 
gitlab_git.1.4467ro8ppjuw@Mneme    | Running handlers:
gitlab_git.1.4467ro8ppjuw@Mneme    | 
gitlab_git.1.4467ro8ppjuw@Mneme    | Notes:
gitlab_git.1.4467ro8ppjuw@Mneme    | Default admin account has been configured with following details:
gitlab_git.1.4467ro8ppjuw@Mneme    | Username: root
gitlab_git.1.4467ro8ppjuw@Mneme    | Password: You didn't opt-in to print initial root password to STDOUT.
gitlab_git.1.4467ro8ppjuw@Mneme    | Password stored to /etc/gitlab/initial_root_password. This file will be cleaned up in first reconfigure run after 24 hours.
gitlab_git.1.4467ro8ppjuw@Mneme    | 
gitlab_git.1.4467ro8ppjuw@Mneme    | NOTE: Because these credentials might be present in your log files in plain text, it is highly recommended to reset the password following https://docs.gitlab.com/ee/security/reset_user_password.html#reset-your-root-password.
gitlab_git.1.4467ro8ppjuw@Mneme    | 
gitlab_git.1.4467ro8ppjuw@Mneme    | Running handlers complete
gitlab_git.1.4467ro8ppjuw@Mneme    | Chef Infra Client failed. 186 resources updated in 03 minutes 46 seconds
gitlab_git.1.4467ro8ppjuw@Mneme    | 
gitlab_git.1.4467ro8ppjuw@Mneme    | Notes:
gitlab_git.1.4467ro8ppjuw@Mneme    | Default admin account has been configured with following details:
gitlab_git.1.4467ro8ppjuw@Mneme    | Username: root
gitlab_git.1.4467ro8ppjuw@Mneme    | Password: You didn't opt-in to print initial root password to STDOUT.
gitlab_git.1.4467ro8ppjuw@Mneme    | Password stored to /etc/gitlab/initial_root_password. This file will be cleaned up in first reconfigure run after 24 hours.
gitlab_git.1.4467ro8ppjuw@Mneme    | 
gitlab_git.1.4467ro8ppjuw@Mneme    | NOTE: Because these credentials might be present in your log files in plain text, it is highly recommended to reset the password following https://docs.gitlab.com/ee/security/reset_user_password.html#reset-your-root-password.
gitlab_git.1.4467ro8ppjuw@Mneme    | 

Thus I tried to follow your documentation: and added in /etc/sysctl.conf the params bellow

kernel.sem = 250 32000 32 262
kernel.shmall = 1048575
kernel.shmmax = 4294967295
net.core.somaxconn = 1024

witch lead to the exact same logs.

YasserAntonio commented 2 years ago

I tried these params:

kernel.sem = 250 32000 32 262
kernel.shmall = 4194304
kernel.shmmax = 17179869184

as mentioned here : https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/1308. but same result..

YasserAntonio commented 2 years ago

I added

cap_add:
     ["all"]

in the service gitlab's description which allowed me to overcome one of the first error : /opt/gitlab/embedded/bin/runsvdir-start: line 24: ulimit: pending signals: cannot modify limit: Operation not permitted

but still fails at the postgresql recipe :

gitlab_git.1.87j94785jyrd@Mneme    | Recipe: postgresql::user
gitlab_git.1.87j94785jyrd@Mneme    |   * account[Postgresql user and group] action create
gitlab_git.1.87j94785jyrd@Mneme    |     * group[Postgresql user and group] action create (up to date)
gitlab_git.1.87j94785jyrd@Mneme    |     * linux_user[Postgresql user and group] action create (up to date)
gitlab_git.1.87j94785jyrd@Mneme    |      (up to date)
gitlab_git.1.87j94785jyrd@Mneme    |   * directory[/var/opt/gitlab/postgresql] action create (up to date)
gitlab_git.1.87j94785jyrd@Mneme    |   * file[/var/opt/gitlab/postgresql/.profile] action create (up to date)
gitlab_git.1.87j94785jyrd@Mneme    | Recipe: postgresql::sysctl
gitlab_git.1.87j94785jyrd@Mneme    |   * gitlab_sysctl[kernel.shmmax] action create
gitlab_git.1.87j94785jyrd@Mneme    |     * directory[create /etc/sysctl.d for kernel.shmmax] action create (up to date)
gitlab_git.1.87j94785jyrd@Mneme    |     * file[create /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf kernel.shmmax] action create
gitlab_git.1.87j94785jyrd@Mneme    |       - create new file /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf
gitlab_git.1.87j94785jyrd@Mneme    |       - update content in file /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf from none to d5cabf
gitlab_git.1.87j94785jyrd@Mneme    |       --- /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf    2022-05-14 16:34:42.506581688 +0000
gitlab_git.1.87j94785jyrd@Mneme    |       +++ /opt/gitlab/embedded/etc/.chef-90-omnibus-gitlab-kernel20220514-35-1ocesn7.shmmax.conf   2022-05-14 16:34:42.506581688 +0000
gitlab_git.1.87j94785jyrd@Mneme    |       @@ -1 +1,2 @@
gitlab_git.1.87j94785jyrd@Mneme    |       +kernel.shmmax = 4294967295
gitlab_git.1.87j94785jyrd@Mneme    |     * link[/etc/sysctl.d/90-omnibus-gitlab-kernel.shmmax.conf] action create
gitlab_git.1.87j94785jyrd@Mneme    |       - create symlink at /etc/sysctl.d/90-omnibus-gitlab-kernel.shmmax.conf to /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf
gitlab_git.1.87j94785jyrd@Mneme    |     * execute[load sysctl conf kernel.shmmax] action nothing (skipped due to action :nothing)
gitlab_git.1.87j94785jyrd@Mneme    |     * execute[load sysctl conf kernel.shmmax] action run
gitlab_git.1.87j94785jyrd@Mneme    |       [execute] sysctl: permission denied on key "kernel.shmmax"
gitlab_git.1.87j94785jyrd@Mneme    |       
gitlab_git.1.87j94785jyrd@Mneme    |       ================================================================================
gitlab_git.1.87j94785jyrd@Mneme    |       Error executing action `run` on resource 'execute[load sysctl conf kernel.shmmax]'
gitlab_git.1.87j94785jyrd@Mneme    |       ================================================================================
gitlab_git.1.87j94785jyrd@Mneme    |       
gitlab_git.1.87j94785jyrd@Mneme    |       Mixlib::ShellOut::ShellCommandFailed
gitlab_git.1.87j94785jyrd@Mneme    |       ------------------------------------
gitlab_git.1.87j94785jyrd@Mneme    |       Expected process to exit with [0], but received '255'
gitlab_git.1.87j94785jyrd@Mneme    |       ---- Begin output of sysctl -e -p /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf ----
gitlab_git.1.87j94785jyrd@Mneme    |       STDOUT: 
gitlab_git.1.87j94785jyrd@Mneme    |       STDERR: sysctl: permission denied on key "kernel.shmmax"
gitlab_git.1.87j94785jyrd@Mneme    |       ---- End output of sysctl -e -p /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf ----
gitlab_git.1.87j94785jyrd@Mneme    |       Ran sysctl -e -p /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf returned 255
gitlab_git.1.87j94785jyrd@Mneme    |       
gitlab_git.1.87j94785jyrd@Mneme    |       Resource Declaration:
gitlab_git.1.87j94785jyrd@Mneme    |       ---------------------
gitlab_git.1.87j94785jyrd@Mneme    |       # In /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/gitlab_sysctl.rb
gitlab_git.1.87j94785jyrd@Mneme    |       
gitlab_git.1.87j94785jyrd@Mneme    |        54:   execute "load sysctl conf #{new_resource.name}" do
gitlab_git.1.87j94785jyrd@Mneme    |        55:     command "sysctl -e -p /opt/gitlab/embedded/etc/#{conf_name}"
gitlab_git.1.87j94785jyrd@Mneme    |        56:     action :nothing
gitlab_git.1.87j94785jyrd@Mneme    |        57: 
gitlab_git.1.87j94785jyrd@Mneme    |        58:     only_if { node['package']['modify_kernel_parameters'] }
gitlab_git.1.87j94785jyrd@Mneme    |        59:   end
gitlab_git.1.87j94785jyrd@Mneme    |        60: end
gitlab_git.1.87j94785jyrd@Mneme    |       
gitlab_git.1.87j94785jyrd@Mneme    |       Compiled Resource:
gitlab_git.1.87j94785jyrd@Mneme    |       ------------------
gitlab_git.1.87j94785jyrd@Mneme    |       # Declared in /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/gitlab_sysctl.rb:54:in `block in class_from_file'
gitlab_git.1.87j94785jyrd@Mneme    |       
gitlab_git.1.87j94785jyrd@Mneme    |       execute("load sysctl conf kernel.shmmax") do
gitlab_git.1.87j94785jyrd@Mneme    |         action [:nothing]
gitlab_git.1.87j94785jyrd@Mneme    |         default_guard_interpreter :execute
gitlab_git.1.87j94785jyrd@Mneme    |         command "sysctl -e -p /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf"
gitlab_git.1.87j94785jyrd@Mneme    |         backup 5
gitlab_git.1.87j94785jyrd@Mneme    |         declared_type :execute
gitlab_git.1.87j94785jyrd@Mneme    |         cookbook_name "postgresql"
gitlab_git.1.87j94785jyrd@Mneme    |         domain nil
gitlab_git.1.87j94785jyrd@Mneme    |         user nil
gitlab_git.1.87j94785jyrd@Mneme    |         only_if { #code block }
gitlab_git.1.87j94785jyrd@Mneme    |       end
gitlab_git.1.87j94785jyrd@Mneme    |       
gitlab_git.1.87j94785jyrd@Mneme    |       System Info:
gitlab_git.1.87j94785jyrd@Mneme    |       ------------
gitlab_git.1.87j94785jyrd@Mneme    |       chef_version=15.17.4
gitlab_git.1.87j94785jyrd@Mneme    |       platform=debian
gitlab_git.1.87j94785jyrd@Mneme    |       platform_version=11
gitlab_git.1.87j94785jyrd@Mneme    |       ruby=ruby 2.7.5p203 (2021-11-24 revision f69aeb8314) [arm-linux-gnueabihf]
gitlab_git.1.87j94785jyrd@Mneme    |       program_name=/opt/gitlab/embedded/bin/chef-client
gitlab_git.1.87j94785jyrd@Mneme    |       executable=/opt/gitlab/embedded/bin/chef-client
gitlab_git.1.87j94785jyrd@Mneme    |       
gitlab_git.1.87j94785jyrd@Mneme    |     
gitlab_git.1.87j94785jyrd@Mneme    |     ================================================================================
gitlab_git.1.87j94785jyrd@Mneme    |     Error executing action `create` on resource 'gitlab_sysctl[kernel.shmmax]'
gitlab_git.1.87j94785jyrd@Mneme    |     ================================================================================
gitlab_git.1.87j94785jyrd@Mneme    |     
gitlab_git.1.87j94785jyrd@Mneme    |     Mixlib::ShellOut::ShellCommandFailed
gitlab_git.1.87j94785jyrd@Mneme    |     ------------------------------------
gitlab_git.1.87j94785jyrd@Mneme    |     execute[load sysctl conf kernel.shmmax] (/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/gitlab_sysctl.rb line 54) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '255'
gitlab_git.1.87j94785jyrd@Mneme    |     ---- Begin output of sysctl -e -p /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf ----
gitlab_git.1.87j94785jyrd@Mneme    |     STDOUT: 
gitlab_git.1.87j94785jyrd@Mneme    |     STDERR: sysctl: permission denied on key "kernel.shmmax"
gitlab_git.1.87j94785jyrd@Mneme    |     ---- End output of sysctl -e -p /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf ----
gitlab_git.1.87j94785jyrd@Mneme    |     Ran sysctl -e -p /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf returned 255
gitlab_git.1.87j94785jyrd@Mneme    |     
gitlab_git.1.87j94785jyrd@Mneme    |     Resource Declaration:
gitlab_git.1.87j94785jyrd@Mneme    |     ---------------------
gitlab_git.1.87j94785jyrd@Mneme    |     # In /opt/gitlab/embedded/cookbooks/cache/cookbooks/postgresql/recipes/sysctl.rb
gitlab_git.1.87j94785jyrd@Mneme    |     
gitlab_git.1.87j94785jyrd@Mneme    |       5: gitlab_sysctl 'kernel.shmmax' do
gitlab_git.1.87j94785jyrd@Mneme    |       6:   value node['postgresql']['shmmax']
gitlab_git.1.87j94785jyrd@Mneme    |       7: end
gitlab_git.1.87j94785jyrd@Mneme    |       8: 
gitlab_git.1.87j94785jyrd@Mneme    |     
gitlab_git.1.87j94785jyrd@Mneme    |     Compiled Resource:
gitlab_git.1.87j94785jyrd@Mneme    |     ------------------
gitlab_git.1.87j94785jyrd@Mneme    |     # Declared in /opt/gitlab/embedded/cookbooks/cache/cookbooks/postgresql/recipes/sysctl.rb:5:in `from_file'
gitlab_git.1.87j94785jyrd@Mneme    |     
gitlab_git.1.87j94785jyrd@Mneme    |     gitlab_sysctl("kernel.shmmax") do
gitlab_git.1.87j94785jyrd@Mneme    |       action [:create]
gitlab_git.1.87j94785jyrd@Mneme    |       updated true
gitlab_git.1.87j94785jyrd@Mneme    |       updated_by_last_action true
gitlab_git.1.87j94785jyrd@Mneme    |       default_guard_interpreter :default
gitlab_git.1.87j94785jyrd@Mneme    |       declared_type :gitlab_sysctl
gitlab_git.1.87j94785jyrd@Mneme    |       cookbook_name "postgresql"
gitlab_git.1.87j94785jyrd@Mneme    |       recipe_name "sysctl"
gitlab_git.1.87j94785jyrd@Mneme    |       value 4294967295
gitlab_git.1.87j94785jyrd@Mneme    |     end
gitlab_git.1.87j94785jyrd@Mneme    |     
gitlab_git.1.87j94785jyrd@Mneme    |     System Info:
gitlab_git.1.87j94785jyrd@Mneme    |     ------------
gitlab_git.1.87j94785jyrd@Mneme    |     chef_version=15.17.4
gitlab_git.1.87j94785jyrd@Mneme    |     platform=debian
gitlab_git.1.87j94785jyrd@Mneme    |     platform_version=11
gitlab_git.1.87j94785jyrd@Mneme    |     ruby=ruby 2.7.5p203 (2021-11-24 revision f69aeb8314) [arm-linux-gnueabihf]
gitlab_git.1.87j94785jyrd@Mneme    |     program_name=/opt/gitlab/embedded/bin/chef-client
gitlab_git.1.87j94785jyrd@Mneme    |     executable=/opt/gitlab/embedded/bin/chef-client
gitlab_git.1.87j94785jyrd@Mneme    |     
gitlab_git.1.87j94785jyrd@Mneme    | Recipe: gitlab::gitlab-rails

If all privileges can't allow docker to handle the sysctl to change kernel params I can't picture what to do. This one is tricky

YasserAntonio commented 2 years ago

Since the internal postgresql need the buggy kernel params manipulation, as a work around I tried to install an external postgresql database (version 14.1 to be compatible with your latest gitlab version) with these 2 pieces of code in my docker compose:

in the gitlab service:

    environment:
     GITLAB_OMNIBUS_CONFIG: | 
       postgresql['enable'] = false
       gitlab_rails['db_adapter'] = 'postgresql'
       gitlab_rails['db_encoding'] = 'unicode'
       gitlab_rails['db_host'] = 'gitlab_db' #hostname set by my reverse proxy
       gitlab_rails['db_username'] = 'gitlab'
       gitlab_rails['db_password'] = 'password'
       gitlab_rails['db_database'] = 'gitlabhq_production'
    depends_on:
      - "db"

for the db service:

  db:
    image: postgres:14.1
    volumes:
      - /home/pi/gitlab/data:/var/lib/postgresql/data:z
      - /home/pi/gitlab/backup:/backups:z
    networks:
      - traefik-local
    environment:
      - POSTGRES_USER=gitlab
      - POSTGRES_PASSWORD=password
      - POSTGRES_DB=gitlabhq_production
      - PGDATA=/var/lib/postgresql/data/pgdata
      - DB_EXTENSION=pg_trgm

but it seems that the postgresql['enable'] = false to avoid installing postgresql internally is not taken in count with your latests. I tried my docker compose with an older version (13.2) and it works. I looked at the gitlab documentation and it doesn't seems to be another way to use an external postgresql database : https://docs.gitlab.com/charts/advanced/external-db/ .

Here is a REX : https://forum.gitlab.com/t/how-to-update-gitlab-docker-from-10-1-2-to-latest-version/58774.

For now I will go back to an older version of gitlab , if you find a solution or a better workaround to this issue that would be amazing since you're the only one maintainer of gitlab 14 on arm Maybe in gitlab 15 this issue is solved.

I will keep tracking this issue. Thank you for you work by the way,

ravermeister commented 2 years ago

hmm what I find weird is, that I use it by myself on a raspberry pi 4 without any problems, and formerly on a rockpro64. I've looked through my gitlab.rb file and all settings regarding postgresql are left to default:

###! Changing any of these settings requires a restart of postgresql.
###! By default, reconfigure reloads postgresql if it is running. If you
###! change any of these settings, be sure to run `gitlab-ctl restart postgresql`
###! after reconfigure in order for the changes to take effect.
# postgresql['enable'] = true
# postgresql['listen_address'] = nil
# postgresql['port'] = 5432
# postgresql['data_dir'] = "/var/opt/gitlab/postgresql/data"

##! **recommend value is 1/4 of total RAM, up to 14GB.**
# postgresql['shared_buffers'] = "256MB"

### Advanced settings
# postgresql['ha'] = false
# postgresql['dir'] = "/var/opt/gitlab/postgresql"
# postgresql['log_directory'] = "/var/log/gitlab/postgresql"
# postgresql['username'] = "gitlab-psql"
# postgresql['group'] = "gitlab-psql"
##! `SQL_USER_PASSWORD_HASH` can be generated using the command `gitlab-ctl pg-password-md5 gitlab`
# postgresql['sql_user_password'] = 'SQL_USER_PASSWORD_HASH'
# postgresql['uid'] = nil
# postgresql['gid'] = nil
# postgresql['shell'] = "/bin/sh"
# postgresql['home'] = "/var/opt/gitlab/postgresql"
# postgresql['user_path'] = "/opt/gitlab/embedded/bin:/opt/gitlab/bin:$PATH"
# postgresql['sql_user'] = "gitlab"
# postgresql['max_connections'] = 200
# postgresql['md5_auth_cidr_addresses'] = []
# postgresql['trust_auth_cidr_addresses'] = []
# postgresql['wal_buffers'] = "-1"
# postgresql['autovacuum_max_workers'] = "3"
# postgresql['autovacuum_freeze_max_age'] = "200000000"
# postgresql['log_statement'] = nil
# postgresql['track_activity_query_size'] = "1024"
# postgresql['shared_preload_libraries'] = nil
# postgresql['dynamic_shared_memory_type'] = nil
# postgresql['hot_standby'] = "off"

and I even doesn't have the kernel shm parameters on the host sysctl. I will try to create the gitlab instance from scratch with different data folders to see if I can reproduce the error.

YasserAntonio commented 2 years ago

Very interesting. Could you share some host environment details (os, os version, kernel version) and the compose you used to deploy please ? i will try to deploy it in the exact same condition.

my OS :

 cat /etc/os-release
NAME="Raspbian GNU/Linux"
VERSION="10 (buster)"
ID_LIKE=debian

kernel :

cat /proc/version
Linux version 5.10.63-v7l+ (dom@buildbot) (arm-linux-gnueabihf-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1496 SMP Wed Dec 1 15:58:56 GMT 2021

just to confirm we are using the same machine, cpu architecture:

 lscpu
Architecture:        armv7l
Byte Order:          Little Endian
CPU(s):              4
On-line CPU(s) list: 0-3
Thread(s) per core:  1
Core(s) per socket:  4
Socket(s):           1
Vendor ID:           ARM
Model:               3
Model name:          Cortex-A72
Stepping:            r0p3
CPU max MHz:         1500.0000
CPU min MHz:         600.0000
BogoMIPS:            270.00
Flags:               half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32

I hope by reproducing your condition I will make it work.

ravermeister commented 2 years ago

ah, it seems you're running a 32-bit Version. I'm on a 64-bit Machine: OS:

cat /etc/os-release 
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

Kernel:

Linux version 5.15.32-v8+ (dom@buildbot) (aarch64-linux-gnu-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1538 SMP PREEMPT Thu Mar 31 19:40:39 BST 2022

lscpu:

lscpu
Architecture:                    aarch64
CPU op-mode(s):                  32-bit, 64-bit
Byte Order:                      Little Endian
CPU(s):                          4
On-line CPU(s) list:             0-3
Thread(s) per core:              1
Core(s) per socket:              4
Socket(s):                       1
Vendor ID:                       ARM
Model:                           3
Model name:                      Cortex-A72
Stepping:                        r0p3
CPU max MHz:                     1800,0000
CPU min MHz:                     600,0000
BogoMIPS:                        108.00
Flags:                           fp asimd evtstrm crc32 cpuid

I do not use a docker-compose at all, I've created a little Shell script for me to start/stop/update my gitlab instance: /usr/local/bin/gitlab-ce

#!/bin/bash
image=ravermeister/gitlab
container=gitlab

start() {
    echo -n "starting $image..."
    docker run -d \
    --hostname gitlab.rimkus.it \
    -p 7443:443 -p 7080:80 -p 7022:22 -p 7090:8090 -p 7050:5005 \
    --name $container \
    --restart always \
    -v /etc/gitlab:/etc/gitlab \
        -v /etc/gitlab/robots.txt:/opt/gitlab/embedded/service/gitlab-rails/public/robots.txt \
    -v /var/log/gitlab:/var/log/gitlab \
    -v /media/icy1/daten/gitlab/data:/var/opt/gitlab \
    $image >/dev/null 2>&1
    echo "done"
}

stop() {
    echo -n "stopping $image..."
    docker stop $container >/dev/null 2>&1
    docker rm $container >/dev/null 2>&1
    echo "done"
}

update() {

    stop

    echo "fetching new docker image $image"
    docker pull $image

    start
}

reconfigure(){
    echo "reconfigure $image"
    docker exec -it $container gitlab-ctl reconfigure
}

status(){
    container_state=$(docker container inspect $container -f '{{.State.Status}} ({{.State.Health.Status}})')
    echo "$image is $container_state"
}

case "$1" in
    start)
        start
        status
    ;;

    stop)
        stop
        status
    ;;
    update)
        update
        status
    ;;
    restart)
        stop
        start
        status
    ;;
    reconfigure)
        reconfigure
    ;;
    status)
        status
    ;;

    *)
        echo "$0 start|stop|restart|update|status|reconfigure"
        exit 1
    ;;
esac
exit 0
YasserAntonio commented 2 years ago

on the same settings (headless) as you now :

pi@Mneme:~ $ cat /etc/os-release 
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
pi@Mneme:~ $ lscpu
Architecture:                    aarch64
CPU op-mode(s):                  32-bit, 64-bit
Byte Order:                      Little Endian
CPU(s):                          4
On-line CPU(s) list:             0-3
Thread(s) per core:              1
Core(s) per socket:              4
Socket(s):                       1
Vendor ID:                       ARM
Model:                           3
Model name:                      Cortex-A72
Stepping:                        r0p3
CPU max MHz:                     1500.0000
CPU min MHz:                     600.0000
BogoMIPS:                        108.00
Vulnerability Itlb multihit:     Not affected
Vulnerability L1tf:              Not affected
Vulnerability Mds:               Not affected
Vulnerability Meltdown:          Not affected
Vulnerability Spec store bypass: Vulnerable
Vulnerability Spectre v1:        Mitigation; __user pointer sanitization
Vulnerability Spectre v2:        Vulnerable
Vulnerability Srbds:             Not affected
Vulnerability Tsx async abort:   Not affected
Flags:                           fp asimd evtstrm crc32 cpuid

but still having the issue :

gitlab_git.1.a41qiw9f43t3@Mneme    | Recipe: postgresql::user
gitlab_git.1.a41qiw9f43t3@Mneme    |   * account[Postgresql user and group] action create
gitlab_git.1.a41qiw9f43t3@Mneme    |     * group[Postgresql user and group] action create (up to date)
gitlab_git.1.a41qiw9f43t3@Mneme    |     * linux_user[Postgresql user and group] action create (up to date)
gitlab_git.1.a41qiw9f43t3@Mneme    |      (up to date)
gitlab_git.1.a41qiw9f43t3@Mneme    |   * directory[/var/opt/gitlab/postgresql] action create (up to date)
gitlab_git.1.a41qiw9f43t3@Mneme    |   * file[/var/opt/gitlab/postgresql/.profile] action create (up to date)
gitlab_git.1.a41qiw9f43t3@Mneme    | Recipe: postgresql::sysctl
gitlab_git.1.a41qiw9f43t3@Mneme    |   * gitlab_sysctl[kernel.shmmax] action create
gitlab_git.1.a41qiw9f43t3@Mneme    |     * directory[create /etc/sysctl.d for kernel.shmmax] action create (up to date)
gitlab_git.1.a41qiw9f43t3@Mneme    |     * file[create /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf kernel.shmmax] action create
gitlab_git.1.a41qiw9f43t3@Mneme    |       - create new file /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf
gitlab_git.1.a41qiw9f43t3@Mneme    |       - update content in file /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf from none to 75a195
gitlab_git.1.a41qiw9f43t3@Mneme    |       --- /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf    2022-05-15 22:45:45.389232276 +0000
gitlab_git.1.a41qiw9f43t3@Mneme    |       +++ /opt/gitlab/embedded/etc/.chef-90-omnibus-gitlab-kernel20220515-31-5q0hby.shmmax.conf    2022-05-15 22:45:45.389232276 +0000
gitlab_git.1.a41qiw9f43t3@Mneme    |       @@ -1 +1,2 @@
gitlab_git.1.a41qiw9f43t3@Mneme    |       +kernel.shmmax = 17179869184
gitlab_git.1.a41qiw9f43t3@Mneme    |     * link[/etc/sysctl.d/90-omnibus-gitlab-kernel.shmmax.conf] action create
gitlab_git.1.a41qiw9f43t3@Mneme    |       - create symlink at /etc/sysctl.d/90-omnibus-gitlab-kernel.shmmax.conf to /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf
gitlab_git.1.a41qiw9f43t3@Mneme    |     * execute[load sysctl conf kernel.shmmax] action nothing (skipped due to action :nothing)
gitlab_git.1.a41qiw9f43t3@Mneme    |     * execute[load sysctl conf kernel.shmmax] action run
gitlab_git.1.a41qiw9f43t3@Mneme    |       [execute] sysctl: permission denied on key "kernel.shmmax"
gitlab_git.1.a41qiw9f43t3@Mneme    |       
gitlab_git.1.a41qiw9f43t3@Mneme    |       ================================================================================
gitlab_git.1.a41qiw9f43t3@Mneme    |       Error executing action `run` on resource 'execute[load sysctl conf kernel.shmmax]'
gitlab_git.1.a41qiw9f43t3@Mneme    |       ================================================================================
gitlab_git.1.a41qiw9f43t3@Mneme    |       
gitlab_git.1.a41qiw9f43t3@Mneme    |       Mixlib::ShellOut::ShellCommandFailed
gitlab_git.1.a41qiw9f43t3@Mneme    |       ------------------------------------
gitlab_git.1.a41qiw9f43t3@Mneme    |       Expected process to exit with [0], but received '255'
gitlab_git.1.a41qiw9f43t3@Mneme    |       ---- Begin output of sysctl -e -p /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf ----
gitlab_git.1.a41qiw9f43t3@Mneme    |       STDOUT: 
gitlab_git.1.a41qiw9f43t3@Mneme    |       STDERR: sysctl: permission denied on key "kernel.shmmax"
gitlab_git.1.a41qiw9f43t3@Mneme    |       ---- End output of sysctl -e -p /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf ----
gitlab_git.1.a41qiw9f43t3@Mneme    |       Ran sysctl -e -p /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf returned 255
gitlab_git.1.a41qiw9f43t3@Mneme    |       
gitlab_git.1.a41qiw9f43t3@Mneme    |       Resource Declaration:
gitlab_git.1.a41qiw9f43t3@Mneme    |       ---------------------
gitlab_git.1.a41qiw9f43t3@Mneme    |       # In /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/gitlab_sysctl.rb
gitlab_git.1.a41qiw9f43t3@Mneme    |       
gitlab_git.1.a41qiw9f43t3@Mneme    |        54:   execute "load sysctl conf #{new_resource.name}" do
gitlab_git.1.a41qiw9f43t3@Mneme    |        55:     command "sysctl -e -p /opt/gitlab/embedded/etc/#{conf_name}"
gitlab_git.1.a41qiw9f43t3@Mneme    |        56:     action :nothing
gitlab_git.1.a41qiw9f43t3@Mneme    |        57: 
gitlab_git.1.a41qiw9f43t3@Mneme    |        58:     only_if { node['package']['modify_kernel_parameters'] }
gitlab_git.1.a41qiw9f43t3@Mneme    |        59:   end
gitlab_git.1.a41qiw9f43t3@Mneme    |        60: end
gitlab_git.1.a41qiw9f43t3@Mneme    |       
gitlab_git.1.a41qiw9f43t3@Mneme    |       Compiled Resource:
gitlab_git.1.a41qiw9f43t3@Mneme    |       ------------------
gitlab_git.1.a41qiw9f43t3@Mneme    |       # Declared in /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/gitlab_sysctl.rb:54:in `block in class_from_file'
gitlab_git.1.a41qiw9f43t3@Mneme    |       
gitlab_git.1.a41qiw9f43t3@Mneme    |       execute("load sysctl conf kernel.shmmax") do
gitlab_git.1.a41qiw9f43t3@Mneme    |         action [:nothing]
gitlab_git.1.a41qiw9f43t3@Mneme    |         default_guard_interpreter :execute
gitlab_git.1.a41qiw9f43t3@Mneme    |         command "sysctl -e -p /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf"
gitlab_git.1.a41qiw9f43t3@Mneme    |         backup 5
gitlab_git.1.a41qiw9f43t3@Mneme    |         declared_type :execute
gitlab_git.1.a41qiw9f43t3@Mneme    |         cookbook_name "postgresql"
gitlab_git.1.a41qiw9f43t3@Mneme    |         domain nil
gitlab_git.1.a41qiw9f43t3@Mneme    |         user nil
gitlab_git.1.a41qiw9f43t3@Mneme    |         only_if { #code block }
gitlab_git.1.a41qiw9f43t3@Mneme    |       end
gitlab_git.1.a41qiw9f43t3@Mneme    |       
gitlab_git.1.a41qiw9f43t3@Mneme    |       System Info:
gitlab_git.1.a41qiw9f43t3@Mneme    |       ------------
gitlab_git.1.a41qiw9f43t3@Mneme    |       chef_version=15.17.4
gitlab_git.1.a41qiw9f43t3@Mneme    |       platform=debian
gitlab_git.1.a41qiw9f43t3@Mneme    |       platform_version=11
gitlab_git.1.a41qiw9f43t3@Mneme    |       ruby=ruby 2.7.5p203 (2021-11-24 revision f69aeb8314) [aarch64-linux]
gitlab_git.1.a41qiw9f43t3@Mneme    |       program_name=/opt/gitlab/embedded/bin/chef-client
gitlab_git.1.a41qiw9f43t3@Mneme    |       executable=/opt/gitlab/embedded/bin/chef-client
gitlab_git.1.a41qiw9f43t3@Mneme    |       
gitlab_git.1.a41qiw9f43t3@Mneme    |     
gitlab_git.1.a41qiw9f43t3@Mneme    |     ================================================================================
gitlab_git.1.a41qiw9f43t3@Mneme    |     Error executing action `create` on resource 'gitlab_sysctl[kernel.shmmax]'
gitlab_git.1.a41qiw9f43t3@Mneme    |     ================================================================================
gitlab_git.1.a41qiw9f43t3@Mneme    |     
gitlab_git.1.a41qiw9f43t3@Mneme    |     Mixlib::ShellOut::ShellCommandFailed
gitlab_git.1.a41qiw9f43t3@Mneme    |     ------------------------------------
gitlab_git.1.a41qiw9f43t3@Mneme    |     execute[load sysctl conf kernel.shmmax] (/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/gitlab_sysctl.rb line 54) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '255'
gitlab_git.1.a41qiw9f43t3@Mneme    |     ---- Begin output of sysctl -e -p /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf ----
gitlab_git.1.a41qiw9f43t3@Mneme    |     STDOUT: 
gitlab_git.1.a41qiw9f43t3@Mneme    |     STDERR: sysctl: permission denied on key "kernel.shmmax"
gitlab_git.1.a41qiw9f43t3@Mneme    |     ---- End output of sysctl -e -p /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf ----
gitlab_git.1.a41qiw9f43t3@Mneme    |     Ran sysctl -e -p /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf returned 255
gitlab_git.1.a41qiw9f43t3@Mneme    |     
gitlab_git.1.a41qiw9f43t3@Mneme    |     Resource Declaration:
gitlab_git.1.a41qiw9f43t3@Mneme    |     ---------------------
gitlab_git.1.a41qiw9f43t3@Mneme    |     # In /opt/gitlab/embedded/cookbooks/cache/cookbooks/postgresql/recipes/sysctl.rb
gitlab_git.1.a41qiw9f43t3@Mneme    |     
gitlab_git.1.a41qiw9f43t3@Mneme    |       5: gitlab_sysctl 'kernel.shmmax' do
gitlab_git.1.a41qiw9f43t3@Mneme    |       6:   value node['postgresql']['shmmax']
gitlab_git.1.a41qiw9f43t3@Mneme    |       7: end
gitlab_git.1.a41qiw9f43t3@Mneme    |       8: 
gitlab_git.1.a41qiw9f43t3@Mneme    |     
gitlab_git.1.a41qiw9f43t3@Mneme    |     Compiled Resource:
gitlab_git.1.a41qiw9f43t3@Mneme    |     ------------------
gitlab_git.1.a41qiw9f43t3@Mneme    |     # Declared in /opt/gitlab/embedded/cookbooks/cache/cookbooks/postgresql/recipes/sysctl.rb:5:in `from_file'
gitlab_git.1.a41qiw9f43t3@Mneme    |     
gitlab_git.1.a41qiw9f43t3@Mneme    |     gitlab_sysctl("kernel.shmmax") do
gitlab_git.1.a41qiw9f43t3@Mneme    |       action [:create]
gitlab_git.1.a41qiw9f43t3@Mneme    |       updated true
gitlab_git.1.a41qiw9f43t3@Mneme    |       updated_by_last_action true
gitlab_git.1.a41qiw9f43t3@Mneme    |       default_guard_interpreter :default
gitlab_git.1.a41qiw9f43t3@Mneme    |       declared_type :gitlab_sysctl
gitlab_git.1.a41qiw9f43t3@Mneme    |       cookbook_name "postgresql"
gitlab_git.1.a41qiw9f43t3@Mneme    |       recipe_name "sysctl"
gitlab_git.1.a41qiw9f43t3@Mneme    |       value 17179869184
gitlab_git.1.a41qiw9f43t3@Mneme    |     end
gitlab_git.1.a41qiw9f43t3@Mneme    |     
gitlab_git.1.a41qiw9f43t3@Mneme    |     System Info:
gitlab_git.1.a41qiw9f43t3@Mneme    |     ------------
gitlab_git.1.a41qiw9f43t3@Mneme    |     chef_version=15.17.4
gitlab_git.1.a41qiw9f43t3@Mneme    |     platform=debian
gitlab_git.1.a41qiw9f43t3@Mneme    |     platform_version=11
gitlab_git.1.a41qiw9f43t3@Mneme    |     ruby=ruby 2.7.5p203 (2021-11-24 revision f69aeb8314) [aarch64-linux]
gitlab_git.1.a41qiw9f43t3@Mneme    |     program_name=/opt/gitlab/embedded/bin/chef-client
gitlab_git.1.a41qiw9f43t3@Mneme    |     executable=/opt/gitlab/embedded/bin/chef-client
gitlab_git.1.a41qiw9f43t3@Mneme    |     
gitlab_git.1.a41qiw9f43t3@Mneme    | Recipe: gitlab::gitlab-rails
YasserAntonio commented 2 years ago

I wanted to launch your bash but I can't find the robots.txt mentioned in this line : /etc/gitlab/robots.txt:/opt/gitlab/embedded/service/gitlab-rails/public/robots.txt since it crashs just after initiating gitlab-rails maybe this little helper could solve the issue any idea where I can find it ?

ravermeister commented 2 years ago

Hi, I've had a huge load because of the Web crawler's, so I added the robots.txt so that no bot is allowed to crawl my gitlab instance. If you want to do the same, here is the robots.txt

YasserAntonio commented 2 years ago

I gave up the idea of using it as a service in a swarm (a bit sad about it) because there is privilege issue that I couldn't overcom . I made it work using this docker compose :

gitlab:
  image: ravermeister/gitlab:14.10.2
  dns: 192.168.1.24
  hostname: gitlab.ln
  volumes:
    - /home/pi/gitlab/etc/:/etc/gitlab:z
    - /home/pi/gitlab/opt/:/var/opt/gitlab:z
  ports:
    - "80:80"
    - "443:443"
    - "8022:22"
    - "8090:8090"
    - "5005:5005"   
  environment:
   GITLAB_OMNIBUS_CONFIG:
     external_url 'http://gitlab.ln'
  privileged: true
  restart: always

for people who don't have a dns you can remove the dns, hostname and environnement settings. Since Gitlab 14 does not have an init root password setting or default root password I docker exec bash in the gtilab container and used this command to create my own root password:

gitlab-rake "gitlab:password:reset[root]" it takes few seconds to get the password prompt

@ravermeister thanks for your help. Since the privilege issue only concern the usage of your image in a swam which is not the way you intended to use it feel free to close the issue if you want.

l0u1sg commented 2 years ago

Sorry, I'm a bit late and I saw that new exchanges had appeared... For my part, even changing the values as described in the README, I still have the same error. I can send my complete logs if I have to. I have already tried to redo the permissions, but nothing works. I'm not on a Rapsberry, but on an ARM machine of Oracle Cloud

ravermeister commented 2 years ago

@l0u1sg have you tried to run it via the docker-compose from @YasserAntonio or the Shell Script I attached above?

l0u1sg commented 2 years ago

Yes I tried, it still doesn't work. I just saw this error at the beginning of the log. I think there is a cause and effect with the others that appear.

/opt/gitlab/embedded/bin/runsvdir-start: line 37: /proc/sys/fs/file-max: Read-only file system

ravermeister commented 2 years ago

hmm, you could add --privileged to the docker run command. othwerwise I'm out of Ideas. Any help is appreciated :) Update: I found this config entry: # package['modify_kernel_parameters'] = true you could try to set it to false. I've added that to the basic gitlab.rb which is applied during container creation. It should be applied when a new Version is created. ~Currently I've got issues Upgrading my Container from 14.10.3 to 15.0.0~ If you like I could re-create the 14.10.3 Version with this setting applied, but you also could add it to your gitlab.rb.

l0u1sg commented 2 years ago

Yes it worked by setting package['modify_kernel_parameters'] = false. Thanks