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

[deploy-mg][mx] Fix generate golden config db failed in mx with OS version doesn't support dhcp_server #16086

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

yaqiangz
Copy link
Contributor

@yaqiangz yaqiangz commented Dec 16, 2024

Description of PR

Summary:
Fixes # (issue)

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Back port request

  • 202012
  • 202205
  • 202305
  • 202311
  • 202405

Approach

What is the motivation for this PR?

Golden config db var has been changed from json like string to dict by this RP #15922
But for mx with OS version doesn't support dhcp_server, it would still generate empty json like string, which would cause failure

How did you do it?

Change empty golden config generated for mx doesn't support dhcp_server

How did you verify/test it?

Deploy-mg

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@wangxin wangxin merged commit 5c2245a into sonic-net:master Dec 17, 2024
17 of 18 checks passed
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Dec 17, 2024
…rsion doesn't support dhcp_server (sonic-net#16086)

What is the motivation for this PR?
Golden config db var has been changed from json like string to dict by this RP sonic-net#15922
But for mx with OS version doesn't support dhcp_server, it would still generate empty json like string, which would cause failure

How did you do it?
Change empty golden config generated for mx doesn't support dhcp_server

How did you verify/test it?
Deploy-mg
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202405: #16113

mssonicbld pushed a commit that referenced this pull request Dec 30, 2024
…rsion doesn't support dhcp_server (#16086)

What is the motivation for this PR?
Golden config db var has been changed from json like string to dict by this RP #15922
But for mx with OS version doesn't support dhcp_server, it would still generate empty json like string, which would cause failure

How did you do it?
Change empty golden config generated for mx doesn't support dhcp_server

How did you verify/test it?
Deploy-mg
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.

4 participants