Skip to content

Backport a fix re-trying xapi connection - #20

Merged
last-genius merged 1 commit into
8.3from
asv/backport-connection-retry
Aug 7, 2026
Merged

last-genius merged 1 commit into
8.3from
asv/backport-connection-retry

Conversation

@last-genius

Copy link
Copy Markdown
Contributor

Main information

Work Item Reference

XCPNG-3618

Context & Motivation

If xsconsole fails to connect to xapi once, it never tries again (most often happens during HA master failover). On a long-running xsconsole instance (on the physical console, for example) it is especially important to reflect the correct state of the pool. This fix re-tries the connection after a cooldown wait.

Release Target

  • We already defined a release target with the release team.
  • I haven't talked with the release team, but I have a proposed target.
  • I'm not sure, let's talk about it.

8.3-next+1


Release Notes and Documentation

Explain the change to users

  • Retry the xapi connection instead of latching it broken forever

Attention points

None

Documentation update needed

  • Yes
  • No
  • I'm not sure, help me

Testing and regression avoidance

What tests have you performed?

Manual testing by Olivier and forum users

What manual tests should be performed after the build, and by whom?

The upstream PR describes the procedure for killing xapi and checking xsconsole re-tries the connection: xapi-project/xsconsole#90

What's covered by the xcp-ng-tests test suite?

xsconsole is not currently covered, but it is planned to be.

What tests have been or will be added to CI for this change? If none, explain why.

None


Xen Orchestra Impact

Does this affect existing features in Xen Orchestra, or add new features that could be useful?

  • Yes
  • No

Signed-off-by: Andrii Sultanov <andriy.sultanov@vates.tech>
@last-genius
last-genius requested review from a team as code owners August 5, 2026 14:10
@last-genius

Copy link
Copy Markdown
Contributor Author

Scratch build: https://koji.xcp-ng.org/taskinfo?taskID=110781

@bleader

bleader commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

What tests have been or will be added to CI for this change? If none, explain why.
None

We should probably create a card to track it, once the have the basics from current work it should be easier to add new tests, and we already know how to test it.

@last-genius

Copy link
Copy Markdown
Contributor Author

We should probably create a card to track it, once the have the basics from current work it should be easier to add new tests, and we already know how to test it.

Done, it's XCPNG-3619

@bleader bleader left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks!

@last-genius
last-genius merged commit 3aee13c into 8.3 Aug 7, 2026
1 check passed
@last-genius
last-genius deleted the asv/backport-connection-retry branch August 7, 2026 08:34
@last-genius

Copy link
Copy Markdown
Contributor Author

Build in v8.3-incoming: https://koji.xcp-ng.org/buildinfo?buildID=6040

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.

4 participants