Investigate failures in GPT test environments
All GPT test environments failed to reconfigure today (2021-09-09) with the error below:
fatal: [gitlab-qa-10k-praefect-postgres-1]: FAILED! => changed=true
cmd: gitlab-ctl reconfigure
delta: '0:00:24.084027'
end: '2021-09-09 04:21:07.478893'
msg: non-zero return code
rc: 1
start: '2021-09-09 04:20:43.394866'
stderr: |-
/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
/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
There was an error running gitlab-ctl reconfigure:
ruby_block[warn pending consul restart] (consul::enable_daemon line 44) had an error: Errno::ECONNREFUSED: Failed to open TCP connection to localhost:8500 (Connection refused - connect(2) for "localhost" port 8500)
stderr_lines: <omitted>
stdout: |-
Starting Chef Infra Client, version 15.17.4[0m
resolving cookbooks for run list: ["gitlab-ee"][0m
Synchronizing Cookbooks:[0m
- gitlab-ee (0.0.1)[0m
- consul (0.1.0)[0m
- patroni (0.1.0)[0m
- pgbouncer (0.1.0)[0m
- postgresql (0.1.0)[0m
- monitoring (0.1.0)[0m
The issue is to investigate the cause of these failures.
Pipelines:
Edited by Nailia Iskhakova