[PM07] failed to change machine state: machine has been migrated to worker

Starting today at around 8AM I started getting this errors in logs. Can’t seem to bring my app back up. Restarting didn’t help. Not sure where to go from here. ARN region.

Same here, all my 3 apps in the ARN region are down

Hello everyone! Sorry about the block with your machines here.

Rest assured that the team’s working on resolving a lag issue in our corrosion system that’s causing machine start failures in ARN, you can subscribe to the incident here: https://status.flyio.net/incidents/01M6E41ER0BWGC0Z76XE8AEWVF

In the meantime, the fastest way to unblock from this is to replace a wedged machine with a new one: a quick fly machine clone <machineID> should do the trick. For machines with attached volumes, there are generally two options:

  • For an app with Fly-launch managed machines, you should be able to scale down to 0 with fly scale count 0 , then scale back up: fly scale count n ( replacing n with your preferred number of machines. with n matching or less than the number of existing volumes )

  • Alternatively, you can also clone the volume and attach it to a new machine:

    • First option fork cloning a volume is to run a quick fork: fly volumes fork <volumeID> or
    • The second one is to clone from a snapshot: fly volumes create --snapshot-id <snapshotID> -s <sizeinGB> ( snapshot id can be found from fly volumes snapshots list <volumeID> ).
    • Once you have a new clone of the volume, go ahead and attach it to a new machine with fly machine clone <machineID> --attach-volume <newVolumeID>