Skip to content

[platform && device]update centec e582 platform device config files and drivers, update sai to 1.2.4 on branch 201803#1703

Merged
lguohan merged 2 commits intosonic-net:201803from
CentecNetworks:201803
Aug 12, 2018
Merged

[platform && device]update centec e582 platform device config files and drivers, update sai to 1.2.4 on branch 201803#1703
lguohan merged 2 commits intosonic-net:201803from
CentecNetworks:201803

Conversation

@yangbashuang
Copy link
Copy Markdown
Contributor

- What I did
update centec e582 platform device config files and drivers
update sai to 1.2.4
- How I did it
update centec e582 platform device config files and drivers, update sai to 1.2.4
- How to verify it
build success
startup and init success
psuutil works fine
sfputil works fine
led works normal
- Description for the changelog

update centec e582 platform device config files and drivers:

fix e582 driver bugs
support led control
support psuutil
support sfputil
update e582 device config file
update sai:
update sai to 1.2.4

old PR:#1680
i close old PR and create this new PR.

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

@yangbashuang yangbashuang changed the title [platform && device]update centec e582 platform device config files and drivers, update sai to 1.2.4 [platform && device]update centec e582 platform device config files and drivers, update sai to 1.2.4 on branch 201803 May 14, 2018
@yangbashuang
Copy link
Copy Markdown
Contributor Author

@lguohan please review

@lguohan lguohan merged commit bf26a9a into sonic-net:201803 Aug 12, 2018
stepanblyschak added a commit to stepanblyschak/sonic-buildimage that referenced this pull request Apr 13, 2021
Changes:
ac4596a [intfmgrd] reach reconciled state at start when there are no interfaces configuration to process (sonic-net#1703)

Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
liat-grozovik pushed a commit that referenced this pull request Apr 13, 2021
Changes:
ac4596a [intfmgrd] reach reconciled state at start when there are no interfaces configuration to process (#1703)

Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
abdosi added a commit that referenced this pull request Aug 6, 2021
97d971372fac773b98d46bb8f800df7b845e518e (HEAD -> 201911, origin/201911) [sfpshow] Gracefully handle improper 'specification_compliance' field (#1594) (#1729)
2099c73cea81ff4524e680b6f9335c0b0f13b94e [CLI] Implement null_route_helper script (#1740)
b56659175986fe0e5b82c6bd6b3dde163164777b [minigraph][port_config] Consume port_config.json while reloading minigraph (#1725)
e840c42da2a40db2bf993672271f6b75c51c426f Change the method name to align with master, reduce diverge issue (#1703)

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
vmittal-msft pushed a commit to vmittal-msft/sonic-buildimage that referenced this pull request Oct 20, 2025
…hat recreates database containers on VS platform (sonic-net#1703)

<!--
 Please make sure you've read and understood our contributing guidelines:
 https://github.com/Azure/SONiC/blob/gh-pages/CONTRIBUTING.md

 failure_prs.log skip_prs.log Make sure all your commits include a signature generated with `git commit -s` **

 If this is a bug fix, make sure your description includes "fixes #xxxx", or
 "closes #xxxx" or "resolves #xxxx"

 Please provide the following information:
-->

#### Why I did it

To support the emulation of VS chassis, we need to remove the existing critical service containers before transforming the HwSKU of the VS device. A previous PR [sonic-net#18512](sonic-net#18512) introduced a change to the docker_image_ctl.j2 that forces VS images to recreate database containers every time the OS is cold started while the behaviors of other containers(swss/bgp/teamd/syncd) remained unchanged. As a consequence, when the VS device is rebooted without proper human intervention, the database containers will be recreated while the other services will reuse existing containers. That can cause the swss/bgp/syncd containers to become invalid if the database containers get recreated with a different container ID, because swss/bgp/syncd containers are configured to use the database containers as the underlying networking stack.

By further investigation, we have found that it is not necessary to recreate the database containers in /usr/bin/database.sh to perform HwSKU transformation. So, we should remove this logic.

##### Work item tracking
- Microsoft ADO **(number only)**: 30454307

#### How I did it
Remove the code that removes existing database containers in /usr/bin/database.sh

#### How to verify it

* Build VS image and install it on a KVM sonic-vs
* Reboot the sonic-vs multiple times and check if all the containers are started successfully every time.

<!--
If PR needs to be backported, then the PR must be tested against the base branch and the earliest backport release branch and provide tested image version on these two branches. For example, if the PR is requested for master, 202211 and 202012, then the requester needs to provide test results on master and 202012.
-->

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

The original change was introduced into 202205 branch so we need to backport this fix.

- [ ] 201811
- [ ] 201911
- [ ] 202006
- [ ] 202012
- [ ] 202106
- [ ] 202111
- [X] 202205
- [ ] 202211
- [ ] 202305
- [x] 202405

#### Tested branch (Please provide the tested image version)

<!--
- Please provide tested image version
- e.g.
- [x] 20201231.100
-->

- [X] 20220532.72

#### Description for the changelog
<!--
Write a short (one line) summary that describes the changes in this
pull request for inclusion in the changelog:
-->

docker_image_ctl.j2: change to not remove existing database containers on VS platform

<!--
 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.
-->
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.

3 participants