Bug 832784

Summary: ovirt-engine-setup: "service ovirt-engine status" does not return a clear message [TEXT]
Product: Red Hat Enterprise Virtualization Manager Reporter: Yaniv Kaul <ykaul>
Component: ovirt-engine-setupAssignee: Juan Hernández <juan.hernandez>
Status: CLOSED CURRENTRELEASE QA Contact: Yaniv Kaul <ykaul>
Severity: low Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: dyasny, hateya, iheim, jkt, mgoldboi, mkenneth, Rhev-m-bugs, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: integration
Fixed In Version: si10 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-04 20:03:45 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:
Embargoed:

Description Yaniv Kaul 2012-06-17 11:23:57 UTC
Description of problem:
[root@ykaul-rhevm3 /]# service ovirt-engine status
The engine PID file "/var/run/ovirt-engine.pid" doesn't exist.

compare with (for example):
[root@ykaul-rhevm3 /]# /etc/init.d/iscsi status
iscsi is stopped

Version-Release number of selected component (if applicable):
rhevm-setup-3.1.0_0001-14.el6ev.noarch

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:
should be "ovirt-engine is stopped"

Additional info:

Comment 1 Juan Hernández 2012-06-21 15:54:33 UTC
The following change contains the fix for this bug:

http://gerrit.ovirt.org/#/c/5355

The output of the script will look like this:

# service ovirt-engine stop
Stopping engine-service:                                    [  OK  ]
# service ovirt-engine status
ovirt-engine is stopped
# service ovirt-engine start
Starting engine-service:                                    [  OK  ]
# service ovirt-engine status
ovirt-engine is running

Additional information will be sent to syslog (/var/log/messages).

Comment 3 Yaniv Kaul 2012-07-10 14:02:48 UTC
*** Bug 838825 has been marked as a duplicate of this bug. ***

Comment 4 Haim 2012-08-07 06:18:38 UTC
verified on si13:

[root@hateya-rhevm ~]# /etc/init.d/ovirt-engine status
The engine process 11265 is running.
[root@hateya-rhevm ~]# /etc/init.d/ovirt-engine stop 
Stopping engine-service:
                                                            [  OK  ]
[root@hateya-rhevm ~]# /etc/init.d/ovirt-engine status
The engine is not running