Comments (4)
At first glance this is odd, because the alertmanager rock has root certs.
After installing curl
in the alertmanager workload container, curl https://charmhub.io
(an https) works fine without --insecure
.
Also, both of the following pass verification too from within the workload container:
echo | openssl s_client -strict -verify_return_error -connect charmhub.io:443 || echo "failed"
echo | openssl s_client -strict -verify_return_error -connect app.datadoghq.eu:443 || echo "failed"
According to user accounts (1, 2), alertmanager should be able to talk over TLS.
@slapcat, would you be able to confirm that:
- The image in use indeed has certs in place?
$ juju ssh --container alertmanager am/0 ls -1 /etc/ssl/certs/ | wc -l
275
- Cert validation works from within the workload container?
$ juju ssh --container alertmanager am/0 bash -c "echo | openssl s_client -strict -verify_return_error -connect app.datadoghq.eu:443" | grep -i verif
verify return:1
verify return:1
verify return:1
Verification: OK
Verify return code: 0 (ok)
- Which revision of alertmanager is in use?
juju status --format=json | jq '.applications.am."charm-rev"'
from alertmanager-k8s-operator.
Ok from you env I see alertmanager 0.25, charm-rev 96.
- Certs were added on 2024-03
- Revision 96 was released 2023-11
@slapcat would you be able to try with a newer revision? The current stable is rev106 and should include the certs fix.
@lucabello will soon start the charm promotion train so there should be an even newer stable
soon.
from alertmanager-k8s-operator.
Closing for now. Feel free to reopen if this shows up in rev106 or newer!
from alertmanager-k8s-operator.
That fixed it, thanks!
from alertmanager-k8s-operator.
Related Issues (20)
- Use the Dockerhub Ubuntu ROCK instead of the ghcr.io one
- Use fqdn and correct scheme in `alertmanager_dispatch`
- Add an action to test external integrations like Pagerduty HOT 5
- Grouping of alerts can not be disabled HOT 2
- Wrong Alert's source URL HOT 5
- Alert manager is constantly restarting HOT 6
- Alertmanger fails hook "config changed" due to assert private_key is not None HOT 2
- Discrepancy between alerts firing in prometheus and those reported in alertmanager HOT 4
- Add an integration test insuring that alertmanager isn't restarted too often
- Failed: juju run alertmanager/0 show-config
- Set external URL as a Grafana Data Source HOT 1
- `certificates-relation-changed` hook failed: creating secrets: Regular expression is invalid: nothing to repeat HOT 1
- Support TLS certificate validation for receivers HOT 4
- group_by parameter should not be hardcoded HOT 5
- pebble restarting alertmanager every ~5 minutes HOT 2
- Data missing from panels in Grafana HOT 3
- AlertmanagerNotificationsFailed is fired continuously due to integration=webhook HOT 8
- `show-config` action fails
- charm tracing fails over tls
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alertmanager-k8s-operator.