Skip to content

Missing storage backend in example Docker Compose file #181

@H-Shay

Description

@H-Shay

Problem Description
Osprey-ui-api service is missing env var OSPREY_EXECUTION_RESULT_STORAGE_BACKEND=minio (or whatever backend is being used). This causes the /scan api to fail with

bootstrap_execution_result_storage_service()\n                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/osprey/osprey_worker/src/osprey/worker/lib/storage/stored_execution_result.py\", line 512, in bootstrap_execution_result_storage_service\n    raise AssertionError('No storage backend registered')\nAssertionError: No storage backend registered"}

errors in the ui-api logs and the event stream to show no data.

To Reproduce
Steps to reproduce the behavior:

  1. Run the example docker compose file as-is
  2. Run query in UI
  3. See error/ don't see event stream

Expected behavior
To see events in the event stream ui component.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions