WARNING juju.apiserver.common.networkingcommon types.go:228 ignoring address ... for device "lo": ... not found

Bug #1951331 reported by Haw Loeung
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Joseph Phillips

Bug Description

Hi,

Seeing lots of these in the juju controller logs, I don't know why Juju is trying to check if the loopback interface (lo) has specific unit addresses:

| 2021-11-18 00:31:11 WARNING juju.apiserver.common.networkingcommon types.go:228 ignoring address "10.123.0.160" for device "lo": address and CIDR pair ("10.123.0.160", "") not found
| 2021-11-18 00:31:11 WARNING juju.apiserver.common.networkingcommon types.go:228 ignoring address "10.123.0.197" for device "lo": address and CIDR pair ("10.123.0.197", "") not found
| 2021-11-18 00:31:15 WARNING juju.apiserver.common.networkingcommon types.go:228 ignoring address "10.124.218.11" for device "lo": address and CIDR pair ("10.124.218.11", "") not found
| 2021-11-18 00:31:28 WARNING juju.apiserver.common.networkingcommon types.go:228 ignoring address "10.124.22.6" for device "lo": address and CIDR pair ("10.124.22.6", "") not found
| 2021-11-18 00:31:46 WARNING juju.apiserver.common.networkingcommon types.go:228 ignoring address "10.124.68.2" for device "lo": address and CIDR pair ("10.124.68.2", "") not found
| 2021-11-18 00:31:50 WARNING juju.apiserver.common.networkingcommon types.go:228 ignoring address "10.124.22.8" for device "lo": address and CIDR pair ("10.124.22.8", "") not found

This is on a recently upgraded 2.8.7 to 2.9.18 controller that's under heavy load.

Or maybe this is part of the "INFO juju.apiserver.common.networkingcommon linklayer.go:169 processing link-layer devices for machine" churn? Perhaps something to look into to try reduce load on the Juju controllers?

Haw Loeung (hloeung)
description: updated
description: updated
Changed in juju:
assignee: nobody → Joseph Phillips (manadart)
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Joseph Phillips (manadart) wrote (last edit ):

Is the model also updated to the controller's version here?

Can I get the output of "ip a" on one of these machines too?

Revision history for this message
Haw Loeung (hloeung) wrote :
Download full text (3.1 KiB)

Yeah, the model is updated to match the controllers version.

| 2021-11-18 22:00:52 WARNING juju.apiserver.common.networkingcommon types.go:228 ignoring address "10.15.190.45" for device "lo": address and CIDR pair ("10.15.190.45", "") not found
| 2021-11-18 22:00:52 WARNING juju.apiserver.common.networkingcommon types.go:228 ignoring address "10.15.190.46" for device "lo": address and CIDR pair ("10.15.190.46", "") not found

| ubuntu@juju-806ee7-stg-proposed-migration-41:~$ ip a
| 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
| link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
| inet 127.0.0.1/8 scope host lo
| valid_lft forever preferred_lft forever
| inet6 ::1/128 scope host
| valid_lft forever preferred_lft forever
| 2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
| link/ether fa:16:3e:5f:94:58 brd ff:ff:ff:ff:ff:ff
| inet 10.15.190.45/23 brd 10.15.191.255 scope global dynamic ens3
| valid_lft 81275sec preferred_lft 81275sec
| inet6 fe80::f816:3eff:fe5f:9458/64 scope link
| valid_lft forever preferred_lft forever
| 3: fan-252: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc noqueue state UP group default qlen 1000
| link/ether 4e:36:96:19:8f:97 brd ff:ff:ff:ff:ff:ff
| inet 252.22.128.1/8 scope global fan-252
| valid_lft forever preferred_lft forever
| inet6 fe80::4c36:96ff:fe19:8f97/64 scope link
| valid_lft forever preferred_lft forever
| 4: ftun0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc noqueue master fan-252 state UNKNOWN group default qlen 1000
| link/ether 4e:36:96:19:8f:97 brd ff:ff:ff:ff:ff:ff
| inet6 fe80::4c36:96ff:fe19:8f97/64 scope link
| valid_lft forever preferred_lft forever

