Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1169308 - agent crashes on wrong metadata
Summary: agent crashes on wrong metadata
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-hosted-engine-ha
Version: 3.5.0
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 3.5.0
Assignee: Doron Fediuck
QA Contact: Lukas Svaty
Whiteboard: sla
Depends On: 1158925
Blocks: rhev35rcblocker rhev35gablocker 1167860
TreeView+ depends on / blocked
Reported: 2014-12-01 10:09 UTC by Jiri Moskovcak
Modified: 2016-02-10 20:16 UTC (History)
12 users (show)

Fixed In Version: ovirt-hosted-engine-ha-1.2.4-2.el6ev
Doc Type: Bug Fix
Doc Text:
Clone Of: 1158925
Last Closed: 2015-02-11 21:09:33 UTC
oVirt Team: SLA
Target Upstream Version:

Attachments (Terms of Use)

System ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0194 normal SHIPPED_LIVE ovirt-hosted-engine-ha bug fix and enhancement update 2015-02-12 01:35:33 UTC
oVirt gerrit 34658 None None None Never
oVirt gerrit 35517 None None None Never

Description Jiri Moskovcak 2014-12-01 10:09:17 UTC
+++ This bug was initially created as a clone of Bug #1158925 +++

Description of problem:
Agent crashes when there is 'null' as the engine-state in the metadata. this was observed while updating from 3.4 to 3.5

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. have metadata where the engine-status field is null
2. start broker and agent

Actual results:
agent crashes with: AttributeError: 'NoneType' object has no attribute 'iteritems'

Expected results:
Agent ignores malformed metadata

Additional info:

--- Additional comment from Sven Kieske on 2014-11-11 03:24:58 EST ---

(In reply to Jiri Moskovcak from comment #0)
> Description of problem:
> Agent crashes when there is 'null' as the engine-state in the metadata. this
> was observed while updating from 3.4 to 3.5

imho therefore it should block 3.5.1 release, would you mind backporting it to 3.5.1?

Comment 5 errata-xmlrpc 2015-02-11 21:09:33 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

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