anyscale / academy

Ray tutorials from Anyscale
https://anyscale.com
Apache License 2.0
580 stars 195 forks source link

Update AMI to be more generic #16

Closed deanwampler closed 4 years ago

deanwampler commented 4 years ago

Removes the cruft in the previous AMI

deanwampler commented 4 years ago

@pcmoritz I created this PR with your branch. When I tried it, the commands in cluster.yaml failed to work. The first error was:

2020-07-27 21:03:38,236 INFO command_runner.py:324 -- NodeUpdater: i-0c50962e9be44fae2: Running ssh -tt -i /home/ubuntu/.ssh/ray-autoscaler_4_us-west-2.pem -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o IdentitiesOnly=yes -o ExitOnForwardFailure=yes -o ServerAliveInterval=5 -o ServerAliveCountMax=3 -o ControlMaster=auto -o ControlPath=/tmp/ray_ssh_1d41c853af/f501080b53/%C -o ControlPersist=10s -o ConnectTimeout=120s ubuntu@54.70.195.214 bash --login -c -i 'true && source ~/.bashrc && export OMP_NUM_THREADS=1 PYTHONWARNINGS=ignore && conda env create --file /home/ubuntu/anyscale-academy/environment.yml || true'
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

EnvironmentFileNotFound: '/home/ubuntu/anyscale-academy/environment.yml' file not found

Full log attached:

session_startup_logs_3238.txt

deanwampler commented 4 years ago

Closing this PR. It appears that the AMI used can't work with Anyscale, because the latter assumes pip is already installed.