Bug 837812 - [rhevm] - Installer - service ovirt-engine status/stop' commands fail in case of unsuccessful service start
Summary: [rhevm] - Installer - service ovirt-engine status/stop' commands fail in case...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-setup
Version: 3.1.0
Hardware: x86_64
OS: Linux
medium
high
Target Milestone: ---
: ---
Assignee: Alex Lourie
QA Contact: David Botzer
URL:
Whiteboard: integration
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-05 11:34 UTC by David Botzer
Modified: 2014-01-14 00:03 UTC (History)
9 users (show)

Fixed In Version: si12
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-04 20:03:50 UTC
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
consoleLOG (63.99 KB, application/octet-stream)
2012-07-05 11:34 UTC, David Botzer
no flags Details
engine-db-install (12.57 KB, application/octet-stream)
2012-07-05 11:36 UTC, David Botzer
no flags Details
engine-setup (95.51 KB, application/octet-stream)
2012-07-05 11:36 UTC, David Botzer
no flags Details

Description David Botzer 2012-07-05 11:34:21 UTC
Created attachment 596384 [details]
consoleLOG

Description of problem:
Running rhevm-setup and choosing Remote DB option, causes the setup to fails
After which the service ovirt-engine cannot be started

Version-Release number of selected component (if applicable):
3.1/SI9.1

How reproducible:
Always

Steps to Reproduce:
1. I cleaned both Hosts
  rhevm - x.x.x.63 && remote DB server - x.x.x.12 
2. I installed new SI9.1, on the rhevm & remoteDB Hosts
3. I ran rhevm-setup on the REMOTEDB Host, than deleted the engine db & ran rhevm-
   cleanup In order to get the required credencials etc.
4. I ran rhevm-setup on the rhevm Host and selected Remote DB
  
Actual results:
rhevm-setup Fails And ovirt-engine service cannot be started when installing remoteDB setup

Expected results:
Should succeed installing rhevm & all services should be up & running

Additional info:
Installing:
Configuring Red Hat Enterprise Virtualization Manager... [ DONE ]
Creating CA...                                           [ DONE ]
Editing JBoss Configuration...                           [ DONE ]
Setting Database Configuration...                        [ DONE ]
Setting Database Security...                             [ DONE ]
Creating Database...                                     [ DONE ]
Updating the Default Data Center Storage Type...         [ DONE ]
Editing Red Hat Enterprise Virtualization Manager Configuration... [ DONE ]
Configuring Firewall (iptables)...                       [ DONE ]
Starting JBoss Service...                             [ ERROR ]
Error: Can't stop the ovirt-engine service
Please check log file /var/log/ovirt-eng

Comment 1 David Botzer 2012-07-05 11:36:07 UTC
Created attachment 596386 [details]
engine-db-install

Comment 2 David Botzer 2012-07-05 11:36:31 UTC
Created attachment 596387 [details]
engine-setup

Comment 3 Itamar Heim 2012-07-06 12:31:29 UTC
not sure if this is the intended use/flow, but lets make sure we document how to install with remote db from the remote db server perspective

Comment 4 Moran Goldboim 2012-07-10 13:45:51 UTC
flow seems to be a corner case - lowering priority.

Comment 5 David Botzer 2012-07-11 11:02:50 UTC
This issue is not related to remote setup nor standalone
Changing the headline,

Workaround - delete the /var/run/ovirt-engine.pid

Comment 6 Alex Lourie 2012-07-17 09:13:06 UTC
Fix is posted for review: http://gerrit.ovirt.org/#/c/6364/

Comment 8 David Botzer 2012-07-30 12:13:12 UTC
Fixed, 3.1/si12
setup works fine when remote db is clean (No previous DBs)
Fixed, 3.1/si12


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