Skip to content
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

[database] Fix database config template for remote Redis instance #19239

Merged
merged 1 commit into from
Jun 7, 2024

Conversation

oleksandrivantsiv
Copy link
Collaborator

Why I did it

The template has a missing comma in the remote Redis JSON configuration. This causes an error when attempting to start the database container on the DPU in the Smart Switch.

Work item tracking
  • Microsoft ADO (number only):

How I did it

Add missing comma

How to verify it

Compile and run the DPU SONiC image. The database container should run with no errors.

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)

@prsunny
Copy link
Contributor

prsunny commented Jun 6, 2024

Wondering if we can have a test for this?

@liat-grozovik
Copy link
Collaborator

@prsunny i suggest to include the fix in 202405. if you agree, i will add the label.

@lguohan lguohan merged commit 04bad02 into sonic-net:master Jun 7, 2024
20 checks passed
@lguohan
Copy link
Collaborator

lguohan commented Jun 7, 2024

@prsunny and @liat-grozovik , we should not add this to 202405, for DPU it is targeted for 202411.

arun1355492 pushed a commit to arun1355492/sonic-buildimage that referenced this pull request Jul 26, 2024
…nic-net#19239)

The local Redis daemon should not run for a remote database.

How I did it
Do not generate a supervisord configuration entry for the remote database instances.

How to verify it
Compile and run the DPU image. The database container on the DPU should run Redis daemons only for local DB instances.
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