Tons of Linking <mac address> to <cluster interface> spam in log

Bug #1358852 reported by Jason Hobbs
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Low
Julian Edwards
1.6
Fix Released
Low
Julian Edwards

Bug Description

I have 41 nodes, I see a lot of stuff like this:

Aug 19 17:02:03 trusty-maas5 maas: [INFO] Linking 74:d4:35:89:be:9f to network maas-eth0

ubuntu@trusty-maas5:~$ wc -l /var/log/maas/maas.log
9146 /var/log/maas/maas.log
ubuntu@trusty-maas5:~$ grep Linking /var/log/maas/maas.log | wc -l
7234

Tags: trivial

Related branches

Revision history for this message
Raphaël Badin (rvb) wrote :

Yeah, I'm seeing this too in the lab. It looks like we do:
                        network.macaddress_set.add(mac_address)
                        maaslog.info(
                            "Linking %s to network %s",
                            mac_address, network.name)
(in src/maasserver/api/node_groups.py)

*Every time* we update the leases instead of first checking if the link between a Network and a MAC already exists.

Changed in maas:
importance: Undecided → Low
status: New → Triaged
tags: added: trivial
Changed in maas:
status: Triaged → In Progress
assignee: nobody → Julian Edwards (julian-edwards)
Changed in maas:
status: In Progress → Fix Committed
Changed in maas:
milestone: none → 1.7.0
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.