Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 947897

Summary: IPA with winsync agreement reports upgrade errors
Product: Red Hat Enterprise Linux 7 Reporter: Rob Crittenden <rcritten>
Component: ipaAssignee: Rob Crittenden <rcritten>
Status: CLOSED CURRENTRELEASE QA Contact: IDM QE LIST <seceng-idm-qe-list>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 7.0CC: mkosek, nsoman, spoore
Target Milestone: rc   
Target Release: 7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipa-3.2.1-1.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-13 10:10:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Rob Crittenden 2013-04-03 13:45:57 UTC
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/freeipa/ticket/3522

I have IPA with winsync agreement and tried to do an upgrade:


{{{
# ipa-replica-manage list
dc.ad.test: winsync
vm-037.idm.lab.bos.redhat.com: master

# rpm -Uvh --force ~/freeipa/dist/rpms/*
Preparing...                          ################################# [100%]
Updating / installing...
   1:freeipa-python-3.1.99GITb952ddd-0################################# [  7%]
   2:freeipa-client-3.1.99GITb952ddd-0################################# [ 14%]
   3:freeipa-admintools-3.1.99GITb952d################################# [ 21%]
   4:freeipa-server-3.1.99GITb952ddd-0################################# [ 29%]
   5:freeipa-server-selinux-3.1.99GITb################################# [ 36%]
   6:freeipa-server-trust-ad-3.1.99GIT################################# [ 43%]
   7:freeipa-debuginfo-3.1.99GITb952dd################################# [ 50%]
Cleaning up / removing...
   8:freeipa-debuginfo-3.1.99GIT0218c2################################# [ 57%]
   9:freeipa-server-trust-ad-3.1.99GIT################################# [ 64%]
  10:freeipa-server-selinux-3.1.99GIT0################################# [ 71%]
  11:freeipa-server-3.1.99GIT0218c2d-0################################# [ 79%]
  12:freeipa-admintools-3.1.99GIT0218c################################# [ 86%]
  13:freeipa-client-3.1.99GIT0218c2d-0################################# [ 93%]
  14:freeipa-python-3.1.99GIT0218c2d-0################################# [100%]
Upgrading IPA:
  [1/8]: stopping directory server
  [2/8]: saving configuration
  [3/8]: disabling listeners
  [4/8]: starting directory server
  [5/8]: upgrading server
Error caught updating replica: attribute "nsDS5ReplicatedAttributeListTotal" not allowed
Error caught updating replica: attribute "nsds5ReplicaStripAttrs" not allowed
  [6/8]: stopping directory server
  [7/8]: restoring configuration
  [8/8]: starting directory server
Done.
}}}

We should not try to insert `nsDS5ReplicatedAttributeListTotal` and `nsds5ReplicaStripAttrs` to winsync agreements, but only to regular IPA DS agreements.

Comment 1 Rob Crittenden 2013-04-16 14:07:17 UTC
fixed upstream

master: fe3ba33d263a985f12c6b7b1ec342cde2babd830

Comment 4 Scott Poore 2014-02-08 02:04:50 UTC
Verified.

Version ::

3.3.3-15 to 3.3.3-17

ipa-server-3.3.3-17.el7.x86_64

Results ::

[root@rhel7-1 ~]# yum update ipa-server
Loaded plugins: product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Resolving Dependencies
--> Running transaction check
---> Package ipa-server.x86_64 0:3.3.3-15.el7 will be updated
---> Package ipa-server.x86_64 0:3.3.3-17.el7 will be an update
--> Processing Dependency: ipa-admintools = 3.3.3-17.el7 for package: ipa-server-3.3.3-17.el7.x86_64
--> Processing Dependency: ipa-client = 3.3.3-17.el7 for package: ipa-server-3.3.3-17.el7.x86_64
--> Processing Dependency: ipa-python = 3.3.3-17.el7 for package: ipa-server-3.3.3-17.el7.x86_64
--> Running transaction check
---> Package ipa-admintools.x86_64 0:3.3.3-15.el7 will be updated
---> Package ipa-admintools.x86_64 0:3.3.3-17.el7 will be an update
---> Package ipa-client.x86_64 0:3.3.3-15.el7 will be updated
---> Package ipa-client.x86_64 0:3.3.3-17.el7 will be an update
---> Package ipa-python.x86_64 0:3.3.3-15.el7 will be updated
---> Package ipa-python.x86_64 0:3.3.3-17.el7 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

