Unkillable zombie machine blocking deployment

Hi !

I’m a bit stuck because I have a zombie backend machine blocking my deployments.
I can’t destroy it, even by forcing it, I can’t scale number of machines to zero, I just can’t do anything with that and I don’t know what to do.

I saw a few posts mentioning the same issue but without clear and perennial solution.

Are these machines destroyed by fly itself past an amount of time ?
At least detected ?

Thanks in advance

Hi… You can try --exclude-machines during deployment, which usually works around problems like this.

Apparently, there’s a known bug currently under scrutiny that’s causing some Machines to get wedged in an impossible state (replaced).

https://community.fly.io/t/machine-stuck-in-replaced-state/26648

If you have a support plan, you can probably ask for the zombie to be removed manually. (It’s best to use the actual Support channel to do so, though, rather than here in the community forum.)

Hope this helps a little!

Hello, thanks for the info !

That’s indeed a really problematic bug.
Thanks for the workaround. As i wanted a perennial solution, I tried not to use that flag, furthermore I use a custom framework to deploy from ci and I couldn’t pass this flag freely for the moment.

I just trashed and rebooted the apps. I was afraid of not being able to do it but the zombie machine didn’t block app deletion at least haha

Thanks anyways ! I’ll keep it in mind for later :wink:

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.