VPNaaS: vyatta-agent hangs with oslo-msg warning on monkey patch

Bug #1434337 reported by Sridhar Ramaswamy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Low
Sridhar Ramaswamy

Bug Description

In latest neutron* repo based code, vyatta-vpn-agent process hangs almost immediately after coming up. None of he periodic_tasks run and process doesn't respond to any rpc messages from the neutron-server.

Following warning is seen the logs,

Connected to AMQP server on 192.168.110.205:5672
2015-03-19 16:32:21.605 DEBUG oslo_messaging._executors.impl_eventlet [req-4b23b95e-721d-4b90-ac44-f4c9d6a4bd13 None None ] eventlet executor in use but the threading module has not been monkeypatched or has been monkeypatched after the oslo.messaging l ibrary have been loaded. This will results in unpredictable behavior. In the future, we will raise a RuntimeException in this case. from ( pid=15579) __init__ /usr/local/lib/python2.7/dist-packages/oslo_messaging/_executors/impl_eventlet.py:78

Tags: vpnaas
Changed in neutron:
assignee: nobody → Sridhar Ramaswamy (srics-r)
Revision history for this message
Sridhar Ramaswamy (srics-r) wrote :

This seems to be related to the following patchsets that re-factored monkey-patching for eventlet,

https://review.openstack.org/#/c/156942/
https://review.openstack.org/#/c/155374/

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron-vpnaas (master)

Fix proposed to branch: master
Review: https://review.openstack.org/166366

Changed in neutron:
status: New → In Progress
Kyle Mestery (mestery)
Changed in neutron:
milestone: none → kilo-rc1
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron-vpnaas (master)

Reviewed: https://review.openstack.org/166366
Committed: https://git.openstack.org/cgit/openstack/neutron-vpnaas/commit/?id=840c34f9428cc4b7db6dbc610a72e3ed5957e04c
Submitter: Jenkins
Branch: master

commit 840c34f9428cc4b7db6dbc610a72e3ed5957e04c
Author: Sridhar Ramaswamy <email address hidden>
Date: Fri Mar 20 13:16:35 2015 -0700

    Introduce Vyatta VPN agent cmd in monkey patched eventlet module

    Commit [1] introduced an entry for reference vpn agent in cmd/eventlet module
    so that they get monkey patched in an uniform way. This commit introduces the
    same for vyatta vpn agent.

    [1] I2d7081dbd4cb532332e3b66667bb8c71aa5a6658

    Change-Id: Icc3c8f040bd4fbb2ad36e3d32a381a7ba7993d53
    Closes-Bug: 1434337

Changed in neutron:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in neutron:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: kilo-rc1 → 2015.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.