Skip to content

Conversation

BengangY
Copy link
Contributor

  1. Modify startup order in server_init. Checking HA configuration depends on the firewalld service, so move the updating firewalld service before checking HA configuration.
  2. HA supports 2 cluster stacks: xha and corosync. Only xha needs to control firewalld service dynamically. For corosync HA, the firewalld service dlm has been already controlled by the xapi-clusterd, so it doesn't need to control dynamically.
  3. Slave's HA is shutdown in ha_wait_for_shutdown_via_statefile. Add disabling firewalld service here.

@BengangY BengangY force-pushed the private/bengangy/CA-417520 branch from e3052e0 to 686448e Compare September 29, 2025 09:55
1. HA supports 2 cluster stacks: xha and corosync. Only xha needs to
control firewalld service dynamically. For corosync HA, the firewalld
service dlm has been already controlled by the xapi-clusterd, so it
doesn't need to control dynamically.
2. Slave's HA is shutdown in `ha_wait_for_shutdown_via_statefile`. Add
disabling firewalld service here.

Signed-off-by: Bengang Yuan <[email protected]>
@BengangY BengangY force-pushed the private/bengangy/CA-417520 branch from 686448e to f573e26 Compare September 29, 2025 11:14
@BengangY BengangY marked this pull request as ready for review October 9, 2025 10:36
@BengangY BengangY requested a review from psafont October 10, 2025 02:40
@BengangY BengangY merged commit 351f29c into xapi-project:feature/dynamic-firewalld-control Oct 10, 2025
15 checks passed
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.

3 participants