Tons of Linking <mac address> to <cluster interface> spam in log
Bug #1358852 reported by
Jason Hobbs
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@
9146 /var/log/
ubuntu@
7234
Related branches
lp:~julian-edwards/maas/remove-excessive-maclink-logging
- Raphaël Badin (community): Needs Information
- Julian Edwards (community): Approve (trivial)
-
Diff: 12 lines (+0/-3)1 file modifiedsrc/maasserver/api/node_groups.py (+0/-3)
lp:~julian-edwards/maas/backport-network-mac-linkage
- Julian Edwards (community): Approve
-
Diff: 431 lines (+249/-19)6 files modifiedsrc/maasserver/api.py (+19/-3)
src/maasserver/forms.py (+38/-0)
src/maasserver/models/network.py (+16/-0)
src/maasserver/models/tests/test_network.py (+39/-0)
src/maasserver/tests/test_api_nodegroup.py (+50/-13)
src/maasserver/tests/test_forms.py (+87/-3)
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.
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) api/node_ groups. py)
(in src/maasserver/
*Every time* we update the leases instead of first checking if the link between a Network and a MAC already exists.