Hi All:

I’m deploying duplex container mode with latest code . meet some error for neutron-ovs-agent

 

Both controller have same configuration and deploy in virtual machine (qemu kvm env) .

 

Does anyone have similar experience and suggest how to solve it ?

 

*) The status of neutron-ovs-agent:

     neutron-ovs-agent-controller-0-a762cb46-h9xqw                 0/1     Init:CrashLoopBackOff   11         42m

     neutron-ovs-agent-controller-1-f2c6aeed-427h8                 1/1     Running                 0          42m

 

*) The log of neutron-ovs-agent-controller-0-a762cb46-h9xqw is :

+ timeout 3m neutron-sanity-check --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/openvswitch_agent.ini --ovsdb_native --nokeepalived_ipv6_support

Guru meditation now registers SIGUSR1 and SIGUSR2 by default for backward compatibility. SIGUSR1 will no longer be registered in a future release, so pleas

e use SIGUSR2 to generate reports.

2019-02-19 13:12:44.720 254 INFO neutron.common.config [-] Logging enabled!

2019-02-19 13:12:44.720 254 INFO neutron.common.config [-] /var/lib/openstack/bin/neutron-sanity-check version 11.0.0

2019-02-19 13:12:45.083 254 ERROR ovsdbapp.schema.open_vswitch.impl_idl [-] Post-commit checks failed: VswitchdInterfaceAddException: Failed to add interfaces: vxlantest-fe9ff

2019-02-19 13:12:45.083 254 ERROR ovsdbapp.schema.open_vswitch.impl_idl Traceback (most recent call last):

2019-02-19 13:12:45.083 254 ERROR ovsdbapp.schema.open_vswitch.impl_idl   File "/var/lib/openstack/lib/python2.7/site-packages/ovsdbapp/schema/open_vswitch/impl_idl.py", line 38, in post_commit

2019-02-19 13:12:45.083 254 ERROR ovsdbapp.schema.open_vswitch.impl_idl     self.do_post_commit(txn)

2019-02-19 13:12:45.083 254 ERROR ovsdbapp.schema.open_vswitch.impl_idl   File "/var/lib/openstack/lib/python2.7/site-packages/ovsdbapp/schema/open_vswitch

/impl_idl.py", line 50, in do_post_commit

2019-02-19 13:12:45.083 254 ERROR ovsdbapp.schema.open_vswitch.impl_idl     ifaces=", ".join(failed))

2019-02-19 13:12:45.083 254 ERROR ovsdbapp.schema.open_vswitch.impl_idl VswitchdInterfaceAddException: Failed to add interfaces: vxlantest-fe9ff

2019-02-19 13:12:45.083 254 ERROR ovsdbapp.schema.open_vswitch.impl_idl

2019-02-19 13:12:45.102 254 ERROR ovsdbapp.schema.open_vswitch.impl_idl [-] Post-commit checks failed: VswitchdInterfaceAddException: Failed to add interfa

ces: 192.0.2.1

2019-02-19 13:12:45.102 254 ERROR ovsdbapp.schema.open_vswitch.impl_idl Traceback (most recent call last):

2019-02-19 13:12:45.102 254 ERROR ovsdbapp.schema.open_vswitch.impl_idl   File "/var/lib/openstack/lib/python2.7/site-packages/ovsdbapp/schema/open_vswitch

/impl_idl.py", line 38, in post_commit

2019-02-19 13:12:45.102 254 ERROR ovsdbapp.schema.open_vswitch.impl_idl     self.do_post_commit(txn)

2019-02-19 13:12:45.102 254 ERROR ovsdbapp.schema.open_vswitch.impl_idl   File "/var/lib/openstack/lib/python2.7/site-packages/ovsdbapp/schema/open_vswitch

/impl_idl.py", line 50, in do_post_commit

2019-02-19 13:12:45.102 254 ERROR ovsdbapp.schema.open_vswitch.impl_idl     ifaces=", ".join(failed))

2019-02-19 13:12:45.102 254 ERROR ovsdbapp.schema.open_vswitch.impl_idl VswitchdInterfaceAddException: Failed to add interfaces: 192.0.2.1

2019-02-19 13:12:45.102 254 ERROR ovsdbapp.schema.open_vswitch.impl_idl

2019-02-19 13:12:55.412 254 ERROR neutron.agent.common.ovs_lib [-] Timed out retrieving ofport on port 192.0.2.1.: RetryError: RetryError[<Future at 0x7fa2

43407d90 state=finished returned list>]

2019-02-19 13:12:55.412 254 ERROR neutron.agent.common.ovs_lib Traceback (most recent call last):

2019-02-19 13:12:55.412 254 ERROR neutron.agent.common.ovs_lib   File "/var/lib/openstack/lib/python2.7/site-packages/neutron/agent/common/ovs_lib.py", lin

e 321, in get_port_ofport

2019-02-19 13:12:55.412 254 ERROR neutron.agent.common.ovs_lib     ofport = self._get_port_val(port_name, "ofport")

2019-02-19 13:12:55.412 254 ERROR neutron.agent.common.ovs_lib   File "/var/lib/openstack/lib/python2.7/site-packages/neutron/agent/common/ovs_lib.py", line 89, in wrapped

2019-02-19 13:12:55.412 254 ERROR neutron.agent.common.ovs_lib     return new_fn(*args, **kwargs)

2019-02-19 13:12:55.412 254 ERROR neutron.agent.common.ovs_lib   File "/var/lib/openstack/lib/python2.7/site-packages/tenacity/__init__.py", line 171, in wrapped_f

2019-02-19 13:12:55.412 254 ERROR neutron.agent.common.ovs_lib     return self.call(f, *args, **kw)

2019-02-19 13:12:55.412 254 ERROR neutron.agent.common.ovs_lib   File "/var/lib/openstack/lib/python2.7/site-packages/tenacity/__init__.py", line 248, in call

2019-02-19 13:12:55.412 254 ERROR neutron.agent.common.ovs_lib     start_time=start_time)

2019-02-19 13:12:55.412 254 ERROR neutron.agent.common.ovs_lib   File "/var/lib/openstack/lib/python2.7/site-packages/tenacity/__init__.py", line 216, in iter

2019-02-19 13:12:55.412 254 ERROR neutron.agent.common.ovs_lib     raise RetryError(fut).reraise()

2019-02-19 13:12:55.412 254 ERROR neutron.agent.common.ovs_lib   File "/var/lib/openstack/lib/python2.7/site-packages/tenacity/__init__.py", line 298, in reraise

2019-02-19 13:12:55.412 254 ERROR neutron.agent.common.ovs_lib     raise self

2019-02-19 13:12:55.412 254 ERROR neutron.agent.common.ovs_lib RetryError: RetryError[<Future at 0x7fa243407d90 state=finished retu

 

Thanks.

BR
Austin Sun.