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

[ycable] Curb log messages in active-active by changing verbosity level; fix missing namespaces in delete event handle #391

Merged
merged 9 commits into from
Aug 17, 2023

Conversation

vdahiya12
Copy link
Contributor

@vdahiya12 vdahiya12 commented Jul 27, 2023

This PR conversts some log_warning and log_error messages which are redundant in images to log_debug messages and the debug messages can be enabled whenever required.
It also fixes a missing namespaces initialization not initialized earlier. if this delete event is executed without this change, ycabled can possibly restart, this change fixes the issue

Description

Motivation and Context

How Has This Been Tested?

UT

Additional Information (Optional)

cable type

Signed-off-by: vaibhav dahiya <vdahiya@microsoft.com>
Signed-off-by: vaibhav dahiya <vdahiya@microsoft.com>
Signed-off-by: vaibhav dahiya <vdahiya@microsoft.com>
prgeor
prgeor previously approved these changes Aug 8, 2023
@prgeor prgeor added the Y-Cable label Aug 8, 2023
Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
@vdahiya12 vdahiya12 changed the title [ycable] Curb log messages in active-active by changing verbosity level [ycable] Curb log messages in active-active by changing verbosity level; fix missing namespaces in delete event handle Aug 17, 2023
@prgeor prgeor merged commit 82506ce into sonic-net:master Aug 17, 2023
4 checks passed
yxieca pushed a commit that referenced this pull request Aug 17, 2023
…el; fix missing namespaces in delete event handle (#391)

* [ycabled][active-active] Correct the behavior when no active-active
cable type

Signed-off-by: vaibhav dahiya <vdahiya@microsoft.com>
tshalvi pushed a commit to tshalvi/sonic-platform-daemons that referenced this pull request Sep 11, 2023
…el; fix missing namespaces in delete event handle (sonic-net#391)

* [ycabled][active-active] Correct the behavior when no active-active
cable type

Signed-off-by: vaibhav dahiya <vdahiya@microsoft.com>
@StormLiangMS
Copy link

@vdahiya12 could we have an ADO to support this cherry pick?

StormLiangMS pushed a commit that referenced this pull request Sep 21, 2023
…el; fix missing namespaces in delete event handle (#391)

* [ycabled][active-active] Correct the behavior when no active-active
cable type

Signed-off-by: vaibhav dahiya <vdahiya@microsoft.com>
@vdahiya12
Copy link
Contributor Author

@vdahiya12 could we have an ADO to support this cherry pick?

@StormLiangMS please use this 24608402

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