Skip to content

[docker-database-init.sh]:Fix wrong creating of database_global.json in multi asic platform #17221

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 21, 2023

Conversation

Pterosaur
Copy link
Contributor

@Pterosaur Pterosaur commented Nov 18, 2023

Why I did it

Fix bug: #17161 (comment)
multi-asic platforms it will never go to the else part as DATABASE_TYPE is always ""

Work item tracking
  • Microsoft ADO (number only): 25072889

How I did it

Move the checker NAMESPACE_ID == "" back

How to verify it

Check Azp

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

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 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)

@Pterosaur Pterosaur changed the title Fix wrong creating of database_global.json in multi asic platform [docker-database-init.sh]:Fix wrong creating of database_global.json in multi asic platform Nov 18, 2023
@Pterosaur Pterosaur force-pushed the fix_multi_asic_database_global branch 2 times, most recently from e694f23 to 848cab5 Compare November 18, 2023 07:17
@Pterosaur Pterosaur force-pushed the fix_multi_asic_database_global branch from 848cab5 to bf36068 Compare November 18, 2023 07:18
@Pterosaur Pterosaur requested a review from judyjoseph November 18, 2023 08:16
@Pterosaur Pterosaur mentioned this pull request Nov 18, 2023
11 tasks
@Pterosaur Pterosaur marked this pull request as ready for review November 18, 2023 08:16
@Pterosaur Pterosaur requested a review from lguohan as a code owner November 18, 2023 08:16
@Pterosaur
Copy link
Contributor Author

/azpw ms_conflict

@lguohan
Copy link
Collaborator

lguohan commented Nov 20, 2023

@judyjoseph , can you check?

@lguohan lguohan merged commit a87cddc into sonic-net:master Nov 21, 2023
@Pterosaur Pterosaur deleted the fix_multi_asic_database_global branch November 21, 2023 23:21
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.

3 participants