janhoy opened a new issue, #428:
URL: https://github.com/apache/solr-operator/issues/428
The setting `zookeeperConnectionInfo.internalConnectionString` does not have
the same semantics as in Solr. It requires an explicit port numer, while in
Solr you can say `ZK_HOST=zoo1,zoo2` and it defaults to port 2181.
What happens in solr-operator is that it does not log an understandable
error about `internalConnectionString`, instead it refuses to even start the
StatefulSet and says something cryptic like this
```
2022-04-06T12:54:05.543Z ERROR
controller-runtime.manager.controller.solrcloud Reconciler error
{"reconciler group": "solr.apache.org", "reconciler kind": "SolrCloud", "name":
"solr", "namespace": "default", "error": "Operation cannot be fulfilled on
solrclouds.solr.apache.org \"solr\": the object has been modified; please apply
your changes to the latest version and try again"}
github.com/go-logr/zapr.(*zapLogger).Error
/go/pkg/mod/github.com/go-logr/[email protected]/zapr.go:132
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:302
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:253
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1.2
/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:216
```
The operator should either log the actual error clearly or default to port
2181
--
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]