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

[System ready] Report ready state to Sysmonitor daemon #3126

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

fastiuk
Copy link

@fastiuk fastiuk commented Apr 28, 2024

depends-on: sonic-net/sonic-buildimage#18817

What I did
This change implements swss's ability to report it's readines to sysmonitor

Why I did it
The motivation is to report PortInitDone to sysmonitor and not just the startup of swss

How I verified it

  • Run NOS on the box
  • Make sure swss reports good readiness state and you can see it in sysmonitor

Details if related

@prsunny prsunny requested a review from dgsudharsan April 30, 2024 16:25
@fastiuk fastiuk force-pushed the dev-sysready-extension branch from 970b334 to 44dc7c8 Compare May 4, 2024 21:43
@liat-grozovik
Copy link
Collaborator

@fastiuk please refer to the comment provided. also please update the PR description of what are you are trying to fix and the scope. if this is a bug to whihc branches it should go?

@fastiuk fastiuk force-pushed the dev-sysready-extension branch from 44dc7c8 to 0107ebe Compare May 16, 2024 00:34
portsyncd/portsyncd.cpp Show resolved Hide resolved
portsyncd/portsyncd.cpp Show resolved Hide resolved
@fastiuk fastiuk force-pushed the dev-sysready-extension branch from 0107ebe to 455d78c Compare May 20, 2024 14:33
@fastiuk fastiuk requested review from qiluo-msft and prgeor May 20, 2024 20:39
Signed-off-by: Yevhen Fastiuk <yfastiuk@nvidia.com>
@fastiuk fastiuk force-pushed the dev-sysready-extension branch from 455d78c to 91dd091 Compare May 20, 2024 20:44
@fastiuk
Copy link
Author

fastiuk commented Aug 14, 2024

@prsunny any more comments?

@fastiuk
Copy link
Author

fastiuk commented Aug 14, 2024

/azpw run Azure.sonic-swss

@mssonicbld
Copy link
Collaborator

/AzurePipelines run Azure.sonic-swss

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

/*
* Notify "System ready" feature that we are ok.
*/
FieldValueTuple app_state("up_status", "true");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There should be some code to set it "false"?

  1. when orchagent starts
  2. when orchagent exited gracefully
  3. when orchagent receive a signal and exited
  4. etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants