Processing LXD results failure with loopback

Bug #1925784 reported by Adam Collard
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
Björn Tillenius

Bug Description

2021-04-23 10:28:15 metadataserver.api: [critical] autopkgtest.maas(wgsfaa): commissioning script '50-maas-01-commissioning' failed during post-processing.
        Traceback (most recent call last):
          File "/usr/lib/python3/dist-packages/metadataserver/", line 820, in signal
            target_status = process(node, request, status)
          File "/usr/lib/python3/dist-packages/metadataserver/", line 641, in _process_commissioning
          File "/usr/lib/python3/dist-packages/metadataserver/", line 529, in _store_results
          File "/usr/lib/python3/dist-packages/metadataserver/models/", line 384, in store_result
            signal_status = try_or_log_event(
        --- <exception caught here> ---
          File "/usr/lib/python3/dist-packages/metadataserver/", line 447, in try_or_log_event
            func(*args, **kwargs)
          File "/usr/lib/python3/dist-packages/metadataserver/builtin_scripts/", line 1027, in process_lxd_results
            update_node_interfaces(node, data)
          File "/usr/lib/python3/dist-packages/provisioningserver/utils/", line 202, in wrapper
            result = func(*args, **kwargs)
          File "/usr/lib/python3/dist-packages/maasserver/utils/", line 721, in call_within_transaction
            return func_within_txn(*args, **kwargs)
          File "/usr/lib/python3.8/", line 75, in inner
            return func(*args, **kwds)
          File "/usr/lib/python3/dist-packages/metadataserver/builtin_scripts/", line 89, in update_node_interfaces
            settings = interfaces[name]
        builtins.KeyError: 'lo'

This is a regression in master given the recent branches landing

Related branches

Revision history for this message
Adam Collard (adam-collard) wrote : contains the commissioning data from this controller

Changed in maas:
status: New → Confirmed
status: Confirmed → Triaged
importance: Undecided → Critical
milestone: none → 3.0.0-beta5
Changed in maas:
assignee: nobody → Björn Tillenius (bjornt)
Changed in maas:
status: Triaged → Fix Committed
Changed in maas:
status: Fix Committed → In Progress
Changed in maas:
status: In Progress → Fix Committed
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