I cannot seem to deploy, I tried a few different strategies, either hangs waiting for deploy, or if I build locally, hangs trying to push to the registry. Eventually I noticed this message:
WARN Failed to start remote builder heartbeat: failed to create volume: no capacity available in syd
.. and then after destroying the build instance and trying again:
WARN Failed to start remote builder heartbeat: failed to create volume: failed_precondition: machine capacity hold failed: insufficient memory available to fulfill request
EDIT: I should note that this doesn’t seem to be a problem local to my machine, I normally deploy via Github actions and only tried locally because I saw that they were failing.
Hi… If you’re seeing this a lot, you can try moving the builder to a less congestion-prone region. There aren’t great docs for doing so at the moment, but the following forum thread has the main idea:
(These days, you might need to add --recreate-builder and/or --depot=false, on that command line.)
The underlying problem, going by the warning messages you posted earlier, is a transient capacity crunch in that specific region, so it would be best to choose one of the large ones as the alternative…
We have also been experiencing this consistently over the past 24 hours. I have seen it impact our deployments intermittently over the past several months too.
I’ve tried all these options, and nothing works. I’ve tried build regions in Asia, NA and Europe. I’ve built locally, I’ve built without depot.
Yesterday it just eventually randomly worked, so I guess I’ll just have to try until it does.
Hey all, thanks for tagging us. It looks like we need a bit more capacity in our syd region and I’ve bumped our infra team to have a closer look. We’re monitoring how many placement failures are happening in the region.
We added some more capacity in syd about 11 hours ago so the root cause of deployment/building issues in syd should be solved now! If you’re still running into issues there may be something else at play. Feel free to reach out to us if there’s anything else.
Thanks for the heads up. For me, this would have been quite bad if I was trying to get a critical fix out or something. Hopefully Fly will not under provision the Sydney region going forward.