https://bugzilla.redhat.com/show_bug.cgi?id=789094 (Red Hat Enterprise Linux 6)
Description of problem: Coming from a 1.2.8.3 install, `setup-ds-admin.pl --update` is unable to successfully run to completion. Version-Release number of selected component (if applicable): 389-admin-1.1.25-1.el6.x86_64 389-admin-console-1.1.8-1.el6.noarch 389-admin-console-doc-1.1.8-1.el6.noarch 389-adminutil-1.1.14-2.el6.x86_64 389-adminutil-devel-1.1.14-2.el6.x86_64 389-ds-base-1.2.9.14-1.el6_2.2.x86_64 389-ds-base-libs-1.2.9.14-1.el6_2.2.x86_64 Steps to Reproduce: 1. install 1.2.8.3 2. update to 1.2.9.14 3. attempt to run `setup-ds-admin.pl -u` Actual results: +Running stage runinst update /usr/share/dirsrv/updates/50fixNsState.pl +Converted old nsState val in cn=replica,cn=dc\3Dctisl\2Cdc\3Dgtri\2Cdc\3Dorg,cn=mapping tree,cn=config from 0200000000000000ddd92f4f0000000000000000000000000100000000000000010000000000000 0 to 0200000000000000ddd92f4f00000000000000000000000000000000000000000100000000 000000 Error updating entry 'cn=replica,cn=dc\3Dctisl\2Cdc\3Dgtri\2Cdc\3Dorg,cn=mapping tree,cn=config'. Error: Server is unwilling to perform Could not reconfigure the admin server. Exiting . . . Expected results: Successful update. Additional info: <richm> roysjosh_: looks like a bug in upgrade - try moving /usr/share/dirsrv/updates/50fixNsState.pl out of the updates directory <roysjosh_> ok <roysjosh_> richm, yep, that allows it to finish <richm> roysjosh_: please file a ticket or a bug if you are Red Hat customer
Did you upgrade from 32-bit to 64-bit? What version of perl are you using? Can you provide the output of perl -V ?
I tried to reproduce by going from 1.2.8.3 -> 1.2.10.3 - it worked - it did not change the value from 0200000000000000ddd92f4f00000000000000000000000001000000000000000100000000000000 to 0200000000000000ddd92f4f00000000000000000000000000000000000000000100000000000000
What should happen is this:
during yum/rpm upgrade, the %posttrans script does this: shutdown all servers run setup-ds.pl -u in offline mode - this should fix nsState and update the value directly in the dse.ldif start up the servers
then, after yum upgrade, when you run setup-ds-admin.pl -u, the value should already have been fixed, so nothing should be done
So I'm not sure why it is trying to update the value in setup-ds-admin.pl -u
originally targeted for 1.2.11.rc1, but actually in the 1.2.11.a1 release
Added initial screened field value.
Metadata Update from @nkinder: - Issue assigned to mreynolds - Issue set to the milestone: 1.2.11.a1
389-ds-base is moving from Pagure to Github. This means that new issues and pull requests will be accepted only in 389-ds-base's github repository.
This issue has been cloned to Github and is available here: - https://github.com/389ds/389-ds-base/issues/309
If you want to receive further updates on the issue, please navigate to the github issue and click on subscribe button.
subscribe
Thank you for understanding. We apologize for all inconvenience.
Metadata Update from @spichugi: - Issue close_status updated to: wontfix (was: Invalid)
Login to comment on this ticket.