Bug 807388 - Error message has not a user friendly "u" character in it.
Summary: Error message has not a user friendly "u" character in it.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: ipa
Version: 7.0
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: rc
: ---
Assignee: Rob Crittenden
QA Contact: IDM QE LIST
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-27 16:21 UTC by Asha Akkiangady
Modified: 2014-06-18 00:02 UTC (History)
4 users (show)

Fixed In Version: ipa-3.2.1-1.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 09:28:44 UTC
Target Upstream Version:


Attachments (Terms of Use)

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.


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