Could not load job definition. dagster._check.CheckError: Invariant failed. Description: No metadata found for CacheableAssetsDefinition with unique_id airbyte / Using I/O Manager BigQuery #21939
Labels
type: bug
Something isn't working
Dagster version
dagster, version 1.7.6
What's the issue?
Hi there, I am using Dagster with Docker-compose with a gRPC server. I am trying to use Airbyte Assets and manage tables with BigQuery I/O Manager with Dagster, but I am encountering an error in all assets I have in the log materialization:
Even when I tried to not give io_manager to the function
load_assets_from_airbyte_instance
with aio_manager_key=None
, I got the same error. It's the same when I try to configure an in-memory IO Manager with InMemoryIOManager(). I tried too to delete iris example assets, I just kept the airbyte assets, but I still have the error.Only the presence of the BigQuery I/O Manager in resources is enough to get this error.
I think my setup is correct because when I tried to use airbyte and BigQuery I/O Manager separately, everything worked fine.
I have the same error on the older version 1.7.2.
What did you expect to happen?
I expected it would just work and materialize properly my assets.
How to reproduce?
Launch Airbyte Locally on localhost:8000 with default credentials
Create a connection between a source and a destination on Airbyte (you can use Faker)
Use dagster with Docker (If you can) in a multi-container configuration (you can use the docker-dagster example repository) (I think you can have the same error if you launch dagster without dockerà
Try to Materialize an asset (they all give the same error)
Use the code below on dagster 1.7.6 (or 1.7.2) and try to materialize an asset (Airbyte Asset or another one)
asset code:
Definitions Code:
Deployment type
Docker Compose
Deployment details
Docker version 3.7
python:3.10-slim
Using 2 dockerfiles: Docker_user_code and Docker_dagster (
You need to add your airbyte credentials and Google BigQuery Credentials in the env variables in the docker-compose.yml , especially in the docker_daemon and the docker_user_code and Call theses Env Var in the dagster.yaml.
Dagster.yaml
Dockerfile_dagster
Dockerfile_user_code
workspace.yaml
docker-compose.yml
Additional information
No response
Message from the maintainers
Impacted by this issue? Give it a 👍! We factor engagement into prioritization.
The text was updated successfully, but these errors were encountered: