Bug 665429 - Error adding user
Summary: Error adding user
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: freeIPA
Classification: Retired
Component: ipa-server
Version: 2.0
Hardware: Unspecified
OS: Unspecified
low
high
Target Milestone: ---
Assignee: Rob Crittenden
QA Contact: Chandrasekar Kannan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-12-23 18:54 UTC by Jenny Severance
Modified: 2015-01-04 23:45 UTC (History)
5 users (show)

Fixed In Version: freeipa-2.0.0-1.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-27 07:16:59 UTC
Embargoed:


Attachments (Terms of Use)

Description Jenny Severance 2010-12-23 18:54:56 UTC
Description of problem:

[root@dell-per300-01 adduser]# ipa user-add --first=sup34 --last=crazylastnametoolong --gecos=whatsgecos? --home=/home2/$superuser --principal=$superuser@$realm --email=$superuser.domain.co.uk.us.fi.com --phone=9999999999 --mobile=1111111111 --pager=3333333333 --fax=4444444444 sup34

ipa: ERROR: cannot connect to u'https://dell-per300-01.testrelm/ipa/xml': Bad Request

This test is automated and this command was working before with builds on Fedora 13.  This test was on Fedora 14 with self-signed CA.

Version-Release number of selected component (if applicable):
ipa-server-2.0-0.2010122314giteb6f215.fc14.x86_64

/var/log/https/error_log ...

[Thu Dec 23 13:53:51 2010] [error] [client 10.16.65.224] request failed: error reading the headers

How reproducible:


Steps to Reproduce:
1.  See description
2.
3.
  
Actual results:
ipa: ERROR: cannot connect to u'https://dell-per300-01.testrelm/ipa/xml': Bad Request

Expected results:
user successfully added

Additional info:

Comment 1 Jenny Severance 2010-12-23 19:00:21 UTC
also seeing in error_log ...

[Thu Dec 23 13:55:19 2010] [error] [client 10.16.65.224] request failed: error reading the headers
[Thu Dec 23 13:56:43 2010] [error] Exception KeyError: KeyError(139953337227264,) in <module 'threading' from '/usr/lib64/python2.7/threading.pyc'> ignored
[Thu Dec 23 13:56:44 2010] [error] Exception KeyError: KeyError(139953337227264,) in <module 'threading' from '/usr/lib64/python2.7/threading.pyc'> ignored

Comment 2 Dmitri Pal 2010-12-24 03:24:36 UTC
https://fedorahosted.org/freeipa/ticket/681

Comment 3 Dmitri Pal 2011-01-04 16:57:47 UTC
https://fedorahosted.org/freeipa/ticket/691 - right ticket

Comment 4 Marc Sauton 2011-01-08 01:58:33 UTC
seem ok (if this is the same test), with

ipa-admintools-2.0.0.pre1-0.fc14.x86_64
ipa-server-selinux-2.0.0.pre1-0.fc14.x86_64
ipa-client-2.0.0.pre1-0.fc14.x86_64
ipa-server-2.0.0.pre1-0.fc14.x86_64
ipa-python-2.0.0.pre1-0.fc14.x86_64

ipa user-add --first=first6 --last=last6CrazyCrazyCrazyLastNameWayWayWayWayTooooooLoooonnnngggg --gecos=whatsgecos? --home=/home2/flast6 --principal=flast6 --email=flast6.really.really.cool.domain.example.com --phone=9999999999 --mobile=1111111111 --pager=3333333333 --fax=4444444444 flast6
-------------------
Added user "flast6"
-------------------
  User login: flast6
  First name: first6
  Last name: last6CrazyCrazyCrazyLastNameWayWayWayWayTooooooLoooonnnngggg
  Full name: first6 last6CrazyCrazyCrazyLastNameWayWayWayWayTooooooLoooonnnngggg
  Display name: first6 last6CrazyCrazyCrazyLastNameWayWayWayWayTooooooLoooonnnngggg
  Initials: fl
  Home directory: /home2/flast6
  GECOS field: whatsgecos?
  Login shell: /bin/sh
  Kerberos principal: flast6
  Email address: flast6.really.really.cool.domain.example.com
  UID: 1009
  Telephone Number: 9999999999
  Mobile Telephone Number: 1111111111
  Pager Number: 3333333333
  Fax Number: 4444444444

Comment 5 Dmitri Pal 2011-02-10 20:40:50 UTC
addressed by https://bugzilla.redhat.com/show_bug.cgi?id=669118

Comment 6 Jenny Severance 2011-06-10 20:35:23 UTC
verified

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: ipa-user-cli-add-001: Add User
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

------------------
Added user "sup34"
------------------
  User login: sup34
  First name: Superuser
  Last name: crazylastnametoolong
  Full name: Superuser crazylastnametoolong
  Display name: Superuser crazylastnametoolong
  Initials: Sc
  Home directory: /home2/sup34
  GECOS field: whatsgecos?
  Login shell: /bin/sh
  Kerberos principal: sup34.COM
  Email address: sup34.domain.co.uk.us.fi.com
  UID: 843400003
  Telephone Number: 9999999999
  Mobile Telephone Number: 1111111111
  Pager Number: 3333333333
  Fax Number: 4444444444
:: [   PASS   ] :: Adding user

# rpm -qi ipa-server | head
Name        : ipa-server                   Relocations: (not relocatable)
Version     : 2.0.0                             Vendor: Red Hat, Inc.
Release     : 23.el6                        Build Date: Wed 20 Apr 2011 09:57:13 AM EDT
Install Date: Thu 19 May 2011 12:47:52 PM EDT      Build Host: x86-003.build.bos.redhat.com
Group       : System Environment/Base       Source RPM: ipa-2.0.0-23.el6.src.rpm
Size        : 2565882                          License: GPLv3+
Signature   : RSA/8, Thu 21 Apr 2011 03:48:25 PM EDT, Key ID 199e2f91fd431d51
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL         : http://www.freeipa.org/
Summary     : The IPA authentication server


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