Comments (3)
similar here. steps to reproduce:
- run "sudo docker-compose up" for the open-core variant
- enroll the datanode incl certs. PWD from the output of "sudo docker-compose up"
- stop the docker: "sudo docker-compose down"
- try to spin it up again
between different approaches I observed missmatching certs from the datanode:
datanode_1 | 2024-01-04T18:11:45.368Z WARN [OpensearchNodeHeartbeat] Opensearch REST api of process 81 unavailable. Cause: Host name '1138565ce5e2' does not match the certificate subject provided by the peer (CN=f90a0c432f93)
datanode_1 | 2024-01-04T18:13:27.852Z WARN [OpensearchNodeHeartbeat] Opensearch REST api of process 81 unavailable. Cause: Host name '9c86f23e4940' does not match the certificate subject provided by the peer (CN=f90a0c432f93)
this lead me to the fix: add a line with a named hostname for the datanode:
[...]
datanode:
hostname: "opensearch"
image: "${DATANODE_IMAGE:-graylog/graylog-datanode:5.2}"
[...]
As you now have messed certs for your datanode clean all your data (including your logs so far!) with
sudo docker-compose down -v
and start from scratch, if you are in a lab environment.
from docker-compose.
thx @snab for pointing that out.
@hsh-it - although @snab's solution is for the DataNode, sth similar should work for your Elastic setup. Try adding a hostname to the service and add it to the SubjectAltnames when you create your certificates. I guess you also should configure the elasticsearch_hosts
configuration string to use these new hostnames to connect. Let me know if this works for you.
If you use he DataNode - your docker-compose.yml
snippet hints at an ES 7.10 config - snab's suggestion should be all you need.
from docker-compose.
This fixed my issue! Thank you very much :)
from docker-compose.
Related Issues (20)
- Email configuration doesn't apply HOT 1
- OpenSearch/Elasticsearch is not available. HOT 9
- Introduction of datanode may be confusing for users, possibly need to add text in the docker compose file to communication how to perform first setup HOT 10
- confusing documentation HOT 2
- The graylog/graylog-datanode:5.2 docker image is not starting correctly returning an error max_map_count value should be at least 262144 but is 65530 HOT 3
- Cannot connect to data node HOT 1
- datanode won't restart after hitting flood-stage watermark HOT 13
- DataNode: Failed to load keystore from Mongo collection for node GRAYLOG CA HOT 2
- Node API Browser uses Docker internal IP HOT 1
- The signing key's size is 208 bits which is not secure enough HOT 4
- How to connect to Data Node to fix long messages not logged HOT 5
- Facing error org.graylog2.bootstrap.CmdLineTool - Startup error HOT 1
- certificates expired for datanode after long downtime HOT 5
- How to generate password and SHA2 in Windows? HOT 1
- docker compse max_map_count value should be at least 262144 but is 65530 HOT 2
- Add to readme which folder may be used for single node use HOT 1
- Graylog images still point to v5.2 HOT 2
- How to access graylog-datanode's API to reschedule shards? HOT 3
- Datanode fails to configure CA HOT 3
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 docker-compose.