Skip to content

Fix to resolve LokiLogger import failure in Vault secrets cron job #511

Description

@PaulaMerle

Description : The store_secrets_in_vault.sh cron script builds an isolated venv that lacked the requests package required by LokiLogger, and its PYTHONPATH didn't cover where loki_logger.py is mounted in the container. Both caused decrypt_vault_secrets.py to fail on import. Adds requests>=2.32 to the venv setup and exports PYTHONPATH=/app:/app/src:/app/src/vector_indexer.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

  • Status
    Merged to WIP

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions