Hello!
I am working on a side project so not really daily deployments and I am noticing today that I cannot deploy my app.
I am using the very basic unmodified Elixir template along with a Postgres DB. At the migration step, it fails with this logging:
Error: release command failed - aborting deployment. error running release_command machine: error creating a release_command machine: failed to launch VM: could not reserve resource for machine: insufficient memory available to fulfill request
I tried to deploy with the immediate strategy as well because I found topics mentionning that but it did not change anything. Anyone has any clue on this ?
Iām running into the same trying to deploy an Elixir app to the Paris region.
Iām trying to launch an open-source app called Accent, using fly launch
Provisioning ips for ww-accent-localization
Dedicated ipv6: 2a09:8280:1::4e:2074
Shared ipv4: 66.241.124.60
Add a dedicated ipv4 with: fly ips allocate-v4
Running ww-accent-localization release_command: /app/bin/migrate
Error: release command failed - aborting deployment. error running release_command machine: error creating a release_command machine: failed to launch VM: could not reserve resource for machine: insufficient memory available to fulfill request
So I thought, maybe I can scale the memory:
ā accent git:(5c4c5f4) ā fly scale memory 512
Error: No active machines in process group 'app', check `fly status` output
Nope. So, I subsequently tried to just use deploy command, but get the same error failed to launch VM: could not reserve resource for machine: insufficient memory available to fulfill request
Got the same with fly deploy with an Elixir app to Paris Region
Error: release command failed - aborting deployment. error running release_command machine: error creating a release_command machine: failed to launch VM: could not reserve resource for machine: insufficient memory available to fulfill request
@rio517 We should be good now. Will you let me know if itās still failing? What size machine are you creating? Weāre also adding even more capacity to those regions now so thereās a lot of spare headroom.
I am too. My app failed at 13:57 and every attempt to deploy results in āfailed to update VM 6e82920f710078: aborted: could not reserve resource for machine: insufficient memory available to fulfill requestā
fly deploy says:
Updating existing machines in āsmart-gardenā with rolling strategy
[1/1] Updating 6e82920f710078 [app]
Error: failed to update VM 6e82920f710078: aborted: could not reserve resource for machine: insufficient memory available to fulfill request
or with strategy immediate:
Updating existing machines in āsmart-gardenā with immediate strategy
[1/1] Updating 6e82920f710078 [app]
Continuing after error: failed to update VM 6e82920f710078: aborted: could not reserve resource for machine: insufficient memory available to fulfill request
Failed creating the Postgres cluster xxxxxx-db: failed to launch VM: aborted: could not reserve resource for machine: insufficient CPUs available to fulfill request
Error creating Postgresql database. Be warned that this may affect deploys