janhoy commented on issue #919:
URL: https://github.com/apache/solr-operator/issues/919#issuecomment-7350517564

   🤖 Thanks, confirmed from the code on current `main`. The `setup-zk` init 
container reads `zk:/security.json` and later writes the bootstrap copy with a 
separate `solr zk cp`, with no check in between. Each `solr zk cp` starts a 
JVM, so the gap is several seconds, and on a fresh cluster every pod runs it. A 
password rotation done as soon as the first pod is ready, e.g. by automation 
that follows the advice to rotate the bootstrap passwords, can therefore be 
overwritten. A fix needs a write that only succeeds while `/security.json` is 
still missing or empty. Until then, wait for all Solr pods to be ready before 
rotating the bootstrap passwords.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to