#7450 "This entry already exists" error when upgrading on IPA 4.5
Closed: fixed 5 years ago Opened 6 years ago by greggilbert.

Issue

After updating from 4.4 to 4.5 on Centos 7.4, running ipa-server-upgrade throws this error:

2018-03-15T16:09:14Z DEBUG Updated 1
2018-03-15T16:09:14Z DEBUG Destroyed connection context.ldap2_104279312
2018-03-15T16:09:14Z ERROR Upgrade failed with This entry already exists
2018-03-15T16:09:14Z DEBUG Traceback (most recent call last): 100: 

I spoke to @abbra about this on IRC, who told me to open the ticket.

Here are some relevant logs:

Per ab, the error is in upgrade.log: conn=5 op=285 RESULT err=68 tag=103 nentries=0 etime=0 - apparently this is LDAP_ALREADY_EXISTS.

Version/Release/Distribution

$ rpm -q freeipa-server freeipa-client ipa-server ipa-client 389-ds-base pki-ca krb5-server

# rpm -q freeipa-server freeipa-client ipa-server ipa-client 389-ds-base pki-ca krb5-server
package freeipa-server is not installed
package freeipa-client is not installed
ipa-server-4.5.0-22.el7.centos.x86_64
ipa-client-4.5.0-22.el7.centos.x86_64
389-ds-base-1.3.6.1-28.el7_4.x86_64
pki-ca-10.4.1-17.el7_4.noarch
krb5-server-1.15.1-8.el7.x86_64

Additional info:

Any additional information, configuration, data or log snippets that is needed for reproduction or investigation of the issue.

# rpm --query centos-release
centos-release-7-4.1708.el7.centos.x86_64

master:

  • e16ea52 upgrade: treat duplicate entry when updating as not an error

Failed to apply patches onto origin/ipa-4-5. Manual backport is needed.

ipa-4-6:

  • 0925349 upgrade: treat duplicate entry when updating as not an error

ipa-4-5:

  • 2824c17 upgrade: treat duplicate entry when updating as not an error

Metadata Update from @cheimes:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

5 years ago

Login to comment on this ticket.

Metadata