Hi All,
We have a rocky 18.1.9 branch openstack ansible setup. When trying to launch a vm , it is going into ERROR state saying the vif creation failed. I see the following messages in the openvswitch agent log:
-------------------
2019-11-01 17:29:23.971 6135 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [-] Failed reporting state!: MessagingTimeout: Timed out waiting for a reply to messa
ge ID ec0806a7312a4e55b090500257cc998a
2019-11-01 17:29:23.971 6135 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent Traceback (most recent call last):
2019-11-01 17:29:23.971 6135 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/openstack/venvs/neutron-18.1.9/lib/python2.7/site-packages/neutron/plugins/m
l2/drivers/openvswitch/agent/ovs_neutron_agent.py", line 325, in _report_state
2019-11-01 17:29:23.971 6135 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent True)
2019-11-01 17:29:23.971 6135 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/openstack/venvs/neutron-18.1.9/lib/python2.7/site-packages/neutron/agent/rpc
.py", line 97, in report_state
2019-11-01 17:29:23.971 6135 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent return method(context, 'report_state', **kwargs)
2019-11-01 17:29:23.971 6135 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/openstack/venvs/neutron-18.1.9/lib/python2.7/site-packages/oslo_messaging/rp
c/client.py", line 179, in call
2019-11-01 17:29:23.971 6135 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent retry=self.retry)
2019-11-01 17:29:23.971 6135 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/openstack/venvs/neutron-18.1.9/lib/python2.7/site-packages/oslo_messaging/tr
ansport.py", line 133, in _send
2019-11-01 17:29:23.971 6135 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent retry=retry)
2019-11-01 17:29:23.971 6135 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/openstack/venvs/neutron-18.1.9/lib/python2.7/site-packages/oslo_messaging/_d
rivers/amqpdriver.py", line 584, in send
2019-11-01 17:29:23.971 6135 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent call_monitor_timeout, retry=retry)
2019-11-01 17:29:23.971 6135 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/openstack/venvs/neutron-18.1.9/lib/python2.7/site-packages/oslo_messaging/_d
rivers/amqpdriver.py", line 573, in _send
2019-11-01 17:29:23.971 6135 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent call_monitor_timeout)
2019-11-01 17:29:23.971 6135 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/openstack/venvs/neutron-18.1.9/lib/python2.7/site-packages/oslo_messaging/_d
rivers/amqpdriver.py", line 459, in wait
2019-11-01 17:29:23.971 6135 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent message = self.waiters.get(msg_id, timeout=timeout)
2019-11-01 17:29:23.971 6135 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent File "/openstack/venvs/neutron-18.1.9/lib/python2.7/site-packages/oslo_messaging/_d
rivers/amqpdriver.py", line 336, in get
2019-11-01 17:29:23.971 6135 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent 'to message ID %s' % msg_id)
2019-11-01 17:29:23.971 6135 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent MessagingTimeout: Timed out waiting for a reply to message ID ec0806a7312a4e55b090500
257cc998a
---------------------------
Please help us with the issue.
Thanks
Kumar
It's unlikely that this is a problem with oslo.messaging. Usually messaging timeouts happen because an RPC call failed or took a really long time. They can also happen if rabbit is overloaded, but if this is a new deployment that's unlikely.
I've added neutron to the bug as they're more likely to be able to tell you why this happened.