Bug 1040016

Summary: Using config file to install RHEV-M fails since it looks for the wrong JBOSS directory
Product: Red Hat Enterprise Virtualization Manager Reporter: Bill Sanford <bsanford>
Component: ovirt-engine-setupAssignee: Ofer Schreiber <oschreib>
Status: CLOSED DUPLICATE QA Contact: Pavel Stehlik <pstehlik>
Severity: medium Docs Contact:
Priority: urgent    
Version: 3.3.0CC: acathrow, bazulay, bsanford, dblechte, iheim, mkrcmari, pvine, Rhev-m-bugs, sbonazzo, vipatel, yeylon
Target Milestone: ---Keywords: Regression
Target Release: 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: integration
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-12 07:46:56 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:

Description Bill Sanford 2013-12-10 14:03:16 UTC
Description of problem:
When I use the config file to install, the setup fails since it is looking for the JBOSS dir at /usr/share/jboss-as and not the install dir of  /usr/share/jbossas where RHEV-M currently installs. 

Version-Release number of selected component (if applicable):
RHEV-M (is26)

How reproducible:
100%

Steps to Reproduce:
1. See below
2.
3.

Actual results:


Expected results:


Additional info:


[root@rhevm Desktop]# rhevm-setup --config=/home/test/Desktop/rhevm-answer
[ INFO  ] Stage: Initializing
[ INFO  ] Stage: Environment setup
          Configuration files: ['/home/test/Desktop/rhevm-answer']
          Log file: /var/log/ovirt-engine/setup/ovirt-engine-setup-20131210085050.log
          Version: otopi-1.1.2 (otopi-1.1.2-1.el6ev)
[ INFO  ] Stage: Environment packages setup
[ INFO  ] Stage: Programs detection
[ INFO  ] Stage: Environment setup
[ INFO  ] Stage: Environment customization
         
          --== PACKAGES ==--
         
[ INFO  ] Checking for product updates...
[ INFO  ] No product updates found
         
          --== NETWORK CONFIGURATION ==--
         
         
          --== DATABASE CONFIGURATION ==--
         
         
          --== OVIRT ENGINE CONFIGURATION ==--
         
         
          --== PKI CONFIGURATION ==--
         
         
          --== APACHE CONFIGURATION ==--
         
         
          --== SYSTEM CONFIGURATION ==--
         
         
          --== END OF CONFIGURATION ==--
         
[ INFO  ] Stage: Setup validation
[ ERROR ] Failed to execute stage 'Setup validation': Cannot find Jboss at /usr/share/jboss-as
[ INFO  ] Stage: Clean up
          Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20131210085050.log
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Execution of setup failed
[root@rhevm Desktop]# cd /usr/share/
[root@rhevm share]#

Comment 2 Ofer Schreiber 2013-12-12 07:20:15 UTC
I'm missing many details in this bug report.

1. Can you please attach /var/log/ovirt-engine/setup/ovirt-engine-setup-20131210085050.log (installation log file?)

2. Can you please attach the answer file you used? (/home/test/Desktop/rhevm-answer)

3. Which OS do you have installed? what's the JBoss version?

Comment 3 Sandro Bonazzola 2013-12-12 07:46:56 UTC
Please see https://bugzilla.redhat.com/show_bug.cgi?id=1014372#c6

Closing as duplicate of bug #1014372

*** This bug has been marked as a duplicate of bug 1014372 ***

Comment 4 Sandro Bonazzola 2013-12-12 07:48:11 UTC
No more info needed, --config has been used on answer file instead of --config-append.