Machine resource discovery does not work for PPC
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Committed
|
Medium
|
Anton Troyanov |
Bug Description
(started from discourse: https:/
Hi Team
Context: the general “machine info” for our PPC nodes is empty, compared to x86_64 machines, where infromation is visible
Yak-shave:
1. The `20-maas-
2. The above script comes from a (go-)binary (see `src/host-
3. This binary uses the lxd/resources packages
4. The `system.
On PowerPC, DMI and such does not exists.
`lshw`, however, can retrieve the necessary information without problem.
It aparently uses the POWER device-tree (located at `/proc/device-tree` or `/sys/firmware/
which seems to be a tad more complex than the DMI-interface exposes in sysfs.
Fortunately, the `machine-
Related branches
- Jacopo Rota: Approve
- MAAS Lander: Approve
-
Diff: 67 lines (+12/-12)2 files modifiedsrc/host-info/go.mod (+4/-4)
src/host-info/go.sum (+8/-8)
Changed in maas: | |
status: | Incomplete → Triaged |
Changed in maas: | |
importance: | Undecided → Medium |
Changed in maas: | |
status: | Triaged → Fix Committed |
thanks for this. could you please use https:/ /maas.io/ docs/how- to-review- and-report- bugs to get us a few more pieces of information? not sure how to triage this one atm.