Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1102041

Summary: [AAA] User name contains domain name twice
Product: [Retired] oVirt Reporter: Katarzyna Jachim <kjachim>
Component: ovirt-engine-apiAssignee: Yair Zaslavsky <yzaslavs>
Status: CLOSED CURRENTRELEASE QA Contact: Tareq Alayan <talayan>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.5CC: alonbl, bugs, gklein, iheim, kjachim, ncredi, omachace, oourfali, rbalakri, talayan, yeylon, yzaslavs
Target Milestone: ---Keywords: AutomationBlocker, TestBlocker
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: ovirt-engine-3.5.0_beta Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-17 12:42:12 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    

Description Katarzyna Jachim 2014-05-28 11:31:50 UTC
Description of problem:
GET https://jenkins-vm-17.scl.lab.tlv.redhat.com/api/users

<users>
    <user href="/api/users/00000010-0010-0010-0010-00000000034d" id="00000010-0010-0010-0010-00000000034d">
        <name>vdcadmin</name>
        <link href="/api/users/00000010-0010-0010-0010-00000000034d/permissions" rel="permissions"/>
        <link href="/api/users/00000010-0010-0010-0010-00000000034d/roles" rel="roles"/>
        <link href="/api/users/00000010-0010-0010-0010-00000000034d/tags" rel="tags"/>
        <domain href="/api/domains/71612e6c-6162-2e74-6c76-2e7265646861" id="71612e6c-6162-2e74-6c76-2e7265646861"/>
        <domain_entry_id>39623930303264312D656333332D343038332D386137622D333166366238393331363438</domain_entry_id>
        <user_name>vdcadmin.tlv.redhat.com.tlv.redhat.com</user_name>
        <groups>
            <group>
                <name>qa.lab.tlv.redhat.com/QA-All-Users/testGroup</name>
            </group>
            <group>
                <name>qa.lab.tlv.redhat.com/frodo1-id-21324444</name>
            </group>
            <group>
                <name>qa.lab.tlv.redhat.com/Builtin/Administrators</name>
            </group>
        </groups>
    </user>
    <user href="/api/users/fdfc627c-d875-11e0-90f0-83df133b58cc" id="fdfc627c-d875-11e0-90f0-83df133b58cc">
        <link href="/api/users/fdfc627c-d875-11e0-90f0-83df133b58cc/permissions" rel="permissions"/>
        <link href="/api/users/fdfc627c-d875-11e0-90f0-83df133b58cc/roles" rel="roles"/>
        <link href="/api/users/fdfc627c-d875-11e0-90f0-83df133b58cc/tags" rel="tags"/>
        <domain href="/api/domains/696e7465-726e-616c-696e-7465726e616c" id="696e7465-726e-616c-696e-7465726e616c"/>
        <domain_entry_id>66646663363237632D643837352D313165302D393066302D383364663133336235386363</domain_entry_id>
        <user_name>admin@internal</user_name>
    </user>
</users>


^^^ as you can see, user_name has domain name twice: vdcadmin.tlv.redhat.com.tlv.redhat.com


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 3 Yair Zaslavsky 2014-05-29 09:50:49 UTC
Please provide the following (from the database)
select user_id,username,domain from users;

Comment 4 Katarzyna Jachim 2014-05-29 09:53:19 UTC
engine=> select user_id,username,domain from users;
               user_id                |            username            |        domain         
--------------------------------------+--------------------------------+-----------------------
 00000010-0010-0010-0010-000000000393 | vdcadmin.tlv.redhat.com | qa.lab.tlv.redhat.com
 fdfc627c-d875-11e0-90f0-83df133b58cc | admin                          | internal

Comment 6 Yair Zaslavsky 2014-06-24 05:04:52 UTC
*** Bug 1079952 has been marked as a duplicate of this bug. ***

Comment 7 Tareq Alayan 2014-08-07 10:54:07 UTC
ovirt-engine-3.5.0-0.0.master.20140804172041.git23b558e.el6.noarch

Comment 8 Sandro Bonazzola 2014-10-17 12:42:12 UTC
oVirt 3.5 has been released and should include the fix for this issue.