MiraculousNightingale opened a new issue, #569:
URL: https://github.com/apache/pulsar-helm-chart/issues/569
**Description**
When deploying pulsar helm chart, pulsar init pod fails with the following
error:
```
picocli.CommandLine$MissingParameterException: Missing required options:
'--cluster=<cluster>', '--web-service-url=<clusterWebServiceUrl>'
Exception in thread "main" picocli.CommandLine$MissingParameterException:
Missing required options: '--cluster=<cluster>',
'--web-service-url=<clusterWebServiceUrl>'
at
picocli.CommandLine$MissingParameterException.create(CommandLine.java:18661)
at
picocli.CommandLine$MissingParameterException.access$21200(CommandLine.java:18649)
at
picocli.CommandLine$Interpreter.validateConstraints(CommandLine.java:13651)
at picocli.CommandLine$Interpreter.parse(CommandLine.java:13614)
at picocli.CommandLine$Interpreter.parse(CommandLine.java:13559)
at picocli.CommandLine$Interpreter.parse(CommandLine.java:13454)
at picocli.CommandLine.parseArgs(CommandLine.java:1552)
at
org.apache.pulsar.PulsarClusterMetadataSetup.main(PulsarClusterMetadataSetup.java:227)
sh: --cluster: not found
```
**Reproduction steps**
1. Deploy pulsar helm chart
2. Check pods
3. See pulsar-init pod failing
4. Check pulsar-init logs, see error
**Expected behavior**
Pulsar-init pod executing successfully.
**Additional context**
Describing pulsar-init pod shows command an empty line in the args. That
seems to be the reason for the error. Why does it appear there?
```
Containers:
pulsar-pulsar-init:
Container ID:
containerd://093b1d4a1189ab6b7bc02944de20a8d26c4d3e6203e27f6f8bb7e130070f56cb
Image: apachepulsar/pulsar-all:4.0.0
Image ID:
docker.io/apachepulsar/pulsar-all@sha256:45d5b93dd533c1bfc18c4d2bce94da1bb0ed5cf5070f6ec43b71f2e7abc8eade
Port: <none>
Host Port: <none>
Command:
timeout
60
sh
-c
Args:
export PULSAR_MEM="-Xmx128M"; bin/pulsar initialize-cluster-metadata \
--cluster pulsar \
--metadata-store "oxia://pulsar-oxia-svc:6648/broker" \
--configuration-store "oxia://pulsar-oxia-svc:6648/broker" \
--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/ ;
State: Waiting
Reason: CrashLoopBackOff
```
--
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]