Skip to content

[nvidia] make sure shared storage with syncd is cleared on restarts#98

Closed
stepanblyschak wants to merge 1 commit intomasterfrom
nv-syncd-shared
Closed

[nvidia] make sure shared storage with syncd is cleared on restarts#98
stepanblyschak wants to merge 1 commit intomasterfrom
nv-syncd-shared

Conversation

@stepanblyschak
Copy link
Copy Markdown
Owner

Why I did it

Sharing the storage of syncd with other containers allows other containers to communicate with syncd in differnt ways.
If one container wants to pass some information to syncd then shared storage can be used. However, today the shared storage isn't cleaned on restarts making it possible for syncd to read out-of-date information generated in the past.

How I did it

Implemented new service to clean the shared storage.

How to verify it

Do reboot/fast-reboot/warm-reboot/config-reload/systemctl restart swss and verify /tmp/ is cleaned after each restart in syncd container.

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

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

Description for the changelog

Ensure to add label/tag for the feature raised. example - PR#2174 under sonic-utilities repo. where, Generic Config and Update feature has been labelled as GCU.

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

stepanblyschak pushed a commit that referenced this pull request Sep 24, 2025
…er-dependency (sonic-net#23716)

#### Why I did it
sonic-swss-common
```
dc05565 2025-08-14 | Revert "[strict yang] Add YANG based cfg_schema.h to schema.h (sonic-net#1008)" (sonic-net#1067) [jingwenxie]
e782b12 2025-08-12 | Add c-api/Rust wrappers for ConfigDBConnector and EventPublisher (sonic-net#1062) [Qi Luo]
1484a85 2025-08-08 | Ignore nonexistent include in database_global.json (sonic-net#1041) [yue-fred-gao]
839ddf0 2025-08-08 | [strict yang] Add YANG based cfg_schema.h to schema.h (sonic-net#1008) [jingwenxie]
```

sonic-dash-ha
```
6163990 2025-08-12 | Update sonic_db_config_initialize_global with extra argument (#98) [yue-fred-gao]
01a88ef 2025-08-07 | Suppress update from consumer bridge if there is no change (#89) [yue-fred-gao]
```
stepanblyschak pushed a commit that referenced this pull request Sep 24, 2025
…e latest HEAD automatically (sonic-net#23931)

#### Why I did it
src/wpasupplicant/sonic-wpa-supplicant
```
* 31c1c8db1 - (HEAD -> master, origin/master, origin/HEAD) Changes in HOSTAPD to Support PAC (#90) (67 minutes ago) [Vijaya Kumar Abbaraju]
* ed735fe67 - [CodeQL]: Failed CI on CodeQL (#98) (2 hours ago) [Ze Gan]
* d22c2f48e - [action] Fix codeQL github action issue. (#96) (14 hours ago) [Liu Shilong]
```
#### How I did it
#### How to verify it
#### Description for the changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants