2020-11-09 22:15:48 metadataserver.api: [critical] asrock-rechts.nl.pha.farm(sacra3): commissioning script '50-maas-01-commissioning' failed during post-processing.
Traceback (most recent call last):
File "/snap/maas/8980/lib/python3.6/site-packages/metadataserver/api.py", line 800, in signal target_status = process(node, request, status)
File "/snap/maas/8980/lib/python3.6/site-packages/metadataserver/api.py", line 622, in _process_commissioning
node, node.current_commissioning_script_set, request, status
File "/snap/maas/8980/lib/python3.6/site-packages/metadataserver/api.py", line 515, in _store_results
**args, timedout=(status == SIGNAL_STATUS.TIMEDOUT)
File "/snap/maas/8980/lib/python3.6/site-packages/metadataserver/models/scriptresult.py", line 391, in store_result exit_status=self.exit_status,
--- <exception caught here> ---
File "/snap/maas/8980/lib/python3.6/site-packages/metadataserver/api.py", line 441, in try_or_log_event func(*args, **kwargs)
File "/snap/maas/8980/lib/python3.6/site-packages/metadataserver/builtin_scripts/hooks.py", line 728, in process_lxd_results node.save()
File "/snap/maas/8980/lib/python3.6/site-packages/maasserver/models/node.py", line 1954, in save super(Node, self).save(*args, **kwargs)
File "/snap/maas/8980/lib/python3.6/site-packages/maasserver/models/cleansave.py", line 216, in save self.validate_unique(exclude=exclude_unique_fields)
File "/snap/maas/8980/usr/lib/python3/dist-packages/django/db/models/base.py", line 1041, in validate_unique
raise ValidationError(errors) django.core.exceptions.ValidationError: {'hardware_uuid': ['Node with this Hardware uuid already exists.']}
Hi,
The error i am now logging is:
2020-11-09 22:15:48 metadataserver.api: [critical] asrock- rechts. nl.pha. farm(sacra3) : commissioning script '50-maas- 01-commissionin g' failed during post-processing. maas/8980/ lib/python3. 6/site- packages/ metadataserver/ api.py" , line 800, in signal
target_ status = process(node, request, status) maas/8980/ lib/python3. 6/site- packages/ metadataserver/ api.py" , line 622, in _process_ commissioning commissioning_ script_ set, request, status maas/8980/ lib/python3. 6/site- packages/ metadataserver/ api.py" , line 515, in _store_results STATUS. TIMEDOUT) maas/8980/ lib/python3. 6/site- packages/ metadataserver/ models/ scriptresult. py", line 391, in store_result
exit_ status= self.exit_ status, maas/8980/ lib/python3. 6/site- packages/ metadataserver/ api.py" , line 441, in try_or_log_event
func( *args, **kwargs) maas/8980/ lib/python3. 6/site- packages/ metadataserver/ builtin_ scripts/ hooks.py" , line 728, in process_lxd_results
node. save() maas/8980/ lib/python3. 6/site- packages/ maasserver/ models/ node.py" , line 1954, in save
super( Node, self).save(*args, **kwargs) maas/8980/ lib/python3. 6/site- packages/ maasserver/ models/ cleansave. py", line 216, in save
self. validate_ unique( exclude= exclude_ unique_ fields) maas/8980/ usr/lib/ python3/ dist-packages/ django/ db/models/ base.py" , line 1041, in validate_unique (errors)
django. core.exceptions .ValidationErro r: {'hardware_uuid': ['Node with this Hardware uuid already exists.']}
Traceback (most recent call last):
File "/snap/
File "/snap/
node, node.current_
File "/snap/
**args, timedout=(status == SIGNAL_
File "/snap/
--- <exception caught here> ---
File "/snap/
File "/snap/
File "/snap/
File "/snap/
File "/snap/
raise ValidationError