| Summary: | [ipa webui] update from 6.2 to 6.5 ,'Write DNS Configuration' permission does not show up in search results | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Xiyang Dong <xdong> | ||||||
| Component: | ipa | Assignee: | Martin Kosek <mkosek> | ||||||
| Status: | CLOSED WONTFIX | QA Contact: | Namita Soman <nsoman> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 6.5 | CC: | dpal, pvoborni, rcritten, xdong | ||||||
| Target Milestone: | rc | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Known Issue | |||||||
| Doc Text: |
When an Identity Management server installed on Red Hat Enterprise Linux 6.2 is updated to the version provided by Red Hat Enterprise Linux 6.4 or 6.5, the new pbac permission "Write DNS Configuration" is created without any of the required object classes. Consequently, the permission may not show up on the Identity Management Web UI permission page or when the --sizelimit parameter is used for the CLI permission-find command. The permission is still accessible using the command line when the --sizelimit option is not specified. To work around this problem, run the following command on the server to trigger the DNS permission update process again and fix the list of permission object classes:
]# ipa-ldap-updater --ldapi /usr/share/ipa/updates/40-dns.update
This problem can also be avoided when a Red Hat Enterprise Linux 6.4 or 6.5 replica is installed or when an Identity Management server is reinstalled or upgraded.
|
Story Points: | --- | ||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2013-09-24 13:33:32 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Attachments: |
|
||||||||
|
Description
Xiyang Dong
2013-09-17 17:06:16 UTC
Please attach /var/log/ipaupgrade.log. File too big to attach. https://wiki.idm.lab.bos.redhat.com/qa/archive/ipa/webui/ipaupgrade.log So you are saying that after 6.2 to 6.5 upgrade, "permission-find dns" command run in CLI returns "write dns configuration", but when you do "dns" permission search in UI, then it does not work? If this is the case, it seems to me as some caching problem in UI. Adding Petr to advise. Yi, did you by any chance opened the UI in 6.2, upgrade and then tried the search in the same browser? Would cleaning the cache of the browser and loading a fresh UI help? Created attachment 799903 [details]
before upgrade
Created attachment 799905 [details]
after upgrade , cleaning cache and reload browser didn't help.
I checked the UI on that machine and results are: * it's not Web UI issue - it doesn't get the data from IPA server * there is definitely something wrong with combination of --sizelimit=0 option and 'Write DNS Configuration' permission, see commands below: I also tried fresh installation(no update) of ipa-server-3.0.0-36.el6.x86_64 on RHEL 6.5 and there the command behaves correctly, so it's really an update issue. [root@ms62 ~]# ipa permission-find dns --pkey-only --sizelimit=0 --------------------- 4 permissions matched --------------------- Permission name: add dns entries Permission name: Read DNS Entries Permission name: remove dns entries Permission name: update dns entries ---------------------------- Number of entries returned 4 ---------------------------- [root@ms62 ~]# ipa permission-find dns --pkey-only --------------------- 5 permissions matched --------------------- Permission name: add dns entries Permission name: Read DNS Entries Permission name: remove dns entries Permission name: update dns entries Permission name: Write DNS Configuration ---------------------------- Number of entries returned 5 ---------------------------- [root@ms62 ~]# ipa permission-find hbac --pkey-only --------------------- 9 permissions matched --------------------- Permission name: Add HBAC rule Permission name: Add HBAC service groups Permission name: Add HBAC services Permission name: Delete HBAC rule Permission name: Delete HBAC service groups Permission name: Delete HBAC services Permission name: Manage HBAC rule membership Permission name: Manage HBAC service group membership Permission name: Modify HBAC rule ---------------------------- Number of entries returned 9 ---------------------------- [root@ms62 ~]# ipa permission-find hbac --pkey-only --sizelimit=0 --------------------- 9 permissions matched --------------------- Permission name: Add HBAC rule Permission name: Add HBAC service groups Permission name: Add HBAC services Permission name: Delete HBAC rule Permission name: Delete HBAC service groups Permission name: Delete HBAC services Permission name: Manage HBAC rule membership Permission name: Manage HBAC service group membership Permission name: Modify HBAC rule ---------------------------- Number of entries returned 9 ---------------------------- I investigated the machine as well, there is a small glitch in upgrade procedure, when the "Write DNS Configuration" permission object does not get "ipapermission" objectclass as other permission objects. This cause # Write DNS Configuration, permissions, pbac, testrelm.com dn: cn=Write DNS Configuration,cn=permissions,cn=pbac,dc=testrelm,dc=com objectClass: groupofnames objectClass: top member: cn=DNS Administrators,cn=privileges,cn=pbac,dc=testrelm,dc=com member: cn=DNS Servers,cn=privileges,cn=pbac,dc=testrelm,dc=com cn: Write DNS Configuration description: Write DNS Configuration It can be workarounded either by doing any other package update, or just by running: # ipa-ldap-updater --ldapi /usr/share/ipa/updates/40-dns.update Upstream ticket: https://fedorahosted.org/freeipa/ticket/3942 |