JUJU migrate model for manual-cloud controller fails with TLS issue.

Juju migrate model for manual-cloud controller fails with TLS issue.

Trying to migrate model from juju v3.1.5 to v3.2.3 for manually provisioned controllers

Any help would be much appreciated. Thank you.

Note: Model migration succeeded for LXD (localhost cloud) bootstrapped controllers but fails with manual-cloud controllers.

Failed for manual-cloud:

root@client:~# juju controllers
Use --refresh option with this command to see the latest information.

Controller            Model  User   Access     Cloud/Region          Models  Nodes    HA  Version
manual-cloud-default  ceph   admin  superuser  manual-cloud/default       2      1  none  3.1.5
manual-cloud1*        -      admin  superuser  manual-cloud/default       1      1  none  3.2.3

root@client:~# juju clouds
Only clouds with registered credentials are shown.
There are more clouds, use --all to see them.

Clouds available on the controller:
Cloud         Regions  Default  Type
manual-cloud  1        default  manual

Clouds available on the client:
Cloud         Regions  Default    Type    Credentials  Source    Description
localhost     1        localhost  lxd     0            built-in  LXD Container Hypervisor
manual-cloud  1        default    manual  0            local

root@client:~# juju switch manual-cloud-default:ceph
manual-cloud1 (controller) -> manual-cloud-default:admin/ceph

root@client:~# juju migrate ceph manual-cloud1
Migration started with ID "f076d0ff-da92-4b30-8b33-3b9f7c9cf9b7:0"

Migratio-Log:

  status:
    current: available
    message: 'migrating: aborted, removing model from target controller: validating,
      some agents reported failure'
    since: 1 minute ago
    migration: 'aborted, removing model from target controller: validating, some agents
      reported failure'
    migration-start: 1 minute ago
    migration-end: 1 minute ago

Debug-Log:

machine-0: 20:20:35 INFO juju.worker.migrationminion migration phase is now: IMPORT
machine-0: 20:20:39 INFO juju.worker.migrationminion migration phase is now: VALIDATION
machine-0: 20:20:40 ERROR juju.worker.migrationminion validation failed: failed to open API to target controller: unable to connect to API: tls: failed to verify certificate: x509: certificate has expired o         r is not yet valid: current time 2023-10-03T20:20:40Z is before 2023-10-06T03:32:00Z
machine-0: 20:20:40 INFO juju.worker.migrationminion migration phase is now: VALIDATION
machine-0: 20:20:44 ERROR juju.worker.migrationminion validation failed: failed to open API to target controller: unable to connect to API: tls: failed to verify certificate: x509: certificate has expired o         r is not yet valid: current time 2023-10-03T20:20:44Z is before 2023-10-06T03:32:00Z
machine-0: 20:20:44 INFO juju.worker.migrationminion migration phase is now: VALIDATION
machine-0: 20:20:50 ERROR juju.worker.migrationminion validation failed: failed to open API to target controller: unable to connect to API: tls: failed to verify certificate: x509: certificate has expired o         r is not yet valid: current time 2023-10-03T20:20:50Z is before 2023-10-06T03:32:00Z
machine-0: 20:20:50 INFO juju.worker.migrationminion migration phase is now: ABORT

Success:(lxd cloud)

user@juju:~$ juju controllers
Use --refresh option with this command to see the latest information.

Controller           Model  User   Access     Cloud/Region         Models  Nodes    HA  Version
lxd-dest-323*        ceph   admin  superuser  localhost/localhost       2      1  none  3.2.3
lxd-source           ceph   admin  superuser  localhost/localhost       2      1  none  3.1.5