Failed to gather resource information from arm64 node

Bug #1881117 reported by Björn Tillenius
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Adam Collard
2.7
Triaged
High
Lee Trager

Bug Description

When trying to commission an arm64 machine with 2.8.0~beta4 (8502-g.942cfc7e9), it gets into Failed Commissioning and 50-maas-01-commissioning is marked as failed.

The output of 50-maas-01-commissioning is:

  ERROR: Failed to retrieve CPU information: Failed to get CPU cache information: Failed to read "/sys/devices/system/cpu/cpu0/cache/index0/size": open /sys/devices/system/cpu/cpu0/cache/index0/size: no such file or directory

Related branches

Changed in maas:
status: New → Triaged
importance: Undecided → High
milestone: none → 2.8.0rc1
Revision history for this message
Stéphane Graber (stgraber) wrote :

Can we get a `find /sys/devices/system/cpu/cpu0/` please?

LXD skips caches if the cache directory or the level file are missing, sounds like in this case you have a directory, cache level by no size? not sure why the kernel would expose it that way...

Revision history for this message
Alberto Donato (ack) wrote :
Download full text (5.0 KiB)

ubuntu@arm64:~$ find /sys/devices/system/cpu/cpu0/
/sys/devices/system/cpu/cpu0/
/sys/devices/system/cpu/cpu0/uevent
/sys/devices/system/cpu/cpu0/hotplug
/sys/devices/system/cpu/cpu0/hotplug/target
/sys/devices/system/cpu/cpu0/hotplug/state
/sys/devices/system/cpu/cpu0/hotplug/fail
/sys/devices/system/cpu/cpu0/of_node
/sys/devices/system/cpu/cpu0/crash_notes_size
/sys/devices/system/cpu/cpu0/node0
/sys/devices/system/cpu/cpu0/power
/sys/devices/system/cpu/cpu0/power/runtime_active_time
/sys/devices/system/cpu/cpu0/power/runtime_active_kids
/sys/devices/system/cpu/cpu0/power/pm_qos_resume_latency_us
/sys/devices/system/cpu/cpu0/power/runtime_usage
/sys/devices/system/cpu/cpu0/power/runtime_status
/sys/devices/system/cpu/cpu0/power/autosuspend_delay_ms
/sys/devices/system/cpu/cpu0/power/async
/sys/devices/system/cpu/cpu0/power/runtime_suspended_time
/sys/devices/system/cpu/cpu0/power/runtime_enabled
/sys/devices/system/cpu/cpu0/power/control
/sys/devices/system/cpu/cpu0/online
/sys/devices/system/cpu/cpu0/topology
/sys/devices/system/cpu/cpu0/topology/physical_package_id
/sys/devices/system/cpu/cpu0/topology/core_siblings
/sys/devices/system/cpu/cpu0/topology/core_siblings_list
/sys/devices/system/cpu/cpu0/topology/thread_siblings_list
/sys/devices/system/cpu/cpu0/topology/core_id
/sys/devices/system/cpu/cpu0/topology/thread_siblings
/sys/devices/system/cpu/cpu0/cpu_capacity
/sys/devices/system/cpu/cpu0/cache
/sys/devices/system/cpu/cpu0/cache/uevent
/sys/devices/system/cpu/cpu0/cache/index2
/sys/devices/system/cpu/cpu0/cache/index2/uevent
/sys/devices/system/cpu/cpu0/cache/index2/power
/sys/devices/system/cpu/cpu0/cache/index2/power/runtime_active_time
/sys/devices/system/cpu/cpu0/cache/index2/power/runtime_active_kids
/sys/devices/system/cpu/cpu0/cache/index2/power/runtime_usage
/sys/devices/system/cpu/cpu0/cache/index2/power/runtime_status
/sys/devices/system/cpu/cpu0/cache/index2/power/autosuspend_delay_ms
/sys/devices/system/cpu/cpu0/cache/index2/power/async
/sys/devices/system/cpu/cpu0/cache/index2/power/runtime_suspended_time
/sys/devices/system/cpu/cpu0/cache/index2/power/runtime_enabled
/sys/devices/system/cpu/cpu0/cache/index2/power/control
/sys/devices/system/cpu/cpu0/cache/index2/shared_cpu_list
/sys/devices/system/cpu/cpu0/cache/index2/type
/sys/devices/system/cpu/cpu0/cache/index2/level
/sys/devices/system/cpu/cpu0/cache/index2/shared_cpu_map
/sys/devices/system/cpu/cpu0/cache/index0
/sys/devices/system/cpu/cpu0/cache/index0/uevent
/sys/devices/system/cpu/cpu0/cache/index0/power
/sys/devices/system/cpu/cpu0/cache/index0/power/runtime_active_time
/sys/devices/system/cpu/cpu0/cache/index0/power/runtime_active_kids
/sys/devices/system/cpu/cpu0/cache/index0/power/runtime_usage
/sys/devices/system/cpu/cpu0/cache/index0/power/runtime_status
/sys/devices/system/cpu/cpu0/cache/index0/power/autosuspend_delay_ms
/sys/devices/system/cpu/cpu0/cache/index0/power/async
/sys/devices/system/cpu/cpu0/cache/index0/power/runtime_suspended_time
/sys/devices/system/cpu/cpu0/cache/index0/power/runtime_enabled
/sys/devices/system/cpu/cpu0/cache/index0/power/control
/sys/devices/system/cpu/cpu0/cache/index0/shared_cpu_list
/sys/devices/system/cpu/cpu0/ca...

Read more...

Revision history for this message
Alberto Donato (ack) wrote :

Note that none of cpu entries have a "size" file:

ubuntu@arm64:~$ ls -l /sys/devices/system/cpu/cpu*/cache/index*/size
ls: cannot access '/sys/devices/system/cpu/cpu*/cache/index*/size': No such file or directory

Revision history for this message
Adam Collard (adam-collard) wrote :
Changed in maas:
assignee: nobody → Adam Collard (adam-collard)
Changed in maas:
status: Triaged → Fix Committed
Alberto Donato (ack)
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.