Description of problem: Engine cannot parse complex data structure returning from OAT server, for example, it just parse the below simple string and must keep strict consistency. If it encounters following complex string, and it can not parse correctly the status of the host. If OAT server returns the below complex string, I will get an error saying: "Host ovirt-node1 was set to non-operational. Host is not trusted by the attestation service." and then the host is marked as non operational which is actually trusted. simple: {"hosts":[{"host_name":"ovirt-node1","trust_lvl":"trusted","vtime":"2014-03-27T19:07:24-04:00"}]} complex: {"hosts":[{"analysis_details":[{"name":[{"name":"VALIDATE_PCR","output":"PCR #0 mismatch. PCR #8 mismatch. PCR #5 mismatch.","result":"false","status":"ANALYSIS_COMPLETED"}, {"name":"COMPARE_REPORT","output":"","result":"true","status":"ANALYSIS_COMPLETED"}],"output":"PCR #0 mismatch. PCR #8 mismatch. PCR #5 mismatch.","result":"false","status":"ANALYSIS_COMPLETED"}, {"name":"COMPARE_REPORT","output":"","result":"true","status":"ANALYSIS_COMPLETED"}],"host_name":"ovirt-node1","report_is_valid":"true","trust_lvl":"untrusted","url":" http://ovirt-node1/OAT/report.php?id=12", "vtime":"2014-03-26T02:37:28+08:00"}]} Version-Release number of selected component (if applicable): How reproducible: 100% Steps to Reproduce: 1. Create a trusted cluster 2. Create a host in trusted cluster 3. Actual results: The host is always untrusted, set to non-operational even though this host is actually trusted. Expected results: The host can be up. Additional info:
Closing older BZs, if still happened, please reopen.