Closed mayac-philips closed 1 month ago
Hi,
I'm afraid that changing the secret object does not cause the password to change inside the container. In the Bitnami containers, the password is set at first boot, so if you want to change the password, you will need to enter the container and perform the password change as well.
Hi,
I'm afraid that changing the secret object does not cause the password to change inside the container. In the Bitnami containers, the password is set at first boot, so if you want to change the password, you will need to enter the container and perform the password change as well.
How do I do that? I tried go to bin/elasticsearch-reset-password but that didn't work. We changed the password through kibana ui. I was able to connect with port-forwarding to elasticsearch. In the end I did something like this and it worked:
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.
Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.
Name and Version
bitnmai/elasticsearch 8.10.4
What architecture are you using?
amd64
What steps will reproduce the bug?
Are you using any custom parameters or values?
running on master pod. mounting secret as elasticsearch-password
What is the expected behavior?
Probe readiness and liveness should work with the new password
What do you see instead?
I get a log showing: [elasticsearch-master-0] Authentication of [elastic] was terminated by realm [reserved] - failed to authenticate user [elastic]
Additional information
If I cancel security to disable elasticsearch is running. When enabled it showed running with 1/0. I entered the pod and verified the new password is in env. I tried followed similar situation when upgrading without providing password but that didn't help.