Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1057122 - [RHSC] "Database host name validation : False" is shown in the setup configuration preview even when it is supposed to be true
[RHSC] "Database host name validation : False" is shown in the setup con...
Status: CLOSED EOL
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: rhsc (Show other bugs)
2.1
Unspecified Unspecified
medium Severity medium
: ---
: ---
Assigned To: Darshan
Shruti Sampat
:
Depends On:
Blocks: 1035040
  Show dependency treegraph
 
Reported: 2014-01-23 08:38 EST by Shruti Sampat
Modified: 2015-12-03 12:15 EST (History)
9 users (show)

See Also:
Fixed In Version:
Doc Type: Known Issue
Doc Text:
While configuring the Red Hat Storage Console to use a remote database server, on providing either 'yes/no' as input for 'Database host name validation' parameter, it is considered as 'No'.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-12-03 12:15:08 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
setup answer file (1.50 KB, text/plain)
2014-01-23 08:38 EST, Shruti Sampat
no flags Details

  None (edit)
Description Shruti Sampat 2014-01-23 08:38:32 EST
Created attachment 854393 [details]
setup answer file

Description of problem:
------------------------

While configuring the RHSC to use a remote database server, on saying 'yes' to the 'database secured connection' question, as follows - 

Database host [localhost]: 10.70.37.100
Database port [5432]: 
Database secured connection (Yes, No) [No]: yes
Validate host name in secured connection (Yes, No) [Yes]: 
Database name [engine]: 
Database user [engine]: postgres
Database password: 

the following is seen in the configuration preview -

 --== CONFIGURATION PREVIEW ==--
         
          Database name                      : engine
          Database secured connection        : True
          Database host                      : 10.70.37.100
          Database user name                 : postgres
          Database host name validation      : False
          Datbase port                       : 5432
          PKI organization                   : redhat
          Application mode                   : gluster
          Firewall manager                   : iptables
          Update Firewall                    : True
          Host FQDN                          : rhsc.cb15
          Set application as default page    : True
          Configure Apache SSL               : True

Note the 'Database host name validation      : False'

This should have been true.

Version-Release number of selected component (if applicable):
rhsc-2.1.2-0.33.el6rhs.noarch

How reproducible:
Always

Steps to Reproduce:
1. Choose to use a remote database server for RHSC and answer the questions as
   explained above.
2. See the configuration preview.

Actual results:
Database host name validation      : False is seen.

Expected results:
The Database host name validation should be true.

Additional info:
Attached answer file generated by setup.
Comment 2 Shalaka 2014-01-28 01:57:29 EST
Please review the edited Doc Text and sign off.
Comment 3 Darshan 2014-01-28 02:17:51 EST
The parameter is not 'Database Secured Connection' instead its 'Database host name validation'. And for any input(yes/no) which user provides for this parameter. The system considers it as No. So it would be better if you modify doc_text to be something like this:

 
While configuring the Red Hat Storage Console to use a remote database server, on providing either 'yes/no' as input for 'Database host name validation' parameter, it is considered as 'No'.
Comment 4 Shalaka 2014-01-29 04:27:54 EST
Updated the text according to comment 3. Please confirm.
Comment 5 Darshan 2014-01-29 04:34:43 EST
Doc_text looks good.
Comment 6 Vivek Agarwal 2015-12-03 12:15:08 EST
Thank you for submitting this issue for consideration in Red Hat Gluster Storage. The release for which you requested us to review, is now End of Life. Please See https://access.redhat.com/support/policy/updates/rhs/

If you can reproduce this bug against a currently maintained version of Red Hat Gluster Storage, please feel free to file a new report against the current release.

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