Bug 1098211 - Answer file generated as part of 'rhsc-setup' and using "--generate-answer=" doesn't include the environment values of External Monitoring
Summary: Answer file generated as part of 'rhsc-setup' and using "--generate-answer=" ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: rhsc
Version: rhgs-3.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: RHGS 3.0.0
Assignee: Shubhendu Tripathi
QA Contact: Prasanth
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-15 13:33 UTC by Prasanth
Modified: 2015-05-13 16:58 UTC (History)
5 users (show)

Fixed In Version: rhsc-3.0.0-0.5.master.el6_5.noarch.rpm
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-22 19:09:46 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2014:1277 0 normal SHIPPED_LIVE Red Hat Storage Console 3.0 enhancement and bug fix update 2014-09-22 23:06:30 UTC

Description Prasanth 2014-05-15 13:33:21 UTC
Description of problem:

Answer file generated as part of 'rhsc-setup' and using "--generate-answer=" doesn't include the environment values of External Monitoring.

Version-Release number of selected component (if applicable): 
rhsc-3.0.0-0.4.master.el6_5.noarch


How reproducible: 100%


Steps to Reproduce:
1. Install the latest RHS-C 3.0 build
2. Execute:
   # rhsc-setup or # rhsc-setup --generate-answer=/opt/<Answer_File>
3. Now use the above generated answer file and try to auto install using 
   # rhsc-setup --config-append=/opt/<Answer_File>


Actual results: Auto install using the answer file stops in the middle asking for the confirmation regarding External Monitoring. See below:

------------------
# rhsc-setup --config-append=/opt/myanswerfile
[ INFO  ] Stage: Initializing
[ INFO  ] Stage: Environment setup
          Configuration files: ['/etc/ovirt-engine-setup.conf.d/10-packaging.conf', '/etc/ovirt-engine-setup.conf.d/20-rhsc-packaging.conf', '/opt/myanswerfile']
          Log file: /var/log/ovirt-engine/setup/ovirt-engine-setup-20140515151550.log
          Version: otopi-1.2.0 (otopi-1.2.0-1.el6ev)
[ INFO  ] Stage: Environment packages setup
[ INFO  ] Stage: Programs detection
[ INFO  ] Stage: Environment setup
[ INFO  ] Stage: Environment customization
         
          --== PRODUCT OPTIONS ==--
         
         
          --== PACKAGES ==--
         
[ INFO  ] Checking for product updates...
[ INFO  ] No product updates found
         
          --== NETWORK CONFIGURATION ==--
         
[WARNING] Failed to resolve vm49.lab.eng.blr.redhat.com using DNS, it can be resolved only locally
[ INFO  ] iptables will be configured as firewall manager.
         
          --== DATABASE CONFIGURATION ==--
         
         
          --== OVIRT ENGINE CONFIGURATION ==--
         
         
          --== PKI CONFIGURATION ==--
         
         
          --== APACHE CONFIGURATION ==--
         
         
          --== SYSTEM CONFIGURATION ==--
         
[ INFO  ] NFS configuration skipped with application mode Gluster
         
          --== MISC CONFIGURATION ==--
         
         
          --== 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 external monitoring to be enabled? (Yes, No) [Yes]: 
[ INFO  ] Stage: Setup validation
------------------


Expected results: The auto install using the answer file should pass through without any manual intervention. 


Additional info: Adding the following entry in the answer file can be used as a work-around for the time being.

----
OVESETUP_SYSTEM/monitoringEnabled=bool:True (or FALSE)
----

A similar bug opened for Support Plugin: Bug 1086718 - rhsc-setup --offline --config-append=<Answer_File> still prompts for a confirmation regarding Red Hat Access Plugin

Comment 1 Prasanth 2014-05-26 09:19:22 UTC
Verified in rhsc-3.0.0-0.5.master.el6_5.noarch.rpm

Comment 3 errata-xmlrpc 2014-09-22 19:09:46 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-1277.html


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