mkoertgen commented on issue #124:
URL:
https://github.com/apache/pulsar-helm-chart/issues/124#issuecomment-1004718311
To me it looks like the problem has to do with helm-templates expanding
empty lines without breaks (`\`) causing the shell call to fail.
Here is what the helm renders
```
bin/pulsar initialize-cluster-metadata \
--cluster pulsar \
--zookeeper pulsar-zookeeper:2181 \
--configuration-store pulsar-zookeeper:2181 \
--web-service-url
http://pulsar-broker.pulsar.svc.cluster.local:8080/ \
--web-service-url-tls
https://pulsar-broker.pulsar.svc.cluster.local:8443/ \
--broker-service-url
pulsar://pulsar-broker.pulsar.svc.cluster.local:6650/ \
--broker-service-url-tls
pulsar+ssl://pulsar-broker.pulsar.svc.cluster.local:6651/ || true;
```
I exed into the shell of one of the running bookies to reproduce the problem
and yes, with the empty line it gives the error message noted above.
Manually calling the cluster initialization with the empty line removed
helped in my case to get the cluster working again.
--
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]