-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
iccpd service is not running in the image built from latest SONIC mainline code. #5310
Comments
@shine4chen @sdddean @tylerlinp , Can you please let us know what to do with this issue. |
@BaluAlluru |
@jianjundong , @shine4chen @sdddean @tylerlinp, @jianjundong Orchagent is crashing on our setup when MCLAG negotiation happens. Also attached are generate dump tar files for SW1 and SW2 switches. TopologyDiagram_MCLAGconfig-SW1-SW2.docx |
@BaluAlluru Jianjun: If the MCLAG peer connection is establised, one ACL will be installed.
|
@jianjundong Could you provide an example configuration that will work on TH1 platforms? |
@jianjundong I found the following configuration example, I don't know if it is correct. |
@ciju-juniper |
@docker2017713 |
I did attach Topology Diagram, config's and generate dump few days ago in this issue page. Please scroll up the conversations. you should see below attachments |
@BaluAlluru Sep 11 18:56:34.281952 QFX5200-SONiC-SW1 NOTICE iccpd#iccpd: [update_peerlink_isolate_from_all_csm_lif.NOTICE] Send port isolate msg to mclagsyncd, src port Ethernet68, dst port Ethernet0 return; |
@jianjundong Which are the ASIC platforms currently supported with mclag? In this platform, we have a Broadcom TH1 (Tomahawk-1) asic. Who can we ask about the SAI support for OUT_PORTS attribute of ACL? We would like to know if this can be fixed in the SAI layer or hardware limitation. |
@ciju-juniper If the OUT_PORTS attribute cannot be supported currently, the temporary solution is not to install the ACL. You can remove following codes in function update_peerlink_isolate_from_all_csm_lif(). return; |
@smaheshm Would you know if Broadcom SAI supports 'OUT_PORTS' attribute? Who would be the point of contact for this query? Could you add him to this thread? |
I've hit similar problems, and concluded that OUT_PORTS is not supported or supportable by Broadcom, which is why there is an enhanced version under development. sonic-net/sonic-swss#810 details the initial discussion when this was committed. I suspect therefore that getting the MC-Lag enhancements merged is the solution to this issue. |
@davidfordouce Thanks for the pointer. Would you know if Broadcom chips can workaround this as mentioned in sonic-net/sonic-swss#810? @adyeung @prsunny @shine4chen @lguohan Would you know the configuration to make mclag work on Broadcom chips? |
My understanding (which is based on sonic-net/SONiC#550 and https://github.com/Azure/SONiC/wiki/Release-Progress-Tracking-202012 is that not only will Broadcom chips support this, but code is awaiting review to do so, written by Broadcom I did attempt to build a private image using that code, however sadly I lack sufficient knowledge of the SONIC codebase to rebase they various PRs successfully. |
|
@Praveen-Brcm Thank you for the details. As I look at the PRs, it's not in a state to be committed. Do you have any time frame in mind for making it available in the master branch? SAI version is the one which is available in the master branch as of now: BRCM_SAI = libsaibcm_3.7.5.1-3_amd64.deb |
It's been quite a few months since this was opened and iccpd is still masked in the repository by default, @davidfordouce @ciju-juniper @jianjundong are there any recent improvements to mclag/iccpd and is broadcom support working? |
@carrierone AFAIK iccpd support is not yet enabled for Broadcom platforms. |
There is a SONiC MCLAG Subgroup currently reviewing the BRCM MCLAG changes
in the community.
The following are the set of code PRs tracking from BRCM under review, yet
to be merged. Iccpd changes in #4819
#4819
sonic-net/sonic-swss#1331
sonic-net/sonic-utilities#1138
sonic-net/sonic-swss#1349
Thanks
Adam
…On Sun, May 16, 2021 at 9:36 PM Ciju Rajan K ***@***.***> wrote:
@carrierone <https://github.com/carrierone> AFAIK iccpd support is not
yet enabled for Broadcom platforms.
@ben-gale <https://github.com/ben-gale> Please let us know the latest
status.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5310 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALISLSQROMSH24DEKCEOHCDTOCMOBANCNFSM4QVLMRAQ>
.
--
This electronic communication and the information and any files transmitted
with it, or attached to it, are confidential and are intended solely for
the use of the individual or entity to whom it is addressed and may contain
information that is confidential, legally privileged, protected by privacy
laws, or otherwise restricted from disclosure to anyone else. If you are
not the intended recipient or the person responsible for delivering the
e-mail to the intended recipient, you are hereby notified that any use,
copying, distributing, dissemination, forwarding, printing, or copying of
this e-mail is strictly prohibited. If you received this e-mail in error,
please return the e-mail to the sender, delete it from your computer, and
destroy any printed copy of it.
|
Is this still the case with the latest release (I think 202106)? |
@haslersn : ICCPd is not included by default to be build. The file rules/config needs to be modified to include. |
@Praveen-Brcm Thank you. Should the $ sudo systemctl unmask iccpd
Unit iccpd.service does not exist, proceeding anyway. |
@haslersn You should build the image by making INCLUDE_ICCPD = y in rules/config file. |
The proper way to activate
|
iccpd service is not running in the image built from latest SONIC mainline code.
Cloned the latest SONIC mainline code, built the image by making INCLUDE_ICCPD = y in rules/config file.
Loaded this image on the box and observed that docker-iccpd is part of the image.
This is confirmed from "show version" command output.
Tried to manually start iccpd using systemctl, but observed error
root@sonic:/home/admin# systemctl start iccpd
Failed to start iccpd.service: Unit iccpd.service is masked.
Also observed iccpd.service is a soft link to /dev/null in /etc/systemd/system directory.
Tried to start the iccpd docker using docker command "docker start docker-iccpd"
root@sonic:/home/admin# docker start docker-iccpd
Error response from daemon: No such container: docker-iccpd
Error: failed to start containers: docker-iccpd
Is there any specific reason to point iccpd.service to /dev/null.
How can we start iccpd.service in the sonic mainline.
Steps to reproduce the issue:
1.load the latest SONIC image
2. observe that iccpd.service is not running.
Describe the results you received:
iccpd service was not running.
Describe the results you expected:
iccpd service should run.
Additional information you deem important (e.g. issue happens only occasionally):
root@QFX5200-SONiC-SW1:/home/admin# show version
SONiC Software Version: SONiC.master.0-dirty-20200901.063245
Distribution: Debian 10.5
Kernel: 4.19.0-9-2-amd64
Build commit: ca3e71d
Build date: Tue Sep 1 07:01:28 UTC 2020
Built by: regress@ubuntu
Docker images:
REPOSITORY TAG IMAGE ID SIZE
docker-sflow latest 40e12d69a078 390MB
docker-sflow master.0-dirty-20200901.063245 40e12d69a078 390MB
docker-teamd latest ad4f0110c71d 386MB
docker-teamd master.0-dirty-20200901.063245 ad4f0110c71d 386MB
docker-nat latest bad3b9ef725a 389MB
docker-nat master.0-dirty-20200901.063245 bad3b9ef725a 389MB
docker-router-advertiser latest 59c7df5b0f13 355MB
docker-router-advertiser master.0-dirty-20200901.063245 59c7df5b0f13 355MB
docker-platform-monitor latest 19b5010a5de3 429MB
docker-platform-monitor master.0-dirty-20200901.063245 19b5010a5de3 429MB
docker-lldp latest 4aba01fa0c39 383MB
docker-lldp master.0-dirty-20200901.063245 4aba01fa0c39 383MB
docker-orchagent latest 66c709ebd229 400MB
docker-orchagent master.0-dirty-20200901.063245 66c709ebd229 400MB
docker-dhcp-relay latest 4155721f59b2 362MB
docker-dhcp-relay master.0-dirty-20200901.063245 4155721f59b2 362MB
docker-sonic-telemetry latest 99a568a213f4 425MB
docker-sonic-telemetry master.0-dirty-20200901.063245 99a568a213f4 425MB
docker-sonic-mgmt-framework latest 4a33b0714186 481MB
docker-sonic-mgmt-framework master.0-dirty-20200901.063245 4a33b0714186 481MB
docker-fpm-frr latest dd3a5fbcf940 402MB
docker-fpm-frr master.0-dirty-20200901.063245 dd3a5fbcf940 402MB
docker-iccpd latest 6b127b402227 386MB
docker-iccpd master.0-dirty-20200901.063245 6b127b402227 386MB
docker-database latest a52fff7d4939 355MB
docker-database master.0-dirty-20200901.063245 a52fff7d4939 355MB
docker-snmp latest 9e2fed4b1929 395MB
docker-snmp master.0-dirty-20200901.063245 9e2fed4b1929 395MB
docker-syncd-brcm latest fef2251e4340 447MB
docker-syncd-brcm master.0-dirty-20200901.063245 fef2251e4340 447MB
sonic_dump_QFX5200-SONiC-SW1_20200903_181322.tar.gz
Attach debug file
sudo generate_dump
:The text was updated successfully, but these errors were encountered: