Bug 807388

Summary: Error message has not a user friendly "u" character in it.
Product: Red Hat Enterprise Linux 7 Reporter: Asha Akkiangady <aakkiang>
Component: ipaAssignee: Rob Crittenden <rcritten>
Status: CLOSED CURRENTRELEASE QA Contact: IDM QE LIST <seceng-idm-qe-list>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 7.0CC: dpal, jgalipea, mkosek, nsoman
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipa-3.2.1-1.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-13 09:28:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Asha Akkiangady 2012-03-27 16:21:38 UTC
Description of problem:
Error message has not a user friendly "u" character in it. 

Version-Release number of selected component (if applicable):
ipa-server-2.2.0-4.el6.x86_64

How reproducible:


Steps to Reproduce:
1. Example:
 ipa host-add --ip-address=2620:52:0:41c9:ffff:ff:fea:98eda mytestIPv6host.testrelm.com
ipa: ERROR: invalid 'ip_address': failed to detect a valid IP address from u'2620:52:0:41c9:ffff:ff:fea:98eda'

2. Notice the "u" before '2620:52:0:41c9:ffff:ff:fea:98eda'.

  
Actual results:
Error message contain the character "u".

Expected results:
Error message shouldn't contain the character "u". 

QE team members observed "u" character in few other error messages as well. Please remove "u" from the error messages.

Additional info:

Comment 2 Martin Kosek 2012-03-28 06:39:03 UTC
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/2588

Comment 3 Jenny Severance 2012-09-25 16:40:53 UTC
test automated in host test suite

Comment 6 Martin Kosek 2012-12-11 09:54:17 UTC
Fixed upstream:
master: https://fedorahosted.org/freeipa/changeset/173ee4d141958f198a706d65d4ee47c4a2ec31ed

Comment 10 Namita Soman 2013-12-16 17:11:45 UTC
Verified using ipa-server-3.3.3-5.el7.x86_64

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: ipa-host-bugzilla-001: BZ807388 - Error message has not a user friendly 'u' character in it.
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [ 12:05:58 ] ::  Executing ipa host-add --ip-address=2620:52:0:41c9:ffff:ff:fea:98eda mytestIPv6host.TESTRELM.COM, expecting ipa: ERROR: invalid 'ip_address': failed to detect a valid IP address from '2620:52:0:41c9:ffff:ff:fea:98eda'
:: [ 12:05:58 ] ::  Executing: ipa host-add --ip-address=2620:52:0:41c9:ffff:ff:fea:98eda mytestIPv6host.TESTRELM.COM
ipa: ERROR: invalid 'ip_address': failed to detect a valid IP address from '2620:52:0:41c9:ffff:ff:fea:98eda'
:: [ 12:06:00 ] ::  "ipa host-add --ip-address=2620:52:0:41c9:ffff:ff:fea:98eda mytestIPv6host.TESTRELM.COM" failed as expected.
:: [   PASS   ] :: Error message as expected: ipa: ERROR: invalid 'ip_address': failed to detect a valid IP address from '2620:52:0:41c9:ffff:ff:fea:98eda' 
:: [   PASS   ] :: Verify expected error message as per BZ 807388. The message should not return the "u'2620" bit (Expected 0, got 0)
ipa: ERROR: mytestipv6host.testrelm.com: host not found

Comment 11 Ludek Smid 2014-06-13 09:28:44 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.