Comment 11 for bug 2003310

Revision history for this message
Björn Tillenius (bjornt) wrote : Re: Pod must be on a known host if interfaces are specified.

Some observerations looking at https://oil-jenkins.canonical.com/artifacts/bd827ab3-7242-4f94-a1d2-cad7a93bbcb8/generated/generated/maas/logs-2023-03-08-01.58.05.tgz

leafeon and meinfoo seems fine, they have all scripts passing. swoobat have all scripts passing, except for 50-maas-01-commissioning and maas-list-modaliases, which are pending: https://pastebin.canonical.com/p/33x5WJfT2T/

Again, we see failures to update network interface configuration. But for leafeon, it seems like we eventually succeed: https://pastebin.canonical.com/p/YfDMJyyKpS/

For swoobat we see similar failures, but the script never gets marked as passed, as with leafeon: https://pastebin.canonical.com/p/XkVVZhwypb/

The error about failing to update network interfaces comes from NetworksMonitoringService.do_action():

       try:
            interfaces = yield maybeDeferred(self.getInterfaces)
            yield self._updateInterfaces(interfaces)
        except BaseException as e:
            msg = (
                "Failed to update and/or record network interface "
                "configuration: %s; interfaces: %r" % (e, interfaces)
            )
            log.err(None, msg)

so it's actually not clear where the error is actually happening.