vrouter-agent crashes and can't start again

Bug #1392246 reported by Soren Hansen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenContrail
New
Undecided
Unassigned

Bug Description

I was trying to get LBaaS working so I added this to my vrouter-agent config:

[SERVICE-INSTANCE]
netns_command=/usr/bin/opencontrail-vrouter-netns

At this point, I'd often find the vrouter-agent having crashed and unable to return to life, because a python process ("/usr/bin/python /usr/bin/opencontrail-vrouter-netns create loadbalancer [...]") was already listening on port 9090, causing vrouter-agent to refuse to start. I waited 10-15 minutes for the python process to die, but it never did. strace just showed waiting in a recvfrom syscall.

I'm not sure why that process would be listening on port 9090, but "netstat -lp" was pretty clear.

If neither vrouter-agent nor opencontrail-vrouter-netns were running and I tried running the "/usr/bin/opencontrail-vrouter-netns create loadbalancer [...]" command line, it would complain that it couldn't connect to localhost:9090.

I'm sorry about the lack of details, but I figured it'd be better to report it with few details than not report it at all.

I removed the SERVICE-INSTANCE section from my vrouter config and now everything works again (albeit without lbaas). I'm setting up a separate environment where I can recreate this and provide more information if needed.

Tags: vrouter
tags: added: vrouter
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.