You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setup kind & install thanos operator following steps here
Port forward the thanos & minio services using kubectl kubectl port-forward svc/minio 9000:9000 -n thanos-operator-system
kubectl port-forward svc/thanos-query-frontend-example-query 9090:9090 -n thanos-operator-system
Update the datasource section in manifests & deploy kruize
Invoke Bulk API using datasource as thanos
Expected behavior
Thanos datasource should be detected & Bulk API should generate recommendations
Relevant logs
Waiting for experiments ...
2025-01-2222:09:01.656 ERROR [qtp817686795-75][ListDatasourcesAPIObject.java(41)]-No datasources found
2025-01-2222:09:03.767 ERROR [qtp817686795-76][ListDatasourcesAPIObject.java(41)]-No datasources found
2025-01-2222:23:08.104 ERROR [pool-9-thread-1][BulkJobManager.java(145)]-Datasource is either missing or is invalid: thanos
java.lang.Exception: Datasource is either missing or is invalid: thanos
at com.autotune.common.utils.CommonUtils.getDataSourceInfo(CommonUtils.java:310)
at com.autotune.analyzer.workerimpl.BulkJobManager.run(BulkJobManager.java:143)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
2025-01-2222:23:08.105 ERROR [pool-9-thread-1][BulkJobManager.java(292)]-Cannot invoke "com.autotune.common.datasource.DataSourceInfo.getAuthenticationConfig()" because "dataSourceInfo" is null
java.lang.NullPointerException: Cannot invoke "com.autotune.common.datasource.DataSourceInfo.getAuthenticationConfig()" because "dataSourceInfo" is null
at com.autotune.utils.GenericRestApiClient.<init>(GenericRestApiClient.java:76)
at com.autotune.analyzer.workerimpl.BulkJobManager.setFinalJobStatus(BulkJobManager.java:309)
at com.autotune.analyzer.workerimpl.BulkJobManager.run(BulkJobManager.java:149)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
2025-01-2222:23:08.109 INFO [qtp817686795-76][BulkService.java(78)]-Job ID: 82f2c5b7-80e8-49e2-b6f8-e32be2b0823a
2025-01-2222:23:08.109 INFO [qtp817686795-76][BulkService.java(89)]-Job Status: FAILED
Environment:
Kubernetes Cluster - Kind
Version - 1.24.0
The text was updated successfully, but these errors were encountered:
Describe the bug
Configured kruize with thanos datasource on kind cluster, on invoking Bulk API it failed with
Datasource config used:
How to reproduce it
kubectl port-forward svc/minio 9000:9000 -n thanos-operator-system
kubectl port-forward svc/thanos-query-frontend-example-query 9090:9090 -n thanos-operator-system
Expected behavior
Thanos datasource should be detected & Bulk API should generate recommendations
Relevant logs
Environment:
The text was updated successfully, but these errors were encountered: