Bug 1101147
Summary: | [AAA] Missing 'name' field for admin user in /ovirt-engine/api/users object | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Ilanit Stein <istein> |
Component: | ovirt-engine | Assignee: | Yair Zaslavsky <yzaslavs> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Ilanit Stein <istein> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.5.0 | CC: | alonbl, bazulay, gklein, iheim, lpeer, oourfali, oramraz, rbalakri, Rhev-m-bugs, yeylon, yzaslavs |
Target Milestone: | --- | Keywords: | AutomationBlocker, Regression, Triaged |
Target Release: | 3.5.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | infra | ||
Fixed In Version: | ovirt-3.5.0-beta2 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-02-11 20:53:08 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1076964, 1142923, 1156165 |
Description
Ilanit Stein
2014-05-26 09:26:52 UTC
Yair - can you have a look? InternalAuthz does not set a "first name" on the ExtMap adminUser = new ExtMap().mput( Authz.PrincipalRecord.NAME, configuration.getProperty("config.authz.user.name") ).mput( Authz.PrincipalRecord.ID, configuration.getProperty("config.authz.user.id") ); should probably have another .mput call that sets Authz.PrincipalRecord.FIRST_NAME with "admin" (read from configuration of course). Run same test as in description, with version 4177d523c82b9bf2759b2cbc2c3677f49be956ca (origin/master): http://jenkins-ci.eng.lab.tlv.redhat.com/view/0%20Unstable%203.5/job/rhevm_3.5_automation_coretools_two_hosts_restapi_vms_nfs_rest_factory/379 Now both users (admin, vdcadmin) have name field, but it is empty, is it OK? <users> <user href="/ovirt-engine/api/users/fdfc627c-d875-11e0-90f0-83df133b58cc" id="fdfc627c-d875-11e0-90f0-83df133b58cc"> <name>admin</name> <link href="/ovirt-engine/api/users/fdfc627c-d875-11e0-90f0-83df133b58cc/permissions" rel="permissions"/> <link href="/ovirt-engine/api/users/fdfc627c-d875-11e0-90f0-83df133b58cc/roles" rel="roles"/> <link href="/ovirt-engine/api/users/fdfc627c-d875-11e0-90f0-83df133b58cc/tags" rel="tags"/> <domain href="/ovirt-engine/api/domains/696e7465-726e-616c-696e-7465726e616c" id="696e7465-726e-616c-696e-7465726e616c"/> <domain_entry_id>66646663363237632D643837352D313165302D393066302D383364663133336235386363</domain_entry_id> <namespace>*</namespace> <user_name>admin@internal</user_name> <groups> <group> <name></name> </group> </groups> </user> <user href="/ovirt-engine/api/users/0000001a-001a-001a-001a-000000000326" id="0000001a-001a-001a-001a-000000000326"> <name>vdcadmin</name> <link href="/ovirt-engine/api/users/0000001a-001a-001a-001a-000000000326/permissions" rel="permissions"/> <link href="/ovirt-engine/api/users/0000001a-001a-001a-001a-000000000326/roles" rel="roles"/> <link href="/ovirt-engine/api/users/0000001a-001a-001a-001a-000000000326/tags" rel="tags"/> <domain href="/ovirt-engine/api/domains/71612e6c-6162-2e74-6c76-2e7265646861" id="71612e6c-6162-2e74-6c76-2e7265646861"/> <domain_entry_id>39623930303264312D656333332D343038332D386137622D333166366238393331363438</domain_entry_id> <namespace>*</namespace> <user_name>vdcadmin.tlv.redhat.com</user_name> <groups> <group> <name></name> </group> </groups> </user> </users> Why empty? <name>admin</name> <name>vdcadmin</name> my mistake, I looked on the wrong name field. Moving to verified |