PPC64 machines without disk serial fail condense LUNs

Bug #2052958 reported by Adam Collard
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Adam Collard
3.3
Fix Released
High
Björn Tillenius
3.4
Fix Released
High
Björn Tillenius

Bug Description

Feb 12 16:52:26 maas-system-maas regiond[18736]: metadataserver.api: [critical] steady-adder.systemtestsmaas(eq6qyr): commissioning script '50-maas-01-commissioning' failed during post-proc>
Feb 12 16:52:26 maas-system-maas regiond[18736]: Traceback (most recent call last):
Feb 12 16:52:26 maas-system-maas regiond[18736]: File "/usr/lib/python3/dist-packages/metadataserver/api.py", line 865, in signal
Feb 12 16:52:26 maas-system-maas regiond[18736]: target_status = process(node, request, status)
Feb 12 16:52:26 maas-system-maas regiond[18736]: File "/usr/lib/python3/dist-packages/metadataserver/api.py", line 680, in _process_commissioning
Feb 12 16:52:26 maas-system-maas regiond[18736]: self._store_results(
Feb 12 16:52:26 maas-system-maas regiond[18736]: File "/usr/lib/python3/dist-packages/metadataserver/api.py", line 563, in _store_results
Feb 12 16:52:26 maas-system-maas regiond[18736]: script_result.store_result(
Feb 12 16:52:26 maas-system-maas regiond[18736]: File "/usr/lib/python3/dist-packages/maasserver/models/scriptresult.py", line 373, in store_result
Feb 12 16:52:26 maas-system-maas regiond[18736]: signal_status = try_or_log_event(
Feb 12 16:52:26 maas-system-maas regiond[18736]: --- <exception caught here> ---
Feb 12 16:52:26 maas-system-maas regiond[18736]: File "/usr/lib/python3/dist-packages/metadataserver/api.py", line 481, in try_or_log_event
Feb 12 16:52:26 maas-system-maas regiond[18736]: func(*args, **kwargs)
Feb 12 16:52:26 maas-system-maas regiond[18736]: File "/usr/lib/python3/dist-packages/metadataserver/builtin_scripts/hooks.py", line 1170, in process_lxd_results
Feb 12 16:52:26 maas-system-maas regiond[18736]: _process_lxd_resources(node, data)
Feb 12 16:52:26 maas-system-maas regiond[18736]: File "/usr/lib/python3/dist-packages/metadataserver/builtin_scripts/hooks.py", line 643, in _process_lxd_resources
Feb 12 16:52:26 maas-system-maas regiond[18736]: storage_devices = _update_node_physical_block_devices(
Feb 12 16:52:26 maas-system-maas regiond[18736]: File "/usr/lib/python3/dist-packages/metadataserver/builtin_scripts/hooks.py", line 930, in _update_node_physical_block_devices
Feb 12 16:52:26 maas-system-maas regiond[18736]: for block_info in _condense_luns(data.get("storage", {}).get("disks", [])):
Feb 12 16:52:26 maas-system-maas regiond[18736]: File "/usr/lib/python3/dist-packages/metadataserver/builtin_scripts/hooks.py", line 787, in _condense_luns
Feb 12 16:52:26 maas-system-maas regiond[18736]: if disk["serial"] and (rexp_list := _MP_PATH_ID.get(proto)):
Feb 12 16:52:26 maas-system-maas regiond[18736]: builtins.KeyError: 'serial'
Feb 12 16:52:26 maas-system-maas regiond[18736]:

Related branches

Revision history for this message
Adam Collard (adam-collard) wrote :

https://paste.ubuntu.com/p/gTPQ4jq6tk/ is the LXD resources output for this server

Changed in maas:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Adam Collard (adam-collard)
milestone: none → 3.5.0
Changed in maas:
status: In Progress → Fix Committed
Changed in maas:
milestone: 3.5.0 → 3.5.0-beta1
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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