Error during adding and commission 2.6.0


Only the first machine will get memory information. The rest of added machine get 0 GiB.
If I delete all machines and try with a new HW as the first to be added. That one will get correct memory info. This in a new installation of MAAS 2.6.0. We have this behavior.
The same error will appear during both adding a new HW and when doing commission.

I get this errors in the regiond.log:

2019-09-04 12:40:04 metadataserver.api: [critical] commissioning script ‘00-maas-01-lshw’ failed during post-processing.
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/metadataserver/”, line 746, in signal
target_status = process(node, request, status)
File “/usr/lib/python3/dist-packages/metadataserver/”, line 577, in _process_commissioning
node, node.current_commissioning_script_set, request, status)
File “/usr/lib/python3/dist-packages/metadataserver/”, line 493, in _store_results
**args, timedout=(status == SIGNAL_STATUS.TIMEDOUT))
File “/usr/lib/python3/dist-packages/metadataserver/models/”, line 323, in store_result
— —
File “/usr/lib/python3/dist-packages/metadataserver/”, line 422, in try_or_log_event
func(*args, **kwargs)
File “/usr/lib/python3/dist-packages/metadataserver/builtin_scripts/”, line 326, in update_hardware_details[‘memory’, ‘hardware_uuid’])
File “/usr/lib/python3/dist-packages/maasserver/models/”, line 1772, in save
super(Node, self).save(*args, **kwargs)
File “/usr/lib/python3/dist-packages/maasserver/models/”, line 213, in save
File “/usr/lib/python3/dist-packages/django/db/models/”, line 1041, in validate_unique
raise ValidationError(errors)
django.core.exceptions.ValidationError: {‘hardware_uuid’: [‘Node with this Hardware uuid already exists.’]}


Hi Lasse,

what kind of hardware are you trying to commission? It would be good if you could supply lshw output of two of the machines.

We read the machine UUID from lshw, which is supposed to be unique across systems (because otherwise it wouldn’t a a UUID)

It might be test to file a bug at, where you can attach the lshw output.


Hi Björn

All HW is the same spec in this MAAS region (Supermicro servers). And everyone gets the same uuid in the lshw output :face_with_raised_eyebrow: I will file a bug. Bug #1842872