Bug 1040968

Summary: rhevm-setup-plugins must allow to disable redhat-support-plugin-rhev
Product: Red Hat Enterprise Virtualization Manager Reporter: Sandro Bonazzola <sbonazzo>
Component: redhat-support-plugin-rhevAssignee: Sandro Bonazzola <sbonazzo>
Status: CLOSED NOTABUG QA Contact: Spenser Shumaker <sshumake>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: acathrow, dtsang, iheim, knarra, mmahoney, pprakash, rhs-bugs, sdharane, ssampat, yeylon
Target Milestone: ---   
Target Release: 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: integration
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1040960 Environment:
Last Closed: 2013-12-13 13:27:22 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:    
Bug Blocks: 1040960    

Description Sandro Bonazzola 2013-12-12 12:49:27 UTC
+++ This bug was initially created as a clone of Bug #1040960 +++

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-13 13:27:22 UTC
There is already a variable for disabling it:
OVESETUP_SYSTEM/configureRedhatSupportPlugin=bool:False

Just add the above line to the setup environment will disable the configuration of the plugin.