Bug 1462515
| Summary: | Put host to the maintenance breaks down ping sub-monitor | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [oVirt] ovirt-hosted-engine-ha | Reporter: | Artyom <alukiano> | ||||
| Component: | Broker | Assignee: | Andrej Krejcir <akrejcir> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Artyom <alukiano> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | --- | CC: | bugs, msivak, stirabos, ylavi | ||||
| Target Milestone: | ovirt-4.1.3 | Keywords: | Triaged | ||||
| Target Release: | 2.1.4 | Flags: | rule-engine:
ovirt-4.1+
ylavi: exception+ |
||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | No Doc Update | |||||
| Doc Text: |
undefined
|
Story Points: | --- | ||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2017-07-06 14:02:39 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: | 1455605 | ||||||
| Attachments: |
|
||||||
Already fixed, please wait for the next build. Cool thx:) I already can see the fix, so please move it ON_QA and I will verify it Martin I saw this one on the master: ovirt-hosted-engine-ha-2.2.0-0.0.master.20170609135928.20170609135926.gitadcf54e.el7.centos.noarch Does it relevant also for 4.1? Nope, you have to wait for the next ovirt-hosted-engine-ha-2.1.x for ovirt-4.1. Verified on ovirt-hosted-engine-ha-2.1.4-1.el7ev.noarch |
Created attachment 1288834 [details] agent and broker logs Description of problem: Put host to the maintenance breaks down ping sub-monitor, under the agent.log I can see traceback: MainThread::ERROR::2017-06-18 14:15:22,167::agent::151::ovirt_hosted_engine_ha.agent.agent.Agent::(_run_agent) Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py", line 137, in _run_agent return action(he) File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py", line 56, in action_proper return he.start_monitoring() File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/hosted_engine.py", line 427, in start_monitoring for old_state, state, delay in self.fsm: File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/fsm/machine.py", line 125, in next new_data = self.refresh(self._state.data) File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/state_machine.py", line 81, in refresh stats.update(self.hosted_engine.collect_stats()) File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/hosted_engine.py", line 1011, in collect_stats ret = monitor['type'](ret) ValueError: could not convert string to float: None Version-Release number of selected component (if applicable): ovirt-hosted-engine-ha-2.2.0-0.0.master.20170609135928.20170609135926.gitadcf54e.el7.centos.noarch How reproducible: Always Steps to Reproduce: 1.Configure hosted engine environment with two hosts 2. Put host without HE VM to the maintenance 3. Activate the host Actual results: ovirt-ha-agent can not get information from ping submonitor MainThread::ERROR::2017-06-18 14:15:22,167::agent::151::ovirt_hosted_engine_ha.agent.agent.Agent::(_run_agent) Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py", line 137, in _run_agent return action(he) File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py", line 56, in action_proper return he.start_monitoring() File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/hosted_engine.py", line 427, in start_monitoring for old_state, state, delay in self.fsm: File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/fsm/machine.py", line 125, in next new_data = self.refresh(self._state.data) File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/state_machine.py", line 81, in refresh stats.update(self.hosted_engine.collect_stats()) File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/hosted_engine.py", line 1011, in collect_stats ret = monitor['type'](ret) ValueError: could not convert string to float: None Expected results: ovirt-ha-agent and broker work without any troubles after the host maintenance Additional info: restart of the ovirt-ha-broker solves the problem