50-maas-01-commissioning Fails with invalid negative size

Bug #2011327 reported by cberg07@gmail.com
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Expired
Undecided
Unassigned

Bug Description

Using MAAS 3.3.0 -- 50-maas-01-commissioning output attached

Running against a dell r17 with numa nodes

2023-03-12 05:49:38 metadataserver.api: [critical] frank-worm.maas(g4faxp): commissioning script '50-maas-01-commissioning' failed during post-processing.
 Traceback (most recent call last):
   File "/snap/maas/25850/lib/python3.10/site-packages/metadataserver/api.py", line 860, in signal
     target_status = process(node, request, status)
   File "/snap/maas/25850/lib/python3.10/site-packages/metadataserver/api.py", line 682, in _process_commissioning
     self._store_results(
   File "/snap/maas/25850/lib/python3.10/site-packages/metadataserver/api.py", line 565, in _store_results
     script_result.store_result(
   File "/snap/maas/25850/lib/python3.10/site-packages/metadataserver/models/scriptresult.py", line 372, in store_result
     signal_status = try_or_log_event(
 --- <exception caught here> ---
   File "/snap/maas/25850/lib/python3.10/site-packages/metadataserver/api.py", line 483, in try_or_log_event
     func(*args, **kwargs)
   File "/snap/maas/25850/lib/python3.10/site-packages/metadataserver/builtin_scripts/hooks.py", line 1123, in process_lxd_results
     _process_lxd_resources(node, data)
   File "/snap/maas/25850/lib/python3.10/site-packages/metadataserver/builtin_scripts/hooks.py", line 637, in _process_lxd_resources
     storage_devices = _update_node_physical_block_devices(
   File "/snap/maas/25850/lib/python3.10/site-packages/metadataserver/builtin_scripts/hooks.py", line 881, in _update_node_physical_block_devices
     custom_layout = get_storage_layout(custom_storage_config)
   File "/snap/maas/25850/lib/python3.10/site-packages/maasserver/storage_custom.py", line 138, in get_storage_layout
     entries = _get_storage_entries(config["layout"])
   File "/snap/maas/25850/lib/python3.10/site-packages/maasserver/storage_custom.py", line 493, in _get_storage_entries
     entries = _flatten(config)
   File "/snap/maas/25850/lib/python3.10/site-packages/maasserver/storage_custom.py", line 315, in _flatten
     items.extend(flattener(name, data))
   File "/snap/maas/25850/lib/python3.10/site-packages/maasserver/storage_custom.py", line 253, in _flatten_lvm
     size=_get_size(volume["size"]),
   File "/snap/maas/25850/lib/python3.10/site-packages/maasserver/storage_custom.py", line 556, in _get_size
     raise ConfigError(f"Invalid negative size '{size}'")
 maasserver.storage_custom.ConfigError: Invalid negative size '-28G'

Revision history for this message
cberg07@gmail.com (cberg07) wrote :
Revision history for this message
Jack Lloyd-Walters (lloydwaltersj) wrote :

The attached log output shows the ext4 partition "var_lib" with "size": "-34G", So while I can't see a -28G partition dedicated, there is definitely a negative assigned.

Could you further explain your issue: were you not expecting a negative size?

Changed in maas:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for MAAS because there has been no activity for 60 days.]

Changed in maas:
status: Incomplete → Expired
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.