+++ 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): ovirt-hosted-engine-ha-1.2.4-1.fc19.noarch How reproducible: 100% Steps to Reproduce: 1. have metadata where the engine-status field is null 2. start broker and agent 3. 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?
Hi Jiri, what the best way to verify this bug?
1. stop all the agents 2. change the 'engine-status' field in metadata to null 3. start the agent - the old version will not start, the new version should handle it and update the metadata to valid value
Verified on ovirt-hosted-engine-ha-1.2.4-5.el6ev.noarch, with Jiri steps
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. https://rhn.redhat.com/errata/RHBA-2015-0194.html