sonic-buildimage icon indicating copy to clipboard operation
sonic-buildimage copied to clipboard

[Nokia-7215] Enhance Watchdog service

Open Pavan-Nokia opened this issue 9 months ago • 0 comments

Make sure that platform watchdog always starts after watchdog-control.service

This is a backport PR for Master PR #18850

Why I did it

To resolve conflict between ordering of the 2 watchdog services.

  1. watchdog-control.service -- common service designed to disable watchdog on all platforms
  2. cpu_wdt.service -- enable Watchdog on nokia-7215 platform.

Is some cases service 1 was started after service 2 leaving the watchdog on the box disabled

Work item tracking
  • Microsoft ADO (number only):

How I did it

Enhance service file to assure cpu_wdt.service always starts after watchdog-control.service

How to verify it

  1. Try multiple upgrades and install scenario to make sure watchdog is always in enabled state
  2. Try multiple reboots to make sure watchdog is always in enabled state

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

  • [ ] 201811
  • [ ] 201911
  • [ ] 202006
  • [ ] 202012
  • [ ] 202106
  • [ ] 202111
  • [x] 202205
  • [ ] 202211
  • [x] 202305

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)

Pavan-Nokia avatar May 02 '24 14:05 Pavan-Nokia