Project

General

Profile

Actions

Bug #7953

closed

XMLRPC produces an error when attempting to sync an empty section

Added by Jim Pingle about 7 years ago. Updated about 7 years ago.

Status:
Resolved
Priority:
High
Category:
XMLRPC
Target version:
Start date:
10/16/2017
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.x
Affected Architecture:
All

Description

When attempting to sync an empty section (e.g. VIPs are set to sync, but no VIPs are defined), the following error is produced:

Oct 16 15:52:33     php-fpm     305     /rc.filter_synchronize: Beginning XMLRPC sync data to https://172.16.1.3:443/xmlrpc.php.
Oct 16 15:52:33     php-fpm     305     /rc.filter_synchronize: Exception calling XMLRPC method restore_config_section # Impossible to encode value '' from type 'NULL'. No analogous type in XML_RPC.
Oct 16 15:52:33     php-fpm     305     /rc.filter_synchronize: New alert found: Exception calling XMLRPC method restore_config_section # Impossible to encode value '' from type 'NULL'. No analogous type in XML_RPC.
Actions #1

Updated by Renato Botelho about 7 years ago

  • Status changed from Confirmed to Feedback
  • % Done changed from 0 to 100

Fix pushed

Actions #2

Updated by Jim Pingle about 7 years ago

  • Status changed from Feedback to Assigned

The XMLRPC error is gone but the affected section does not sync when empty.

You can never delete the last virtual IP from the secondary in this way, for example. The VIP list on the primary is empty but the last item is not removed from the secondary.

Actions #3

Updated by Renato Botelho about 7 years ago

  • Status changed from Assigned to Feedback
Actions #4

Updated by Jim Pingle about 7 years ago

  • Status changed from Feedback to Resolved

Works now, the last item delete gets synchronized as expected.

Actions

Also available in: Atom PDF