-
Notifications
You must be signed in to change notification settings - Fork 41
fix: use "0.0.0.0" string instead of null for ES' network.host #2429
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The description/title does not match with the implementation, changes are about 0.0.0.0 instead ""
In case, it will add a regression
Ah yes, sorry, I did a rebase interactive while sending the PR 🤦 I first used the elastic-agent folks' implementation after searching for the elasticsearch issues |
|
I verified that the docker container for ES is starting:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you think this particular change should be backported only in >=8.2 ?
Indeed. Because the container is able to start in 8.1, 8.2 and 7.17, we may keep it in main branch. I took a look at the elastic-package code and checked they use the same for 8_x than for main: https://github.com/elastic/elastic-package/tree/main/internal/profile/_static, that's why I added the other backport labels. I'm going to remove them all, so that no backport is need. Thanks for the suggestion! |
|
This pull request does not have a backport label. Could you fix it @mdelapenya? 🙏
|
💔 Tests Failed
Expand to view the summary
Build stats
Test stats 🧪
Test errors
Expand to view the tests failures
|
* main: fix: use empty string instead of null for ES' network.host (elastic#2429) ci: transform branch to allow the Google Labels naming (elastic#2419) Add metadata tags (elastic#2407) Add link to the users used to SSH into the Cloud EC2s (elastic#2392) fix: add EOF (elastic#2387)
What does this PR do?
It uses an empty string (
"0.0.0.0") instead of the null value fornetwork.hostin the elasticsearch confioguration.Why is it important?
We detected that 8.3-SNAPSHOT is not able to start because of that:
Checklist
make unit-test), and they are passing locallymake noticein the proper directory)Author's Checklist
How to test this PR locally
From the main branch, run this command to start the stack:
TAGS="badabumnightly" TIMEOUT_FACTOR=3 LOG_LEVEL=TRACE DEVELOPER_MODE=true ELASTIC_APM_ACTIVE=false make -C e2e/_suites/fleet functional-testRelated issues
network.hostto0.0.0.0elasticsearch#80042 or Bind host all instead of just _site_ when needed elasticsearch#83145