Looking in the log reveals:
2017-09-18 06:39:40 ERROR juju.worker.migrationmaster.2780ee worker.go:279 model data transfer failed, model export failed: failed to read status history collection: Executor error during find command: OperationFailed: Sort operation used more than the maximum 33554432 bytes of RAM. Add an index, or specify a smaller limit.
The status history collection didn't have an index that was needed by migration - {"model-uuid", "-updated", "-_id"}
This was fixed in https://github.com/juju/juju/pull/7722 (so not in 2.2.2, but in 2.2.3+).
Looking in the log reveals: migrationmaster .2780ee worker.go:279 model data transfer failed, model export failed: failed to read status history collection: Executor error during find command: OperationFailed: Sort operation used more than the maximum 33554432 bytes of RAM. Add an index, or specify a smaller limit.
2017-09-18 06:39:40 ERROR juju.worker.
The status history collection didn't have an index that was needed by migration - {"model-uuid", "-updated", "-_id"} /github. com/juju/ juju/pull/ 7722 (so not in 2.2.2, but in 2.2.3+).
This was fixed in https:/