Bug 1623761 - ERR - repl_version_plugin_recv_acquire_cb - [file ipa_repl_version.c, line 119]: Incompatible IPA versions, pausing replication
Summary: ERR - repl_version_plugin_recv_acquire_cb - [file ipa_repl_version.c, line 11...
Status: ASSIGNED
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: ipa
Version: 7.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: thierry bordaz
QA Contact: ipa-qe
URL:
Whiteboard:
Keywords: Regression
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-30 06:55 UTC by Sudhir Menon
Modified: 2019-06-19 07:55 UTC (History)
7 users (show)

(edit)
Clone Of:
(edit)
Last Closed:


Attachments (Terms of Use)

Description Sudhir Menon 2018-08-30 06:55:59 UTC
Description of problem: ERR - repl_version_plugin_recv_acquire_cb - [file ipa_repl_version.c, line 119]: Incompatible IPA versions, pausing replication

Version-Release number of selected component (if applicable):

ipa-server-4.6.4-6.el7.x86_64
sssd-1.16.2-12.el7.x86_64
package samba is not installed
pki-server-10.5.9-6.el7.noarch
selinux-policy-3.13.1-220.el7.noarch
389-ds-base-1.3.8.4-11.el7.x86_64


How reproducible: 


Steps to Reproduce:
1.  Install Master and setup replica.
2.  Check the error log on dirsrv

Actual results:
[28/Aug/2018:17:25:47.177325169 +051800] - ERR - repl_version_plugin_recv_acquire_cb - [file ipa_repl_version.c, line 119]: Incompatible IPA versions, pausing replication. This server: "20100614120000" remote server: "(null)".

Expected results: Incompatible IPA version, pausing replication looks to me as an incorrect error message since we are using the same version of IPA across replica and master, hence this needs to be solved to avoid confusion.

Additional info:

Comment 2 thierry bordaz 2018-08-30 07:37:48 UTC
The problem seems to be systematic

It happens on installed replica not on the master.
It happens during the step "setting up initial replication" (_setup_replica)
It calls replication.enable_replication_version_checking that enables the plugin "IPA Version Replication"

Comment 3 thierry bordaz 2018-08-30 13:11:56 UTC
The replication session start with an extop. On the supplier side, the plugin "cn=IPA Version Replication,cn=plugins,cn=config" adds a payload to the extop. On the consumer side extop is decoded and payload is compared to an expected value.
If the value is not the expected one, total update fails and incremental update backoff. In short replication is broken.

The plugin is by default disabled on master and enabled on consumer.
That means the consumer will add/check a valid payload, while the master adds invalid payload and enable to check payload (if it checks).

If we want to keep replication version check this plugin needs to be enabled on both sides (master and replicas). 

The workaround (and fix) is to disable it on replicas as well (enable_replication_version_checking should set 'enabledPlugin: off')

Comment 9 Florence Blanc-Renaud 2018-09-11 12:40:20 UTC
Upstream ticket:
https://pagure.io/freeipa/issue/7690


Note You need to log in before you can comment on or make changes to this bug.