Comment 7 for bug 1897946

Revision history for this message
Lee Trager (ltrager) wrote :

This[1] is the code MAAS uses. To see the difference you would need to delete the machine and readd it.

Most system information comes from

curl -G --unix-socket "/var/snap/lxd/common/lxd/unix.socket" "lxd/1.0/resources" 2>/dev/null | jq .metadata.system

CPU information comes from

curl -G --unix-socket "/var/snap/lxd/common/lxd/unix.socket" "lxd/1.0/resources" 2>/dev/null | jq .metadata.cpu

If the information coming from LXD isn't correct it will have to be fixed in LXD.

[1] https://git.launchpad.net/maas/tree/src/metadataserver/builtin_scripts/hooks.py#n412