[Bug 1630968] Re: neutron-openvswitch-agent - error on startup
James Page
james.page at ubuntu.com
Thu Oct 6 14:46:47 UTC 2016
The change to the systemd unit file should cope with running in a
container; its an opportunistic load of the model, and the return code
of the modprobe call is ignored.
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to neutron in Ubuntu.
https://bugs.launchpad.net/bugs/1630968
Title:
neutron-openvswitch-agent - error on startup
Status in Ubuntu Cloud Archive:
Triaged
Status in neutron package in Ubuntu:
Triaged
Bug description:
Looks like n-ovs-agent also needs a modprobe of br_netfilter on
startup:
Oct 6 10:29:44 ubuntu neutron-openvswitch-agent[19914]: 2016-10-06 10:29:44.438 19914 ERROR neutron.agent.linux.utils [req-7e1b9f4f-92a7-4e10-8364-b20ec5fde487 - - - - -] Exit code: 255; Stdin: ; Stdout: ; Stderr: sysctl: cannot stat /proc/sys/net/bridge/bridge-nf-call-arptables: No such file or directory
Oct 6 10:29:45 ubuntu kernel: [ 1194.880868] Bridge firewalling registered
Oct 6 10:29:46 ubuntu neutron-openvswitch-agent[19914]: 2016-10-06 10:29:46.976 19914 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [req-7e1b9f4f-92a7-4e10-8364-b20ec5fde487 - - - - -] Error while processing VIF ports
Oct 6 10:29:46 ubuntu neutron-openvswitch-agent[19914]: 2016-10-06 10:29:46.976 19914 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent Traceback (most recent call last):
Oct 6 10:29:46 ubuntu neutron-openvswitch-agent[19914]: 2016-10-06 10:29:46.976 19914 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py", line 2047, in rpc_loop
Oct 6 10:29:46 ubuntu neutron-openvswitch-agent[19914]: 2016-10-06 10:29:46.976 19914 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent port_info, ovs_restarted)
Oct 6 10:29:46 ubuntu neutron-openvswitch-agent[19914]: 2016-10-06 10:29:46.976 19914 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/usr/lib/python2.7/dist-packages/osprofiler/profiler.py", line 154, in wrapper
Oct 6 10:29:46 ubuntu neutron-openvswitch-agent[19914]: 2016-10-06 10:29:46.976 19914 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent return f(*args, **kwargs)
Oct 6 10:29:46 ubuntu neutron-openvswitch-agent[19914]: 2016-10-06 10:29:46.976 19914 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py", line 1655, in process_network_ports
Oct 6 10:29:46 ubuntu neutron-openvswitch-agent[19914]: 2016-10-06 10:29:46.976 19914 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent port_info.get('updated', set()))
Oct 6 10:29:46 ubuntu neutron-openvswitch-agent[19914]: 2016-10-06 10:29:46.976 19914 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/usr/lib/python2.7/dist-packages/neutron/agent/securitygroups_rpc.py", line 265, in setup_port_filters
Oct 6 10:29:46 ubuntu neutron-openvswitch-agent[19914]: 2016-10-06 10:29:46.976 19914 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent self.prepare_devices_filter(new_devices)
Oct 6 10:29:46 ubuntu neutron-openvswitch-agent[19914]: 2016-10-06 10:29:46.976 19914 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/usr/lib/python2.7/dist-packages/neutron/agent/securitygroups_rpc.py", line 130, in decorated_function
Oct 6 10:29:46 ubuntu neutron-openvswitch-agent[19914]: 2016-10-06 10:29:46.976 19914 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent *args, **kwargs)
Oct 6 10:29:46 ubuntu neutron-openvswitch-agent[19914]: 2016-10-06 10:29:46.976 19914 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/usr/lib/python2.7/dist-packages/neutron/agent/securitygroups_rpc.py", line 138, in prepare_devices_filter
Oct 6 10:29:46 ubuntu neutron-openvswitch-agent[19914]: 2016-10-06 10:29:46.976 19914 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent self._apply_port_filter(device_ids)
Oct 6 10:29:46 ubuntu neutron-openvswitch-agent[19914]: 2016-10-06 10:29:46.976 19914 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/usr/lib/python2.7/dist-packages/neutron/agent/securitygroups_rpc.py", line 163, in _apply_port_filter
Oct 6 10:29:46 ubuntu neutron-openvswitch-agent[19914]: 2016-10-06 10:29:46.976 19914 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent self.firewall.prepare_port_filter(device)
Oct 6 10:29:46 ubuntu neutron-openvswitch-agent[19914]: 2016-10-06 10:29:46.976 19914 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/iptables_firewall.py", line 170, in prepare_port_filter
Oct 6 10:29:46 ubuntu neutron-openvswitch-agent[19914]: 2016-10-06 10:29:46.976 19914 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent self._enable_netfilter_for_bridges()
Oct 6 10:29:46 ubuntu neutron-openvswitch-agent[19914]: 2016-10-06 10:29:46.976 19914 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/iptables_firewall.py", line 114, in _enable_netfilter_for_bridges
Oct 6 10:29:46 ubuntu neutron-openvswitch-agent[19914]: 2016-10-06 10:29:46.976 19914 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent run_as_root=True)
Oct 6 10:29:46 ubuntu neutron-openvswitch-agent[19914]: 2016-10-06 10:29:46.976 19914 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/utils.py", line 138, in execute
Oct 6 10:29:46 ubuntu neutron-openvswitch-agent[19914]: 2016-10-06 10:29:46.976 19914 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent raise RuntimeError(msg)
Oct 6 10:29:46 ubuntu neutron-openvswitch-agent[19914]: 2016-10-06 10:29:46.976 19914 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent RuntimeError: Exit code: 255; Stdin: ; Stdout: ; Stderr: sysctl: cannot stat /proc/sys/net/bridge/bridge-nf-call-arptables: No such file or directory
Oct 6 10:29:46 ubuntu neutron-openvswitch-agent[19914]: 2016-10-06 10:29:46.976 19914 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent
Oct 6 10:29:46 ubuntu neutron-openvswitch-agent[19914]: 2016-10-06 10:29:46.976 19914 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: neutron-openvswitch-agent 2:9.0.0~rc3-0ubuntu1~cloud0 [origin: Canonical]
ProcVersionSignature: Ubuntu 4.4.0-38.57-generic 4.4.19
Uname: Linux 4.4.0-38-generic x86_64
NonfreeKernelModules: zfs zunicode zcommon znvpair zavl
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CrashDB:
{
"impl": "launchpad",
"project": "cloud-archive",
"bug_pattern_url": "http://people.canonical.com/~ubuntu-archive/bugpatterns/bugpatterns.xml",
}
Date: Thu Oct 6 11:45:34 2016
Ec2AMI: ami-0000044a
Ec2AMIManifest: FIXME
Ec2AvailabilityZone: nova
Ec2InstanceType: m1.medium
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
PackageArchitecture: all
SourcePackage: neutron
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.neutron.plugins.ml2.openvswitch_agent.ini: 2016-10-06T11:38:10.317795
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1630968/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list