RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1975139 - Upgrade error: Add failure missing required attribute "objectclass"
Summary: Upgrade error: Add failure missing required attribute "objectclass"
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: ipa
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: ---
Assignee: Florence Blanc-Renaud
QA Contact: ipa-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-23 07:48 UTC by Florence Blanc-Renaud
Modified: 2021-12-07 21:32 UTC (History)
4 users (show)

Fixed In Version: ipa-4.9.6-1.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-12-07 21:30:47 UTC
Type: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FREEIPA-7425 0 None None None 2021-12-02 14:29:11 UTC

Description Florence Blanc-Renaud 2021-06-23 07:48:58 UTC
Cloned from upstream: https://pagure.io/freeipa/issue/8885

### 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 0ebc59c26d54454a0821d64dcad1bbe7621b623c)

Comment 1 Florence Blanc-Renaud 2021-06-23 07:53:53 UTC
Upstream ticket:
https://pagure.io/freeipa/issue/8885

Comment 2 Florence Blanc-Renaud 2021-06-23 07:54:45 UTC
Fixed upstream:
master:
    922357b Use get_replication_plugin_name in LDAP updater

ipa-4-9:
    45d8118 Use get_replication_plugin_name in LDAP updater

Comment 8 anuja 2021-07-16 06:44:22 UTC
Verified :
2021-07-15T11:38:58+0000 ok: [master.ipa.test] => (item=ipa-server) => 
2021-07-15T11:38:58+0000   msg:
2021-07-15T11:38:58+0000   - arch: x86_64
2021-07-15T11:38:58+0000     epoch: null
2021-07-15T11:38:58+0000     name: ipa-server
2021-07-15T11:38:58+0000     release: 2.el9
2021-07-15T11:38:58+0000     source: rpm
2021-07-15T11:38:58+0000     version: 4.9.6

install ipa-server
2021-07-15T11:44:35+0000 Done configuring the web interface (httpd).
2021-07-15T11:44:35+0000 Configuring Kerberos KDC (krb5kdc)
2021-07-15T11:44:35+0000   [1/1]: installing X509 Certificate for PKINIT
2021-07-15T11:44:39+0000 Done configuring Kerberos KDC (krb5kdc).
2021-07-15T11:44:39+0000 Applying LDAP updates
2021-07-15T11:44:39+0000 Upgrading IPA:. Estimated time: 1 minute 30 seconds
2021-07-15T11:44:39+0000   [1/10]: stopping directory server
2021-07-15T11:44:41+0000   [2/10]: saving configuration
2021-07-15T11:44:41+0000   [3/10]: disabling listeners
2021-07-15T11:44:41+0000   [4/10]: enabling DS global lock
2021-07-15T11:44:41+0000   [5/10]: disabling Schema Compat
2021-07-15T11:44:41+0000   [6/10]: starting directory server
2021-07-15T11:44:43+0000   [7/10]: upgrading server
2021-07-15T11:44:56+0000   [8/10]: stopping directory server
2021-07-15T11:44:58+0000   [9/10]: restoring configuration
2021-07-15T11:44:58+0000   [10/10]: starting directory server
2021-07-15T11:45:02+0000 Done.
2021-07-15T11:45:02+0000 Restarting the KDC
2021-07-15T11:45:03+0000 dnssec-validation no
2021-07-15T11:45:03+0000 Configuring DNS (named)

No error displayed in upgrade process.


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