aloosnetmatch opened a new issue, #760: URL: https://github.com/apache/solr-operator/issues/760
We upgraded out test env from solr-operator 0.8.1 to 0.9.0 and from solr 9.7.0 to 9.8.0. The prometheus exporter does not seem to work anymore. The logging tells me this: `ERROR - 2025-02-26 12:42:40.917; org.apache.solr.prometheus.exporter.SolrExporter; Must provide either --base-url or --zk-host Exception in thread "main" java.lang.NullPointerException: Cannot invoke "org.apache.solr.prometheus.exporter.SolrScrapeConfiguration.getType()" because "configuration" is null at org.apache.solr.prometheus.exporter.SolrExporter.createScraper(SolrExporter.java:127) at org.apache.solr.prometheus.exporter.SolrExporter.<init>(SolrExporter.java:90) at org.apache.solr.prometheus.exporter.SolrExporter.main(SolrExporter.java:426)` I already found this link , which is similar to my issue https://issues.apache.org/jira/browse/SOLR-17638 In the prometheus-exporter pod, the env variable for "ZK_HOST" seems to have no value. > env: - name: POD_NAME valueFrom: fieldRef: apiVersion: v1 fieldPath: metadata.name - name: POD_NAMESPACE valueFrom: fieldRef: apiVersion: v1 fieldPath: metadata.namespace - name: PORT value: '8080' - name: NUM_THREADS value: '6' - name: ZK_HOST - name: CONFIG_FILE value: /opt/solr/contrib/prometheus-exporter/conf/solr-exporter-config.xml resources: If I set the correct value there for the ZK_HOST in the Deployment , an additional container starts up which does seem to work. What can i do to fix this isssue? -- 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: issues-unsubscr...@solr.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org