juju model migration resets 'Inst id' display in juju status output
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Committed
|
Low
|
Caner Derici |
Bug Description
Juju 2.9.22, migrating from a controller running Xenial to one running Focal, both provided by Maas.
On the original model when I run 'juju status' I get the display name of machines in the Inst id column, e.g.
Model Controller Cloud/Region Version SLA Timestamp
bootstack-
App Version Status Scale Charm Store Channel Rev OS Message
nagios unknown 1 nagios charmstore stable 46 ubuntu Waiting for agent initialization to finish
thruk-agent unknown 1 thruk-agent charmstore stable 13 ubuntu Waiting for agent initialization to finish
Unit Workload Agent Machine Public address Ports Message
nagios/2* active idle 43 10.36.2.3 80/tcp ready
thruk-agent/3* active idle 10.36.2.3 ready
Machine State DNS Inst id Series AZ Message
43 started 10.36.2.3 nagios bionic default Deployed
After the upgrade, the "Inst id" column displays the Maas machine ID.
If I run 'juju show-machine 43' it shows me `hostname: nagios`, `instance-id: xn3qm4`, `dns-name: 10.36.2.3`, but previously there was also a `display-name: nagios` field which seems to have disappeared on migration.
Is there any way to get these back?
description: | updated |
Changed in juju: | |
assignee: | nobody → Caner Derici (cderici) |
Changed in juju: | |
status: | Triaged → Fix Committed |
Doubled checked the migration export and import code, the DisplayName is not included in the description package, nor part of newCloudInstanc eArgs. Migration needs to be updated.