janhoy opened a new issue, #122: URL: https://github.com/apache/solr-orbit/issues/122
`solrorbit/workload_generator/extractors.py:34` calls `client._get_session()`, but the client it is given is a `SolrClient` (`workload_generator.py:39` builds it with `ClientFactory(...).create()`), and `_get_session` is defined on `SolrAdminClient`, not on `SolrClient`. `solr-orbit create-workload` therefore fails with `'SolrClient' object has no attribute '_get_session'` before it reads a single document. As far as I can tell the command cannot work at all in its current state. Surfaced by `it/tracker_test.py::test_create_workload` in the first integration-test runs on CI (https://github.com/apache/solr-orbit/actions/runs/38919405550). The suite could not reach this code before #105, which is why it went unnoticed. The same run also logs `[ERROR] Workload output path does not have write permissions.` just before the failure, which may or may not be related and is worth checking at the same time. 🤖 Assisted by Claude Code -- 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]
