seqeralabs / nf-tower

Nextflow Tower system
https://tower.nf
Mozilla Public License 2.0
144 stars 51 forks source link

Error creating an environment with strategy SPOT_CAPACITY_OPTIMIZED #262

Closed ewels closed 3 years ago

ewels commented 3 years ago

Just got this error when creating a new environment with forge:

Error executing request, Exception : Invalid compute resource allocation strategy SPOT_CAPACITY_OPTIMIZED for type EC2, RequestId: ******* (Service: AWSBatch; Status Code: 400; Error Code: ClientException; Request ID: ****; Proxy: null)

(I can provide the request ID if needed)

As you can probably guess from the error message, I selected SPOT_CAPACITY_OPTIMIZED as the Allocation strategy in the advanced setting (even though I'm not really sure what it does).

I tried again but left that field as the default, and the environment was created successfully.

pditommaso commented 3 years ago

I guess you have chosen On-demand provisioning. Allocation strategy only works for SPOT.

But I agree the UI should guide the user.

ewels commented 3 years ago

Nope, this was with Spot provisioning..

pditommaso commented 3 years ago

Ouch, got it as well. Good now, I can test it.

pditommaso commented 3 years ago

Solved