← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1660899] Re: vpn agent stuck during sync (strongswan)

 

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

commit f1da14e473d1d0b302ff3bf5fbed24b1baaf2e74
Author: YAMAMOTO Takashi <yamamoto@xxxxxxxxxxxx>
Date:   Thu Feb 9 12:53:11 2017 +0900

    strongswan: Use non-blocking version of ipsec up
    
    It shouldn't block here because otherwise all vpn services
    served by the agent will be affected.
    
    Closes-Bug: #1660899
    Change-Id: I479ef1f88967e371d95dfbf583a4e2b813148c6d


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1660899

Title:
  vpn agent stuck during sync (strongswan)

Status in neutron:
  Fix Released

Bug description:
  for some reason, vpn agent's event consumer thread stuck after producing the following line,
  holding the 'vpn-agent' lock.  further updates can't be processed because of the lock.

  http://logs.openstack.org/01/419801/3/experimental/gate-neutron-dsvm-
  tempest-vpnaas-ubuntu-xenial/43c55dc/

  2017-02-01 04:40:34.655 3790 DEBUG neutron.agent.linux.utils [req-
  8be2bfb5-2bf2-4b40-9121-cfa80e47ccac - tempest-Vpnaas-130233446]
  Running command (rootwrap daemon): ['ip', 'netns', 'exec', 'qrouter-
  1cb07028-b795-43c6-beb0-c1ebf9e76056', 'neutron-vpn-netns-wrapper', '
  --
  mount_paths=/etc:/opt/stack/data/neutron/ipsec/1cb07028-b795-43c6-beb0-c1ebf9e76056/etc,/var/run:/opt/stack/data/neutron/ipsec/1cb07028-b795-43c6-beb0-c1ebf9e76056/var/run',
  '--cmd=ipsec,up,3227d225-92ae-4e9f-b524-85eecead6fef']
  execute_rootwrap_daemon
  /opt/stack/new/neutron/neutron/agent/linux/utils.py:113

  http://logs.openstack.org/01/419801/3/experimental/gate-neutron-dsvm-
  tempest-vpnaas-ubuntu-xenial/43c55dc/logs/ps.txt.gz

  USER       PID  PPID   LWP %CPU %MEM  SIZE   RSS CMD

  root      9448  3943  9448  0.4  0.7 50792 59496 /usr/bin/python /usr/local/bin/neutron-vpn-netns-wrapper --mount_paths=/etc:/opt/stack/data/neutron/ipsec/1cb07028-b795-43c6-beb0-c1ebf9e76056/etc,/var/run:/opt/stack/data/neutron/ipsec/1cb07028-b795-43c6-beb0-c1ebf9e76056/var/run --cmd=ipsec,up,3227d225-92ae-4e9f-b524-85eecead6fef
  root      9457  9448  9457  0.0  0.0   332  1748 /bin/sh /usr/sbin/ipsec up 3227d225-92ae-4e9f-b524-85eecead6fef
  root      9460  9457  9460  0.0  0.0   344  2088 /usr/lib/ipsec/stroke up 3227d225-92ae-4e9f-b524-85eecead6fef

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1660899/+subscriptions


References