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

[load_minigraph] Delay pfcwd start until the buffer templates are rendered #1937

Merged
merged 1 commit into from
Nov 24, 2021

Conversation

neethajohn
Copy link
Contributor

@neethajohn neethajohn commented Nov 19, 2021

Signed-off-by: Neetha John nejo@microsoft.com

Fixes sonic-net/sonic-buildimage#9292

What I did

Pfcwd was not getting started after executing load_minigraph after the changes done in #1508. This was because the PORT_QOS_MAP table is not yet present in config db (this gets populated only after the buffer templates are rendered) at the time we try to start pfcwd and hence the 'pfc_enable' field will always be empty and we skip writing PFC_WD table entries to config db.

How I did it

Delay pfcwd start until the buffer templates are rendered

How to verify it

Issue "config load_minigraph" with the changes and ensure that pfcwd is started on all active ports

Signed-off-by: Neetha John <nejo@microsoft.com>
@neethajohn neethajohn merged commit ef82f00 into sonic-net:master Nov 24, 2021
@neethajohn neethajohn deleted the delay_pfcwd_minigraph branch November 24, 2021 18:05
qiluo-msft pushed a commit that referenced this pull request Nov 30, 2021
…dered (#1937)

Signed-off-by: Neetha John <nejo@microsoft.com>

Fixes sonic-net/sonic-buildimage#9292

What I did
Pfcwd was not getting started after executing load_minigraph after the changes done in #1508. This was because the PORT_QOS_MAP table is not yet present in config db (this gets populated only after the buffer templates are rendered) at the time we try to start pfcwd and hence the 'pfc_enable' field will always be empty and we skip writing PFC_WD table entries to config db.

How I did it
Delay pfcwd start until the buffer templates are rendered

How to verify it
Issue "config load_minigraph" with the changes and ensure that pfcwd is started on all active ports
qiluo-msft pushed a commit to sonic-net/sonic-buildimage that referenced this pull request Dec 6, 2021
Contains the following commits
239cb5c  [flex counter] Flex counter threads consume too much CPU resources (sonic-net/sonic-utilities#1925)
8a3b41a [load_minigraph] Delay pfcwd start until the buffer templates are rendered  (sonic-net/sonic-utilities#1937)
abdosi pushed a commit that referenced this pull request Dec 8, 2021
…dered (#1937)

Signed-off-by: Neetha John <nejo@microsoft.com>

Fixes sonic-net/sonic-buildimage#9292

What I did
Pfcwd was not getting started after executing load_minigraph after the changes done in #1508. This was because the PORT_QOS_MAP table is not yet present in config db (this gets populated only after the buffer templates are rendered) at the time we try to start pfcwd and hence the 'pfc_enable' field will always be empty and we skip writing PFC_WD table entries to config db.

How I did it
Delay pfcwd start until the buffer templates are rendered

How to verify it
Issue "config load_minigraph" with the changes and ensure that pfcwd is started on all active ports
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.

Pfcwd not getting started as part of load_minigraph execution
4 participants