-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
gNOI Cold Reboot - Integrated Docker and Makefile changes #20713
base: master
Are you sure you want to change the base?
Conversation
Bookworm compatibility Makefiles seems to be missing. could you please add them? |
8f64ce2
to
02b4273
Compare
e784820
to
624101c
Compare
Added support for Bookworm |
1856421
to
3887d65
Compare
c6fddf0
to
f21b38d
Compare
f21b38d
to
030a3a3
Compare
f934703
to
aa12d7f
Compare
aa12d7f
to
2f6335a
Compare
/azp run Azure.sonic-buildimage |
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
cae09fd
to
b349598
Compare
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
b349598
to
7d89812
Compare
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
7d89812
to
89474a4
Compare
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
89474a4
to
135babf
Compare
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
135babf
to
1f8dd2b
Compare
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
files/build/versions/dockers/docker-sonic-vs/versions-deb-bookworm
Outdated
Show resolved
Hide resolved
…ebootbackend process
1f8dd2b
to
f121b94
Compare
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
@bibhuprasad-hcl, @rkavitha-hcl Could you update the PR decription clearly on the functionality of the framework container that is being added? |
framework==1.0.0 | ||
framework-dbg==1.0.0 | ||
gcc-10-base==10.2.1-6 | ||
gcc-9-base==9.3.0-22 |
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 do we need 2 gcc versions?
@@ -14,6 +14,7 @@ dirmngr==2.2.40-1.1 | |||
ethtool==1:6.1-1 | |||
fontconfig-config==2.14.1-4 | |||
fonts-dejavu-core==2.37-6 | |||
framework==1.0.0 |
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.
A generic question, what is the maximum memory and CPU consumption by this new container?
And is it continuous usage or only when handling reboot request?
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.
A generic question, what is the maximum memory and CPU consumption by this new container? And is it continuous usage or only when handling reboot request?
framework container can be disabled/enabled using sonic-cli.
Attaching the memory and CPU consumption stats by framework-container when it is enabled in Sonic-VS.
root@sonic:/home/admin# docker stats framework
CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
f439b1116aaa framework 0.01% 37.34MiB / 3.663GiB 1.00% 0B / 0B 0B / 0B 10
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.
@vvolam To add, in steady state, the rebootbackend process only listens for redis db notification and then start a thread to orchestrate the reboot process. So, there should be not much of an impact to cpu or memory.
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.
@kishanps Got it. Thanks
@bibhuprasad-hcl Could you please merge the latest changes from sonic-build image as other commits got merged. Also could you remove changes from protected files? |
Why I did it
Work item tracking
How I did it
How to verify it
Which release branch to backport (provide reason below if selected)
Tested branch (Please provide the tested image version)
Description for the changelog
framework is the container inside which rebootbackend process runs. It receives the Cold/Warm/Halt reboot requests from gNOI and services it.
This container is disabled by default. It can be enabled or disabled using following sonic-cli.
sudo config feature state framework enabled
sudo config feature state framework disabled
sudo config save -y
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)