Project

General

Profile

Actions

Bug #16185

closed
GT

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

Bug #16185: FreeRADIUS HA sync changes may be overwritten by the system config XMLRPC sync

Added by Georgiy Tyutyunnik over 1 year ago. Updated over 1 year 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 1 (0 open1 closed)

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

Actions

GT Updated by Georgiy Tyutyunnik over 1 year ago Actions #1

  • Private changed from No to Yes

MM Updated by Marcos M over 1 year ago Actions #2

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

GT Updated by Georgiy Tyutyunnik over 1 year ago Actions #6

  • File patch_diff added

MM Updated by Marcos M over 1 year ago Actions #8

  • File deleted (secondary_extraction.txt)

MM Updated by Marcos M over 1 year ago Actions #9

  • File deleted (primary_extraction.txt)

MM Updated by Marcos M over 1 year ago Actions #10

  • File deleted (system-primary.log)

MM Updated by Marcos M over 1 year ago Actions #11

  • File deleted (system-secondary.log)

MM Updated by Marcos M over 1 year ago Actions #12

  • 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

GT Updated by Georgiy Tyutyunnik over 1 year ago Actions #13

  • Private changed from No to Yes

GT Updated by Georgiy Tyutyunnik over 1 year ago Actions #15

  • Private changed from Yes to No

GT Updated by Georgiy Tyutyunnik over 1 year ago Actions #16

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

MM Updated by Marcos M over 1 year ago Actions #17

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

MM Updated by Marcos M over 1 year ago Actions #18

  • File deleted (patch_diff)

MM Updated by Marcos M over 1 year ago Actions #19

  • 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