Closed saksarav-nokia closed 7 months ago
@saksarav-nokia Please add the test details too .. To confirm the logs are no more coming in the sairedis logs
@judyjoseph , i tested the fix in both SUP and LC and monitored the sairedis logs, these logs are not getting logged. Without this change, the sairedis logs used to fill very quickly and log rotate rotates the sairedis files and many files will be present with in few hours. But with this fix, only very few sairedis log files are present and the events are created only during syncd init and not the regular polling events.
@judyjoseph could we have an ADO for cherry pick?
@kcudnik I have a quick question here -- these attributes SAI_PORT_ATTR_FABRIC_ATTACHED, SAI_PORT_ATTR_FABRIC_ATTACHED_SWITCH_ID & SAI_PORT_ATTR_FABRIC_ATTACHED_PORT_INDEX -- are specific to T2 not applicable to T0/T1. Do we need to add any T2 specific check for these attributes inSkipRecordAttrContainer::SkipRecordAttrContainer() ?
im not ware of any specific platform attributes, and i dont have enough knowledge here, can you ask @saksarav-nokia
@judyjoseph @kcudnik , The daemon FabricPortsOrch is started only if m_fabricEnabled is set and this flag is set only if the switch is voq. Do we still need to add T2 only check in SkipRecordAttrContainer?
if (gMySwitchType != "fabric")
{
orchDaemon = make_shared
if (m_fabricEnabled)
{
vector
Not sure about that, could you ask author of that enable fabric code ? I didn't put that there
@StormLiangMS , @yxieca , MSFT ADO: 26734247 Please help approve backport to 202205, 202305, and 202311. Thanks!
Cherry-pick PR to 202311: https://github.com/sonic-net/sonic-sairedis/pull/1353
Cherry-pick PR to 202305: https://github.com/sonic-net/sonic-sairedis/pull/1354
@yxieca this PR was approved for 202205 but I don't see this ever made it into 202205. Did this missed by auto-cherry-pick somehow? Can you help check what happened? Thanks!
@yxieca this PR was approved for 202205 but I don't see this ever made it into 202205. Did this missed by auto-cherry-pick somehow? Can you help check what happened? Thanks!
@liushilongbuaa can you take a look?
@yxieca this PR was approved for 202205 but I don't see this ever made it into 202205. Did this missed by auto-cherry-pick somehow? Can you help check what happened? Thanks!
@liushilongbuaa can you take a look?
tests/TestClient.cpp and tests/testclient.cpp breaks our workflow. I'm still working on Root Cause.
@gechiang , @yxieca please create separate PR to cherry pick if urgent.
Orchagent polls SAI_PORT_ATTR_FABRIC_ATTACHED, SAI_PORT_ATTR_FABRIC_ATTACHED_SWITCH_ID & SAI_PORT_ATTR_FABRIC_ATTACHED_PORT_INDEX attributes every 30 secs for all the fabric ports in Supervisor and Linecards. If there are many asics in SUP and LC, these logs fill up the sairedis records very quickly and take up the disk space. Since these logs don't give much useful information, added these attributes SkipRecordAttrContainer to skip them from sairedis logging.
Fix for https://github.com/sonic-net/sonic-buildimage/issues/17583