Bug 1184250

Summary: CloudForms Appliance Configuration UI Only allows 31 characters for SMTP server name
Product: Red Hat CloudForms Management Engine Reporter: david.costakos
Component: ApplianceAssignee: Dávid Halász <dhalasz>
Status: CLOSED ERRATA QA Contact: Nandini Chandra <nachandr>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.3.0CC: dclarizi, jhardy, jocarter, jrafanie, kmorey, mfeifer, nachandr, sfisher, snansi, sshveta, xlecauch
Target Milestone: GA   
Target Release: 5.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.4.0.0.11 Doc Type: Bug Fix
Doc Text:
In the previous version of CloudForms Management Engine, the SMTP Server Hostname configuration input text box was limited to a maximum of 31 characters. As a result of this, the administrator was not able to configure a SMTP server with a Hostname longer then 31 characters. This bug was fixed by increasing the maximum field size limit of the SMTP Server Hostname configuration input text box of 255 characters. The administrator is now able to configure a Hostname larger then 31 characters.
Story Points: ---
Clone Of:
: 1184967 (view as bug list) Environment:
Last Closed: 2015-06-16 12:48:01 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:
Bug Depends On:    
Bug Blocks: 1184967    

Description david.costakos 2015-01-20 20:47:30 UTC
Description of problem:
The UI in Configure->Configuration allows users to enter a SMTP server hostname of only 31 characters or less.  Customer has a 32-characters SMTP hostname of 'hwd1-smtp-01.prd.rmsonecloud.net'

Version-Release number of selected component (if applicable):
Latest appliance

How reproducible:
always


Steps to Reproduce:
1. Got to Configure->Configuration
2. Enter a >31 character hostname in SMTP server field
3. appliance only allows for 31 characters

Actual results:
We fail to configure SMTP server except by IP

Expected results:
Configure a RFC-compliant hostname for SMTP

Additional info:

Comment 4 Dávid Halász 2015-01-27 10:20:07 UTC
https://github.com/ManageIQ/manageiq/pull/1479

Comment 5 CFME Bot 2015-01-27 14:35:59 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/a9f2475c8e2250c8cbd7bfaed46a2a3cb1440550

commit a9f2475c8e2250c8cbd7bfaed46a2a3cb1440550
Author:     Dávid Halász <dhalasz>
AuthorDate: Tue Jan 27 11:13:36 2015 +0100
Commit:     Dávid Halász <dhalasz>
CommitDate: Tue Jan 27 11:19:29 2015 +0100

    Fixed maximum length for the SMTP host name to the RFC specified 255
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1184250

 vmdb/app/views/ops/_settings_server_tab.html.erb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 6 Nandini Chandra 2015-02-18 05:28:31 UTC
Verified in master.20150203125233_597806a

Comment 8 Shveta 2015-03-13 17:51:31 UTC
Fixed .
Verified in  	5.4.0.0.11.20150309201930_8b6a235

Comment 10 errata-xmlrpc 2015-06-16 12:48:01 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-1100.html