dstack icon indicating copy to clipboard operation
dstack copied to clipboard

[Bug]: LambdaCompute doesn't hande 403 response

Open TheBits opened this issue 3 months ago • 1 comments

dstack version

0.16.2

Python version

3.11.8

Host OS

Arch Linux

Host Arch

x86_64

What happened?

If the lambda provider receives an error 403 in response to the request, it returns 0 offers. It is necessary to show why the request could not be made.

We need to see how other providers check the 403 code.

CLI logs

❯ dstack run . -f task.dstack.yaml -b lambda
 Configuration          task.dstack.yaml
 Project                main
 User                   admin
 Pool name              default-pool
 Min resources          2..xCPU, 8GB..
 Max price              -
 Max duration           72h
 Spot policy            auto
 Retry policy           no
 Creation policy        reuse-or-create
 Termination policy     destroy-after-idle
 Termination idle time  300s

Continue? [y/n]: n

Exiting...


### Server logs

_No response_

### Runner logs

_No response_

### Additional Information

_No response_

TheBits avatar Mar 08 '24 09:03 TheBits