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 1075548 - Simultaneous ipa user-add on master and replica, resulting in duplicate user
Summary: Simultaneous ipa user-add on master and replica, resulting in duplicate user
Keywords:
Status: CLOSED DUPLICATE of bug 772294
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: ipa
Version: 7.0
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Martin Kosek
QA Contact: Namita Soman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-12 11:04 UTC by Varun Mylaraiah
Modified: 2014-03-12 14:36 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-12 14:36:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Terminator screenshots (152.10 KB, image/png)
2014-03-12 11:41 UTC, Varun Mylaraiah
no flags Details

Description Varun Mylaraiah 2014-03-12 11:04:43 UTC
Description of problem:
ipa user-add parallel running on master and replica, user is adding twice

Version-Release number of selected component (if applicable):
ipa-server-3.3.3-21.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
[root@dell-pe1950-03 ~]# ipa user-add testuser3
First name: testuser3
Last name: testuser3
----------------------
Added user "testuser3"
----------------------
  User login: testuser3
  First name: testuser3
  Last name: testuser3
  Full name: testuser3 testuser3
  Display name: testuser3 testuser3
  Initials: tt
  Home directory: /home/testuser3
  GECOS: testuser3 testuser3
  Login shell: /bin/sh
  Kerberos principal: testuser3
  Email address: testuser3
  UID: 793200005
  GID: 793200005
  Password: False
  Member of groups: ipausers
  Kerberos keys available: False

[root@dell-pe1950-03 ~]# ipa user-find
 User login: testuser3
  First name: testuser3
  Last name: testuser3
  Home directory: /home/testuser3
  Login shell: /bin/sh
  Email address: testuser3
  UID: 793200005
  GID: 793200005
  Account disabled: False
  Password: False
  Kerberos keys available: False

  User login: testuser3
  First name: testuser3
  Last name: testuser3
  Home directory: /home/testuser3
  Login shell: /bin/sh
  Email address: testuser3
  UID: 793300503
  GID: 793300503
  Account disabled: False
  Password: False
  Kerberos keys available: False

[root@dell-pe1950-03 ~]# ipa user-del testuser3
------------------------
Deleted user "testuser3"
------------------------

[root@dell-pe1950-03 ~]# ipa user-find
---------------
8 users matched
---------------
  User login: testuser3
  First name: testuser3
  Last name: testuser3
  Home directory: /home/testuser3
  Login shell: /bin/sh
  Email address: testuser3
  UID: 793300503
  GID: 793300503
  Account disabled: False
  Password: False
  Kerberos keys available: False

[root@dell-pe1950-03 ~]# ipa user-add testuser3
First name: testuser3
Last name: testuser3
ipa: ERROR: user with name "testuser3" already exists

[root@dell-pe1950-03 ~]# ipa user-del testuser3
ipa: ERROR: testuser3: user not found
[root@dell-pe1950-03 ~]# 

Additional info:
1.Use Terminator application to "group the tab" and type simultaneously on two terminals.

Comment 2 Varun Mylaraiah 2014-03-12 11:41:29 UTC
Created attachment 873476 [details]
Terminator screenshots

Comment 3 Martin Kosek 2014-03-12 12:53:23 UTC
This is caused by DS creating conflict entries with different DN (with nsuniqueid part, you can verify with "ipa user-find --all" call).

I think this report is more or less duplicate to Bug 772294. If you agree, I will close it as duplicate.

Comment 4 Varun Mylaraiah 2014-03-12 13:30:55 UTC
(In reply to Martin Kosek from comment #3)
> This is caused by DS creating conflict entries with different DN (with
> nsuniqueid part, you can verify with "ipa user-find --all" call).
> 
> I think this report is more or less duplicate to Bug 772294. If you agree, I
> will close it as duplicate.
Yes, this is same as bug #772294. Please go ahead and close this.

Comment 5 Martin Kosek 2014-03-12 14:36:18 UTC

*** This bug has been marked as a duplicate of bug 772294 ***


Note You need to log in before you can comment on or make changes to this bug.