Comment 13 for bug 1897946

Revision history for this message
Taihsiang Ho (tai271828) wrote : Re: [Bug 1897946] Re: hi1620-based ARM Servers are shown as "Unknown model"

I checked the JSON provided by Dann in comment#12
https://bugs.launchpad.net/kunpeng920/+bug/1897946/comments/12 and these
json files show:

    - For platform vendor name and platform product name they are all good.
All platform vendor and product names show correctly (all fields have
values) and consistent with the information provided by the json files,
fetched by "curl -G --unix-socket "/var/snap/lxd/common/lxd/unix.socket"
"lxd/1.0/resources" 2>/dev/null | jq .metadata.system.vendor" and "curl -G
--unix-socket "/var/snap/lxd/common/lxd/unix.socket" "lxd/1.0/resources"
2>/dev/null | jq .metadata.system.product"
    - For cpus of all platforms we don't have luck. All cpu names and cpu
vendor names for each platform are missing.

I checked the cpu informations with the following commands:

    - to show cpu name: jq .metadata.cpu.sockets[0].name file.json
    - to show cpu vendor name: jq .metadata.cpu.sockets[0].vendor file.json

and all of the platforms return "null" for their cpu name and cpu vendor
name. I expect they should have values[1].

I guess our next is to report the issue against LXD, keep MAAS "Triaged" as
is, and thanks Lee's informative help.

[1] For instance, a similar example tried on my laptop will show:

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

  <...skipped...>
  "sockets": [
    {
      "name": "Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz",
      "vendor": "GenuineIntel",
  <...skipped...>

On Fri, Oct 16, 2020 at 11:15 PM dann frazier <email address hidden>
wrote:

> fyi, I've collected lxd resource JSON from a number of ARM servers, and
> plan to see if there's an existing appropriate field I can recommend, or
> if we should flag a need for a new one.
>
> --
> You received this bug notification because you are a member of The
> Pearl2 Team, which is subscribed to kunpeng920.
> https://bugs.launchpad.net/bugs/1897946
>
> Title:
> hi1620-based ARM Servers are shown as "Unknown model"
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/kunpeng920/+bug/1897946/+subscriptions
>