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

Enhance the error message output mechanism when swss docker is created #14384

Merged
merged 1 commit into from
Apr 7, 2023

Conversation

stephenxs
Copy link
Collaborator

Why I did it

Enhance the error message output mechanism during swss docker creating

Signed-off-by: Stephen Sun stephens@nvidia.com

How I did it

Capture the output to stderr of sonic-cfggen and output it using echo to make sure the error message will be logged in syslog.

How to verify it

Manually test

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)

Enhance the error message output mechanism during swss docker creating

Signed-off-by: Stephen Sun <stephens@nvidia.com>
@stephenxs stephenxs requested review from qiluo-msft and liuh-80 March 22, 2023 09:14
@stephenxs
Copy link
Collaborator Author

Hi @qiluo-msft
This is to split the original PR #13888 into 2 following our discussion.
Could you please sign off?
Thanks

@stephenxs stephenxs marked this pull request as ready for review March 22, 2023 14:44
@stephenxs stephenxs requested a review from lguohan as a code owner March 22, 2023 14:44
@qiluo-msft qiluo-msft merged commit 152148f into sonic-net:master Apr 7, 2023
@stephenxs stephenxs deleted the enhance-error-message branch April 8, 2023 09:48
mssonicbld pushed a commit to mssonicbld/sonic-buildimage that referenced this pull request Apr 20, 2023
#### Why I did it

Enhance the error message output mechanism during swss docker creating

#### How I did it

Capture the output to stderr of `sonic-cfggen` and output it using `echo` to make sure the error message will be logged in syslog.

#### How to verify it

Manually test
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202211: #14766

mssonicbld pushed a commit that referenced this pull request Apr 23, 2023
#### Why I did it

Enhance the error message output mechanism during swss docker creating

#### How I did it

Capture the output to stderr of `sonic-cfggen` and output it using `echo` to make sure the error message will be logged in syslog.

#### How to verify it

Manually test
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.

5 participants