| ubuntu@juju-806ee7-stg-proposed-migration-42:~$ ip a
| 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
| link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
| inet 127.0.0.1/8 scope host lo
| valid_lft forever preferred_lft forever
| inet6 ::1/128 scope host
| valid_lft forever preferred_lft forever
| 2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
| link/ether fa:16:3e:06:4e:d2 brd ff:ff:ff:ff:ff:ff
| inet 10.15.190.46/23 brd 10.15.191.255 scope global dynamic ens3
| valid_lft 83563sec preferred_lft 83563sec
| inet6 fe80::f816:3eff:fe06:4ed2/64 scope link
| valid_lft forever preferred_lft forever
| 3: fan-252: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc noqueue state UP group default qlen 1000
| link/ether 22:13:88:a8:8c:27 brd ff:ff:ff:ff:ff:ff
| inet 252.23.0.1/8 scope global fan-252
| valid_lft forever preferred_lft forever
| inet6 fe80::2013:88ff:fea8:8c27/64 scope link
| valid_lft forever preferred_lft forever
| 4: ftun0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc noqueue master fan-252 state UNKNOWN group default qlen 1000
| link/ether 22:13:88:a8:8c:27 brd ff:ff:ff:ff:ff:ff
| inet6 fe80::2013:88ff:fea8:8c27/64 scope link
| valid_lft forever pr...

Read more...

Changed in juju:
milestone: none → 2.9.20
Revision history for this message
Joseph Phillips (manadart) wrote :

This is being seen due to the churn on prodstack.

Machine agents coming up will update their link-layer devices and addresses. This is being seen so frequently because those agents are bouncing.

I've changed the level to INFO, because it shouldn't really be a warning, but in general we do want to surface when addresses are not assigned to devices.

I've also updated the log lines that indicate the device update activity itself so that we include the source and the model. This will make less of those entries appear to be duplicates.

Changed in juju:
status: In Progress → Fix Committed
Revision history for this message
Haw Loeung (hloeung) wrote :

Logging level to INFO or not, do we care about addresses configured/missing on the loopback interface (device "lo")? It's just added noise. In fact, it might be worth excluding that interface so juju does less saving CPU cycles?

Ian Booth (wallyworld)
Changed in juju:
milestone: 2.9.20 → 2.9.21
Changed in juju:
status: Fix Committed → Fix Released
Revision history for this message
Joseph Phillips (manadart) wrote :

Acknowledged regarding the loopback devices.

I'll have a look at the latest logs now that the detail is refined, and determine a course of action.

Revision history for this message
Joseph Phillips (manadart) wrote :

Interesting that the addresses are coming from the provider itself.

Changed in juju:
status: Fix Released → Opinion
status: Opinion → In Progress
milestone: 2.9.21 → 2.9.23
Changed in juju:
importance: Medium → High
Revision history for this message
Joseph Phillips (manadart) wrote :

This should be addressed by:
https://github.com/juju/juju/pull/13625

Changed in juju:
status: In Progress → Fix Committed
Ian Booth (wallyworld)
Changed in juju:
milestone: 2.9.23 → 2.9.24
Revision history for this message
Achilleas Anagnostopoulos (achilleasa) wrote :

The instancepoller worker contained fallback logic that would generate (and report) fake NIC devices when the underlying substrate did not implement support for enumerating network interfaces (affects the Azure and Openstack providers)

We have landed the following PRs to address this issue:
- https://github.com/juju/juju/pull/13634 and https://github.com/juju/juju/pull/13658 (Azure)
- https://github.com/juju/juju/pull/13648 (Openstack)

As the above patches made the instancepoller worker's fallback logic redundant, we have removed it via https://github.com/juju/juju/pull/13649.

Ian Booth (wallyworld)
Changed in juju:
milestone: 2.9.24 → 2.9.25
Revision history for this message
Joseph Phillips (manadart) wrote :

We needed https://github.com/juju/juju/pull/13716 as a follow up for the O7k provider.

Changed in juju:
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.