Aliro
Aliro copied to clipboard
Multi-machine not working in production
Description
Multi-machine works with the configuration in docker-compose-multi-machine.yml
(development) but not with the configuration in release/docker-compose-hub-image.yml
(production).
In production the machines are started but they are not connected to the lab.
Possible causes of this issue:
- The configured port in
hub-image.yml
(MACHINE_PORT=5081) needs to match the exposed docker ports. - The
hub-image.yml
file is missing the MACHINE_HOST var (as in themulti-machine.yml
file) - A combination of 1 and 2
These possibilities need to be troubleshooted. hub-image.yml
needs to be updated with the correct parameters.
Steps to reproduce
- Download the latest Aliro-*.zip (v0.21.1) from the GitHub releases page.
- Uncomment the lines for "additional machine containers"
- Run
docker compose up
- The multiple machines are started, but Aliro only submits experiments to the first machine.