[openstack-dev] [Neutron][Kolla][ovs-discuss] error when starting neutron-openvswitch-agent service
Qiao, Liyong
liyong.qiao at intel.com
Mon Jun 6 14:57:54 UTC 2016
6: ovs-system: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
link/ether 3e:c8:1d:8e:b5:5b brd ff:ff:ff:ff:ff:ff
7: br-ex: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
link/ether 1c:6f:65:05:37:11 brd ff:ff:ff:ff:ff:ff
8: br-int: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
link/ether 32:0d:72:8d:d6:42 brd ff:ff:ff:ff:ff:ff
9: br-tun: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
link/ether ea:d4:72:22:e2:4f brd ff:ff:ff:ff:ff:ff
I noted that these devices are not in UP state, you’d better to check them first.
Best Regards,
Qiao, Liyong (Eli) OTC SSG Intel
------------------------------------------------
此致
敬礼!
英特尔(中国)有限公司软件与服务部开源技术中心 乔立勇
From: hu.zhijiang at zte.com.cn [mailto:hu.zhijiang at zte.com.cn]
Sent: Monday, June 06, 2016 6:54 PM
To: openstack-dev at lists.openstack.org
Subject: [openstack-dev] [Neutron][Kolla][ovs-discuss] error when starting neutron-openvswitch-agent service
Hi Guys,
I am new to Neutron Kolla and OVS, I was trying to deploy Mitaka on CeontOS in a all-in-one environment using Kolla. After a successful deploying I realized that I should disable NetworkManager service roughly according to: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux_OpenStack_Platform/3/html/Installation_and_Configuration_Guide/Disabling_Network_Manager.html
But when I disabled NetworkManager and restarted network service (probably host machine also restarted), I cannot ping from my gateway through the external interface.
Here is the relevant log of ovs:
2016-06-06 09:19:37.278 1 INFO neutron.common.config [-] Logging enabled!
2016-06-06 09:19:37.283 1 INFO neutron.common.config [-] /usr/bin/neutron-openvswitch-agent version 8.0.0
2016-06-06 09:19:43.035 1 INFO neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [req-5b368888-4eae-45d0-8240-ed9e76b04a73 - - - - -] Mapping physical network physnet1 to bridge br-ex
2016-06-06 09:19:45.236 1 ERROR neutron.agent.ovsdb.impl_vsctl [req-5b368888-4eae-45d0-8240-ed9e76b04a73 - - - - -] Unable to execute ['ovs-vsctl', '--timeout=10', '--oneline', '--format=json', '--', '--columns=type', 'list', 'Interface', 'int-br-ex']. Exception: Exit code: 1; Stdin: ; Stdout: ; Stderr: ovs-vsctl: no row "int-br-ex" in table Interface
2016-06-06 09:19:49.979 1 INFO neutron.agent.l2.extensions.manager [req-5b368888-4eae-45d0-8240-ed9e76b04a73 - - - - -] Loaded agent extensions: []
2016-06-06 09:19:52.185 1 WARNING neutron.agent.securitygroups_rpc [req-5b368888-4eae-45d0-8240-ed9e76b04a73 - - - - -] Firewall driver neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver doesn't accept integration_bridge parameter in __init__(): __init__() got an unexpected keyword argument 'integration_bridge'
2016-06-06 09:19:53.204 1 INFO neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [req-5b368888-4eae-45d0-8240-ed9e76b04a73 - - - - -] Agent initialized successfully, now running...
2016-06-06 09:19:53.733 1 INFO neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [req-5b368888-4eae-45d0-8240-ed9e76b04a73 - - - - -] Configuring tunnel endpoints to other OVS agents
I use enp0s35 as both the VIP interface and the external interface because the host only has one interface...
Here is the ip addr result before the deployment of enp0s35:
2: enp0s25: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 1c:6f:65:05:37:11 brd ff:ff:ff:ff:ff:ff
inet 10.43.114.40/24 brd 10.43.114.255 scope global dynamic enp0s25
valid_lft 10429sec preferred_lft 10429sec
inet6 fe80::1e6f:65ff:fe05:3711/64 scope link
valid_lft forever preferred_lft forever
Here is the ip addr result after the deployment
2: enp0s25: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master ovs-system state UP qlen 1000
link/ether 1c:6f:65:05:37:11 brd ff:ff:ff:ff:ff:ff
inet 10.43.114.40/24 brd 10.43.114.255 scope global dynamic enp0s25
valid_lft 7846sec preferred_lft 7846sec
inet 10.43.114.149/32 scope global enp0s25
valid_lft forever preferred_lft forever
inet6 fe80::1e6f:65ff:fe05:3711/64 scope link
valid_lft forever preferred_lft forever
6: ovs-system: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
link/ether 3e:c8:1d:8e:b5:5b brd ff:ff:ff:ff:ff:ff
7: br-ex: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
link/ether 1c:6f:65:05:37:11 brd ff:ff:ff:ff:ff:ff
8: br-int: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
link/ether 32:0d:72:8d:d6:42 brd ff:ff:ff:ff:ff:ff
9: br-tun: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
link/ether ea:d4:72:22:e2:4f brd ff:ff:ff:ff:ff:ff
Please help to see how to locate solve such kind of problem, many thanks!
Zhijiang
--------------------------------------------------------
ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s). If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited. If you have received this mail in error, please delete it and notify us immediately.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160606/884d41c6/attachment.html>
More information about the OpenStack-dev
mailing list