Rails template fails to deploy with AutoDevOps
Summary
Our standard Ruby on Rails template fails to deploy successfully on 11.9. It crashloops every minute or so.
Steps to reproduce
- Create a project from the Ruby on Rails template
- Set up a cluster for Auto DevOps
- Enable Auto DevOps
- Ensure your Ruby project has the fix from https://gitlab.com/gitlab-org/gitlab-ce/issues/59205
- Build is successful but your deploy fails
Example Project
https://gitlab.com/joshlambert/11-9-test/-/jobs/180668841
What is the current bug behavior?
The deploy job times out:
NOTES:
Application should be accessible at: http://joshlambert-11-9-test.35.245.226.51.nip.io
Waiting for deployment "production" rollout to finish: 0 of 1 updated replicas are available...
error: watch closed before Until timeout
If you look at the container logs you continually see:
What is the expected correct behavior?
Successful deploy
Relevant logs and/or screenshots
(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's very hard to read otherwise.)
Output of checks
(If you are reporting a bug on GitLab.com, write: This bug happens on GitLab.com)
Results of GitLab environment info
Happens on GitLab.com
Possible fixes
It seems like Puma is ready to serve, but perhaps the healthcheck is failing?
Edited by Thong Kuah