Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tlm_teamd]: Force tlm_teamd to connect using usock method only #1476

Merged
merged 1 commit into from
Oct 24, 2020

Conversation

pavel-shirshov
Copy link
Contributor

@pavel-shirshov pavel-shirshov commented Oct 23, 2020

Fixes: sonic-net/sonic-buildimage#5306

What I did
Force tlm_teamd to connect to teamd using usock method only.

Why I did it
Previously libteamdctl had only one method enabled: "usock". After we introduced zmq inside of our sonic-slave, libteamdctl is being build with two teamd connection method enabled: "usock" and "zmq", Autoselect crashes because we need to put a connection string for zmq method.

How I verified it

  1. Check that tlm_teamd is working
admin@str-s6100-acs-1:~$ ps ax | grep tlm
 2961 pts/0    Sl     0:00 /usr/bin/tlm_teamd
 4902 pts/0    S+     0:00 grep tlm

2, Issue command sudo config portchannel add PortChannel0010
3. Check that tlm_teamd is still working

admin@str-s6100-acs-1:~$ ps ax | grep tlm
 2961 pts/0    Sl     0:00 /usr/bin/tlm_teamd
 5189 pts/0    S+     0:00 grep tlm

Details if related

@pavel-shirshov pavel-shirshov marked this pull request as ready for review October 24, 2020 01:32
@pavel-shirshov pavel-shirshov merged commit 495816d into sonic-net:master Oct 24, 2020
@pavel-shirshov pavel-shirshov deleted the pavelsh/tlm_fix_zmq branch October 24, 2020 01:33
kktheballer pushed a commit to kktheballer/sonic-swss that referenced this pull request Dec 8, 2020
kktheballer pushed a commit to kktheballer/sonic-swss that referenced this pull request Dec 20, 2020
kktheballer pushed a commit to kktheballer/sonic-swss that referenced this pull request Jan 21, 2021
anish-n pushed a commit to anish-n/sonic-swss that referenced this pull request Feb 25, 2021
kktheballer pushed a commit to kktheballer/sonic-swss that referenced this pull request Jul 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tlm_teamd crash when config a new portchannel
2 participants