Skip to content

[Smartswitch][nvidia-bluefield]Add watchdog device mount for pmon#24746

Merged
liat-grozovik merged 3 commits intosonic-net:masterfrom
gpunathilell:fix_wd_dpu
Jan 12, 2026
Merged

[Smartswitch][nvidia-bluefield]Add watchdog device mount for pmon#24746
liat-grozovik merged 3 commits intosonic-net:masterfrom
gpunathilell:fix_wd_dpu

Conversation

@gpunathilell
Copy link
Contributor

Why I did it

The watchdog arm/disarm will fail in the pmon container with the following error:

root@sonic:/# mlxbf-bootctl
/dev/mmcblk0: No such file or directory
root@sonic:/#

Because the container hardening feature required explicit device mounting. This is fixed by mounting the dpu watchdog device for the pmon container, since we have platform apis in the containers which are called during sonci-mgmt tests

Work item tracking
  • Microsoft ADO (number only):

How I did it

Mount the DPU watchdog relevant device.

How to verify it

Arm/check the watchdog status in the pmon container, with the watchdog platform api object.

Which release branch to backport (provide reason below if selected)

  • 202205
  • 202211
  • 202305
  • 202311
  • 202405
  • 202411
  • 202505

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)

@gpunathilell gpunathilell requested a review from lguohan as a code owner December 4, 2025 15:47
@mssonicbld
Copy link
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@gpunathilell gpunathilell changed the title [Smartswitch][nvidia-bluefield]Add watchdog device mount for pmon #55 [Smartswitch][nvidia-bluefield]Add watchdog device mount for pmon Dec 12, 2025
@mssonicbld
Copy link
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@gpunathilell
Copy link
Contributor Author

/azpw run Azure.sonic-buildimage

@mssonicbld
Copy link
Collaborator

/AzurePipelines run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@liat-grozovik liat-grozovik merged commit bd0e6c3 into sonic-net:master Jan 12, 2026
23 checks passed
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202511: #25059

@mssonicbld
Copy link
Collaborator

@gpunathilell cherry pick PR didn't pass PR checker. Please check!!!
#25059

SahilChaudhari pushed a commit to SahilChaudhari/sonic-buildimage-sonic-net that referenced this pull request Jan 21, 2026
…nic-net#24746)

- Why I did it
The watchdog arm/disarm will fail in the pmon container with the following error:

root@sonic:/# mlxbf-bootctl
/dev/mmcblk0: No such file or directory
root@sonic:/#
Because the container hardening feature required explicit device mounting. This is fixed by mounting the dpu watchdog device for the pmon container, since we have platform apis in the containers which are called during sonci-mgmt tests

- How I did it
Mount the DPU watchdog relevant device.

- How to verify it
Arm/check the watchdog status in the pmon container, with the watchdog platform api object.


Signed-off-by: gpunathilell <[email protected]>
Co-authored-by: Sudharsan Dhamal Gopalarathnam <[email protected]>
jasonbridges pushed a commit to jasonbridges/sonic-buildimage that referenced this pull request Jan 22, 2026
…nic-net#24746)

- Why I did it
The watchdog arm/disarm will fail in the pmon container with the following error:

root@sonic:/# mlxbf-bootctl
/dev/mmcblk0: No such file or directory
root@sonic:/#
Because the container hardening feature required explicit device mounting. This is fixed by mounting the dpu watchdog device for the pmon container, since we have platform apis in the containers which are called during sonci-mgmt tests

- How I did it
Mount the DPU watchdog relevant device.

- How to verify it
Arm/check the watchdog status in the pmon container, with the watchdog platform api object.


Signed-off-by: gpunathilell <[email protected]>
Co-authored-by: Sudharsan Dhamal Gopalarathnam <[email protected]>
spandan-nexthop pushed a commit to spandan-nexthop/sonic-buildimage that referenced this pull request Feb 15, 2026
…nic-net#24746)

- Why I did it
The watchdog arm/disarm will fail in the pmon container with the following error:

root@sonic:/# mlxbf-bootctl
/dev/mmcblk0: No such file or directory
root@sonic:/#
Because the container hardening feature required explicit device mounting. This is fixed by mounting the dpu watchdog device for the pmon container, since we have platform apis in the containers which are called during sonci-mgmt tests

- How I did it
Mount the DPU watchdog relevant device.

- How to verify it
Arm/check the watchdog status in the pmon container, with the watchdog platform api object.


Signed-off-by: gpunathilell <[email protected]>
Co-authored-by: Sudharsan Dhamal Gopalarathnam <[email protected]>
baorliu pushed a commit to baorliu/sonic-buildimage that referenced this pull request Feb 24, 2026
…nic-net#24746)

- Why I did it
The watchdog arm/disarm will fail in the pmon container with the following error:

root@sonic:/# mlxbf-bootctl
/dev/mmcblk0: No such file or directory
root@sonic:/#
Because the container hardening feature required explicit device mounting. This is fixed by mounting the dpu watchdog device for the pmon container, since we have platform apis in the containers which are called during sonci-mgmt tests

- How I did it
Mount the DPU watchdog relevant device.

- How to verify it
Arm/check the watchdog status in the pmon container, with the watchdog platform api object.


Signed-off-by: gpunathilell <[email protected]>
Co-authored-by: Sudharsan Dhamal Gopalarathnam <[email protected]>
FengPan-Frank pushed a commit to FengPan-Frank/sonic-buildimage that referenced this pull request Mar 6, 2026
…nic-net#24746)

- Why I did it
The watchdog arm/disarm will fail in the pmon container with the following error:

root@sonic:/# mlxbf-bootctl
/dev/mmcblk0: No such file or directory
root@sonic:/#
Because the container hardening feature required explicit device mounting. This is fixed by mounting the dpu watchdog device for the pmon container, since we have platform apis in the containers which are called during sonci-mgmt tests

- How I did it
Mount the DPU watchdog relevant device.

- How to verify it
Arm/check the watchdog status in the pmon container, with the watchdog platform api object.

Signed-off-by: gpunathilell <[email protected]>
Co-authored-by: Sudharsan Dhamal Gopalarathnam <[email protected]>
Signed-off-by: Feng Pan <[email protected]>
kalash-nexthop pushed a commit to kalash-nexthop/sonic-buildimage that referenced this pull request Mar 13, 2026
…nic-net#24746)

- Why I did it
The watchdog arm/disarm will fail in the pmon container with the following error:

root@sonic:/# mlxbf-bootctl
/dev/mmcblk0: No such file or directory
root@sonic:/#
Because the container hardening feature required explicit device mounting. This is fixed by mounting the dpu watchdog device for the pmon container, since we have platform apis in the containers which are called during sonci-mgmt tests

- How I did it
Mount the DPU watchdog relevant device.

- How to verify it
Arm/check the watchdog status in the pmon container, with the watchdog platform api object.

Signed-off-by: gpunathilell <[email protected]>
Co-authored-by: Sudharsan Dhamal Gopalarathnam <[email protected]>
Signed-off-by: Kalash Nainwal <[email protected]>
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.

7 participants