Hi Uwe, Enable debug, restart the service and you should get more info.
George On Wed, Nov 26, 2014 at 11:28 AM, Uwe Sauter <uwe.sauter...@gmail.com> wrote: > Hi all, > > does anyone know why neutron-openvswitch-agent.service keeps crashing? > > Nov 26 17:25:40 os483601.localnet systemd[1]: Starting OpenStack Neutron > Open vSwitch Agent... > Nov 26 17:25:40 os483601.localnet systemd[1]: Started OpenStack Neutron > Open vSwitch Agent. > Nov 26 17:25:41 os483601.localnet sudo[3568]: neutron : TTY=unknown ; > PWD=/ ; USER=root ; COMMAND=/bin/neutron-rootwrap > /etc/neutron/rootwrap.conf ovs-vsctl --timeout=10 -- --may-exist add-br > br-int > Nov 26 17:25:41 os483601.localnet ovs-vsctl[3570]: > ovs|00001|vsctl|INFO|Called as /bin/ovs-vsctl --timeout=10 -- > --may-exist add-br br-int > Nov 26 17:25:41 os483601.localnet sudo[3589]: neutron : TTY=unknown ; > PWD=/ ; USER=root ; COMMAND=/bin/neutron-rootwrap > /etc/neutron/rootwrap.conf ovs-vsctl --timeout=10 -- set-fail-mode > br-int secure > Nov 26 17:25:41 os483601.localnet ovs-vsctl[3591]: > ovs|00001|vsctl|INFO|Called as /bin/ovs-vsctl --timeout=10 -- > set-fail-mode br-int secure > Nov 26 17:25:41 os483601.localnet sudo[3592]: neutron : TTY=unknown ; > PWD=/ ; USER=root ; COMMAND=/bin/neutron-rootwrap > /etc/neutron/rootwrap.conf ovs-vsctl --timeout=10 -- --if-exists > del-port br-int patch-tun > Nov 26 17:25:41 os483601.localnet ovs-vsctl[3594]: > ovs|00001|vsctl|INFO|Called as /bin/ovs-vsctl --timeout=10 -- > --if-exists del-port br-int patch-tun > Nov 26 17:25:41 os483601.localnet sudo[3595]: neutron : TTY=unknown ; > PWD=/ ; USER=root ; COMMAND=/bin/neutron-rootwrap > /etc/neutron/rootwrap.conf ovs-ofctl del-flows br-int > Nov 26 17:25:41 os483601.localnet sudo[3598]: neutron : TTY=unknown ; > PWD=/ ; USER=root ; COMMAND=/bin/neutron-rootwrap > /etc/neutron/rootwrap.conf ovs-ofctl add-flows br-int - > Nov 26 17:25:41 os483601.localnet sudo[3601]: neutron : TTY=unknown ; > PWD=/ ; USER=root ; COMMAND=/bin/neutron-rootwrap > /etc/neutron/rootwrap.conf ovs-ofctl add-flows br-int - > Nov 26 17:25:41 os483601.localnet sudo[3604]: neutron : TTY=unknown ; > PWD=/ ; USER=root ; COMMAND=/bin/neutron-rootwrap > /etc/neutron/rootwrap.conf ovs-vsctl --timeout=10 list-br > Nov 26 17:25:41 os483601.localnet systemd[1]: > neutron-openvswitch-agent.service: main process exited, code=exited, > status=1/FAILURE > Nov 26 17:25:41 os483601.localnet systemd[1]: Unit > neutron-openvswitch-agent.service entered failed state. > > > This is the state after such a crash: > > [root@os483601 ~]# ovs-vsctl show > f57da43c-654f-4abb-b40c-898b4e63863d > Bridge br-int > fail_mode: secure > Port br-int > Interface br-int > type: internal > ovs_version: "2.1.3" > > > Regards, > > Uwe > > > > > Am 26.11.2014 um 16:31 schrieb Andreas Scheuring: > > Hi Uwe, > > this is how my config for the ovs agent looks like. This one is working > > but some of the parameters might be duplicates to the default or not > > even required. I still have to figure this out. > > But at least it is working ;) > > > > > > > > Compute Node: > > > > [ovs] > > enable_tunneling = True > > tenant_network_type = gre > > tunnel_id_ranges = 1:1000 > > tunnel_type = gre > > local_ip = 192.168.1.190 > > > > > > [agent] > > tunnel_types = gre > > root_helper = sudo /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf > > > > > > [securitygroup] > > firewall_driver = > > neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver > > > > > > > > Nework Node: > > > > [ml2] > > tenant_network_types = gre > > type_drivers = local,flat,vlan,gre,vxlan > > mechanism_drivers = openvswitch,linuxbridge > > > > [ml2_type_gre] > > tunnel_id_ranges = 1:1000 > > [securitygroup] > > firewall_driver = > > neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver > > > > [database] > > connection = mysql://root:XXX@127.0.0.1/neutron_ml2?charset=utf8 > > > > [ovs] > > bridge_mappings = phys-ex:br-ext > > tunnel_id_ranges = 1001:2000 > > tenant_network_type = gre > > tunnel_type = gre > > enable_tunneling = True > > local_ip = 192.168.1.202 > > > > [agent] > > tunnel_types = gre > > root_helper = > > sudo /usr/local/bin/neutron-rootwrap /etc/neutron/rootwrap.conf > > > > > > > > > > > > > > > _______________________________________________ > Mailing list: > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > Post to : openstack@lists.openstack.org > Unsubscribe : > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack >
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack