-
Notifications
You must be signed in to change notification settings - Fork 187
Add touch command to create /var/lib/haproxy/server-state #163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The following warning appears in docker-service-proxy service logs after HAProxy was updated: [WARNING] 257/231940 (1) : Can't open global server state file '/var/lib/haproxy/server-state': No such file or directory Adding this touch command to the Dockerfile will create the server-state file in the Docker image and silence this warning.
|
@josep-tecnativa @pedrobaeza : Please take a look at this PR when you have time. Thanks! |
|
Ping @josep-tecnativa |
|
It looks like the required checks are stuck in expected because no workflows were triggered for this commit. |
|
@josep-tecnativa wrote:
I just pushed an empty commit. It still says, "2 workflows awaiting approval. This workflow requires approval from a maintainer." EDIT: The workflows eventually ran this time, and the PR auto-merged. Thanks! |
…646) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [ghcr.io/tecnativa/docker-socket-proxy](https://github.com/Tecnativa/docker-socket-proxy) | patch | `v0.4.1` -> `v0.4.2` | --- ### Release Notes <details> <summary>Tecnativa/docker-socket-proxy (ghcr.io/tecnativa/docker-socket-proxy)</summary> ### [`v0.4.2`](https://github.com/Tecnativa/docker-socket-proxy/releases/tag/v0.4.2) [Compare Source](Tecnativa/docker-socket-proxy@v0.4.1...v0.4.2) #### What's Changed - Add touch command to create /var/lib/haproxy/server-state by [@​esabol](https://github.com/esabol) in [#​163](Tecnativa/docker-socket-proxy#163) #### New Contributors - [@​esabol](https://github.com/esabol) made their first contribution in [#​163](Tecnativa/docker-socket-proxy#163) **Full Changelog**: <Tecnativa/docker-socket-proxy@v0.4.1...v0.4.2> </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi4zOS4xIiwidXBkYXRlZEluVmVyIjoiNDIuMzkuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiYXV0b21lcmdlIiwiaW1hZ2UiXX0=--> Reviewed-on: https://gitea.alexlebens.dev/alexlebens/infrastructure/pulls/2646 Co-authored-by: Renovate Bot <[email protected]> Co-committed-by: Renovate Bot <[email protected]>
This partially addresses issue #123.
The following warning appears in docker-service-proxy service logs after HAProxy was updated:
[WARNING] 257/231940 (1) : Can't open global server state file '/var/lib/haproxy/server-state': No such file or directory
Adding this touch command to the Dockerfile will create the server-state file in the Docker image and silence this warning.