Unable to start pf9-neutron-ovs-agent on the Node

Problem

  • Unable to start pf9-neutron-ovs-agent on the node.

  • The status of the service shows as stopped.

$ /etc/init.d/pf9-neutron-ovs-agent statusneutron-ovsd is stopped

Below errors are reported in /var/log/pf9/pf9-neutron-ovs-agent.log

ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [-] Tunneling can't be enabled with invalid local_ip '10.113.4.9'. IP couldn't be found on this host's interfaces.ESC[00m

Environment

  • Platform9 Managed OpenStack All Versions

  • Neutron

Cause

  • In ml2_conf.ini file the local_ip value is set as 10.113.4.9

$ cat /opt/pf9/etc/pf9-neutron-ovs-agent/ml2_conf.ini | grep local_iplocal_ip = 10.113.4.9

This IP is not assigned to any interface on this host.

  • On the other working hosts, we can see that a correct IP is assigned.

$ cat /opt/pf9/etc/pf9-neutron-ovs-agent/ml2_conf.ini | grep local_iplocal_ip = 10.113.4.17$

$ ifconfig enp4s0.572 [< this device name will vary depending on your host.]
enp4s0.572: flags=4163<UP,BROADCAST,RUNNING,MULTICAST] mtu 1500
inet 10.113.4.17 netmask 255.255.252.0 broadcast 10.113.7.255
inet6 fe80::225:90ff:fec3:17b1 prefixlen 64 scopeid 0x20[link]
ether 00:25:90:c3:17:b1 txqueuelen 1000 (Ethernet)
RX packets 75265 bytes 3981368 (3.7 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 14 bytes 908 (908.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

Resolution

To fix this we need to assign a correct IP for local_ip value as assigned to a network interface by editing it in the file /opt/pf9/etc/pf9-neutron-ovs-agent/ml2_conf.ini.

``