Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Datasource is either missing or is invalid error with Bulk demo with thanos datasource #1356

Closed
chandrams opened this issue Oct 29, 2024 · 1 comment · Fixed by #1358
Closed
Assignees
Labels
bug Something isn't working

Comments

@chandrams
Copy link
Contributor

Describe the bug

Got a Datasource is either missing or is invalid error with Bulk demo with thanos datasource

Waiting for experiments ... 
2024-10-2904:05:49.010 INFO [qtp351877391-50][MetricProfileCollection.java(66)]-Trying to add the metric profile to collection: resource-optimization-local-monitoring
2024-10-2904:05:49.011 INFO [qtp351877391-50][MetricProfileCollection.java(71)]-MetricProfile added to the collection successfully: resource-optimization-local-monitoring
2024-10-2904:05:49.541 ERROR [pool-5-thread-1][BulkJobManager.java(203)]-Datasource is either missing or is invalid
java.lang.Exception: Datasource is either missing or is invalid
	at com.autotune.common.utils.CommonUtils.getDataSourceInfo(CommonUtils.java:310)
	at com.autotune.analyzer.workerimpl.BulkJobManager.run(BulkJobManager.java:109)
	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)

How to reproduce it
Run the bulk demo from kruize-demos with thanos as datasource

Expected behavior
Datasource should be detected and no error seen

Relevant logs
Attach any relevant logs to help debug the issue

Environment:

  • Kubernetes Cluster openshift
@chandrams chandrams added the bug Something isn't working label Oct 29, 2024
@khansaad khansaad self-assigned this Oct 29, 2024
@khansaad khansaad moved this to In Progress in Monitoring Oct 29, 2024
@khansaad khansaad added this to the Kruize 0.2 Release milestone Oct 29, 2024
@chandrams
Copy link
Contributor Author

This issue has been fixed now.

@github-project-automation github-project-automation bot moved this from In Progress to Done in Monitoring Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants