jdgiddings commented on issue #762:
URL: https://github.com/apache/solr-operator/issues/762#issuecomment-2698560802

   I ran some further tests. I added the SECURITY_JSON environment variable to 
the `solrcloud-node` container and (roughly) ran the commands from `setup-zk` 
and they worked! Here's the commands in the order I ran them
   
   1. `solr zk cp zk:/security.json /tmp/current_security.json` Worked
   2. `cat /tmp/current_security.json` was {}
   3. `echo $SECURITY_JSON > /tmp/security.json` Worked
   4. `cat /tmp/security.json` was the full contents of security.json
   5. `solr zk cp /tmp/security.json zk:/security.json` Worked
   
   This *should be* pretty much identical to the commands that run in 
`setup-zk`, but I see the logs from `setup-zk` are `No security.json found. Put 
new security.json in ZK` which indicates that `solr zk cp zk:/security.json 
/tmp/current_security.json` is exiting with code 1. I'm not sure why this would 
happen, considering that it exits with code 0 when running it in 
`solrcloud-node`
   
   the `ZK_HOST`, `ZK_CHROOT`, and `ZK_SERVER` environment variables are 
identical between the two containers
   


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