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

Re: (ITS#7385) back_mdb ENOSPC error returned from mdb_node_add incorrectly



Frank.Swasey@uvm.edu wrote:
> Full_Name: Francis Swasey
> Version: 2.4.32
> OS: RHEL6.3 64-bit
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (132.198.21.181)
> 
> 
> In exploring converting to back_mdb, I have discovered a problem which results
> in the following symptoms:

Thanks for the report, fixed now in git master.
> 
> ldapmodify with the following ldif:
> 
> 
> dn: cn=COURSE-201209-94186,ou=Groups,dc=uvm,dc=edu
> changetype: modify
> delete: member
> member: uid=pbirnbau,ou=people,dc=uvm,dc=edu
> -
> 
> fails with the following:
> 
> ldap_modify: Other (e.g., implementation specific) error (80)
>         additional info: entry update failed
> 
> syslog records the following:
> 
> Sep 11 14:14:23 ldap6dev slapd[6456]: conn=1002 fd=21 ACCEPT from
> IP=132.198.100.216:57847 (IP=0.0.0.0:636)
> Sep 11 14:14:23 ldap6dev slapd[6456]: conn=1002 fd=21 TLS established
> tls_ssf=256 ssf=256
> Sep 11 14:14:23 ldap6dev slapd[6456]: conn=1002 op=0 BIND
> dn="cn=manager,dc=uvm,dc=edu" method=128
> Sep 11 14:14:23 ldap6dev slapd[6456]: conn=1002 op=0 BIND
> dn="cn=manager,dc=uvm,dc=edu" mech=SIMPLE ssf=0
> Sep 11 14:14:23 ldap6dev slapd[6456]: conn=1002 op=0 RESULT tag=97 err=0 text=
> Sep 11 14:14:23 ldap6dev slapd[6456]: conn=1002 op=1 MOD
> dn="cn=COURSE-201209-94186,ou=Groups,dc=uvm,dc=edu"
> Sep 11 14:14:23 ldap6dev slapd[6456]: conn=1002 op=1 MOD attr=member
> Sep 11 14:14:23 ldap6dev slapd[6456]: slap_queue_csn: queing 0x7fdb6bffd0a0
> 20120911181423.401038Z#000000#000#000000
> Sep 11 14:14:23 ldap6dev slapd[6456]: mdb_id2entry_put: mdb_put failed: No space
> left on device(28) "cn=course-201209-94186,ou=groups,dc=uvm,dc=edu"
> Sep 11 14:14:23 ldap6dev slapd[6456]: conn=1002 op=1 RESULT tag=103 err=80
> text=entry update failed
> Sep 11 14:14:23 ldap6dev slapd[6456]: slap_graduate_commit_csn: removing
> 0x7fdb54002970 20120911181423.401038Z#000000#000#000000
> Sep 11 14:14:23 ldap6dev slapd[6456]: conn=1002 op=2 UNBIND
> Sep 11 14:14:23 ldap6dev slapd[6456]: conn=1002 fd=21 closed
> 
> gdb points to the return ENOSPC at line 4806 of mdb_node_add
> 
> 


-- 
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/