Repository navigation
Conversation
fanzy618
reviewed
Nov 26, 2026
| **Run on the management terminal.** Verify the current Kubernetes context and inspect the Deployment and Pods. | ||
|
|
||
| ```bash | ||
| kubectl config current-context |
| kind: | ||
| - Solution | ||
| ProductsVersion: | ||
| - '4.5.x' |
Contributor
There was a problem hiding this comment.
是否可以用于之前的版本比如 4.3 和 4.4 呢
|
|
||
| ## Resolution | ||
|
|
||
| The rebuild stops all `ovn-central` processes. New Pods and network configuration changes may fail during the outage. After the new SB cluster starts, `ovn-northd` uses NB to regenerate logical flows and port records. The `ovn-controller` on each node registers its Chassis and reestablishes port bindings. Network traffic repopulates dynamic MAC bindings. [OVN maintainers' guidance](https://mail.openvswitch.org/pipermail/ovs-dev/2020-July/373441.html) · [OVN architecture](https://www.ovn.org/support/dist-docs/ovn-architecture.7.html) |
Contributor
There was a problem hiding this comment.
可能需要把影响 Pod 创建的部分用更显眼的形式展现。 比如用警告的形式。 另外对于正常运行的 pod 如果没有影响,也请说明一下。
|
|
||
| ## Environment | ||
|
|
||
| - Alauda Container Platform (ACP) 4.5 with the three-replica `kube-system/ovn-central` Deployment, host networking, and host-local Raft database files. The procedure was exercised on a development cluster running Kube-OVN `v1.16.18`. |
Contributor
There was a problem hiding this comment.
如果其他版本ACP 也能支持,这里的版本号可能不要写这么具体, 另外 kube-ovn 我们也会频繁更新,版本太细会导致文档很快失效。
| ```bash | ||
| kubectl config current-context | ||
| kubectl -n kube-system get pods -l app=ovn-central -o wide | ||
| kubectl -n kube-system get deployment ovn-central -o yaml |
| **Run as root in Bash on each Raft node.** Confirm that no `ovn-central` container is running and that no process is listening on the NB and SB ports. Replace the port numbers with the values recorded in step 1 if they differ. | ||
|
|
||
| ```bash | ||
| crictl ps --name ovn-central |
Contributor
There was a problem hiding this comment.
不可变 OS 比如 coreOS 上不可行。它没有下面的命令
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds an ACP 4.5 Solution for rebuilding a three-member OVN Southbound cluster when all three SB database files are corrupted, no usable SB backup is available, and the original Northbound database still has quorum.
The procedure covers identifying the bootstrap node, validating the archived NB files offline, creating an empty SB cluster from the matching schema, and verifying Raft membership, NB-to-SB synchronization, and cross-node Pod connectivity.
Verification