)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"14cb0da44af2142c5f0884bf0cd0558a21132f0a","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Add proposal \u0027bidirectional deduce and suspect status\u0027"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Change-Id: Ia502735af9a3ed28731af43f2490dcb64402c33a"},{"line_number":10,"context_line":"depend-on: blueprint alarm-merge-rule"},{"line_number":11,"context_line":"related: blueprint proactive-rca"},{"line_number":12,"context_line":"Implements: blueprint bidirectional-deduce"},{"line_number":13,"context_line":"Signed-off-by: xupeipei \u003cxu.peipei1@zte.com.cn\u003e"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"1f9dbf25_cb4a13ab","line":10,"range":{"start_line":10,"start_character":0,"end_line":10,"end_character":6},"updated":"2018-03-04 13:24:37.000000000","message":"Depends-On","commit_id":"df84c1113c7643ac864f051a44ee1dad84f17903"},{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"14cb0da44af2142c5f0884bf0cd0558a21132f0a","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Change-Id: Ia502735af9a3ed28731af43f2490dcb64402c33a"},{"line_number":10,"context_line":"depend-on: blueprint alarm-merge-rule"},{"line_number":11,"context_line":"related: blueprint proactive-rca"},{"line_number":12,"context_line":"Implements: blueprint bidirectional-deduce"},{"line_number":13,"context_line":"Signed-off-by: xupeipei \u003cxu.peipei1@zte.com.cn\u003e"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"1f9dbf25_6bc73f14","line":11,"range":{"start_line":11,"start_character":0,"end_line":11,"end_character":7},"updated":"2018-03-04 13:24:37.000000000","message":"I\u0027m not sure if \u0027related\u0027 is a known keyword","commit_id":"df84c1113c7643ac864f051a44ee1dad84f17903"}],"specs/rocky/approved/bidirectional-deduce.rst":[{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"14cb0da44af2142c5f0884bf0cd0558a21132f0a","unresolved":false,"context_lines":[{"line_number":49,"context_line":"   |     1      | None       | Report(T)  | Report(T)  |                   |\r"},{"line_number":50,"context_line":"   |     2      | None       | Report(F)  | Report(F)  |                   |\r"},{"line_number":51,"context_line":"   |     3      | None       | Deduce(T)  | Deduce(T)  |         N         |\r"},{"line_number":52,"context_line":"   |     4      | None       | Deduce(F)  | Deduce(F)  |         Y         |\r"},{"line_number":53,"context_line":"   |     5      | None       | Deduce(S)  | Deduce(F)  |         N         |\r"},{"line_number":54,"context_line":"   |     6      | Report(T)  | Deduce(T)  | Report(T)  |         Y         |\r"},{"line_number":55,"context_line":"   |     7      | Report(T)  | Deduce(F)  | Report(T)  |         N         |\r"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1f9dbf25_0b847bb0","line":52,"range":{"start_line":52,"start_character":31,"end_line":52,"end_character":68},"updated":"2018-03-04 13:24:37.000000000","message":"Why isn\u0027t this status consistent? this is the regular way that Vitrage works - it raises deduced alarms for resources that are not monitored. In many cases these resources will never be monitored, and the deduced state will be the only state that matters.\nMaybe the \u0027status_consistent\u0027 term is misleading.","commit_id":"df84c1113c7643ac864f051a44ee1dad84f17903"},{"author":{"_account_id":25301,"name":"xupeipei","email":"xu.peipei1@zte.com.cn","username":"xupeipei"},"change_message_id":"be8e8684eb7e53647ea04b71dde525e22b9dd5ce","unresolved":false,"context_lines":[{"line_number":49,"context_line":"   |     1      | None       | Report(T)  | Report(T)  |                   |\r"},{"line_number":50,"context_line":"   |     2      | None       | Report(F)  | Report(F)  |                   |\r"},{"line_number":51,"context_line":"   |     3      | None       | Deduce(T)  | Deduce(T)  |         N         |\r"},{"line_number":52,"context_line":"   |     4      | None       | Deduce(F)  | Deduce(F)  |         Y         |\r"},{"line_number":53,"context_line":"   |     5      | None       | Deduce(S)  | Deduce(F)  |         N         |\r"},{"line_number":54,"context_line":"   |     6      | Report(T)  | Deduce(T)  | Report(T)  |         Y         |\r"},{"line_number":55,"context_line":"   |     7      | Report(T)  | Deduce(F)  | Report(T)  |         N         |\r"}],"source_content_type":"text/x-rst","patch_set":4,"id":"ff6b8bd7_b4ef40e8","line":52,"range":{"start_line":52,"start_character":31,"end_line":52,"end_character":68},"in_reply_to":"1f9dbf25_0b847bb0","updated":"2018-03-06 05:51:07.000000000","message":"\u0027Y\u0027 means the status is consistent.\n\u0027status_consistent\u0027 column is confusing indeed, and I have modified it in \u0027proactive-rca\u0027.","commit_id":"df84c1113c7643ac864f051a44ee1dad84f17903"},{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"14cb0da44af2142c5f0884bf0cd0558a21132f0a","unresolved":false,"context_lines":[{"line_number":52,"context_line":"   |     4      | None       | Deduce(F)  | Deduce(F)  |         Y         |\r"},{"line_number":53,"context_line":"   |     5      | None       | Deduce(S)  | Deduce(F)  |         N         |\r"},{"line_number":54,"context_line":"   |     6      | Report(T)  | Deduce(T)  | Report(T)  |         Y         |\r"},{"line_number":55,"context_line":"   |     7      | Report(T)  | Deduce(F)  | Report(T)  |         N         |\r"},{"line_number":56,"context_line":"   |     8      | Report(T)  | Deduce(S)  | Report(T)  |         Y         |\r"},{"line_number":57,"context_line":"   |     9      | Report(F)  | Deduce(T)  | Report(F)  |         N         |\r"},{"line_number":58,"context_line":"   |     10     | Report(F)  | Deduce(F)  | Report(F)  |         Y         |\r"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1f9dbf25_ab59c75a","line":55,"range":{"start_line":55,"start_character":18,"end_line":55,"end_character":66},"updated":"2018-03-04 13:24:37.000000000","message":"I\u0027m not so sure about this. Assume that you have monitors for the host and for the vm. An alarm on the host is up, and it causes an alarm on the vm as well. Now, the alarm on the host goes down first, so the deduced alarm on the vm goes down. The monitor of the vm did not update its state *yet*, but it soon will. Don\u0027t you want to update the new deduced state, which is false? why wait for the vm monitor?","commit_id":"df84c1113c7643ac864f051a44ee1dad84f17903"},{"author":{"_account_id":25301,"name":"xupeipei","email":"xu.peipei1@zte.com.cn","username":"xupeipei"},"change_message_id":"be8e8684eb7e53647ea04b71dde525e22b9dd5ce","unresolved":false,"context_lines":[{"line_number":52,"context_line":"   |     4      | None       | Deduce(F)  | Deduce(F)  |         Y         |\r"},{"line_number":53,"context_line":"   |     5      | None       | Deduce(S)  | Deduce(F)  |         N         |\r"},{"line_number":54,"context_line":"   |     6      | Report(T)  | Deduce(T)  | Report(T)  |         Y         |\r"},{"line_number":55,"context_line":"   |     7      | Report(T)  | Deduce(F)  | Report(T)  |         N         |\r"},{"line_number":56,"context_line":"   |     8      | Report(T)  | Deduce(S)  | Report(T)  |         Y         |\r"},{"line_number":57,"context_line":"   |     9      | Report(F)  | Deduce(T)  | Report(F)  |         N         |\r"},{"line_number":58,"context_line":"   |     10     | Report(F)  | Deduce(F)  | Report(F)  |         Y         |\r"}],"source_content_type":"text/x-rst","patch_set":4,"id":"ff6b8bd7_0ba83f1d","line":55,"range":{"start_line":55,"start_character":18,"end_line":55,"end_character":66},"in_reply_to":"1f9dbf25_ab59c75a","updated":"2018-03-06 05:51:07.000000000","message":"When a conflict between Report and Deduce status happens,  the rule we propose in alarm-merge-rule is that \u0027trust the monitored alarm\u0027. The Report(T) here will be changed to Report(F) as soon as monitor result or diagnose result reports.\nHowever, I think that \u0027Deduce(F)\u0027 is also acceptable here. So we can review the alarm-merge-rule and make the rule fit to practice as much as we can.","commit_id":"df84c1113c7643ac864f051a44ee1dad84f17903"},{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"14cb0da44af2142c5f0884bf0cd0558a21132f0a","unresolved":false,"context_lines":[{"line_number":54,"context_line":"   |     6      | Report(T)  | Deduce(T)  | Report(T)  |         Y         |\r"},{"line_number":55,"context_line":"   |     7      | Report(T)  | Deduce(F)  | Report(T)  |         N         |\r"},{"line_number":56,"context_line":"   |     8      | Report(T)  | Deduce(S)  | Report(T)  |         Y         |\r"},{"line_number":57,"context_line":"   |     9      | Report(F)  | Deduce(T)  | Report(F)  |         N         |\r"},{"line_number":58,"context_line":"   |     10     | Report(F)  | Deduce(F)  | Report(F)  |         Y         |\r"},{"line_number":59,"context_line":"   |     11     | Report(F)  | Deduce(S)  | Report(F)  |         N         |\r"},{"line_number":60,"context_line":"   |     12     | Deduce(T)  | Report(T)  | Report(T)  |                   |\r"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1f9dbf25_cb545324","line":57,"range":{"start_line":57,"start_character":31,"end_line":57,"end_character":53},"updated":"2018-03-04 13:24:37.000000000","message":"Why do you ignore the deduced state? if it comes after the report state, most chances are that it is correct.","commit_id":"df84c1113c7643ac864f051a44ee1dad84f17903"},{"author":{"_account_id":25301,"name":"xupeipei","email":"xu.peipei1@zte.com.cn","username":"xupeipei"},"change_message_id":"be8e8684eb7e53647ea04b71dde525e22b9dd5ce","unresolved":false,"context_lines":[{"line_number":54,"context_line":"   |     6      | Report(T)  | Deduce(T)  | Report(T)  |         Y         |\r"},{"line_number":55,"context_line":"   |     7      | Report(T)  | Deduce(F)  | Report(T)  |         N         |\r"},{"line_number":56,"context_line":"   |     8      | Report(T)  | Deduce(S)  | Report(T)  |         Y         |\r"},{"line_number":57,"context_line":"   |     9      | Report(F)  | Deduce(T)  | Report(F)  |         N         |\r"},{"line_number":58,"context_line":"   |     10     | Report(F)  | Deduce(F)  | Report(F)  |         Y         |\r"},{"line_number":59,"context_line":"   |     11     | Report(F)  | Deduce(S)  | Report(F)  |         N         |\r"},{"line_number":60,"context_line":"   |     12     | Deduce(T)  | Report(T)  | Report(T)  |                   |\r"}],"source_content_type":"text/x-rst","patch_set":4,"id":"ff6b8bd7_0e604dce","line":57,"range":{"start_line":57,"start_character":31,"end_line":57,"end_character":53},"in_reply_to":"1f9dbf25_cb545324","updated":"2018-03-06 05:51:07.000000000","message":"Same as line 55.","commit_id":"df84c1113c7643ac864f051a44ee1dad84f17903"},{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"14cb0da44af2142c5f0884bf0cd0558a21132f0a","unresolved":false,"context_lines":[{"line_number":58,"context_line":"   |     10     | Report(F)  | Deduce(F)  | Report(F)  |         Y         |\r"},{"line_number":59,"context_line":"   |     11     | Report(F)  | Deduce(S)  | Report(F)  |         N         |\r"},{"line_number":60,"context_line":"   |     12     | Deduce(T)  | Report(T)  | Report(T)  |                   |\r"},{"line_number":61,"context_line":"   |     13     | Deduce(T)  | Report(F)  | Report(F)  |                   |\r"},{"line_number":62,"context_line":"   |     14     | Deduce(F)  | Report(T)  | Report(T)  |                   |\r"},{"line_number":63,"context_line":"   |     15     | Deduce(F)  | Report(F)  | Report(F)  |                   |\r"},{"line_number":64,"context_line":"   |     16     | Deduce(S)  | Report(T)  | Report(T)  |                   |\r"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1f9dbf25_8b1deb74","line":61,"range":{"start_line":61,"start_character":18,"end_line":61,"end_character":53},"updated":"2018-03-04 13:24:37.000000000","message":"Here I understand why you ignore the deduced, because the report comes after it and it says everything is ok","commit_id":"df84c1113c7643ac864f051a44ee1dad84f17903"},{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"14cb0da44af2142c5f0884bf0cd0558a21132f0a","unresolved":false,"context_lines":[{"line_number":66,"context_line":"   +------------+------------+------------+------------+-------------------+\r"},{"line_number":67,"context_line":"\r"},{"line_number":68,"context_line":"Suspect state means \u0027supect that the alarm is active\u0027. The introduction of \u0027suspect\u0027 will not affect\r"},{"line_number":69,"context_line":"presentation of alarm, but it helps trigger diagnose action. This state has practical significance.\r"},{"line_number":70,"context_line":"\r"},{"line_number":71,"context_line":"Deductive reasoning, merging and diagnosing\r"},{"line_number":72,"context_line":"----------------------------------------------\r"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1f9dbf25_ab07871c","line":69,"range":{"start_line":69,"start_character":27,"end_line":69,"end_character":59},"updated":"2018-03-04 13:24:37.000000000","message":"How does it help trigger diagnose actions? why not trigger the diagnose action directly from the Vitrage template?","commit_id":"df84c1113c7643ac864f051a44ee1dad84f17903"},{"author":{"_account_id":25301,"name":"xupeipei","email":"xu.peipei1@zte.com.cn","username":"xupeipei"},"change_message_id":"be8e8684eb7e53647ea04b71dde525e22b9dd5ce","unresolved":false,"context_lines":[{"line_number":66,"context_line":"   +------------+------------+------------+------------+-------------------+\r"},{"line_number":67,"context_line":"\r"},{"line_number":68,"context_line":"Suspect state means \u0027supect that the alarm is active\u0027. The introduction of \u0027suspect\u0027 will not affect\r"},{"line_number":69,"context_line":"presentation of alarm, but it helps trigger diagnose action. This state has practical significance.\r"},{"line_number":70,"context_line":"\r"},{"line_number":71,"context_line":"Deductive reasoning, merging and diagnosing\r"},{"line_number":72,"context_line":"----------------------------------------------\r"}],"source_content_type":"text/x-rst","patch_set":4,"id":"ff6b8bd7_dc752ffc","line":69,"range":{"start_line":69,"start_character":27,"end_line":69,"end_character":59},"in_reply_to":"1f9dbf25_ab07871c","updated":"2018-03-06 05:51:07.000000000","message":"\u0027suspect\u0027 means \u0027suspect the alarm is active\u0027, and the new state \u0027suspect\u0027 will introduce a conflict if the current state is inactive. Then a diagnose action is triggered.\nRegarding how to trigger a diagnose action, Vitrage template conditions only current status instead of both current and new status. So some changes should be done to templates to support trigger a diagnose action.\nWe planned to bind action to alarm_name/current_status/new_status of an alarm, and save the mapping somewhere, like db or yaml file. Which way do you think will be more appropriate?","commit_id":"df84c1113c7643ac864f051a44ee1dad84f17903"},{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"14cb0da44af2142c5f0884bf0cd0558a21132f0a","unresolved":false,"context_lines":[{"line_number":69,"context_line":"presentation of alarm, but it helps trigger diagnose action. This state has practical significance.\r"},{"line_number":70,"context_line":"\r"},{"line_number":71,"context_line":"Deductive reasoning, merging and diagnosing\r"},{"line_number":72,"context_line":"----------------------------------------------\r"},{"line_number":73,"context_line":"\r"},{"line_number":74,"context_line":"Let\u0027s illustrate processing of deductive reasoning, merging and diagnose trigger in graphs with the\r"},{"line_number":75,"context_line":"following legend.\r"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1f9dbf25_6eff4d01","line":72,"range":{"start_line":72,"start_character":43,"end_line":72,"end_character":46},"updated":"2018-03-04 13:24:37.000000000","message":"Extra dashes","commit_id":"df84c1113c7643ac864f051a44ee1dad84f17903"},{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"14cb0da44af2142c5f0884bf0cd0558a21132f0a","unresolved":false,"context_lines":[{"line_number":88,"context_line":"\r"},{"line_number":89,"context_line":"  - red: state of alarm is active;\r"},{"line_number":90,"context_line":"  - green: state of alarm is inactive;\r"},{"line_number":91,"context_line":"  - yellow: state of alarm is suspect;\r"},{"line_number":92,"context_line":"\r"},{"line_number":93,"context_line":"The fault model is A or B -\u003e Z. Suppose we received a series of events in the following order, t31/t41\r"},{"line_number":94,"context_line":"and t32/t42 are in different receiving sequences:\r"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1f9dbf25_8e02d908","line":91,"range":{"start_line":91,"start_character":4,"end_line":91,"end_character":10},"updated":"2018-03-04 13:24:37.000000000","message":"yellow means warning in vitrage-dashboard, so I think that using it for a suspect is confusing","commit_id":"df84c1113c7643ac864f051a44ee1dad84f17903"},{"author":{"_account_id":25301,"name":"xupeipei","email":"xu.peipei1@zte.com.cn","username":"xupeipei"},"change_message_id":"be8e8684eb7e53647ea04b71dde525e22b9dd5ce","unresolved":false,"context_lines":[{"line_number":88,"context_line":"\r"},{"line_number":89,"context_line":"  - red: state of alarm is active;\r"},{"line_number":90,"context_line":"  - green: state of alarm is inactive;\r"},{"line_number":91,"context_line":"  - yellow: state of alarm is suspect;\r"},{"line_number":92,"context_line":"\r"},{"line_number":93,"context_line":"The fault model is A or B -\u003e Z. Suppose we received a series of events in the following order, t31/t41\r"},{"line_number":94,"context_line":"and t32/t42 are in different receiving sequences:\r"}],"source_content_type":"text/x-rst","patch_set":4,"id":"ff6b8bd7_9cbb37e4","line":91,"range":{"start_line":91,"start_character":4,"end_line":91,"end_character":10},"in_reply_to":"1f9dbf25_8e02d908","updated":"2018-03-06 05:51:07.000000000","message":"Ok, I\u0027ll change it to pink color.","commit_id":"df84c1113c7643ac864f051a44ee1dad84f17903"},{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"14cb0da44af2142c5f0884bf0cd0558a21132f0a","unresolved":false,"context_lines":[{"line_number":124,"context_line":"^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r"},{"line_number":125,"context_line":"\r"},{"line_number":126,"context_line":"#. current and new state of alarm A merged, same as alarm B;\r"},{"line_number":127,"context_line":"#. alarm Z is deduced as active, and no action is triggered;\r"},{"line_number":128,"context_line":"\r"},{"line_number":129,"context_line":".. figure:: ./bidirectional_deduce/bidirectional_deduce_t2.png\r"},{"line_number":130,"context_line":"   :scale: 100 %\r"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1f9dbf25_2e22a5a5","line":127,"range":{"start_line":127,"start_character":3,"end_line":127,"end_character":31},"updated":"2018-03-04 13:24:37.000000000","message":"Why? by alarm A? doesn\u0027t it cause a loop of deductions?","commit_id":"df84c1113c7643ac864f051a44ee1dad84f17903"},{"author":{"_account_id":25301,"name":"xupeipei","email":"xu.peipei1@zte.com.cn","username":"xupeipei"},"change_message_id":"be8e8684eb7e53647ea04b71dde525e22b9dd5ce","unresolved":false,"context_lines":[{"line_number":124,"context_line":"^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r"},{"line_number":125,"context_line":"\r"},{"line_number":126,"context_line":"#. current and new state of alarm A merged, same as alarm B;\r"},{"line_number":127,"context_line":"#. alarm Z is deduced as active, and no action is triggered;\r"},{"line_number":128,"context_line":"\r"},{"line_number":129,"context_line":".. figure:: ./bidirectional_deduce/bidirectional_deduce_t2.png\r"},{"line_number":130,"context_line":"   :scale: 100 %\r"}],"source_content_type":"text/x-rst","patch_set":4,"id":"ff6b8bd7_3c69cb24","line":127,"range":{"start_line":127,"start_character":3,"end_line":127,"end_character":31},"in_reply_to":"1f9dbf25_2e22a5a5","updated":"2018-03-06 05:51:07.000000000","message":"Yes, the update of alarm A and B will make evaluator deduce alarm Z. \nSince alarm Z will not be updated(according to merge-rule, report(T)/deduce(T)-\u003ereport(T)), the deduction will end up here.","commit_id":"df84c1113c7643ac864f051a44ee1dad84f17903"},{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"3c928bf81bfd3027efb29304ec7943d939bd469f","unresolved":false,"context_lines":[{"line_number":48,"context_line":"   +------------+------------+------------+------------+-----------+----------------------------------+\r"},{"line_number":49,"context_line":"   |     1      | None       | Report(T)  | Report(T)  |           |not compare                       |\r"},{"line_number":50,"context_line":"   |     2      | None       | Report(F)  | Report(F)  |           |not compare                       |\r"},{"line_number":51,"context_line":"   |     3      | None       | Deduce(T)  | Deduce(T)  |   Yes     |Current and new status conflict   |\r"},{"line_number":52,"context_line":"   |     4      | None       | Deduce(F)  | Deduce(F)  |   No      |Current and new status consistent |\r"},{"line_number":53,"context_line":"   |     5      | None       | Deduce(S)  | Deduce(F)  |   Yes     |Current and new status conflict   |\r"},{"line_number":54,"context_line":"   |     6      | Report(T)  | Deduce(T)  | Report(T)  |   No      |Current and new status consistent |\r"}],"source_content_type":"text/x-rst","patch_set":5,"id":"ff6b8bd7_28e17e9b","line":51,"range":{"start_line":51,"start_character":68,"end_line":51,"end_character":99},"updated":"2018-03-06 13:54:44.000000000","message":"Why is there a conflict? the comment might be misleading","commit_id":"00cd602d7aa3992de89d0f04f552abf8a8a42688"}]}
