[Date Prev][Date Next] [Chronological] [Thread] [Top]

slapd wont replicate olcSpReloadHint attribute (was: slapd hangs upon performing modification of cn=config)

Sent: Wed May 23 2012 22:03:39 GMT-0400 (EDT)
From: Patrick H. <openldap@stormcloud9.net>
To: Patrick Hemmer <openldap@stormcloud9.net> openldap-technical@openldap.org
Subject: Re: slapd hangs upon performing modification of cn=config
I changed the subject as this is a different issue than originally reported. While they may be related, its safer to assume they're not.

Ok, so the problem went away. Didnt change a thing, just came back after a few hours, started slapd up, and it behaved (though I am still interested to know how to find stuck operations/tasks).
However a new (maybe related?) issue has popped up. I tried to add olcSpReloadHint=TRUE to the syncprov overlay (all the replicas are > 2.3.11) and this change isnt replicating (other changes, including attribute adds, to other DNs in cn=config replicate fine, just not this one).

running the consumer slapd with `-d sync` I get the following:

4fbd9472 syncrepl_message_to_entry: rid=510 DN: olcOverlay={0}syncprov,olcDatabase={0}config,cn=config, UUID: 84beea9e-3987-1031-9a75-776905f7a32d
4fbd9472 syncrepl_entry: rid=510 LDAP_RES_SEARCH_ENTRY(LDAP_SYNC_ADD)
4fbd9472 syncrepl_entry: rid=510 be_search (0)
4fbd9472 syncrepl_entry: rid=510 olcOverlay={0}syncprov,olcDatabase={0}config,cn=config
4fbd9472 syncprov_matchops: skipping original sid 033
4fbd9472 null_callback : error code 0x50
4fbd9472 syncrepl_entry: rid=510 be_modify olcOverlay={0}syncprov,olcDatabase={0}config,cn=config (80)
4fbd9472 syncrepl_entry: rid=510 be_modify failed (80)
4fbd9472 do_syncrepl: rid=510 rc 80 retrying

So I turned on full debug and got some more info

4fbe37ff syncrepl_entry: rid=510 be_search (0)
4fbe37ff syncrepl_entry: rid=510 olcOverlay={0}syncprov,olcDatabase={0}config,cn=config
4fbe37ff syncprov_matchops: skipping original sid 033
4fbe37ff <= acl_access_allowed: granted to database root
4fbe37ff send_ldap_result: conn=-1 op=0 p=3
4fbe37ff send_ldap_result: err=80 matched="" text="modify/delete: olcSpReloadHint: no such attribute"
4fbe37ff null_callback : error code 0x50
4fbe37ff syncrepl_entry: rid=510 be_modify olcOverlay={0}syncprov,olcDatabase={0}config,cn=config (80)
4fbe37ff syncrepl_entry: rid=510 be_modify failed (80)

So why does it think "olcSpReloadHint: no such attribute"? the syncprov overlay is enabled, and syncrepl is working as its the one trying to perform the modification.