Ask Your Question
0

ERROR physical network provider does not exist

asked 2017-12-07 09:23:58 -0500

liaodalin19903 gravatar image

updated 2017-12-07 09:29:19 -0500

I install controller node and compute node in one server. when I install the compute service:

I use neutron agent-list shows nothing:

[root@controller ~]# neutron agent-list
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.

I check the /var/log/neutron/linuxbridge-agent.log, find it sayInterface ifcfg-enp2s0f0 for physical network provider does not exist.:

vim /var/log/neutron/linuxbridge-agent.log

2017-12-07 23:04:08.374 12766 INFO neutron.common.config [-] Logging enabled!
2017-12-07 23:04:08.375 12766 INFO neutron.common.config [-] /usr/bin/neutron-linuxbridge-agent version 10.0.0
2017-12-07 23:04:08.375 12766 INFO neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent [-] Interface mappings: {'provider': 'ifcfg-enp2s0f0'}
2017-12-07 23:04:08.375 12766 INFO neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent [-] Bridge mappings: {}
2017-12-07 23:04:08.382 12766 ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent [-] Interface ifcfg-enp2s0f0 for physical network provider does not exist. Agent terminated!

I use vim /etc/neutron/plugins/ml2/linuxbridge_agent.ini check my linuxbridge_agent.ini:

[linux_bridge]
physical_interface_mappings = provider:ifcfg-enp2s0f0

[securitygroup]
enable_security_group = True
firewall_driver = neutron.agent.linux.iptables_firewall.IptablesFirewallDriver

[vxlan]
enable_vxlan = True
local_ip = 10.1.1.120
l2_population = True

But however in my /etc/sysconfig/network-scripts/, I have ifcfg-enp2s0f0 and ifcfg-enp2s0f1 network-interfaces.

in my ifcfg-enp2s0f0:

TYPE="Ethernet"
BOOTPROTO="static"
DEFROUTE="yes"
IPV4_FAILURE_FATAL="no"
IPV6INIT="no"
IPV6_AUTOCONF="yes"
IPV6_DEFROUTE="yes"
IPV6_FAILURE_FATAL="no"
NAME="enp2s0f0"
UUID="2748d036-2377-4d8d-9753-52873fe03d3d"
DEVICE="enp2s0f0"
ONBOOT="yes"
IPADDR="100.35.202.1"
PREFIX="29"
IPADDR1="100.35.202.2"
PREFIX1="29"
IPADDR2="100.35.202.3"
PREFIX2="29"
IPADDR3="100.35.202.4"
PREFIX3="29"
IPADDR4="100.35.202.5"
PREFIX4="29"
GATEWAY="100.35.202.6"
DNS1="8.8.8.8"
IPV6_PEERDNS="yes"
IPV6_PEERROUTES="yes"
IPV6_PRIVACY="no"

in my ifcfg-enp2s0f1:

TYPE=Ethernet
BOOTPROTO=static
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=no
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
IPV6_FAILURE_FATAL=no
NAME=enp2s0f1
UUID=098161a9-4bae-4ff2-a768-eeaada509507
DEVICE=enp2s0f1
ONBOOT=yes
IPADDR=10.1.1.120
NETMASK=255.255.255.0
~

I don't know whtere is the issue, some friend can help me about it?

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
0

answered 2017-12-08 18:09:26 -0500

Your interface is named enp2s0f0, not ifcfg-enp2s0f0.

edit flag offensive delete link more

Comments

this is the answer thank you.

liaodalin19903 gravatar imageliaodalin19903 ( 2017-12-08 20:36:07 -0500 )edit

It seems to me that your mind was stuck. Of course, ifcfg-blabla is just a config file, not an interface name. In Debian-derived distros, there is no ifcfg-blabla at all. I am glad you got unstuck.

Bernd Bausch gravatar imageBernd Bausch ( 2017-12-08 20:53:29 -0500 )edit

@BerndBausch, I still can not show agent-list, can you take a look at this post? https://ask.openstack.org/en/question...

liaodalin19903 gravatar imageliaodalin19903 ( 2017-12-08 21:20:10 -0500 )edit
0

answered 2017-12-07 15:17:56 -0500

timi gravatar image

you probably need to map your provider network to your provider bridge in linuxbridge agent, not your physical interface

edit flag offensive delete link more

Comments

See my /etc/neutron/plugins/ml2/linuxbridge_agent.ini in my post.

liaodalin19903 gravatar imageliaodalin19903 ( 2017-12-07 20:52:16 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-12-07 09:23:58 -0500

Seen: 425 times

Last updated: Dec 08 '17