=======================================================================================================
 Package               Arch          Version                Repository                            Size
=======================================================================================================
Updating:
 ipa-server            x86_64        3.3.3-17.el7           beaker-latest-rhel-7.0-server        1.2 M
Updating for dependencies:
 ipa-admintools        x86_64        3.3.3-17.el7           beaker-latest-rhel-7.0-server         52 k
 ipa-client            x86_64        3.3.3-17.el7           beaker-latest-rhel-7.0-server        139 k
 ipa-python            x86_64        3.3.3-17.el7           beaker-latest-rhel-7.0-server        943 k

Transaction Summary
=======================================================================================================
Upgrade  1 Package (+3 Dependent packages)

Total download size: 2.3 M
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
(1/4): ipa-admintools-3.3.3-17.el7.x86_64.rpm                                   |  52 kB  00:00:01     
(2/4): ipa-client-3.3.3-17.el7.x86_64.rpm                                       | 139 kB  00:00:01     
(3/4): ipa-python-3.3.3-17.el7.x86_64.rpm                                       | 943 kB  00:00:01     
(4/4): ipa-server-3.3.3-17.el7.x86_64.rpm                                       | 1.2 MB  00:00:01     
-------------------------------------------------------------------------------------------------------
Total                                                                  700 kB/s | 2.3 MB  00:00:03     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : ipa-python-3.3.3-17.el7.x86_64                                                      1/8 
  Updating   : ipa-client-3.3.3-17.el7.x86_64                                                      2/8 
Could not load host key: /etc/ssh/ssh_host_dsa_key
  Updating   : ipa-admintools-3.3.3-17.el7.x86_64                                                  3/8 
  Updating   : ipa-server-3.3.3-17.el7.x86_64                                                      4/8 
  Cleanup    : ipa-server-3.3.3-15.el7.x86_64                                                      5/8 
  Cleanup    : ipa-admintools-3.3.3-15.el7.x86_64                                                  6/8 
  Cleanup    : ipa-client-3.3.3-15.el7.x86_64                                                      7/8 
  Cleanup    : ipa-python-3.3.3-15.el7.x86_64                                                      8/8 
  Verifying  : ipa-admintools-3.3.3-17.el7.x86_64                                                  1/8 
  Verifying  : ipa-python-3.3.3-17.el7.x86_64                                                      2/8 
  Verifying  : ipa-client-3.3.3-17.el7.x86_64                                                      3/8 
  Verifying  : ipa-server-3.3.3-17.el7.x86_64                                                      4/8 
  Verifying  : ipa-admintools-3.3.3-15.el7.x86_64                                                  5/8 
  Verifying  : ipa-python-3.3.3-15.el7.x86_64                                                      6/8 
  Verifying  : ipa-client-3.3.3-15.el7.x86_64                                                      7/8 
  Verifying  : ipa-server-3.3.3-15.el7.x86_64                                                      8/8 

Updated:
  ipa-server.x86_64 0:3.3.3-17.el7                                                                     

Dependency Updated:
  ipa-admintools.x86_64 0:3.3.3-17.el7                 ipa-client.x86_64 0:3.3.3-17.el7                
  ipa-python.x86_64 0:3.3.3-17.el7                    

Complete!


[root@rhel7-1 ~]# grep --color  -i "z error" /var/log/ipaupgrade.log

Comment 5 Scott Poore 2014-02-08 02:06:36 UTC
I forgot to show confirmation of the winsync setup:

[root@rhel7-1 ~]# ipa-replica-manage list
master.testrelm.com: master
w2k8r2-1.ad2.example.test: winsync

Comment 6 Ludek Smid 2014-06-13 10:10:43 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.