Bug 1040960

Summary: [RHS-C] rhsc-setup prompts for rhevm related configurations
Product: Red Hat Gluster Storage Reporter: Prasanth <pprakash>
Component: rhscAssignee: Bala.FA <barumuga>
Status: CLOSED ERRATA QA Contact: Prasanth <pprakash>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.1CC: barumuga, dpati, dtsang, knarra, mmahoney, pprakash, rhs-bugs, sabose, sbonazzo, sdharane, sharne, ssampat
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 2.1.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rhsc-setup-2.1.2-0.28.beta.el6_5 Doc Type: Bug Fix
Doc Text:
Previously, configurations which are not relevant to Red Hat Storage Console were displayed during Red Hat Storage Console setup. Now, with this update, the settings are modified to display the queries correctly.
Story Points: ---
Clone Of:
: 1040968 (view as bug list) Environment:
Last Closed: 2014-02-25 08:08:35 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:
Bug Depends On: 1040968    
Bug Blocks:    

Description Prasanth 2013-12-12 12:19:57 UTC
Description of problem:

rhsc-setup prompts for rhevm related configurations. See below:

----------------
[ INFO  ] NFS configuration skipped with application mode Gluster
          Configure WebSocket Proxy on this machine? (Yes, No) [Yes]: no
         
          --== END OF CONFIGURATION ==--
         
          Would you like transactions from the Red Hat Access Plugin sent from the RHSC to be brokered through a proxy server? (Yes, No) [No]: 
          Would you like transactions from the Red Hat Access Plugin sent from the RHEV Manager to be brokered through a proxy server? (Yes, No) [No]: 
[ INFO  ] Stage: Setup validation
         
          --== CONFIGURATION PREVIEW ==--
         
          Database name                      : engine
          Database secured connection        : False
          Database host                      : localhost
          Database user name                 : engine
          Database host name validation      : False
          Datbase port                       : 5432
          PKI organization                   : Red Hat
          Application mode                   : gluster
          Firewall manager                   : iptables
          Update Firewall                    : True
          Configure WebSocket Proxy          : False
---------------- 


Version-Release number of selected component (if applicable): cb11/ Red Hat Storage Console Version: 2.1.2-0.27.beta.el6_5

-----
[root@rhs-client3 ]# rpm -qa |grep rhsc 
rhsc-doc-2.1.2-4.el6eng.noarch
rhsc-branding-rhs-2.1.2-5.0.el6rhs.noarch
rhsc-2.1.2-0.27.beta.el6_5.noarch
rhsc-sdk-python-2.1.2.0-2.el6rhs.noarch
rhsc-restapi-2.1.2-0.27.beta.el6_5.noarch
rhsc-webadmin-portal-2.1.2-0.27.beta.el6_5.noarch
rhsc-dbscripts-2.1.2-0.27.beta.el6_5.noarch
rhsc-cli-2.1.2.1-2.el6rhs.noarch
rhsc-tools-2.1.2-0.27.beta.el6_5.noarch
rhsc-setup-2.1.2-0.27.beta.el6_5.noarch
rhsc-lib-2.1.2-0.27.beta.el6_5.noarch
rhsc-backend-2.1.2-0.27.beta.el6_5.noarch
redhat-access-plugin-rhsc-2.1.2-2.el6rhs.noarch
rhsc-log-collector-2.1.2.0-0.3.el6rhs.noarch
-----

How reproducible: Always


Steps to Reproduce:
1. Install rhsc as per http://rhsm.pad.engineering.redhat.com/rhsc-build-cb11
2. Execute #rhsc-setup
3.

Actual results: Following extra prompts are seen with cb11:

-----
Configure WebSocket Proxy on this machine? (Yes, No) [Yes]: 
Would you like transactions from the Red Hat Access Plugin sent from the RHEV Manager to be brokered through a proxy server? (Yes, No) [No]:
Configure WebSocket Proxy          : False
-----

Expected results: Remove all the above configuration prompts that are not relevant for rhsc.


Additional info:

Comment 1 Sandro Bonazzola 2013-12-12 12:52:13 UTC
On rhevm-setup-plugin side we'll add an environment variable for allowing to disable the rhedat-support-plugin-rhevm plugin. On this side, you'll have to set that env for disabling it.

Comment 2 Sandro Bonazzola 2013-12-13 13:29:04 UTC
There is already a variable for disabling it:
OVESETUP_SYSTEM/configureRedhatSupportPlugin=bool:False

Just add the above line in a file like:
/etc/ovirt-engine-setup.conf.d/20-rhsc-packaging.conf

Should be enough.

Comment 3 Bala.FA 2013-12-16 08:28:12 UTC
Downstream fix is under review at https://code.engineering.redhat.com/gerrit/17479 as per comment#2

Comment 4 Dustin Tsang 2013-12-17 19:59:57 UTC
verified in rhsc-cb12

Comment 5 Shalaka 2014-01-06 11:29:01 UTC
Please review the edited DocText and confirm.

Comment 6 Shalaka 2014-01-06 11:54:55 UTC
updated the doctext based on the discussion with Bala,

Comment 7 Bala.FA 2014-01-06 11:55:51 UTC
doctext is good to go

Comment 9 errata-xmlrpc 2014-02-25 08:08:35 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.

http://rhn.redhat.com/errata/RHEA-2014-0208.html