Skip to content

Conversation

@gsanchietti
Copy link
Member

Changes:

  • packages/ns-api/files/ns.ha: Added a step to enable keepalived in the init_local function to ensure it is active if previously disabled by the reset API.
  • packages/ns-api/files/ns.ha: Added a check in the upgrade_remote function to return an error if the specified image file does not exist, preventing further processing.
  • packages/ns-ha/files/ns-ha-config: Updated the ns-ha-config script to provide detailed error messages by parsing and displaying the error field from the RPC response when the upgrade fails.

If the cluster has been re-initialized after a reset,
keepalived was kept in disabled state and was not starting at boot
When using "ns-ha-config upgrade-remote <img>",
make sure the img file is present.
Previously, the command was reporting a success
while the upgrade did not really take place.
@gsanchietti gsanchietti merged commit a6e8ebd into main Jun 17, 2025
1 check passed
@gsanchietti gsanchietti deleted the ha_minor_fixes branch June 17, 2025 12:38
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