Bug 848274

Summary: extra dot appears in error message when creating domain with illegal names
Product: OKD Reporter: Meng Bo <bmeng>
Component: ocAssignee: John (J5) Palmieri <johnp>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 2.xCC: jkeck
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 0.97.10-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-09-17 21:28:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Meng Bo 2012-08-15 06:06:23 UTC
Description of problem:
Try to create domain with illegal names, extra dot (.) appears in the error message.

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

How reproducible:
always

Steps to Reproduce:
1.Create domain with existing namespace
2.Create domain with exceed max length namespace
3.Create domain with namespace in black list
  
Actual results:
RESULT:
Namespace 'bmengdev' is already in use. Please choose another.. Use --trace to view backtrace.
RESULT:
Namespace is too long.  Maximum length is 16 characters.. Use --trace to view backtrace.
RESULT:
Namespace is not allowed.  Please choose another.. Use --trace to view backtrace.

Expected results:
Remove the extra dot in the end of the 2nd sentence.

Additional info:

Comment 1 Clayton Coleman 2012-08-16 14:52:59 UTC
Oops, exception messages can be sentences.  Some messages may not.

Comment 2 John (J5) Palmieri 2012-08-16 17:39:31 UTC
Should be fixed

Comment 3 Meng Bo 2012-08-17 09:56:55 UTC
Verified on devenv_2010 with rhc-0.97.11, the message style has been changed, and the issue gone.

=======
RESULT:
Namespace 'bmeng1dev' is already in use. Please choose another.
RESULT:
Namespace is not allowed.  Please choose another.
RESULT:
Namespace is too long.  Maximum length is 16 characters.