Dagster-ecs unable to find dagster_postgres #18455
-
|
Hello, I am running a dagster on an ecs cluster and during the job run I am getting the following error My docker file looks like this And my requirements-webserver.txt is this Previously we were using dagit for our ecs workload but now after upgrading to using the webserver we are now running into this error. I am not sure why this error is occurring since during the docker build process I am able to see that the module is installed correctly. Can someone please help with this ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
|
Can you include the full stack trace of the error that you're seeing? That will help determine exactly where the problem is (for example, it could be missing in your webserver image, or it could be missing in the image where your code runs when the run i slaunched). A good way to check if dagster-postgres is actually installed is to open a shell using the Docker image and run:
That will show you if dagster-postgres is actually installed there. You'll want dagster-postgres to be installed in any images that you are using that are running Dagster code. |
Beta Was this translation helpful? Give feedback.
The way that our ECS example specifies what image to use in runs that are launched is described here: https://github.com/dagster-io/dagster/blob/1.5.10/examples/deploy_docker/docker-compose.yml#L16-L35 - it specifies an environment variable in the user code task that is then picked up when the run launched.
To provide more specific guidance we'll need more information about your deployment setup / a way to reproduce the problem that you're seeing.