Omnibus CE 8.10.4 Reconfigure logging error
OS: Oracle Linux 6.5.1
Installing the gitlab-ce package for el/6 from packages.gitlab.com, and also seen with my custom built packages for ol 6.5
After installation I'm trying to run reconfigure and get a lot of error messages printed saying log writing failed. closed stream
cloud@lyra-gitlab4:~> sudo yum install gitlab-ce
Loaded plugins: security, ulninfo
Setting up Install Process
gitlab_gitlab-ce/signature | 836 B 00:00
gitlab_gitlab-ce/signature | 1.0 kB 00:00 ...
gitlab_gitlab-ce/primary | 507 kB 00:00
gitlab_gitlab-ce 140/140
Resolving Dependencies
--> Running transaction check
---> Package gitlab-ce.x86_64 0:8.10.4-ce.0.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
gitlab-ce x86_64 8.10.4-ce.0.el6 gitlab_gitlab-ce 259 M
Transaction Summary
================================================================================
Install 1 Package(s)
Total download size: 259 M
Installed size: 691 M
Is this ok [y/N]: y
Downloading Packages:
gitlab-ce-8.10.4-ce.0.el6.x86_64.rpm | 259 MB 00:03
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : gitlab-ce-8.10.4-ce.0.el6.x86_64 1/1
gitlab: Thank you for installing GitLab!
gitlab: To configure and start GitLab, RUN THE FOLLOWING COMMAND:
sudo gitlab-ctl reconfigure
gitlab: GitLab should be reachable at http://lyra-gitlab4.amers3.cis.trcloud
gitlab: Otherwise configure GitLab for your system by editing /etc/gitlab/gitlab.rb file
gitlab: And running reconfigure again.
gitlab:
gitlab: For a comprehensive list of configuration options please see the Omnibus GitLab readme
gitlab: https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md
gitlab:
It looks like GitLab has not been configured yet; skipping the upgrade script.
Verifying : gitlab-ce-8.10.4-ce.0.el6.x86_64 1/1
Installed:
gitlab-ce.x86_64 0:8.10.4-ce.0.el6
Complete!
Installation looks fine so try and reconfigure :
cloud@lyra-gitlab4:~> sudo gitlab-ctl reconfigure
log writing failed. closed stream
Starting Chef Client, version 12.10.24
log writing failed. closed stream
log writing failed. closed stream
log writing failed. closed stream
log writing failed. closed stream
log writing failed. closed stream
log writing failed. closed stream
log writing failed. closed stream
log writing failed. closed stream
log writing failed. closed stream
log writing failed. closed stream
log writing failed. closed stream
resolving cookbooks for run list: ["gitlab"]
log writing failed. closed stream
Synchronizing Cookbooks:
log writing failed. closed stream
...
Reconfigure finishes but you see lots of error messages printed about the closed stream. The reconfigure log only contains:
Running handlers:
log writing failed. closed stream
Running handlers complete
log writing failed. closed stream
Chef Client finished, 220/303 resources updated in 01 minutes 08 seconds
gitlab Reconfigured!
cloud@lyra-gitlab4:~> cat /var/log/gitlab/reconfigure/1470664997.log
# Logfile created on 2016-08-08 14:03:17 +0000 by logger.rb/44203
[2016-08-08T14:03:18+00:00] INFO: Started chef-zero at chefzero://localhost:8889 with repository at /opt/gitlab/embedded
One version per cookbook
This wasn't seen when I was testing 8.10.3. I can't see any changes between 8.10.3 and 8.10.4 that would account for this, it might be another gem causes a problem like the chatty logging chef-zero recently?