Skip to content

<fix>[zbs]: backport MDS automatic reconnect#4532

Open
ZStack-Robot wants to merge 2 commits into
5.4.12from
sync/haidong.pang/fix/ZSTAC-86420
Open

<fix>[zbs]: backport MDS automatic reconnect#4532
ZStack-Robot wants to merge 2 commits into
5.4.12from
sync/haidong.pang/fix/ZSTAC-86420

Conversation

@ZStack-Robot

Copy link
Copy Markdown
Collaborator

Summary

Backport the merged ZBS MDS recovery fixes from 5.5.6 so restarted MDS nodes restore firewall rules and agent metadata automatically, including the all-MDS-disconnected path.

Source

  • zstack !9017 / d4d192168977926b55f64ab13638232022ce5c74
  • zstack !9079 / 01ab7f803af010c2aba815660cc549a1a5f8f790

Changes

  • Reconnect failed MDS nodes through the existing deploy/configure/sync flow.
  • Debounce partial MDS failures while reconnecting all-disconnected MDS immediately.
  • Backport the ZBS regression coverage with 5.4.12-specific conflict adaptations.

Testing

  • git diff --check upstream/5.4.12..HEAD
  • Source/backport range-diff and simulator response-pair review
  • Remote x86 container availability preflight
  • plugin/zbs package and ZbsPrimaryStorageCase on the MR ref

Resolves: ZSTAC-86420

sync from gitlab !10494

@coderabbitai

coderabbitai Bot commented Jul 10, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You’ve reached a temporary PR review limit under our Fair Usage Limits Policy.

Your recent review volume is higher than typical usage, so adaptive limits are currently applied.

Next review available in: 21 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: c143f567-c193-438a-b65b-4e0c75dbf59f

📥 Commits

Reviewing files that changed from the base of the PR and between e1a38d3 and ca7439e.

📒 Files selected for processing (4)
  • plugin/zbs/src/main/java/org/zstack/storage/zbs/ZbsConstants.java
  • plugin/zbs/src/main/java/org/zstack/storage/zbs/ZbsPrimaryStorageMdsBase.java
  • plugin/zbs/src/main/java/org/zstack/storage/zbs/ZbsStorageController.java
  • test/src/test/groovy/org/zstack/test/integration/storage/primary/addon/zbs/ZbsPrimaryStorageCase.groovy

Warning

.coderabbit.yaml has a parsing error

The CodeRabbit configuration file in this repository has a parsing error and default settings were used instead. Please fix the error(s) in the configuration file. You can initialize chat with CodeRabbit to get help with the configuration file.

💥 Parsing errors (1)
Could not fetch remote config from http://open.zstack.ai:20001/code-reviews/zstack-cloud.yaml: TimeoutError: The operation was aborted due to timeout
⚙️ Configuration instructions
  • Please see the configuration documentation for more information.
  • You can also validate your configuration using the online YAML validator.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch sync/haidong.pang/fix/ZSTAC-86420

Comment @coderabbitai help to get the list of available commands.

@MatheMatrix MatheMatrix force-pushed the sync/haidong.pang/fix/ZSTAC-86420 branch 4 times, most recently from e3df904 to ee07d94 Compare July 10, 2026 08:37
haidong.pang added 2 commits July 10, 2026 16:45
Resolves: ZSTAC-79447

Change-Id: I757275676874656b727a6172646961687a726870
- After the ZBS primary storage agent on the MDS restarts,
it may fail to start up independently due to lost firewall
rules or metadata.

- Redeploy by the MN is required.

Resolves: ZSTAC-79447

Change-Id: I726b7467627269627779696d6e72756f75706e76
@MatheMatrix MatheMatrix force-pushed the sync/haidong.pang/fix/ZSTAC-86420 branch from ee07d94 to ca7439e Compare July 10, 2026 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant