DistributedScience / Distributed-CellProfiler

Run encapsulated docker containers with CellProfiler in the Amazon Web Services infrastructure.
https://distributedscience.github.io/Distributed-CellProfiler/
Other
37 stars 24 forks source link

Your spot fleet request is causing an error and is now being cancelled #151

Closed sooheon closed 1 year ago

sooheon commented 1 year ago

I followed these directions to manually input launch specs (AMI id and snapshot id) for a different region (ap-northeast-2): https://distributedscience.github.io/Distributed-CellProfiler/step_3_start_cluster.html#to-run-in-a-region-where-a-spot-fleet-config-isn-t-available-or-is-out-of-date

Getting following error:

Request in process. Wait until your machines are available in the cluster.
SpotFleetRequestId [...]
Updating service
Service updated.
.
.
Your spot fleet request is causing an error and is now being cancelled.  Please check your configuration and try again
spotFleetRequestConfigurationInvalid : c5.xlarge, ami-096981b2599d2d99b, Linux/UNIX: Value

The Linux/UNIX: Value looks strange to me, almost like a Key/Value in some config hasn't been set properly, but I don't see anything like it in the files I've touched.

sooheon commented 1 year ago

Resolved!

Dug around in the AWS EC2 > Spot requests > History, a previous log msg had a more detailed error message (one of the ARNs were wrong). Apparently there is a launchSpecTemporarilyBlacklisted status that can blacklist launch requests that keep erroring out!