Router State standby on all l3 agent when create
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Expired
|
Undecided
|
Unassigned |
Bug Description
Hi all
When i create a router, it is stuck in state standby forever on all agent. I login to agent and check, in /var/lib/
Once stuck, I won't be able to create the router anymore, I have to restart neutron-l3-agent to fix it. It creates the file keepalived.conf and the router will be active in one agent, and I can continue to create the router
I am running OpenStack Train
How can reproduce:
- I can't reproduce it, some times this error appear and i can't create router. I have to restart neutron-l3-agent to fix it. Some time later (maybe 1-3 days, i am not sure), I can't create routers again.
Debug in code:
1. When add_router to agent, i saw code stuck when StrongSwan IPSec sync status with server side.
https:/
2. When code running in line above, i saw code not running to fuction sync
https:/
3. I think i stuck when running decorator
https:/
4. Finally, this line will stuck forever and i don't know how to fix it
https:/
name=vpn-agent
lock_file_
external=False
lock_path=None
do_log=False
semaphores=None
delay=0.01
fair=False
int_lock=
Please help me fix this bug. Thank you all
summary: |
- Create router standby on all l3 agent + Router State standby on all l3 agent when create |
tags: | added: vpnaas |
Changed in neutron: | |
status: | New → Incomplete |
Hi Nguyen Thanh Cong,
Can You give us debug logs from such stuck neutron-l3-agent? And also, can You check if You will have similar lock issue (of course in different place) without neutron-vpnaas enabled?