Bug 1156596

Summary: ovirt-hosted-engine-ha rpm should depend on otopi
Product: [Retired] oVirt Reporter: Antoni Segura Puimedon <asegurap>
Component: ovirt-hosted-engine-haAssignee: Martin Sivák <msivak>
Status: CLOSED CURRENTRELEASE QA Contact: Artyom <alukiano>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 3.5CC: bazulay, bugs, dfediuck, ecohen, gklein, istein, lsurette, oourfali, rbalakri, sbonazzo, yeylon
Target Milestone: ---   
Target Release: 3.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: sla
Fixed In Version: ovirt-3.6.0-alpha1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-04 13:48:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: SLA RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1234906    

Description Antoni Segura Puimedon 2014-10-24 17:43:27 UTC
Description of problem:
On a machine were I previously set up and uninstalled the hosted engine, I installed ovirt-hosted-engine-ha. It did not pull otopi and when trying to start it I got this backtrace:

Oct 24 19:38:36 dev-09.rhev.lab.eng.brq.redhat.com systemd-ovirt-ha-agent[7613]: from . import hosted_engine
Oct 24 19:38:36 dev-09.rhev.lab.eng.brq.redhat.com systemd-ovirt-ha-agent[7613]: File "/usr/lib/python2.7/site-pac...>
Oct 24 19:38:36 dev-09.rhev.lab.eng.brq.redhat.com systemd-ovirt-ha-agent[7613]: from ..lib import vds_client as vdsc
Oct 24 19:38:36 dev-09.rhev.lab.eng.brq.redhat.com systemd-ovirt-ha-agent[7613]: File "/usr/lib/python2.7/site-pac...>
Oct 24 19:38:36 dev-09.rhev.lab.eng.brq.redhat.com systemd-ovirt-ha-agent[7613]: from otopi import util
Oct 24 19:38:36 dev-09.rhev.lab.eng.brq.redhat.com systemd-ovirt-ha-agent[7613]: ImportError: No module named otopi
Oct 24 19:38:36 dev-09.rhev.lab.eng.brq.redhat.com systemd-ovirt-ha-agent[7613]: [FAILED]


Version-Release number of selected component (if applicable):
ovirt-hosted-engine-ha-1.2.4-1.fc20.noarch

How reproducible:


Steps to Reproduce:
1.install ovirt-hosted-engine-ha in a clean vdsm setup
2.systemctl start ovirt-ha-agent


Actual results:
The agent starts

Expected results:
the service fails to start with the aforementioned backtrace.

Additional info:

Comment 1 Antoni Segura Puimedon 2014-10-24 17:44:06 UTC
Note that issuing yum install otopi fixes the problem.

Comment 2 Doron Fediuck 2014-10-26 15:16:39 UTC
Just a note, this will be resolved for completeness, but it's not
really a bug.

The right way to install hosted engine goes through hosted-engine-setup
which depends on:

Requires:       otopi >= 1.3.0
....
Requires:       ovirt-hosted-engine-ha >= 1.3.0

So this issue should not really happen if you install the setup
which is the only way to install hosted engine.

Comment 4 Sandro Bonazzola 2015-01-21 16:08:21 UTC
oVirt 3.5.1 has been released, re-targeting to 3.6.0 as not marked as urgent / high severity or priority

Comment 5 Sandro Bonazzola 2015-05-05 14:14:01 UTC
Moving to MODIFIED since all the referenced patches have been merged.

Comment 6 Artyom 2015-05-25 13:19:36 UTC
Verified on ovirt-hosted-engine-ha-1.3.0-0.0.master.20150424113553.20150424113551.git7c14f4c.el7.noarch

Comment 7 Sandro Bonazzola 2015-11-04 13:48:07 UTC
oVirt 3.6.0 has been released on November 4th, 2015 and should fix this issue.
If problems still persist, please open a new BZ and reference this one.