Gitlab EE Docker Image/Helm installation ships with startup error/warning messages (postgre, redis, and hwmon)
Summary
With a default installation of the EE Docker image (with or without Helm) there are errors relating to Postgres and Redis (and others) in startup.
Steps to reproduce
Follow the installation instructions here https://github.com/kubernetes/charts/tree/master/stable/gitlab-ee
helm install --name my-release --set externalUrl=http://your-domain.com/ stable/gitlab-ee
or, load the image up using any other Docker management tool.
What is the current bug behavior?
Starting up Gitlab should not produce errors.
Relevant logs and/or screenshots
2017-04-13T04:45:58.750552781Z ==> /var/log/gitlab/postgres-exporter/current <==
2017-04-13T04:45:58.750558027Z 2017-04-13_04:45:58.75040 time="2017-04-13T04:45:58Z" level=warning msg="Proceeding with outdated query maps, as the Postgres version could not be determined: Error scanning version string: dial unix /var/opt/gitlab/postgresql/.s.PGSQL.5432: connect: no such file or directory\n" source="postgres_exporter.go:1002"
2017-04-13T04:45:59.992592765Z ==> /var/log/gitlab/redis-exporter/current <==
2017-04-13T04:45:59.992598784Z 2017-04-13_04:45:59.99241 time="2017-04-13T04:45:59Z" level=info msg="redis err: dial unix /var/opt/gitlab/redis/redis.socket: connect: no such file or directory"
2017-04-13T04:46:00.509357215Z ==> /var/log/gitlab/node-exporter/current <==
2017-04-13T04:46:00.509362498Z 2017-04-13_04:46:00.50920 time="2017-04-13T04:46:00Z" level=error msg="ERROR: hwmon collector failed after 0.000017s: open /sys/class/hwmon: no such file or directory" source="node_exporter.go:91"
There are additional problems that cause the image to fail to start completely when SSL is configured, but it is hard to debug when the default configuration also produces errors.
Output of checks
Results of GitLab environment info
System information
System:
Proxy: no
Current User: git
Using RVM: no
Ruby Version: 2.3.3p222
Gem Version: 2.6.6
Bundler Version:1.13.7
Rake Version: 10.5.0
Redis Version: 3.2.5
Git Version: 2.10.2
Sidekiq Version:4.2.7
GitLab information
Version: 9.0.0-ee
Revision: f33774c
Directory: /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: postgresql
DB Version: 9.6.2
URL: http://gitlab.leflair.io
HTTP Clone URL: http://gitlab.leflair.io/some-group/some-project.git
SSH Clone URL: git@gitlab.leflair.io:some-group/some-project.git
Elasticsearch: no
Geo: no
Using LDAP: no
Using Omniauth: no
GitLab Shell
Version: 5.0.0
Repository storage paths:
- default: /gitlab-data/git-data/repositories
Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks/
Git: /opt/gitlab/embedded/bin/git
Results of GitLab application Check
Checking GitLab Shell ...
GitLab Shell version >= 5.0.0 ? ... OK (5.0.0)
Repo base directory exists?
default... yes
Repo storage directories are symlinks?
default... no
Repo paths owned by git:git?
default... yes
Repo paths access is drwxrws---?
default... yes
hooks directories in repos are links: ... can't check, you have no projects
Running /opt/gitlab/embedded/service/gitlab-shell/bin/check
Check GitLab API access: OK
Access to /gitlab-data/ssh/authorized_keys: OK
Send ping to redis server: OK
gitlab-shell self-check successful
Checking GitLab Shell ... Finished
Checking Sidekiq ...
Running? ... yes
Number of Sidekiq processes ... 1
Checking Sidekiq ... Finished
Checking Reply by email ...
Reply by email is disabled in config/gitlab.yml
Checking Reply by email ... Finished
Checking LDAP ...
LDAP is disabled in config/gitlab.yml
Checking LDAP ... Finished
Checking GitLab ...
Git configured with autocrlf=input? ... yes
Database config exists? ... yes
All migrations up? ... yes
Database contains orphaned GroupMembers? ... no
GitLab config exists? ... yes
GitLab config outdated? ... no
Log directory writable? ... yes
Tmp directory writable? ... yes
Uploads directory setup correctly? ... skipped (no tmp uploads folder yet)
Init script exists? ... skipped (omnibus-gitlab has no init script)
Init script up-to-date? ... skipped (omnibus-gitlab has no init script)
projects have namespace: ... can't check, you have no projects
Redis version >= 2.8.0? ... yes
Ruby version >= 2.1.0 ? ... yes (2.3.3)
Your git bin path is "/opt/gitlab/embedded/bin/git"
Git version >= 2.7.3 ? ... yes (2.10.2)
Active users: 1
Checking GitLab ... Finished