Skip to content

Restarting a networking service generates warnings during loopback configuration #15117

@nazariig

Description

@nazariig

Description

Restarting the networking service produces warning message:

May 17 17:22:39.437459 r-leopard-01 INFO networking[148381]: warning: lo: post-up cmd 'ip addr del 127.0.0.1/8 dev lo' failed: returned 2 (RTNETLINK answers: Cannot assign requested address

This indicates an issue with a networking configuration in SONiC.

The culprit: #5353

Steps to reproduce the issue:

  1. Stop swss
service swss stop
  1. Restart networking
service networking restart

Describe the results you received:

May 17 17:22:38.674803 r-leopard-01 INFO systemd[1]: Stopping Network initialization...
May 17 17:22:38.692557 r-leopard-01 INFO networking[148335]: networking: Deconfiguring network interfaces
May 17 17:22:39.029514 r-leopard-01 INFO systemd[1]: networking.service: Succeeded.
May 17 17:22:39.031028 r-leopard-01 INFO systemd[1]: Stopped Network initialization.
May 17 17:22:39.035776 r-leopard-01 INFO systemd[1]: Starting Network initialization...
May 17 17:22:39.045325 r-leopard-01 INFO networking[148369]: networking: Configuring network interfaces
May 17 17:22:39.437459 r-leopard-01 INFO networking[148381]: warning: lo: post-up cmd 'ip addr del 127.0.0.1/8 dev lo' failed: returned 2 (RTNETLINK answers: Cannot assign requested address
May 17 17:22:39.437553 r-leopard-01 INFO networking[148381]: )
May 17 17:22:39.467299 r-leopard-01 INFO kernel: [14860.473137] 8021q: adding VLAN 0 to HW filter on device eth0
May 17 17:22:39.817921 r-leopard-01 INFO systemd[1]: Finished Network initialization.

Describe the results you expected:

No errors are expected

Output of show version:

  • N/A

Output of show techsupport:

  • N/A

Additional information you deem important (e.g. issue happens only occasionally):

  • N/A

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions