-
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
Fix rsyslog plugin slim image logic #19034
Conversation
@qiluo-msft , can you review? |
if re_match($programname, "bgp[0-9]*#(frr|zebra|staticd|watchfrr)") then { | ||
/var/log/frr/zebra.log | ||
{% if include_system_eventd == "y" %} | ||
{% if build_reduce_image_size != "y" or sonic_asic_platform != "broadcom" %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why have a ASIC check for Broadcom here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
eventd should not be enabled on 7050qx and 7060cx3, so we check flags build_reduce_image_size for slim image enabled and also for broadcom asic.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why single flag is not enough? for example build_reduce_image_size
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Initial requirement was for disabling eventd in 7050qx/7060 which is why I added a tighter check.
/azpw ms_conflict |
@yxieca for 202311 cherry pick, this one would be nice to have for next image build. |
* Fix rsyslog plugin slim image logic * Remove asic check for broadcom when checking for eventd enabled and slim image
Cherry-pick PR to 202311: #19363 |
I am building master branch for broadcom and I got this error: It seems to be related? eventd is the codeword here.
EDIT: Building from commit |
@TafkaMax This change should not affect build of sonic-eventd deb package. |
Yes, it builds now, must have been something else. Sorry for bothering. |
@zbud-msft cherry pick PR didn't pass PR checker. Please check!!! |
* Fix rsyslog plugin slim image logic * Remove asic check for broadcom when checking for eventd enabled and slim image
* Fix rsyslog plugin slim image logic * Remove asic check for broadcom when checking for eventd enabled and slim image
Cherry-pick PR to 202405: #20009 |
* Fix rsyslog plugin slim image logic * Remove asic check for broadcom when checking for eventd enabled and slim image
Why I did it
Work item tracking
How I did it
Added checks after redirect to frr/bgpd.log
How to verify it
Manual test
Which release branch to backport (provide reason below if selected)
Tested branch (Please provide the tested image version)
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)