-
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
sonic-platform-modules-cel dx010: speed up dx010 platform init script #10237
Conversation
* Remove installing of python2 sonic platform wheel for dx010 * Optimize dx010 sonic platform init script to speed up init process * Fix issue #10152: [warm-upgrade][202012] Slow Celestica platform init in rc.local causes lacp-teardown Signed-off-by: Eric Zhu <[email protected]>
Why compile failedBuild failure was caused by libexpat1-dev and libexpat1 package dependency relationship mismatch. So the libexpat1-dev could not been installed as libexpat1 2.2.6-2+deb10u4 already installed, which is a dependency for python-dev. The libexpat1 2.2.6-2+deb10u4 is included in http://packages.trafficmanager.net/debian/debian-security repo added in files/apt/sources.list.amd64. When install apparmor in build_debian.sh, the libexpat1 2.2.6-2+deb10u4 was installed as a dependency, which caused dependency mismatch. How to solve it
Debug log
|
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
can you make sure we have such fix in master branch as well? |
I only requested to merge into 202012 branch, but it would be better to also merge into master to solve the issue for future release. |
Please raise a PR for master branch as well. Ideally if the fix is needed on both branches, we first raise a master PR, and then cherrypick the change into 202012. |
Thanks. New PR #10313 is raised to merge the fix into master branch. PR #10237 has committed the fix into branch 202012. |
in rc.local causes lacp-teardown
Signed-off-by: Eric Zhu [email protected]
Why I did it
To fix issue #10152 for dx010.
202012 Warm upgrade causes lacp-teardown on Dx010 TOR. platform code initialize slow causing lacp timeout.
How I did it
How to verify it
Which release branch to backport (provide reason below if selected)
No need to backport.