Skip to content
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

fix: service file should not include configuration #97

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

giem-git
Copy link
Contributor

@giem-git giem-git commented Apr 9, 2024

Which issue(s) this PR fixes

Fixes #96

Agreements

@giem-git giem-git requested review from rpignolet and kpgtek April 9, 2024 13:27
@giem-git giem-git self-assigned this Apr 9, 2024
@giem-git giem-git linked an issue Apr 9, 2024 that may be closed by this pull request
@giem-git giem-git force-pushed the 96-configuration-parameters-in-env-file branch from af6e383 to ea3ecd9 Compare April 9, 2024 13:34
@giem-git giem-git force-pushed the 96-configuration-parameters-in-env-file branch from ea3ecd9 to 98a7565 Compare April 10, 2024 08:40
@kpgtek
Copy link
Contributor

kpgtek commented Apr 10, 2024

Prometheus could not start, and I found the following error in log file:

caller=web.go:553 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090
caller=main.go:792 level=error msg="Unable to validate web configuration file" err="failed to load X509KeyPair: open /etc/prometheus/certs/[...].pem: permission denied"

If I change .key and .pem files' permission to [root:hadoop], the error is fixed.

Error fixed with the commit de14e8d.

@giem-git giem-git force-pushed the 96-configuration-parameters-in-env-file branch from 98a7565 to de14e8d Compare April 11, 2024 08:10
@rpignolet rpignolet merged commit 191e020 into main Apr 19, 2024
3 checks passed
@rpignolet rpignolet deleted the 96-configuration-parameters-in-env-file branch April 19, 2024 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

prometheus: configuration parameters in service file
3 participants