#8885 Upgrade error: Add failure missing required attribute "objectclass"
Closed: fixed 2 years ago by frenaud. Opened 2 years ago by rcritten.

Issue

Running ipa-server-upgrade, or as part of installation, an update error is displayed:

Upgrading IPA:. Estimated time: 1 minute 30 seconds
[1/11]: stopping directory server
[2/11]: saving configuration
[3/11]: disabling listeners
[4/11]: enabling DS global lock
[5/11]: disabling Schema Compat
[6/11]: starting directory server
[7/11]: updating schema
[8/11]: upgrading server
Add failure missing required attribute "objectclass"
[9/11]: stopping directory server
[10/11]: restoring configuration
[11/11]: starting directory server
Done.

I've only see this with master builds from git (currently 0ebc59c)


ipaupgrade.log has:

2021-06-14T18:26:01Z DEBUG New entry: cn=[b'Multimaster Replication Plugin'],cn=plugins,cn=config
2021-06-14T18:26:01Z DEBUG ---------------------------------------------
2021-06-14T18:26:01Z DEBUG Initial value
2021-06-14T18:26:01Z DEBUG dn: cn=[b'Multimaster Replication Plugin'],cn=plugins,cn=config
2021-06-14T18:26:01Z DEBUG only: set nsslapd-pluginbetxn to 'on', current value []
2021-06-14T18:26:01Z DEBUG only: updated value ['on']
2021-06-14T18:26:01Z DEBUG ---------------------------------------------
2021-06-14T18:26:01Z DEBUG Final value after applying updates
2021-06-14T18:26:01Z DEBUG dn: cn=[b'Multimaster Replication Plugin'],cn=plugins,cn=config
2021-06-14T18:26:01Z DEBUG nsslapd-pluginbetxn:
2021-06-14T18:26:01Z DEBUG on

So looks like the problem is that dn element is treated as a list.

master:

  • 922357b Use get_replication_plugin_name in LDAP updater

ipa-4-9:

  • 45d8118 Use get_replication_plugin_name in LDAP updater

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

2 years ago

Metadata Update from @frenaud:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1975139

2 years ago

ipa-4-8:

  • 02845be ds: Support renaming of a replication plugin in 389-ds
  • ebeb498 Use get_replication_plugin_name in LDAP updater

Login to comment on this ticket.

Metadata