Unable to destroy migrated machine

Hi Fly.io team,

I have a zombie machine stuck in the migrated state that I cannot stop or destroy through any available means. It’s causing deployment hangs and a “multiple images” warning in the dashboard.

App: [my-app-name]
Region: ord (Chicago)
Problem machine: 080552f6440968 (cold-voice-9966)
State: migrated
Image: [old-deployment-image] (stale deployment from ~Aug 2024)

Active machine (working fine): 8ed663b7ddd028 (shy-water-9587)
Image: [current-deployment-image]

What I’ve tried:

  1. fly machine stop 080552f6440968
    → Error: unable to stop machine, current state invalid, migrated

  2. fly machine destroy 080552f6440968 --force
    → Error: failed_precondition: unable to update machine to destroying

  3. Direct Machines API call:
    curl -X DELETE “https://api.machines.dev/v1/apps/[my-app-name]/machines/080552f6440968?force=true”
    → Same failed_precondition error

Impact:

  • fly deploy hangs indefinitely (presumably waiting on/trying to update the migrated machine)
  • Dashboard warns about running multiple images

Could you please remove machine 080552f6440968 from my app? Thanks!

1 Like

Hello! We are after a bug here but this machine shouldn’t block your next deploy. thanks for letting us know.

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