Bug 1109545 - Hosted-engine --deploy failed with message "Hosted Engine HA services are already running on this system"
Summary: Hosted-engine --deploy failed with message "Hosted Engine HA services are alr...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-hosted-engine-ha
Version: 3.5
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
: 3.5.0
Assignee: Jiri Moskovcak
QA Contact: Artyom
URL:
Whiteboard: sla
: 1106382 (view as bug list)
Depends On:
Blocks: 1036683 1123006
TreeView+ depends on / blocked
 
Reported: 2014-06-15 07:39 UTC by Artyom
Modified: 2016-02-10 19:41 UTC (History)
11 users (show)

Fixed In Version: ovirt-3.5.0-beta2
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-10-17 12:24:12 UTC
oVirt Team: SLA
Embargoed:


Attachments (Terms of Use)
ovirt-hosted-engine-setup log (131.98 KB, text/x-log)
2014-06-15 07:39 UTC, Artyom
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 29574 0 master MERGED init scripts: fixed the return value of status command Never
oVirt gerrit 30642 0 ovirt-hosted-engine-ha-1.2 MERGED init scripts: fixed the return value of status command Never

Description Artyom 2014-06-15 07:39:50 UTC
Created attachment 908888 [details]
ovirt-hosted-engine-setup log

Description of problem:
I run hosted-engine --deploy on clean environment(yum erase -y vdsm*, reboot, yum install ovirt-hosted-engine-setup.noarch -y) and deployment failed with error message:
RuntimeError: Hosted Engine HA services are already running on this system. Hosted Engine cannot be deployed on a host already running those services.

Version-Release number of selected component (if applicable):
ovirt-hosted-engine-setup-1.2.0-0.0.master.20140605072127.git29ddea9.el6.noarch

How reproducible:
Always

Steps to Reproduce:
1. Have clean host with 3.5 repos, install hosted-engine
2. Run hosted-engine --deploy
3.

Actual results:
Deployment failed with error message

Expected results:
Deployment success without any error messages

Additional info:
[root@#### ovirt-hosted-engine-setup]# service ovirt-ha-broker status
ovirt-ha-broker is stopped
[root@####-vdsc ovirt-hosted-engine-setup]# service ovirt-ha-agent status
ovirt-ha-agent is stopped

Comment 1 Sandro Bonazzola 2014-06-17 08:15:03 UTC
Looking at the logs, either "service ovirt-ha-agent status" return a wrong exit code or otopi has a bug. Since it seems to work for other services I tend to think that's a wrong exit code in ha-agent service file.
Moving to ha component.

Comment 2 Jiri Moskovcak 2014-07-04 06:39:31 UTC
(In reply to Sandro Bonazzola from comment #1)
> Looking at the logs, either "service ovirt-ha-agent status" return a wrong
> exit code or otopi has a bug. Since it seems to work for other services I
> tend to think that's a wrong exit code in ha-agent service file.
> Moving to ha component.

Comment 3 Sandro Bonazzola 2014-07-08 13:02:24 UTC
Referenced patch has been merged, shouldn't this be on MODIFIED?

Comment 4 Sandro Bonazzola 2014-07-22 07:57:35 UTC
*** Bug 1106382 has been marked as a duplicate of this bug. ***

Comment 5 Artyom 2014-07-25 05:57:56 UTC
Verified on ovirt-hosted-engine-setup-1.2.0-0.1.master.el6.noarch

Comment 6 Sandro Bonazzola 2014-10-17 12:24:12 UTC
oVirt 3.5 has been released and should include the fix for this issue.


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