Bug 1154415 - ovirt-ha-agent failed to start after deployment
Summary: ovirt-ha-agent failed to start after deployment
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-hosted-engine-ha
Version: 3.4.1-1
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
: 3.5.0
Assignee: Doron Fediuck
QA Contact: Nikolai Sednev
URL:
Whiteboard: sla
Depends On:
Blocks: 1155120
TreeView+ depends on / blocked
 
Reported: 2014-10-19 14:28 UTC by Artyom
Modified: 2016-02-10 20:13 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1155120 (view as bug list)
Environment:
Last Closed: 2015-02-17 17:09:48 UTC
oVirt Team: SLA
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
agent log (9.24 KB, text/plain)
2014-10-19 14:28 UTC, Artyom
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 34291 0 ovirt-hosted-engine-ha-1.1 MERGED added forgotten constant Never

Description Artyom 2014-10-19 14:28:21 UTC
Created attachment 948286 [details]
agent log

Description of problem:
ovirt-ha-agent failed to start after deployment

Version-Release number of selected component (if applicable):
ovirt-hosted-engine-ha-1.1.6-2.el6ev.noarch

How reproducible:
Always

Steps to Reproduce:
1. finish hosted-engine --deploy process
2. 
3.

Actual results:
After deployment ovirt-ha-agent service still in down state

Expected results:
After deployment ovirt-ha-agent service in state up.

Additional info:

Comment 1 Doron Fediuck 2014-10-20 16:37:45 UTC
Can you please provide the setup logs?
Was this a fresh install? which RHEL version?

Comment 2 Artyom 2014-10-21 04:22:47 UTC
you don't really need because problem not in setup, I also write in one of emails, problems is:
After deployment finished I encounter another problem: MainThread::ERROR::2014-10-19 17:07:16,969::hosted_engine::374::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_broker) Failed to connect to ha-broker: 'module' object has no attribute 'BROKER_CONNECTION_WAIT', so agent just stay in down state and have no possibility to UP.
I see that we use this constant in this patch http://gerrit.ovirt.org/#/c/30641/3/ovirt_hosted_engine_ha/agent/hosted_engine.py, and we add this constant it this patch http://gerrit.ovirt.org/#/c/30113/1/ovirt_hosted_engine_ha/agent/constants.py.in, so how I understand last patch not included in build, I will open bug for this one(https://bugzilla.redhat.com/show_bug.cgi?id=1154415)
When I added localy this line in BROKER_CONNECTION_WAIT = 5 under ovirt_hosted_engine_ha/agent/constants.py it solve problem.

Comment 3 Sandro Bonazzola 2014-10-21 08:09:35 UTC
Marking test only on 3.5

Comment 4 Doron Fediuck 2014-10-21 09:34:41 UTC
(In reply to Artyom from comment #2)
> you don't really need because problem not in setup, I also write in one of
> emails, problems is:
> After deployment finished I encounter another problem:
> MainThread::ERROR::2014-10-19
> 17:07:16,969::hosted_engine::374::ovirt_hosted_engine_ha.agent.hosted_engine.
> HostedEngine::(_initialize_broker) Failed to connect to ha-broker: 'module'
> object has no attribute 'BROKER_CONNECTION_WAIT', so agent just stay in down
> state and have no possibility to UP.
> I see that we use this constant in this patch
> http://gerrit.ovirt.org/#/c/30641/3/ovirt_hosted_engine_ha/agent/
> hosted_engine.py, and we add this constant it this patch
> http://gerrit.ovirt.org/#/c/30113/1/ovirt_hosted_engine_ha/agent/constants.
> py.in, so how I understand last patch not included in build, I will open bug
> for this one(https://bugzilla.redhat.com/show_bug.cgi?id=1154415)
> When I added localy this line in BROKER_CONNECTION_WAIT = 5 under
> ovirt_hosted_engine_ha/agent/constants.py it solve problem.

So why do we need 2 bugs?

Comment 5 Artyom 2014-10-21 10:42:57 UTC
What you mean two bugs? Where the second bug?

Comment 7 Nikolai Sednev 2014-10-21 15:38:55 UTC
Works for me on these components:
ovirt-hosted-engine-setup-1.2.1-1.el6ev.noarch
ovirt-hosted-engine-ha-1.2.4-1.el6ev.noarch
ovirt-host-deploy-1.3.0-1.el6ev.noarch
rhevm-3.5.0-0.15.beta.el6ev.noarch
qemu-kvm-rhev-0.12.1.2-2.448.el6.x86_64
libvirt-0.10.2-46.el6.x86_64
vdsm-4.16.7-1.el6ev.x86_64
sanlock-2.8-1.el6.x86_64

Comment 8 Doron Fediuck 2014-10-21 16:16:45 UTC
(In reply to Artyom from comment #5)
> What you mean two bugs? Where the second bug?

"
I understand last patch not included in build, I will open bug for this one(https://bugzilla.redhat.com/show_bug.cgi?id=1154415)
"

This sentence suggests you are going to open an additional bug on top
of the current one.

Comment 10 Eyal Edri 2015-02-17 17:09:48 UTC
rhev 3.5.0 was released. closing.


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