$ juju deploy ./ubuntu_458c7bd.charm ubuntu-local
Located local charm "ubuntu", revision 0
Deploying "ubuntu-local" from local charm "ubuntu", revision 0 on focal
$ juju refresh --path ./ubuntu_458c7bd.charm ubuntu-local
Added local charm "ubuntu", revision 1, to the model
$ juju refresh --path ./ubuntu_458c7bd.charm ubuntu-local
Added local charm "ubuntu", revision 2, to the model
$ juju refresh --path ./ubuntu_458c7bd.charm ubuntu-local
Added local charm "ubuntu", revision 3, to the model
$ juju refresh --path ./ubuntu_458c7bd.charm ubuntu-local
Added local charm "ubuntu", revision 4, to the model
$ juju refresh --path ./ubuntu_458c7bd.charm ubuntu-local
Added local charm "ubuntu", revision 5, to the model
$ juju refresh --path ./ubuntu_458c7bd.charm ubuntu-local
Added local charm "ubuntu", revision 6, to the model
$ juju deploy ./ubuntu_458c7bd.charm ubuntu-local-local
Located local charm "ubuntu", revision 7
Deploying "ubuntu-local-local" from local charm "ubuntu", revision 7 on focal
## migration at this point is successful, there must be a space in the local charm revisions.
$ juju refresh --path ./ubuntu_458c7bd.charm ubuntu-local-local
Added local charm "ubuntu", revision 8, to the model
$ juju migrate series dst
Model Controller Cloud/Region Version SLA Timestamp Notes
series localhost-localhost localhost/localhost 2.9.32 unsupported 19:27:10Z migrating: aborted, removing model from target controller: model data transfer failed, failed to migrate binaries: charm local:focal/ubuntu-8 unexpectedly assigned local:focal/ubuntu-7
App Version Status Scale Charm Channel Rev Exposed Message
ubuntu 20.04 active 1 ubuntu stable 20 no
ubuntu-again 20.04 active 1 ubuntu stable 20 no
ubuntu-local 20.04 active 1 ubuntu 6 no
ubuntu-local-local 20.04 active 1 ubuntu 8 no
Unit Workload Agent Machine Public address Ports Message
ubuntu-again/0* active idle 3 10.74.147.41
ubuntu-local-local/0* active idle 2 10.74.147.115
ubuntu-local/0* active idle 1 10.74.147.30
ubuntu/0* active idle 0 10.74.147.77
Machine State Address Inst id Series AZ Message
0 started 10.74.147.77 juju-8e304f-0 focal Running
1 started 10.74.147.30 juju-8e304f-1 focal Running
2 started 10.74.147.115 juju-8e304f-2 focal Running
3 started 10.74.147.41 juju-8e304f-3 focal Running
Is specific to local charms.
As long as the local charm revisions have no spaces, the model will migrate.
Workaround is to upgrade the local charms accordingly. Though the applications will never have the same revision, they just need to be sequential with no skips.