Error migrating from 2.9.42 to 3.0.3

Hi

I am following the steps to migrate between 2.9.42 to 3.0.3. Everything was working fine until I arrive to the migration part that I face the same error.

Machine 1 contains the old controller and Machine 2 contains the new one.

Model Controller Cloud/Region Version SLA Timestamp controller maas-cloud-controller5 maas-cloud/default 2.9.42 unsupported 18:47:25Z

Machine State Address Inst id Series AZ Message 0 started 192.168.10.23 Machine1 focal default Deployed

Model Controller Cloud/Region Version SLA Timestamp controller maas-cloud-controller-3.0 maas-cloud/default 3.0.3 unsupported 18:52:43Z

App Version Status Scale Charm Channel Rev Exposed Message controller active 1 juju-controller 3.0/stable 14 no

Unit Workload Agent Machine Public address Ports Message controller/0* active idle 0 192.168.10.177

Machine State Address Inst id Base AZ Message 0 started 192.168.10.177 machine2 ubuntu@22.04 default Deployed


Seems that connect fine to source and target however fails.

juju migrate default maas-cloud-controller-3.0 --debug 18:49:17 INFO juju.cmd supercommand.go:56 running juju [3.0.3 e53f8d9fd2d78a0cf3a36a0e4f0d79ec8f35243c gc go1.18.10] 18:49:17 DEBUG juju.cmd supercommand.go:57 args: []string{"/snap/juju/22197/bin/juju", “migrate”, “default”, “maas-cloud-controller-3.0”, “–debug”} 18:49:17 INFO juju.juju api.go:86 connecting to API addresses: [192.168.10.23:17070] 18:49:17 DEBUG juju.api apiclient.go:1167 successfully dialed “wss://192.168.10.23:17070/api” 18:49:17 INFO juju.api apiclient.go:702 connection established to “wss://192.168.10.23:17070/api” 18:49:17 DEBUG juju.api monitor.go:35 RPC connection died 18:49:17 INFO juju.juju api.go:86 connecting to API addresses: [192.168.10.177:17070] 18:49:17 DEBUG juju.api apiclient.go:1167 successfully dialed “wss://192.168.10.177:17070/api” 18:49:17 INFO juju.api apiclient.go:702 connection established to “wss://192.168.10.177:17070/api” 18:49:17 DEBUG juju.api monitor.go:35 RPC connection died 18:49:17 INFO juju.juju api.go:86 connecting to API addresses: [192.168.10.23:17070] 18:49:17 DEBUG juju.api apiclient.go:1167 successfully dialed “wss://192.168.10.23:17070/api” 18:49:17 INFO juju.api apiclient.go:702 connection established to “wss://192.168.10.23:17070/api” 18:49:20 DEBUG juju.api monitor.go:35 RPC connection died ERROR connect to target controller: dial tcp: lookup 192-168-10-0–24.maas-internal: i/o timeout 18:49:20 DEBUG cmd supercommand.go:537 error stack: connect to target controller: dial tcp: lookup 192-168-10-0–24.maas-internal: i/o timeout github.com/juju/juju/api/controller/controller.(*Client).InitiateMigration:362:

Could you help Me?

Kind Regards, Enrique

This could be a namespace isolation turned on, so making this false could help.