Skip to content

[Mellanox] Extend the time to wait for EEPROM VPD file creation#18146

Merged
liat-grozovik merged 2 commits intosonic-net:masterfrom
keboliu:master_eeprom_vpd
Feb 29, 2024
Merged

[Mellanox] Extend the time to wait for EEPROM VPD file creation#18146
liat-grozovik merged 2 commits intosonic-net:masterfrom
keboliu:master_eeprom_vpd

Conversation

@keboliu
Copy link
Copy Markdown
Collaborator

@keboliu keboliu commented Feb 21, 2024

Why I did it

The creation of system EEPROM VPD file "/var/run/hw-management/eeprom/vpd_info" is triggered by the udev event during the system boot up, in case the CPU is busy during the bootup, the udev event handling can be delayed, and need to wait for some more time for the file creation.

Work item tracking
  • Microsoft ADO (number only):

How I did it

Extend the waiting time from 10s to 20s to overcome some extreme case.

How to verify it

continuously run reboot case and verify whether still can see error msg "ERR decode-syseeprom: Nowhere to read syseeprom from! No symlink found"

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

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305
  • 202311

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)

@liat-grozovik liat-grozovik merged commit 881ceb7 into sonic-net:master Feb 29, 2024
@keboliu
Copy link
Copy Markdown
Collaborator Author

keboliu commented Mar 4, 2024

@yxieca would you please help to cherry-pick to 202311?

mssonicbld pushed a commit to mssonicbld/sonic-buildimage that referenced this pull request Mar 4, 2024
…c-net#18146)

- Why I did it
The creation of system EEPROM VPD file "/var/run/hw-management/eeprom/vpd_info" is triggered by the udev event during the system boot up, in case the CPU is busy during the bootup, the udev event handling can be delayed, and need to wait for some more time for the file creation.

- How I did it
Extend the waiting time from 10s to 20s to overcome some extreme case.

- How to verify it
continuously run reboot case and verify whether still can see error msg "ERR decode-syseeprom: Nowhere to read syseeprom from! No symlink found"

Signed-off-by: Kebo Liu <[email protected]>
@mssonicbld
Copy link
Copy Markdown
Collaborator

Cherry-pick PR to 202311: #18251

mssonicbld pushed a commit that referenced this pull request Mar 4, 2024
- Why I did it
The creation of system EEPROM VPD file "/var/run/hw-management/eeprom/vpd_info" is triggered by the udev event during the system boot up, in case the CPU is busy during the bootup, the udev event handling can be delayed, and need to wait for some more time for the file creation.

- How I did it
Extend the waiting time from 10s to 20s to overcome some extreme case.

- How to verify it
continuously run reboot case and verify whether still can see error msg "ERR decode-syseeprom: Nowhere to read syseeprom from! No symlink found"

Signed-off-by: Kebo Liu <[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.

6 participants