paasta
paasta copied to clipboard
Cannot restart example_cluster after new dependency installed
I added a new dependency for https://github.com/Yelp/paasta/issues/1373, and followed the instructions here https://github.com/Yelp/paasta/tree/master/example_cluster#example-cluster
I'm getting this error tying to restart the container:
╔═ markl@yelpbook: ~/GitApps/paasta/example_cluster git:(add_cors_1373) ✗
╚═ ≓ docker-compose down && docker-compose run playground
Stopping examplecluster_mesosmaster_1 ...
Stopping examplecluster_zookeeper_1 ... error
ERROR: for examplecluster_mesosmaster_1 UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=70)
ERROR: An HTTP request took too long to complete. Retry with --verbose to obtain debug information.
If you encounter this issue regularly because of slow network conditions, consider setting COMPOSE_HTTP_TIMEOUT to a higher value (current value: 60).
╔═ markl@yelpbook: ~/GitApps/paasta/example_cluster git:(add_cors_1373) ✗
╚═ ≓ COMPOSE_HTTP_TIMEOUT=120 docker-compose down && docker-compose run playground
Stopping examplecluster_mesosmaster_1 ...
Stopping examplecluster_zookeeper_1 ... error
ERROR: for examplecluster_mesosmaster_1 UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=130)
ERROR: An HTTP request took too long to complete. Retry with --verbose to obtain debug information.
If you encounter this issue regularly because of slow network conditions, consider setting COMPOSE_HTTP_TIMEOUT to a higher value (current value: 120).
╔═ markl@yelpbook: ~/GitApps/paasta/example_cluster git:(add_cors_1373) ✗
╚═ ≓ COMPOSE_HTTP_TIMEOUT=240 docker-compose down && docker-compose run playground
Stopping examplecluster_mesosmaster_1 ...
Stopping examplecluster_zookeeper_1 ... error
ERROR: for examplecluster_mesosmaster_1 UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=250)
ERROR: An HTTP request took too long to complete. Retry with --verbose to obtain debug information.
If you encounter this issue regularly because of slow network conditions, consider setting COMPOSE_HTTP_TIMEOUT to a higher value (current value: 240).
The good news is it seems to still be okay on Travis: https://travis-ci.org/Yelp/paasta/jobs/258358142
You can even see there's some output from the API at the bottom so you can be reasonably happy nothing too bad is broken?
The error you're having looks like some sort of issue with docker-compose (there's a long rambling issue here: https://github.com/docker/compose/issues/3633)
Some things to try: upgrade docker and/or docker-compose, or just restart docker? Or switch between docker for mac and boot2docker? Probably not what you wanted to hear ;-)