Bug 1156596 - ovirt-hosted-engine-ha rpm should depend on otopi
Summary: ovirt-hosted-engine-ha rpm should depend on otopi
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-hosted-engine-ha
Version: 3.5
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: ---
: 3.6.0
Assignee: Martin Sivák
QA Contact: Artyom
URL:
Whiteboard: sla
Depends On:
Blocks: 1234906
TreeView+ depends on / blocked
 
Reported: 2014-10-24 17:43 UTC by Antoni Segura Puimedon
Modified: 2016-02-10 19:42 UTC (History)
11 users (show)

Fixed In Version: ovirt-3.6.0-alpha1
Clone Of:
Environment:
Last Closed: 2015-11-04 13:48:07 UTC
oVirt Team: SLA
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 38649 0 master MERGED Add the dependency on otopi Never

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.


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