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

delete cm ovn-ic-config cause crash 1.11 #3665

Merged
merged 2 commits into from
Jan 24, 2024

Conversation

changluyi
Copy link
Collaborator

@changluyi changluyi commented Jan 23, 2024

  1. fix delete cm ovn-ic-config cause crash
  2. add ovn-ic-controller.log to hostpath

Pull Request

What type of this PR

Examples of user facing changes:

  • Features
  • Bug fixes
  • Docs
  • Tests

Which issue(s) this PR fixes

Fixes #(issue-number)

WHAT

copilot:summary

copilot:poem

HOW

copilot:walkthrough

2. add ovn-ic-controller.log to hostpath

Signed-off-by: Changlu Yi <clyi@alauda.io>
@changluyi changluyi changed the title 1. fix delete cm ovn-ic-config cause crash delete cm ovn-ic-config cause crash 1.11 Jan 23, 2024
@changluyi changluyi added bug Something isn't working need backport labels Jan 23, 2024
@@ -117,19 +117,22 @@ func (c *Controller) resyncInterConnection() {
return
}
klog.Info("start to remove ovn-ic")
azName := ""
icDBHost := ""
var azName, icDBHost, icSBPort, icNBPort string
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

是不是直接 disable 就可以了,不续要下面的配置

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

disableOVNIC需要这些配置去初始化c.ovnLegacyClient.OvnICSbAddress,c.ovnLegacyClient.OvnICNbAddress

是不是直接 disable 就可以了,不续要下面的配置

Signed-off-by: Changlu Yi <clyi@alauda.io>
@changluyi changluyi merged commit 0e98a62 into release-1.11 Jan 24, 2024
45 checks passed
@changluyi changluyi deleted the fix_delete_ovn_ic_cm_cause_crash-1.11 branch January 24, 2024 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need backport
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants