Project

General

Profile

Actions

Bug #16185

closed

FreeRADIUS HA sync changes may be overwritten by the system config XMLRPC sync

Added by Georgiy Tyutyunnik 4 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
FreeRADIUS
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
Affected Plus Version:
Affected Architecture:

Description

Making a change in FreeRADIUS on a HA cluster with configured FreeRADIUS sync triggers both the XMLRPC sync for the general config categories, and for FreeRADIUS specifically. System log attached.

config history of the 2nd node somehow registers FreeRADIUS config sync first then the general config categories sync, thus the 2nd sync re-writes the change synced for FreeRADIUS. Logs attached

config history shows:

01. 4/28/25 13:45:25 v23.6 (system)@172.31.255.1

Merged in config (staticroutes, gateways, virtualip, system, voucher, hasync, aliases, ca, cert, crl, dhcpd, dnshaper, filter, ipsec, nat, openvpn, schedules, shaper, unbound, wol sections) from XMLRPC client.

02. 4/28/25 13:45:24 v23.6 (system)@172.31.255.1

Merged in config (freeradius, freeradiusclients, freeradiusinterfaces, freeradiussettings, freeradiuseapconf, freeradiussqlconf sections) from XMLRPC client.

diffs between 01 and 02 show 02 adding the FreeRADIUS config changes, and 01 erasing them.

Unable to reproduce in lab, probably depends on the overall config size


Files

sync_log.txt (1.9 KB) sync_log.txt Georgiy Tyutyunnik, 05/13/2025 04:16 PM

Related issues

Related to Todo #16231: Update packages to use the XMLRPC plugins for HAResolvedMarcos M

Actions
Actions #1

Updated by Georgiy Tyutyunnik 4 months ago

  • Private changed from No to Yes
Actions #2

Updated by Marcos M 4 months ago

  • Description updated (diff)
  • Private changed from Yes to No
Actions #6

Updated by Georgiy Tyutyunnik 4 months ago

  • File patch_diff added
Actions #8

Updated by Marcos M 4 months ago

  • File deleted (secondary_extraction.txt)
Actions #9

Updated by Marcos M 4 months ago

  • File deleted (primary_extraction.txt)
Actions #10

Updated by Marcos M 4 months ago

  • File deleted (system-primary.log)
Actions #11

Updated by Marcos M 4 months ago

  • File deleted (system-secondary.log)
Actions #12

Updated by Marcos M 4 months ago

  • Subject changed from FreeRADIUS HA Sync issues to FreeRADIUS HA sync changes may be overwritten by the system config XMLRPC sync
  • Status changed from New to Pull Request Review
  • Assignee set to Marcos M
  • Private changed from Yes to No
Actions #13

Updated by Georgiy Tyutyunnik 4 months ago

  • Private changed from No to Yes
Actions #15

Updated by Georgiy Tyutyunnik 4 months ago

  • Private changed from Yes to No
Actions #16

Updated by Georgiy Tyutyunnik 3 months ago

patch works, customer reports the issue as resolved.
we can close it

Actions #17

Updated by Marcos M 3 months ago

  • Related to Todo #16231: Update packages to use the XMLRPC plugins for HA added
Actions #18

Updated by Marcos M 3 months ago

  • File deleted (patch_diff)
Actions #19

Updated by Marcos M 3 months ago

  • Status changed from Pull Request Review to Closed
  • Assignee deleted (Marcos M)

This will be fixed once https://redmine.pfsense.org/issues/16231 is implemented.

Actions

Also available in: Atom PDF