dask-ec2 icon indicating copy to clipboard operation
dask-ec2 copied to clipboard

Could not connect to salt server

Open mccarthyryanc opened this issue 6 years ago • 1 comments

Originally posted to issue #32, but on closer inspection it looks like the errors are slightly different:

Error with request: <urlopen error [Errno -2] Name or service not known>
ERROR: Could not connect to salt server. Try `dask-ec2 provision` and try again

Also noticed this in /var/log/syslog:

Sep 14 22:54:30 hostname salt-minion[16091]: [ERROR   ] DNS lookup or connection check of 'None' failed.
Sep 14 22:54:30 hostname salt-minion[16091]: [ERROR   ] Master hostname: 'None' not found or not responsive. Retrying in 30 seconds

Command I am running:

dask-ec2 up --ami ami-XXXXXXXX \
            --keyname keyname \
            --keypair keypair.pem \
            --name dasknode \
            --tags Name:dasknode \
            --count 2 \
            --region-name us-west-2 \
            --security-group-id sg-XXXXXXXX \
            --iaminstance-name profile_name \
            --subnet-id subnet-XXXXXXXX 

Continue to get the same error after running: dask-ec2 provision.

dask-ec2, version 0.5.0+5.g1849efc Python 3.5.4

mccarthyryanc avatar Sep 14 '17 21:09 mccarthyryanc

I'm currently also hitting this. I feel like it has something to do with how the subnet you're using is configured.

The subnet I'm creating them in is not set to assign public ips to instances, which meant I was getting None values in the cluster.yml file. After manually switching them over to the private ips of the corresponding machines in the subnet, I started hitting this problem; but im not sure where to go from there

DanCardin avatar Sep 18 '17 18:09 DanCardin