bobbai00 opened a new issue, #4651:
URL: https://github.com/apache/texera/issues/4651

   ### What happened?
   
   The docker-compose tarball produced by 
`.github/workflows/create-release-candidate.yml` does not include 
`bin/single-node/litellm-config.yaml`, even though 
`bin/single-node/docker-compose.yml` bind-mounts it into the litellm container:
   
   ```yaml
   volumes:
     - ./litellm-config.yaml:/app/config.yaml:ro
   ```
   
   When a user extracts the bundle and runs `docker compose up`, Docker creates 
an empty directory at the missing source path, which makes `/app/config.yaml` a 
directory inside the container. litellm then crashes with:
   
   ```
   IsADirectoryError: [Errno 21] Is a directory: '/app/config.yaml'
     File ".../litellm/proxy/proxy_server.py", line 2660, in 
_get_config_from_file
       with open(f"{file_path}", "r") as config_file:
   ```
   
   The "Create Docker Compose deployment bundle" step copies 
`docker-compose.yml`, `nginx.conf`, `sql/`, `.env`, `README.md`, and 
`examples/`, but never copies `litellm-config.yaml`.
   
   ### How to reproduce?
   
   1. Run the `Create and upload release candidate artifacts` workflow.
   2. Download the resulting `apache-texera-<version>-docker-compose.tar.gz`.
   3. Extract and run `docker compose up`.
   4. The `litellm` service crashes with `IsADirectoryError: 
'/app/config.yaml'`.
   
   ### Version
   
   1.1.0-incubating (Pre-release/Master)


-- 
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]

Reply via email to