netplan.io's secondary IP address feature causes snmpd errors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
net-snmp (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
netplan.io (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
netplan doesn't provide for interface aliases (for example: eth0:0), however, assigning two IP addresses to an interface the way netplan does causes snmpd to produce numerous "error on subcontainer 'ia_addr' insert (-1)" entries in syslog reported by snmpd. This should'nt happen and is either a problem with snmpd or netplan. This also occurs on non-netplan systems (for example, Ubuntu 16.04 using keepalived) when a secondary IP address is added without making it an alias. Ubuntu 16.04 systems using interface aliases do not experience this problem. If needed, I can supply information from the Ubuntu 16.04 systems.
apt-cache policy netplan.io
netplan.io:
Installed: 0.40.1~18.04.4
Candidate: 0.40.1~18.04.4
Version table:
*** 0.40.1~18.04.4 500
500 http://
500 http://
100 /var/lib/
0.36.1 500
500 http://
apt-cache policy snmpd
snmpd:
Installed: 5.7.3+dfsg-
Candidate: 5.7.3+dfsg-
Version table:
*** 5.7.3+dfsg-
500 http://
500 http://
100 /var/lib/
5.
500 http://
apport-collect is not cooperating on this headless system. Hopefully the attached apport-cli runs against snmpd and netplan will help.