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

   🤖 Thanks, reproduced on current `main` with a unit test whose client fails 
the second Secret create. The retry succeeds with only the credentials Secret, 
treats the missing bootstrap Secret as deleted by the user after bootstrapping, 
and generates no `security.json` upload. On a fresh ZooKeeper chroot, Solr then 
starts without a `security.json`, which means without authentication, even 
though `solrSecurity` asks for Basic Auth. The fix should treat a credentials 
Secret without its bootstrap Secret, and without a bootstrapped 
`security.json`, as a partial create and complete it, instead of assuming the 
user deleted it. To recover an affected SolrCloud, delete its 
`<name>-solrcloud-basic-auth` Secret: the operator then creates both Secrets 
and rolls the pods, which upload `security.json`.
   


-- 
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