Add Process Reboot Cause Service as Upholds of Database Service#18772
Add Process Reboot Cause Service as Upholds of Database Service#18772xincunli-sonic wants to merge 4 commits intosonic-net:masterfrom
Conversation
|
@anamehra please review for T2 chassis |
|
@saiarcot895 Would you mind review this change, it was wrongly use upholds in this PR: sonic-net/sonic-host-services#100 |
|
/azp run Azure.sonic-buildimage |
|
Commenter does not have sufficient privileges for PR 18772 in repo sonic-net/sonic-buildimage |
|
/azp run Azure.sonic-buildimage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azpw run |
|
/AzurePipelines run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azpw run Azure.sonic-buildimage |
|
/AzurePipelines run Azure.sonic-buildimage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azpw run |
|
/AzurePipelines run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azpw run |
|
/AzurePipelines run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azpw run Azure.sonic-buildimage (Test kvmtest-multi-asic-t1-lag by Elastictest) |
|
/AzurePipelines run Azure.sonic-buildimage (Test kvmtest-multi-asic-t1-lag by Elastictest) |
|
No pipelines are associated with this pull request. |
|
@prgeor , I am seeing the following error if add this Upholds string in database.service file on LC. I did not build a fresh image but edited a router and rebooted. That should not be any different. root@sfd-t2-lc2:/home/cisco# systemctl status process-reboot-cause.service May 02 20:49:45 sfd-t2-lc2 systemd[1]: process-reboot-cause.service: Start request repeated too quickly. Could you please try any multi-asic system at your end? |
|
Hi @prgeor , any input on my comment above? Thanks |
|
@abdosi , for your viz |
|
@xincunli-sonic / @prgeor this change is not working for chassis. After making this change as mentioned by @anamehra seeing below issue post LC reboot. I feel this is not straight forward to fix for multi-asic as their are multiple database service. Can we merge this PR for master/202405 #17406 .This has been tested for 202305 and 202205 image and looks stable fix. @anamehra wondering this issue is coming because timer service of process-reboot-cause. In your PR :#17406 it seems time service is removed. Wondering do we need to do same here in context of this PR ? |
|
Hi @abdosi , removing timer does not help as well. |
|
@xincunli-sonic, can you please resolve the comments on this PR. Also please confirm if these changes will work on multi-asic platforms |
@anamehra @abdosi can you tell me if you are testing this change in master image for multi-asic? Which sonic version are you testing on chassis platform? |
|
this change is not working on multi-asic/chassis subsystem. We had another approach to fix this which is merged in master also. so closing this PR. |
Why I did it
Addressing this issue: Fixed determine/process reboot-cause service dependency
Work item tracking
How I did it
Add Upholds for
process-reboot-cause.serviceHow 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
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)