Skip to content

[action] [PR:13793] Increase post-PDU state change delay to allow all PSUs to react#13832

Merged
mssonicbld merged 1 commit intosonic-net:202311from
mssonicbld:cherry/202311/13793
Jul 26, 2024
Merged

[action] [PR:13793] Increase post-PDU state change delay to allow all PSUs to react#13832
mssonicbld merged 1 commit intosonic-net:202311from
mssonicbld:cherry/202311/13793

Conversation

@mssonicbld
Copy link
Collaborator

Description of PR

Increase delay between PDU state change and reading PSU details to 10 seconds (previously 5).

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Back port request

  • 202012
  • 202205
  • 202305
  • 202311
  • 202405

Approach

What is the motivation for this PR?

10 second delay between PDU state change and accessing PSU details is not always enough. The time needed depends on PDU hardware, psud update interval, and PSU hardware. Increasing to 20 seconds allows extra time for the PDU to apply a state change and PSU to reflect it, which MSFT has validated and found sufficient.

How did you do it?

Increase post-PDU state change delays to 20 seconds (previously 10 seconds). This is especially important anywhere the PDU state is changed to "on".

How did you verify/test it?

MSFT verified by setting the delay to 20 seconds since Cisco was unable to reproduce with our PDU hardware.

…c-net#13793)

* Increase post-PDU state change delay to allow all PSUs to react

* Revert delay increase for 'turn_all_outlets_on'
@mssonicbld
Copy link
Collaborator Author

Original PR: #13793

@mssonicbld mssonicbld merged commit 7229013 into sonic-net:202311 Jul 26, 2024
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.

2 participants