Model migration fails on large model
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Tim Penhey |
Bug Description
# Versions
Juju 2.1.2
MAAS 2.1.3
# Issue
When trying to migrate a larger model for an OpenStack deployment, it fails after a few seconds.
# Error message from machine-0.log on the source controller we are migrating from
2017-04-06 09:37:06 ERROR juju.worker.
@maas:~$ juju list-controllers
Controller Model User Access Cloud/Region Models Machines HA Version
prodcont2* controller admin superuser prodmaas 2 1 none 2.1.2
prodcont3 controller admin superuser prodmaas 2 1 none 2.1.2
@maas:~$ juju list-models -c prodcont2
Controller: prodcont2
Model Cloud/Region Status Machines Cores Access Last connection
controller* prodmaas available 1 2 admin just now
default prodmaas available 0 - admin 22 hours ago
newtest prodmaas available 0 - admin 19 minutes ago
testos prodmaas available 40 362 admin 5 minutes ago
@maas:~$ juju list-models -c prodcont3
Controller: prodcont3
Model Cloud/Region Status Machines Cores Access Last connection
controller* prodmaas available 1 2 admin just now
default prodmaas available 0 - admin 13 hours ago
testmodel prodmaas available 2 2 admin 23 minutes ago
@maas:~$ juju migrate testos prodcont3 --debug --show-log
11:37:12 INFO juju.cmd supercommand.go:63 running juju [2.1.2 gc go1.6.2]
11:37:12 DEBUG juju.cmd supercommand.go:64 args: []string{"juju", "--show-log", "migrate", "testos", "prodcont3", "--debug"}
11:37:12 INFO juju.juju api.go:72 connecting to API addresses: [10.xx.y.183:17070]
11:37:12 DEBUG juju.api apiclient.go:590 dialing "wss://
11:37:12 DEBUG juju.api apiclient.go:593 successfully dialed "wss://
11:37:12 INFO juju.api apiclient.go:521 connection established to "wss://
11:37:13 DEBUG juju.juju api.go:263 API hostnames unchanged - not resolving
11:37:18 INFO cmd cmd.go:129 Migration started with ID "a4590c27-
11:37:18 INFO cmd supercommand.go:465 command finished
Changed in juju: | |
status: | Incomplete → New |
Changed in juju: | |
milestone: | 2.2-beta3 → 2.2-beta2 |
Changed in juju: | |
status: | Incomplete → New |
Changed in juju: | |
status: | New → Triaged |
Changed in juju: | |
status: | Triaged → In Progress |
milestone: | 2.2-beta2 → 2.2-rc1 |
Changed in juju: | |
status: | Fix Committed → Fix Released |
Hmm... something is clearly wrong here.
Can I get you to do the following please?
juju model-config -m controller logging- config= juju=debug
then do this:
grab the logs from the controller:
juju debug-log --location -m controller
and in another shell, do this:
JUJU_ DEV_FEATURE_ FLAGS=developer -mode juju dump-model -m testos
This should help us work out where it is failing.