Misleading log message when a node has a MAC address not attached to a cluster interface

Bug #1381609 reported by Jason Hobbs
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Medium
Julian Edwards

Bug Description

When a node has two nics, and one isn't attached to a cluster interface, this error is reproted in maas.log:

[ERROR] horrible-hour.local: Tried to allocate an IP to MAC 74:d4:35:89:bd:2f but its cluster interface is not known

In fact, there was no attempt to allocate an IP to the MAC . The log message is generated from MACAddress.get_cluster_interfaces(), which is used in map_gateways() during preseed generation.

If this needs to be logged, it should be moved to the caller that uses get_cluster_interfaces() when allocating IPs.

This is r3254.

Tags: log

Related branches

description: updated
description: updated
Changed in maas:
status: New → Triaged
importance: Undecided → Medium
tags: added: log
Changed in maas:
milestone: none → next
Christian Reis (kiko)
Changed in maas:
milestone: next → 1.7.1
Changed in maas:
assignee: nobody → Julian Edwards (julian-edwards)
status: Triaged → 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

Remote bug watches

Bug watches keep track of this bug in other bug trackers.