)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":8878,"name":"Masahito Muroi","email":"masahito.muroi@g.softbank.co.jp","username":"masa"},"change_message_id":"eaaa6caa05edf1aa8d447285b92255d78a908300","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Spec: monitor states of resources"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Related to blueprint resource-monitoring"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"Change-Id: I5a6b87910636bb476b94f68caaf74da83dafb987"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"3f4b6375_dddc0b48","line":9,"range":{"start_line":9,"start_character":0,"end_line":9,"end_character":40},"updated":"2017-10-19 09:19:08.000000000","message":"Is it a new tag for CI?","commit_id":"7d638898bc3163261a6dc4095c376495ddb304bc"},{"author":{"_account_id":23840,"name":"Hiroaki Kobayashi","email":"kobayashi.hiroaki@lab.ntt.co.jp","username":"hiro-kobayashi"},"change_message_id":"551ed581e137db812f206e22139b4b9d378596b0","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Spec: monitor states of resources"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Related to blueprint resource-monitoring"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"Change-Id: I5a6b87910636bb476b94f68caaf74da83dafb987"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"3f4b6375_1290344e","line":9,"range":{"start_line":9,"start_character":0,"end_line":9,"end_character":40},"in_reply_to":"3f4b6375_dddc0b48","updated":"2017-11-14 01:11:27.000000000","message":"Oh, I could not find this tag in developers docs.","commit_id":"7d638898bc3163261a6dc4095c376495ddb304bc"}],"doc/source/devref/specs/queens/resource-monitoring.rst":[{"author":{"_account_id":24603,"name":"Tejaswi Bachu","email":"tejaswi.r.bachu@hpe.com","username":"tejaswi-bachu"},"change_message_id":"8f6825046f27bf285217f12a4bc378423268316a","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"7f515b1d_6161b4a9","updated":"2017-09-26 10:38:10.000000000","message":"Looks fine except a few typos","commit_id":"387fefdda436b58719601c5fcdc56d17de16568c"},{"author":{"_account_id":24603,"name":"Tejaswi Bachu","email":"tejaswi.r.bachu@hpe.com","username":"tejaswi-bachu"},"change_message_id":"8f6825046f27bf285217f12a4bc378423268316a","unresolved":false,"context_lines":[{"line_number":43,"context_line":"^^^^^^^^^^^^^^^^^^^^^^^^^^^"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"Have the blazar-manager monitor states of resources. At least one of following"},{"line_number":46,"context_line":"two types of monitoring feature should be supported for each resource plugin."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"1. Push-based monitoring"},{"line_number":49,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"7f515b1d_61009402","line":46,"range":{"start_line":46,"start_character":24,"end_line":46,"end_character":31},"updated":"2017-09-26 10:38:10.000000000","message":"features","commit_id":"387fefdda436b58719601c5fcdc56d17de16568c"},{"author":{"_account_id":23840,"name":"Hiroaki Kobayashi","email":"kobayashi.hiroaki@lab.ntt.co.jp","username":"hiro-kobayashi"},"change_message_id":"4f55107ec186a2dadf14ef52c9bbb82b72510242","unresolved":false,"context_lines":[{"line_number":43,"context_line":"^^^^^^^^^^^^^^^^^^^^^^^^^^^"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"Have the blazar-manager monitor states of resources. At least one of following"},{"line_number":46,"context_line":"two types of monitoring feature should be supported for each resource plugin."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"1. Push-based monitoring"},{"line_number":49,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"7f515b1d_01c75d98","line":46,"range":{"start_line":46,"start_character":24,"end_line":46,"end_character":31},"in_reply_to":"7f515b1d_61009402","updated":"2017-09-28 04:20:51.000000000","message":"Done","commit_id":"387fefdda436b58719601c5fcdc56d17de16568c"},{"author":{"_account_id":24603,"name":"Tejaswi Bachu","email":"tejaswi.r.bachu@hpe.com","username":"tejaswi-bachu"},"change_message_id":"8f6825046f27bf285217f12a4bc378423268316a","unresolved":false,"context_lines":[{"line_number":55,"context_line":""},{"line_number":56,"context_line":"2. Polling-based monitoring"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"   The blazar-manger periodically calls a states check method of each"},{"line_number":59,"context_line":"   resource plugin. Then, the resource plugin checks states of resources,"},{"line_number":60,"context_line":"   e.g. *List Hypervisors* of the Compute API is used for the host/instance"},{"line_number":61,"context_line":"   plugins. If any failure is detected, it is notified to the blazar-manager."}],"source_content_type":"text/x-rst","patch_set":3,"id":"7f515b1d_c10e2831","line":58,"range":{"start_line":58,"start_character":14,"end_line":58,"end_character":20},"updated":"2017-09-26 10:38:10.000000000","message":"manager","commit_id":"387fefdda436b58719601c5fcdc56d17de16568c"},{"author":{"_account_id":23840,"name":"Hiroaki Kobayashi","email":"kobayashi.hiroaki@lab.ntt.co.jp","username":"hiro-kobayashi"},"change_message_id":"4f55107ec186a2dadf14ef52c9bbb82b72510242","unresolved":false,"context_lines":[{"line_number":55,"context_line":""},{"line_number":56,"context_line":"2. Polling-based monitoring"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"   The blazar-manger periodically calls a states check method of each"},{"line_number":59,"context_line":"   resource plugin. Then, the resource plugin checks states of resources,"},{"line_number":60,"context_line":"   e.g. *List Hypervisors* of the Compute API is used for the host/instance"},{"line_number":61,"context_line":"   plugins. If any failure is detected, it is notified to the blazar-manager."}],"source_content_type":"text/x-rst","patch_set":3,"id":"7f515b1d_e1c32188","line":58,"range":{"start_line":58,"start_character":14,"end_line":58,"end_character":20},"in_reply_to":"7f515b1d_c10e2831","updated":"2017-09-28 04:20:51.000000000","message":"Done","commit_id":"387fefdda436b58719601c5fcdc56d17de16568c"},{"author":{"_account_id":24603,"name":"Tejaswi Bachu","email":"tejaswi.r.bachu@hpe.com","username":"tejaswi-bachu"},"change_message_id":"8f6825046f27bf285217f12a4bc378423268316a","unresolved":false,"context_lines":[{"line_number":87,"context_line":"resource plugin discovers leases which suffer from the failure, and tries to"},{"line_number":88,"context_line":"heal the leases. In the healing process, for the first, the resource plugin"},{"line_number":89,"context_line":"looks for available resources which satisfy requirements of the lease. Then,"},{"line_number":90,"context_line":"it take following actions:"},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"* Case 1. Lease is not started yet"},{"line_number":93,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"7f515b1d_21717caa","line":90,"range":{"start_line":90,"start_character":3,"end_line":90,"end_character":7},"updated":"2017-09-26 10:38:10.000000000","message":"takes","commit_id":"387fefdda436b58719601c5fcdc56d17de16568c"},{"author":{"_account_id":23840,"name":"Hiroaki Kobayashi","email":"kobayashi.hiroaki@lab.ntt.co.jp","username":"hiro-kobayashi"},"change_message_id":"4f55107ec186a2dadf14ef52c9bbb82b72510242","unresolved":false,"context_lines":[{"line_number":87,"context_line":"resource plugin discovers leases which suffer from the failure, and tries to"},{"line_number":88,"context_line":"heal the leases. In the healing process, for the first, the resource plugin"},{"line_number":89,"context_line":"looks for available resources which satisfy requirements of the lease. Then,"},{"line_number":90,"context_line":"it take following actions:"},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"* Case 1. Lease is not started yet"},{"line_number":93,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"7f515b1d_8138ed9f","line":90,"range":{"start_line":90,"start_character":3,"end_line":90,"end_character":7},"in_reply_to":"7f515b1d_21717caa","updated":"2017-09-28 04:20:51.000000000","message":"Done","commit_id":"387fefdda436b58719601c5fcdc56d17de16568c"},{"author":{"_account_id":13192,"name":"Souville","display_name":"Bertrand Souville","email":"souville@docomolab-euro.com","username":"bertys"},"change_message_id":"0f3e415b3147f62f0ee1a57bb5b023ec55c65156","unresolved":false,"context_lines":[{"line_number":47,"context_line":""},{"line_number":48,"context_line":"1. Push-based monitoring"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"   The blazar-manager listens notification messages sent by other components,"},{"line_number":51,"context_line":"   e.g. sent by Nova for the host/instance plugins. And it picks up messages"},{"line_number":52,"context_line":"   which refer to the resources managed by Blazar, i.e. a record of the"},{"line_number":53,"context_line":"   resource is stored in the Blazar database. A publisher ID and topics to"}],"source_content_type":"text/x-rst","patch_set":4,"id":"7f515b1d_3797a293","line":50,"range":{"start_line":50,"start_character":22,"end_line":50,"end_character":29},"updated":"2017-10-05 12:40:37.000000000","message":"listens to","commit_id":"1293ece8805c0c29b8fb790b551a16db080494a2"},{"author":{"_account_id":23840,"name":"Hiroaki Kobayashi","email":"kobayashi.hiroaki@lab.ntt.co.jp","username":"hiro-kobayashi"},"change_message_id":"78109d195d166864fddfb5bb7f5d703df4240da4","unresolved":false,"context_lines":[{"line_number":47,"context_line":""},{"line_number":48,"context_line":"1. Push-based monitoring"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"   The blazar-manager listens notification messages sent by other components,"},{"line_number":51,"context_line":"   e.g. sent by Nova for the host/instance plugins. And it picks up messages"},{"line_number":52,"context_line":"   which refer to the resources managed by Blazar, i.e. a record of the"},{"line_number":53,"context_line":"   resource is stored in the Blazar database. A publisher ID and topics to"}],"source_content_type":"text/x-rst","patch_set":4,"id":"7f515b1d_48982269","line":50,"range":{"start_line":50,"start_character":22,"end_line":50,"end_character":29},"in_reply_to":"7f515b1d_3797a293","updated":"2017-10-06 06:01:24.000000000","message":"I will fix it. thanks!","commit_id":"1293ece8805c0c29b8fb790b551a16db080494a2"},{"author":{"_account_id":13192,"name":"Souville","display_name":"Bertrand Souville","email":"souville@docomolab-euro.com","username":"bertys"},"change_message_id":"0f3e415b3147f62f0ee1a57bb5b023ec55c65156","unresolved":false,"context_lines":[{"line_number":48,"context_line":"1. Push-based monitoring"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"   The blazar-manager listens notification messages sent by other components,"},{"line_number":51,"context_line":"   e.g. sent by Nova for the host/instance plugins. And it picks up messages"},{"line_number":52,"context_line":"   which refer to the resources managed by Blazar, i.e. a record of the"},{"line_number":53,"context_line":"   resource is stored in the Blazar database. A publisher ID and topics to"},{"line_number":54,"context_line":"   subscribe are provided by each resource plugin."}],"source_content_type":"text/x-rst","patch_set":4,"id":"7f515b1d_b7839256","line":51,"range":{"start_line":51,"start_character":8,"end_line":51,"end_character":50},"updated":"2017-10-05 12:40:37.000000000","message":"Are you planning to consume versioned notifications sent by Nova? See also https://etherpad.openstack.org/p/queens-nova-notifications","commit_id":"1293ece8805c0c29b8fb790b551a16db080494a2"},{"author":{"_account_id":13192,"name":"Souville","display_name":"Bertrand Souville","email":"souville@docomolab-euro.com","username":"bertys"},"change_message_id":"20d28b33a24e78b8d660f04adc958f4d174545ac","unresolved":false,"context_lines":[{"line_number":48,"context_line":"1. Push-based monitoring"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"   The blazar-manager listens notification messages sent by other components,"},{"line_number":51,"context_line":"   e.g. sent by Nova for the host/instance plugins. And it picks up messages"},{"line_number":52,"context_line":"   which refer to the resources managed by Blazar, i.e. a record of the"},{"line_number":53,"context_line":"   resource is stored in the Blazar database. A publisher ID and topics to"},{"line_number":54,"context_line":"   subscribe are provided by each resource plugin."}],"source_content_type":"text/x-rst","patch_set":4,"id":"7f515b1d_120ed88c","line":51,"range":{"start_line":51,"start_character":8,"end_line":51,"end_character":50},"in_reply_to":"7f515b1d_a8a676aa","updated":"2017-10-06 06:52:46.000000000","message":"No, cool with me.","commit_id":"1293ece8805c0c29b8fb790b551a16db080494a2"},{"author":{"_account_id":23840,"name":"Hiroaki Kobayashi","email":"kobayashi.hiroaki@lab.ntt.co.jp","username":"hiro-kobayashi"},"change_message_id":"78109d195d166864fddfb5bb7f5d703df4240da4","unresolved":false,"context_lines":[{"line_number":48,"context_line":"1. Push-based monitoring"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"   The blazar-manager listens notification messages sent by other components,"},{"line_number":51,"context_line":"   e.g. sent by Nova for the host/instance plugins. And it picks up messages"},{"line_number":52,"context_line":"   which refer to the resources managed by Blazar, i.e. a record of the"},{"line_number":53,"context_line":"   resource is stored in the Blazar database. A publisher ID and topics to"},{"line_number":54,"context_line":"   subscribe are provided by each resource plugin."}],"source_content_type":"text/x-rst","patch_set":4,"id":"7f515b1d_a8a676aa","line":51,"range":{"start_line":51,"start_character":8,"end_line":51,"end_character":50},"in_reply_to":"7f515b1d_b7839256","updated":"2017-10-06 06:01:24.000000000","message":"Yes, I am. Any concerns?","commit_id":"1293ece8805c0c29b8fb790b551a16db080494a2"},{"author":{"_account_id":13192,"name":"Souville","display_name":"Bertrand Souville","email":"souville@docomolab-euro.com","username":"bertys"},"change_message_id":"0f3e415b3147f62f0ee1a57bb5b023ec55c65156","unresolved":false,"context_lines":[{"line_number":66,"context_line":"Update states of resources"},{"line_number":67,"context_line":"^^^^^^^^^^^^^^^^^^^^^^^^^^"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"If any failure is detected, the blazar-manager calls the resurce plugin to"},{"line_number":70,"context_line":"handle it. Then, for the first, the resource plugin updates the field named"},{"line_number":71,"context_line":"*available* in the record of the failure resource to *FALSE*. The record here"},{"line_number":72,"context_line":"means the record stored in the resource table of the Blazar database, e.g. the"}],"source_content_type":"text/x-rst","patch_set":4,"id":"7f515b1d_d78bae65","line":69,"range":{"start_line":69,"start_character":57,"end_line":69,"end_character":64},"updated":"2017-10-05 12:40:37.000000000","message":"s/resurce/resource","commit_id":"1293ece8805c0c29b8fb790b551a16db080494a2"},{"author":{"_account_id":23840,"name":"Hiroaki Kobayashi","email":"kobayashi.hiroaki@lab.ntt.co.jp","username":"hiro-kobayashi"},"change_message_id":"78109d195d166864fddfb5bb7f5d703df4240da4","unresolved":false,"context_lines":[{"line_number":66,"context_line":"Update states of resources"},{"line_number":67,"context_line":"^^^^^^^^^^^^^^^^^^^^^^^^^^"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"If any failure is detected, the blazar-manager calls the resurce plugin to"},{"line_number":70,"context_line":"handle it. Then, for the first, the resource plugin updates the field named"},{"line_number":71,"context_line":"*available* in the record of the failure resource to *FALSE*. The record here"},{"line_number":72,"context_line":"means the record stored in the resource table of the Blazar database, e.g. the"}],"source_content_type":"text/x-rst","patch_set":4,"id":"7f515b1d_08cb4a53","line":69,"range":{"start_line":69,"start_character":57,"end_line":69,"end_character":64},"in_reply_to":"7f515b1d_d78bae65","updated":"2017-10-06 06:01:24.000000000","message":"I will fix it.","commit_id":"1293ece8805c0c29b8fb790b551a16db080494a2"},{"author":{"_account_id":8878,"name":"Masahito Muroi","email":"masahito.muroi@g.softbank.co.jp","username":"masa"},"change_message_id":"917866f8fff1a7b430e4c6827b24a781f1093142","unresolved":false,"context_lines":[{"line_number":68,"context_line":""},{"line_number":69,"context_line":"If any failure is detected, the blazar-manager calls the resurce plugin to"},{"line_number":70,"context_line":"handle it. Then, for the first, the resource plugin updates the field named"},{"line_number":71,"context_line":"*available* in the record of the failure resource to *FALSE*. The record here"},{"line_number":72,"context_line":"means the record stored in the resource table of the Blazar database, e.g. the"},{"line_number":73,"context_line":"record of the computehosts table for the host/instance plugins."},{"line_number":74,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"7f515b1d_3baa1ad2","line":71,"range":{"start_line":71,"start_character":0,"end_line":71,"end_character":11},"updated":"2017-10-04 08:51:28.000000000","message":"As you mentioned, *available* could lead misunderstanding. *reservable* or other name looks fine to me. How do you think?","commit_id":"1293ece8805c0c29b8fb790b551a16db080494a2"},{"author":{"_account_id":13192,"name":"Souville","display_name":"Bertrand Souville","email":"souville@docomolab-euro.com","username":"bertys"},"change_message_id":"0f3e415b3147f62f0ee1a57bb5b023ec55c65156","unresolved":false,"context_lines":[{"line_number":68,"context_line":""},{"line_number":69,"context_line":"If any failure is detected, the blazar-manager calls the resurce plugin to"},{"line_number":70,"context_line":"handle it. Then, for the first, the resource plugin updates the field named"},{"line_number":71,"context_line":"*available* in the record of the failure resource to *FALSE*. The record here"},{"line_number":72,"context_line":"means the record stored in the resource table of the Blazar database, e.g. the"},{"line_number":73,"context_line":"record of the computehosts table for the host/instance plugins."},{"line_number":74,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"7f515b1d_b705d27c","line":71,"range":{"start_line":71,"start_character":0,"end_line":71,"end_character":11},"in_reply_to":"7f515b1d_3baa1ad2","updated":"2017-10-05 12:40:37.000000000","message":"\u003e As you mentioned, *available* could lead misunderstanding.\n \u003e *reservable* or other name looks fine to me. How do you think?\n\n+1 to add *reservable* boolean","commit_id":"1293ece8805c0c29b8fb790b551a16db080494a2"},{"author":{"_account_id":23840,"name":"Hiroaki Kobayashi","email":"kobayashi.hiroaki@lab.ntt.co.jp","username":"hiro-kobayashi"},"change_message_id":"78109d195d166864fddfb5bb7f5d703df4240da4","unresolved":false,"context_lines":[{"line_number":68,"context_line":""},{"line_number":69,"context_line":"If any failure is detected, the blazar-manager calls the resurce plugin to"},{"line_number":70,"context_line":"handle it. Then, for the first, the resource plugin updates the field named"},{"line_number":71,"context_line":"*available* in the record of the failure resource to *FALSE*. The record here"},{"line_number":72,"context_line":"means the record stored in the resource table of the Blazar database, e.g. the"},{"line_number":73,"context_line":"record of the computehosts table for the host/instance plugins."},{"line_number":74,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"7f515b1d_a8bf96a8","line":71,"range":{"start_line":71,"start_character":0,"end_line":71,"end_character":11},"in_reply_to":"7f515b1d_b705d27c","updated":"2017-10-06 06:01:24.000000000","message":"OK. I will name it *reservable*. thanks!","commit_id":"1293ece8805c0c29b8fb790b551a16db080494a2"},{"author":{"_account_id":8878,"name":"Masahito Muroi","email":"masahito.muroi@g.softbank.co.jp","username":"masa"},"change_message_id":"917866f8fff1a7b430e4c6827b24a781f1093142","unresolved":false,"context_lines":[{"line_number":78,"context_line":"named *available* which is decided by the combination of the state and the"},{"line_number":79,"context_line":"status of the hypervisor in Nova. Only if the state is *up* and the status is"},{"line_number":80,"context_line":"*enabled*, the *available* field becomes *TRUE*. i.e. it becomes *FALSE* if the"},{"line_number":81,"context_line":"state becomes *down* or the status becomes *disabled*."},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"Heal damaged leases"},{"line_number":84,"context_line":"^^^^^^^^^^^^^^^^^^^"}],"source_content_type":"text/x-rst","patch_set":4,"id":"7f515b1d_db99c6d0","line":81,"updated":"2017-10-04 08:51:28.000000000","message":"IMO, Blazar doesn\u0027t need to remove status column from computehosts table since *available* column is generic column of monitored resource and *status* and *state* column are computehosts specific column.\n\nAnd operators can find out state un-matching among Nova\u0027s state, status and Blazar\u0027s available.","commit_id":"1293ece8805c0c29b8fb790b551a16db080494a2"},{"author":{"_account_id":23840,"name":"Hiroaki Kobayashi","email":"kobayashi.hiroaki@lab.ntt.co.jp","username":"hiro-kobayashi"},"change_message_id":"78109d195d166864fddfb5bb7f5d703df4240da4","unresolved":false,"context_lines":[{"line_number":78,"context_line":"named *available* which is decided by the combination of the state and the"},{"line_number":79,"context_line":"status of the hypervisor in Nova. Only if the state is *up* and the status is"},{"line_number":80,"context_line":"*enabled*, the *available* field becomes *TRUE*. i.e. it becomes *FALSE* if the"},{"line_number":81,"context_line":"state becomes *down* or the status becomes *disabled*."},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"Heal damaged leases"},{"line_number":84,"context_line":"^^^^^^^^^^^^^^^^^^^"}],"source_content_type":"text/x-rst","patch_set":4,"id":"7f515b1d_68087e90","line":81,"in_reply_to":"7f515b1d_db99c6d0","updated":"2017-10-06 06:01:24.000000000","message":"I agree that operators can find out differences. However, if we add *reservable* column which is mentioned aboce, is the \u0027status\u0027 field still needed?","commit_id":"1293ece8805c0c29b8fb790b551a16db080494a2"},{"author":{"_account_id":8878,"name":"Masahito Muroi","email":"masahito.muroi@g.softbank.co.jp","username":"masa"},"change_message_id":"917866f8fff1a7b430e4c6827b24a781f1093142","unresolved":false,"context_lines":[{"line_number":99,"context_line":"   * Case 1-2.  Alternative resource is not available"},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"     Mark the lease as *DEGRADED*, i.e. change the lease status to"},{"line_number":102,"context_line":"     *\\*-DEGRADED*, and change the reservation status to *MISSING_RESOURCES*."},{"line_number":103,"context_line":""},{"line_number":104,"context_line":"* Case 2. Lease has been already started"},{"line_number":105,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"7f515b1d_297c131f","line":102,"updated":"2017-10-04 08:51:28.000000000","message":"Could you describe how status of lease and reservation will change when the DEGRADED lease and MISSING_RESOURCES reservations reach its start_time.  It goes active/active status or goes status of Case2-1?","commit_id":"1293ece8805c0c29b8fb790b551a16db080494a2"},{"author":{"_account_id":23840,"name":"Hiroaki Kobayashi","email":"kobayashi.hiroaki@lab.ntt.co.jp","username":"hiro-kobayashi"},"change_message_id":"78109d195d166864fddfb5bb7f5d703df4240da4","unresolved":false,"context_lines":[{"line_number":99,"context_line":"   * Case 1-2.  Alternative resource is not available"},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"     Mark the lease as *DEGRADED*, i.e. change the lease status to"},{"line_number":102,"context_line":"     *\\*-DEGRADED*, and change the reservation status to *MISSING_RESOURCES*."},{"line_number":103,"context_line":""},{"line_number":104,"context_line":"* Case 2. Lease has been already started"},{"line_number":105,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"7f515b1d_88785af8","line":102,"in_reply_to":"7f515b1d_297c131f","updated":"2017-10-06 06:01:24.000000000","message":"I will describe it after we achieve a consensus on the state-machin spec[1].\n\n[1] https://review.openstack.org/#/c/508093/","commit_id":"1293ece8805c0c29b8fb790b551a16db080494a2"},{"author":{"_account_id":8878,"name":"Masahito Muroi","email":"masahito.muroi@g.softbank.co.jp","username":"masa"},"change_message_id":"917866f8fff1a7b430e4c6827b24a781f1093142","unresolved":false,"context_lines":[{"line_number":112,"context_line":""},{"line_number":113,"context_line":"     Change the lease status to *\\*-DEGRADED* and the reservation status to"},{"line_number":114,"context_line":"     *MISSING_RESOURCES*."},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"From the architectural view, resource-dependent tables like the computehosts,"},{"line_number":117,"context_line":"computehost_allocations, computehost_reservations and instance_reservations"},{"line_number":118,"context_line":"tables are updated by the resource plugin. General tables like leases and"}],"source_content_type":"text/x-rst","patch_set":4,"id":"7f515b1d_8909c796","line":115,"updated":"2017-10-04 08:51:28.000000000","message":"It\u0027s good to describe how we can recover from the DEGRADED status here.","commit_id":"1293ece8805c0c29b8fb790b551a16db080494a2"},{"author":{"_account_id":23840,"name":"Hiroaki Kobayashi","email":"kobayashi.hiroaki@lab.ntt.co.jp","username":"hiro-kobayashi"},"change_message_id":"78109d195d166864fddfb5bb7f5d703df4240da4","unresolved":false,"context_lines":[{"line_number":112,"context_line":""},{"line_number":113,"context_line":"     Change the lease status to *\\*-DEGRADED* and the reservation status to"},{"line_number":114,"context_line":"     *MISSING_RESOURCES*."},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"From the architectural view, resource-dependent tables like the computehosts,"},{"line_number":117,"context_line":"computehost_allocations, computehost_reservations and instance_reservations"},{"line_number":118,"context_line":"tables are updated by the resource plugin. General tables like leases and"}],"source_content_type":"text/x-rst","patch_set":4,"id":"7f515b1d_a849d6b7","line":115,"in_reply_to":"7f515b1d_8909c796","updated":"2017-10-06 06:01:24.000000000","message":"I will describe it after we achieve a consensus on the state-machin spec[1].\n[1] https://review.openstack.org/#/c/508093/","commit_id":"1293ece8805c0c29b8fb790b551a16db080494a2"},{"author":{"_account_id":8878,"name":"Masahito Muroi","email":"masahito.muroi@g.softbank.co.jp","username":"masa"},"change_message_id":"917866f8fff1a7b430e4c6827b24a781f1093142","unresolved":false,"context_lines":[{"line_number":129,"context_line":""},{"line_number":130,"context_line":"Other monitoring services like Monasca can be used instead. However, it is not"},{"line_number":131,"context_line":"a good solution in terms of cross-components dependency. Dependency should be"},{"line_number":132,"context_line":"reduced as much as possible."},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"Data model impact"},{"line_number":135,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"7f515b1d_9b58eefa","line":132,"updated":"2017-10-04 08:51:28.000000000","message":"The main difference between this proposal and the alternative is whether Blazar supports APIs that other monitoring services sends failure events or not.  It\u0027s good to write the difference here.","commit_id":"1293ece8805c0c29b8fb790b551a16db080494a2"},{"author":{"_account_id":23840,"name":"Hiroaki Kobayashi","email":"kobayashi.hiroaki@lab.ntt.co.jp","username":"hiro-kobayashi"},"change_message_id":"78109d195d166864fddfb5bb7f5d703df4240da4","unresolved":false,"context_lines":[{"line_number":129,"context_line":""},{"line_number":130,"context_line":"Other monitoring services like Monasca can be used instead. However, it is not"},{"line_number":131,"context_line":"a good solution in terms of cross-components dependency. Dependency should be"},{"line_number":132,"context_line":"reduced as much as possible."},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"Data model impact"},{"line_number":135,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"7f515b1d_28d3a6d7","line":132,"in_reply_to":"7f515b1d_9b58eefa","updated":"2017-10-06 06:01:24.000000000","message":"OK. I will write it.","commit_id":"1293ece8805c0c29b8fb790b551a16db080494a2"},{"author":{"_account_id":13192,"name":"Souville","display_name":"Bertrand Souville","email":"souville@docomolab-euro.com","username":"bertys"},"change_message_id":"0f3e415b3147f62f0ee1a57bb5b023ec55c65156","unresolved":false,"context_lines":[{"line_number":149,"context_line":"REST API impact"},{"line_number":150,"context_line":"---------------"},{"line_number":151,"context_line":""},{"line_number":152,"context_line":"* With the data model changes described above, some fields included in the REST"},{"line_number":153,"context_line":"  API response body will be changed a little."},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"Security impact"},{"line_number":156,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"7f515b1d_b7dcb218","line":153,"range":{"start_line":152,"start_character":2,"end_line":153,"end_character":45},"updated":"2017-10-05 12:40:37.000000000","message":"Can we add request/response example(s), e.g. I guess that the boolean \"reservable\" will be included in the admin API response /v1/hosts ?","commit_id":"1293ece8805c0c29b8fb790b551a16db080494a2"},{"author":{"_account_id":23840,"name":"Hiroaki Kobayashi","email":"kobayashi.hiroaki@lab.ntt.co.jp","username":"hiro-kobayashi"},"change_message_id":"78109d195d166864fddfb5bb7f5d703df4240da4","unresolved":false,"context_lines":[{"line_number":149,"context_line":"REST API impact"},{"line_number":150,"context_line":"---------------"},{"line_number":151,"context_line":""},{"line_number":152,"context_line":"* With the data model changes described above, some fields included in the REST"},{"line_number":153,"context_line":"  API response body will be changed a little."},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"Security impact"},{"line_number":156,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"7f515b1d_a8de76d7","line":153,"range":{"start_line":152,"start_character":2,"end_line":153,"end_character":45},"in_reply_to":"7f515b1d_b7dcb218","updated":"2017-10-06 06:01:24.000000000","message":"I will add request/response examples.","commit_id":"1293ece8805c0c29b8fb790b551a16db080494a2"},{"author":{"_account_id":8878,"name":"Masahito Muroi","email":"masahito.muroi@g.softbank.co.jp","username":"masa"},"change_message_id":"43c6c9eba97383304d24b0e821e61a0430de6602","unresolved":false,"context_lines":[{"line_number":106,"context_line":""},{"line_number":107,"context_line":"   * Case 1-1. Enough resources are available"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"     Reserve new resources instead of failure resources. Resource flags are not"},{"line_number":110,"context_line":"     changed."},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"   * Case 1-2.  Alternative resource is not available"}],"source_content_type":"text/x-rst","patch_set":5,"id":"3f4b6375_626336de","line":109,"range":{"start_line":109,"start_character":57,"end_line":109,"end_character":65},"updated":"2017-10-19 09:17:27.000000000","message":"missing_resources?","commit_id":"7d638898bc3163261a6dc4095c376495ddb304bc"},{"author":{"_account_id":23840,"name":"Hiroaki Kobayashi","email":"kobayashi.hiroaki@lab.ntt.co.jp","username":"hiro-kobayashi"},"change_message_id":"551ed581e137db812f206e22139b4b9d378596b0","unresolved":false,"context_lines":[{"line_number":106,"context_line":""},{"line_number":107,"context_line":"   * Case 1-1. Enough resources are available"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"     Reserve new resources instead of failure resources. Resource flags are not"},{"line_number":110,"context_line":"     changed."},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"   * Case 1-2.  Alternative resource is not available"}],"source_content_type":"text/x-rst","patch_set":5,"id":"3f4b6375_52b90ce7","line":109,"range":{"start_line":109,"start_character":57,"end_line":109,"end_character":65},"in_reply_to":"3f4b6375_626336de","updated":"2017-11-14 01:11:27.000000000","message":"Done","commit_id":"7d638898bc3163261a6dc4095c376495ddb304bc"},{"author":{"_account_id":8878,"name":"Masahito Muroi","email":"masahito.muroi@g.softbank.co.jp","username":"masa"},"change_message_id":"43c6c9eba97383304d24b0e821e61a0430de6602","unresolved":false,"context_lines":[{"line_number":121,"context_line":"     Set the *degraded* flag of the lease and the *resources_changed* flag of"},{"line_number":122,"context_line":"     the reservation True."},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"   * Case 1-2.  Alternative resource is not available"},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"     Set the *degraded* flag of the lease and the *missing_resources* flag of"},{"line_number":127,"context_line":"     the reservation True."}],"source_content_type":"text/x-rst","patch_set":5,"id":"3f4b6375_6280d68c","line":124,"range":{"start_line":124,"start_character":10,"end_line":124,"end_character":13},"updated":"2017-10-19 09:17:27.000000000","message":"s/1-2/2-2/","commit_id":"7d638898bc3163261a6dc4095c376495ddb304bc"},{"author":{"_account_id":23840,"name":"Hiroaki Kobayashi","email":"kobayashi.hiroaki@lab.ntt.co.jp","username":"hiro-kobayashi"},"change_message_id":"551ed581e137db812f206e22139b4b9d378596b0","unresolved":false,"context_lines":[{"line_number":121,"context_line":"     Set the *degraded* flag of the lease and the *resources_changed* flag of"},{"line_number":122,"context_line":"     the reservation True."},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"   * Case 1-2.  Alternative resource is not available"},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"     Set the *degraded* flag of the lease and the *missing_resources* flag of"},{"line_number":127,"context_line":"     the reservation True."}],"source_content_type":"text/x-rst","patch_set":5,"id":"3f4b6375_72abe888","line":124,"range":{"start_line":124,"start_character":10,"end_line":124,"end_character":13},"in_reply_to":"3f4b6375_6280d68c","updated":"2017-11-14 01:11:27.000000000","message":"Done","commit_id":"7d638898bc3163261a6dc4095c376495ddb304bc"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"7e429ed2b8ee139c31848b11a4871124ab5549a3","unresolved":false,"context_lines":[{"line_number":68,"context_line":"^^^^^^^^^^^^^^^^^^^^^^^^^^"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"If any failure is detected, the blazar-manager calls the resource plugin to"},{"line_number":71,"context_line":"handle it. Then, for the first, the resource plugin updates the field named"},{"line_number":72,"context_line":"*reservable* in the record of the failure resource to *FALSE*. The record here"},{"line_number":73,"context_line":"means the record stored in the resource table of the Blazar database, e.g. the"},{"line_number":74,"context_line":"record of the computehosts table for the host/instance plugins."}],"source_content_type":"text/x-rst","patch_set":6,"id":"1f485f77_85417e0e","line":71,"range":{"start_line":71,"start_character":11,"end_line":71,"end_character":33},"updated":"2017-11-13 18:32:20.000000000","message":"This part can be removed.","commit_id":"f70f1018f67659539edbc706afb6ba3b5e619662"},{"author":{"_account_id":23840,"name":"Hiroaki Kobayashi","email":"kobayashi.hiroaki@lab.ntt.co.jp","username":"hiro-kobayashi"},"change_message_id":"551ed581e137db812f206e22139b4b9d378596b0","unresolved":false,"context_lines":[{"line_number":68,"context_line":"^^^^^^^^^^^^^^^^^^^^^^^^^^"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"If any failure is detected, the blazar-manager calls the resource plugin to"},{"line_number":71,"context_line":"handle it. Then, for the first, the resource plugin updates the field named"},{"line_number":72,"context_line":"*reservable* in the record of the failure resource to *FALSE*. The record here"},{"line_number":73,"context_line":"means the record stored in the resource table of the Blazar database, e.g. the"},{"line_number":74,"context_line":"record of the computehosts table for the host/instance plugins."}],"source_content_type":"text/x-rst","patch_set":6,"id":"1f485f77_5956c65e","line":71,"range":{"start_line":71,"start_character":11,"end_line":71,"end_character":33},"in_reply_to":"1f485f77_85417e0e","updated":"2017-11-14 01:11:27.000000000","message":"Done","commit_id":"f70f1018f67659539edbc706afb6ba3b5e619662"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"7e429ed2b8ee139c31848b11a4871124ab5549a3","unresolved":false,"context_lines":[{"line_number":85,"context_line":"^^^^^^^^^^^^^^^^^^^"},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"The following boolean flags are introduced for expressing resource conditions."},{"line_number":88,"context_line":"They are set False by default.:"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"* Lease"},{"line_number":91,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"1f485f77_45c6e69c","line":88,"range":{"start_line":88,"start_character":29,"end_line":88,"end_character":30},"updated":"2017-11-13 18:32:20.000000000","message":"remove dot","commit_id":"f70f1018f67659539edbc706afb6ba3b5e619662"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"7e429ed2b8ee139c31848b11a4871124ab5549a3","unresolved":false,"context_lines":[{"line_number":85,"context_line":"^^^^^^^^^^^^^^^^^^^"},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"The following boolean flags are introduced for expressing resource conditions."},{"line_number":88,"context_line":"They are set False by default.:"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"* Lease"},{"line_number":91,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"1f485f77_85ccdebc","line":88,"range":{"start_line":88,"start_character":9,"end_line":88,"end_character":18},"updated":"2017-11-13 18:32:20.000000000","message":"set to False","commit_id":"f70f1018f67659539edbc706afb6ba3b5e619662"},{"author":{"_account_id":23840,"name":"Hiroaki Kobayashi","email":"kobayashi.hiroaki@lab.ntt.co.jp","username":"hiro-kobayashi"},"change_message_id":"551ed581e137db812f206e22139b4b9d378596b0","unresolved":false,"context_lines":[{"line_number":85,"context_line":"^^^^^^^^^^^^^^^^^^^"},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"The following boolean flags are introduced for expressing resource conditions."},{"line_number":88,"context_line":"They are set False by default.:"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"* Lease"},{"line_number":91,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"1f485f77_b9ca5a17","line":88,"range":{"start_line":88,"start_character":29,"end_line":88,"end_character":30},"in_reply_to":"1f485f77_45c6e69c","updated":"2017-11-14 01:11:27.000000000","message":"Done","commit_id":"f70f1018f67659539edbc706afb6ba3b5e619662"},{"author":{"_account_id":23840,"name":"Hiroaki Kobayashi","email":"kobayashi.hiroaki@lab.ntt.co.jp","username":"hiro-kobayashi"},"change_message_id":"551ed581e137db812f206e22139b4b9d378596b0","unresolved":false,"context_lines":[{"line_number":85,"context_line":"^^^^^^^^^^^^^^^^^^^"},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"The following boolean flags are introduced for expressing resource conditions."},{"line_number":88,"context_line":"They are set False by default.:"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"* Lease"},{"line_number":91,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"1f485f77_99d1ded0","line":88,"range":{"start_line":88,"start_character":9,"end_line":88,"end_character":18},"in_reply_to":"1f485f77_85ccdebc","updated":"2017-11-14 01:11:27.000000000","message":"Done","commit_id":"f70f1018f67659539edbc706afb6ba3b5e619662"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"7e429ed2b8ee139c31848b11a4871124ab5549a3","unresolved":false,"context_lines":[{"line_number":96,"context_line":"  * missing_resources"},{"line_number":97,"context_line":"  * resources_changed"},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"After updating the status (\u003d *reservable* field) of the failure resource, the"},{"line_number":100,"context_line":"resource plugin discovers leases which suffer from the failure, and tries to"},{"line_number":101,"context_line":"heal the leases. In the healing process, for the first, the resource plugin"},{"line_number":102,"context_line":"looks for available resources which satisfy requirements of the lease. Then,"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1f485f77_25c1aa81","line":99,"range":{"start_line":99,"start_character":56,"end_line":99,"end_character":63},"updated":"2017-11-13 18:32:20.000000000","message":"s/failure/failed/","commit_id":"f70f1018f67659539edbc706afb6ba3b5e619662"},{"author":{"_account_id":23840,"name":"Hiroaki Kobayashi","email":"kobayashi.hiroaki@lab.ntt.co.jp","username":"hiro-kobayashi"},"change_message_id":"551ed581e137db812f206e22139b4b9d378596b0","unresolved":false,"context_lines":[{"line_number":96,"context_line":"  * missing_resources"},{"line_number":97,"context_line":"  * resources_changed"},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"After updating the status (\u003d *reservable* field) of the failure resource, the"},{"line_number":100,"context_line":"resource plugin discovers leases which suffer from the failure, and tries to"},{"line_number":101,"context_line":"heal the leases. In the healing process, for the first, the resource plugin"},{"line_number":102,"context_line":"looks for available resources which satisfy requirements of the lease. Then,"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1f485f77_59db66ec","line":99,"range":{"start_line":99,"start_character":56,"end_line":99,"end_character":63},"in_reply_to":"1f485f77_25c1aa81","updated":"2017-11-14 01:11:27.000000000","message":"Done","commit_id":"f70f1018f67659539edbc706afb6ba3b5e619662"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"7e429ed2b8ee139c31848b11a4871124ab5549a3","unresolved":false,"context_lines":[{"line_number":98,"context_line":""},{"line_number":99,"context_line":"After updating the status (\u003d *reservable* field) of the failure resource, the"},{"line_number":100,"context_line":"resource plugin discovers leases which suffer from the failure, and tries to"},{"line_number":101,"context_line":"heal the leases. In the healing process, for the first, the resource plugin"},{"line_number":102,"context_line":"looks for available resources which satisfy requirements of the lease. Then,"},{"line_number":103,"context_line":"it takes the following actions:"},{"line_number":104,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"1f485f77_454b862a","line":101,"range":{"start_line":101,"start_character":41,"end_line":101,"end_character":55},"updated":"2017-11-13 18:32:20.000000000","message":"can be removed","commit_id":"f70f1018f67659539edbc706afb6ba3b5e619662"},{"author":{"_account_id":23840,"name":"Hiroaki Kobayashi","email":"kobayashi.hiroaki@lab.ntt.co.jp","username":"hiro-kobayashi"},"change_message_id":"551ed581e137db812f206e22139b4b9d378596b0","unresolved":false,"context_lines":[{"line_number":98,"context_line":""},{"line_number":99,"context_line":"After updating the status (\u003d *reservable* field) of the failure resource, the"},{"line_number":100,"context_line":"resource plugin discovers leases which suffer from the failure, and tries to"},{"line_number":101,"context_line":"heal the leases. In the healing process, for the first, the resource plugin"},{"line_number":102,"context_line":"looks for available resources which satisfy requirements of the lease. Then,"},{"line_number":103,"context_line":"it takes the following actions:"},{"line_number":104,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"1f485f77_19e5eea8","line":101,"range":{"start_line":101,"start_character":41,"end_line":101,"end_character":55},"in_reply_to":"1f485f77_454b862a","updated":"2017-11-14 01:11:27.000000000","message":"Done","commit_id":"f70f1018f67659539edbc706afb6ba3b5e619662"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"7e429ed2b8ee139c31848b11a4871124ab5549a3","unresolved":false,"context_lines":[{"line_number":107,"context_line":"   * Case 1-1. Enough resources are available"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"     Reserve new resources instead of failure resources. Although resources are"},{"line_number":110,"context_line":"     changed, keep the *resources_changed* flags False because it does not"},{"line_number":111,"context_line":"     affect the lease from the lease owner perspective if it is not started"},{"line_number":112,"context_line":"     yet."},{"line_number":113,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"1f485f77_05558ec6","line":110,"range":{"start_line":110,"start_character":43,"end_line":110,"end_character":48},"updated":"2017-11-13 18:32:20.000000000","message":"s/flags/flag/","commit_id":"f70f1018f67659539edbc706afb6ba3b5e619662"},{"author":{"_account_id":23840,"name":"Hiroaki Kobayashi","email":"kobayashi.hiroaki@lab.ntt.co.jp","username":"hiro-kobayashi"},"change_message_id":"551ed581e137db812f206e22139b4b9d378596b0","unresolved":false,"context_lines":[{"line_number":107,"context_line":"   * Case 1-1. Enough resources are available"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"     Reserve new resources instead of failure resources. Although resources are"},{"line_number":110,"context_line":"     changed, keep the *resources_changed* flags False because it does not"},{"line_number":111,"context_line":"     affect the lease from the lease owner perspective if it is not started"},{"line_number":112,"context_line":"     yet."},{"line_number":113,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"1f485f77_99eafe72","line":110,"range":{"start_line":110,"start_character":43,"end_line":110,"end_character":48},"in_reply_to":"1f485f77_05558ec6","updated":"2017-11-14 01:11:27.000000000","message":"Done","commit_id":"f70f1018f67659539edbc706afb6ba3b5e619662"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"7e429ed2b8ee139c31848b11a4871124ab5549a3","unresolved":false,"context_lines":[{"line_number":114,"context_line":"   * Case 1-2.  Alternative resource is not available"},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"     Set the *degraded* flag of the lease and the *missing_resources* flag of"},{"line_number":117,"context_line":"     the reservation True."},{"line_number":118,"context_line":""},{"line_number":119,"context_line":"* Case 2. Lease has been already started"},{"line_number":120,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"1f485f77_a5635ab1","line":117,"range":{"start_line":117,"start_character":21,"end_line":117,"end_character":25},"updated":"2017-11-13 18:32:20.000000000","message":"s/True/to True/","commit_id":"f70f1018f67659539edbc706afb6ba3b5e619662"},{"author":{"_account_id":23840,"name":"Hiroaki Kobayashi","email":"kobayashi.hiroaki@lab.ntt.co.jp","username":"hiro-kobayashi"},"change_message_id":"551ed581e137db812f206e22139b4b9d378596b0","unresolved":false,"context_lines":[{"line_number":114,"context_line":"   * Case 1-2.  Alternative resource is not available"},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"     Set the *degraded* flag of the lease and the *missing_resources* flag of"},{"line_number":117,"context_line":"     the reservation True."},{"line_number":118,"context_line":""},{"line_number":119,"context_line":"* Case 2. Lease has been already started"},{"line_number":120,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"1f485f77_39ff8a35","line":117,"range":{"start_line":117,"start_character":21,"end_line":117,"end_character":25},"in_reply_to":"1f485f77_a5635ab1","updated":"2017-11-14 01:11:27.000000000","message":"Done","commit_id":"f70f1018f67659539edbc706afb6ba3b5e619662"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"7e429ed2b8ee139c31848b11a4871124ab5549a3","unresolved":false,"context_lines":[{"line_number":121,"context_line":"   * Case 2-1. Enough resources are available:"},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"     Set the *degraded* flag of the lease and the *resources_changed* flag of"},{"line_number":124,"context_line":"     the reservation True."},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"   * Case 2-2.  Alternative resource is not available"},{"line_number":127,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"1f485f77_4574a668","line":124,"range":{"start_line":124,"start_character":21,"end_line":124,"end_character":25},"updated":"2017-11-13 18:32:20.000000000","message":"s/True/to True/","commit_id":"f70f1018f67659539edbc706afb6ba3b5e619662"},{"author":{"_account_id":23840,"name":"Hiroaki Kobayashi","email":"kobayashi.hiroaki@lab.ntt.co.jp","username":"hiro-kobayashi"},"change_message_id":"551ed581e137db812f206e22139b4b9d378596b0","unresolved":false,"context_lines":[{"line_number":121,"context_line":"   * Case 2-1. Enough resources are available:"},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"     Set the *degraded* flag of the lease and the *resources_changed* flag of"},{"line_number":124,"context_line":"     the reservation True."},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"   * Case 2-2.  Alternative resource is not available"},{"line_number":127,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"1f485f77_19fe0e37","line":124,"range":{"start_line":124,"start_character":21,"end_line":124,"end_character":25},"in_reply_to":"1f485f77_4574a668","updated":"2017-11-14 01:11:27.000000000","message":"Done","commit_id":"f70f1018f67659539edbc706afb6ba3b5e619662"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"7e429ed2b8ee139c31848b11a4871124ab5549a3","unresolved":false,"context_lines":[{"line_number":126,"context_line":"   * Case 2-2.  Alternative resource is not available"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"     Set the *degraded* flag of the lease and the *missing_resources* flag of"},{"line_number":129,"context_line":"     the reservation True."},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"Once the *degraded* and *missing_resources* flags are set True, they are kept"},{"line_number":132,"context_line":"True even if the failure resource is recovered. To make them False, the lease"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1f485f77_256f6a93","line":129,"range":{"start_line":129,"start_character":21,"end_line":129,"end_character":25},"updated":"2017-11-13 18:32:20.000000000","message":"s/True/to True/","commit_id":"f70f1018f67659539edbc706afb6ba3b5e619662"},{"author":{"_account_id":23840,"name":"Hiroaki Kobayashi","email":"kobayashi.hiroaki@lab.ntt.co.jp","username":"hiro-kobayashi"},"change_message_id":"551ed581e137db812f206e22139b4b9d378596b0","unresolved":false,"context_lines":[{"line_number":126,"context_line":"   * Case 2-2.  Alternative resource is not available"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"     Set the *degraded* flag of the lease and the *missing_resources* flag of"},{"line_number":129,"context_line":"     the reservation True."},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"Once the *degraded* and *missing_resources* flags are set True, they are kept"},{"line_number":132,"context_line":"True even if the failure resource is recovered. To make them False, the lease"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1f485f77_f9f8d249","line":129,"range":{"start_line":129,"start_character":21,"end_line":129,"end_character":25},"in_reply_to":"1f485f77_256f6a93","updated":"2017-11-14 01:11:27.000000000","message":"Done","commit_id":"f70f1018f67659539edbc706afb6ba3b5e619662"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"7e429ed2b8ee139c31848b11a4871124ab5549a3","unresolved":false,"context_lines":[{"line_number":129,"context_line":"     the reservation True."},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"Once the *degraded* and *missing_resources* flags are set True, they are kept"},{"line_number":132,"context_line":"True even if the failure resource is recovered. To make them False, the lease"},{"line_number":133,"context_line":"owner sends an update lease request and requested capacity have to be"},{"line_number":134,"context_line":"satisfied. Note that the *resources_changed* flag never becomes False once it"},{"line_number":135,"context_line":"becomes True. In this case, the *degraded* flag never becomes False, neither."}],"source_content_type":"text/x-rst","patch_set":6,"id":"1f485f77_e5683288","line":132,"range":{"start_line":132,"start_character":17,"end_line":132,"end_character":24},"updated":"2017-11-13 18:32:20.000000000","message":"s/failure/failed/","commit_id":"f70f1018f67659539edbc706afb6ba3b5e619662"},{"author":{"_account_id":23840,"name":"Hiroaki Kobayashi","email":"kobayashi.hiroaki@lab.ntt.co.jp","username":"hiro-kobayashi"},"change_message_id":"551ed581e137db812f206e22139b4b9d378596b0","unresolved":false,"context_lines":[{"line_number":129,"context_line":"     the reservation True."},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"Once the *degraded* and *missing_resources* flags are set True, they are kept"},{"line_number":132,"context_line":"True even if the failure resource is recovered. To make them False, the lease"},{"line_number":133,"context_line":"owner sends an update lease request and requested capacity have to be"},{"line_number":134,"context_line":"satisfied. Note that the *resources_changed* flag never becomes False once it"},{"line_number":135,"context_line":"becomes True. In this case, the *degraded* flag never becomes False, neither."}],"source_content_type":"text/x-rst","patch_set":6,"id":"1f485f77_b9981a1b","line":132,"range":{"start_line":132,"start_character":17,"end_line":132,"end_character":24},"in_reply_to":"1f485f77_e5683288","updated":"2017-11-14 01:11:27.000000000","message":"Done","commit_id":"f70f1018f67659539edbc706afb6ba3b5e619662"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"7e429ed2b8ee139c31848b11a4871124ab5549a3","unresolved":false,"context_lines":[{"line_number":149,"context_line":"------------"},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"Other monitoring services like Monasca can be used instead. However, it is not"},{"line_number":152,"context_line":"a good solution in terms of cross-components dependency. Dependency should be"},{"line_number":153,"context_line":"reduced as much as possible."},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"Data model impact"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1f485f77_45f946c6","line":152,"range":{"start_line":152,"start_character":57,"end_line":152,"end_character":67},"updated":"2017-11-13 18:32:20.000000000","message":"s/Dependency/Dependencies/","commit_id":"f70f1018f67659539edbc706afb6ba3b5e619662"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"7e429ed2b8ee139c31848b11a4871124ab5549a3","unresolved":false,"context_lines":[{"line_number":149,"context_line":"------------"},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"Other monitoring services like Monasca can be used instead. However, it is not"},{"line_number":152,"context_line":"a good solution in terms of cross-components dependency. Dependency should be"},{"line_number":153,"context_line":"reduced as much as possible."},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"Data model impact"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1f485f77_e5fdd2b1","line":152,"range":{"start_line":152,"start_character":45,"end_line":152,"end_character":55},"updated":"2017-11-13 18:32:20.000000000","message":"s/dependency/dependencies/","commit_id":"f70f1018f67659539edbc706afb6ba3b5e619662"},{"author":{"_account_id":23840,"name":"Hiroaki Kobayashi","email":"kobayashi.hiroaki@lab.ntt.co.jp","username":"hiro-kobayashi"},"change_message_id":"551ed581e137db812f206e22139b4b9d378596b0","unresolved":false,"context_lines":[{"line_number":149,"context_line":"------------"},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"Other monitoring services like Monasca can be used instead. However, it is not"},{"line_number":152,"context_line":"a good solution in terms of cross-components dependency. Dependency should be"},{"line_number":153,"context_line":"reduced as much as possible."},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"Data model impact"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1f485f77_1993aefc","line":152,"range":{"start_line":152,"start_character":57,"end_line":152,"end_character":67},"in_reply_to":"1f485f77_45f946c6","updated":"2017-11-14 01:11:27.000000000","message":"Done","commit_id":"f70f1018f67659539edbc706afb6ba3b5e619662"},{"author":{"_account_id":23840,"name":"Hiroaki Kobayashi","email":"kobayashi.hiroaki@lab.ntt.co.jp","username":"hiro-kobayashi"},"change_message_id":"551ed581e137db812f206e22139b4b9d378596b0","unresolved":false,"context_lines":[{"line_number":149,"context_line":"------------"},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"Other monitoring services like Monasca can be used instead. However, it is not"},{"line_number":152,"context_line":"a good solution in terms of cross-components dependency. Dependency should be"},{"line_number":153,"context_line":"reduced as much as possible."},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"Data model impact"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1f485f77_f98d72d3","line":152,"range":{"start_line":152,"start_character":45,"end_line":152,"end_character":55},"in_reply_to":"1f485f77_e5fdd2b1","updated":"2017-11-14 01:11:27.000000000","message":"Done","commit_id":"f70f1018f67659539edbc706afb6ba3b5e619662"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"7e429ed2b8ee139c31848b11a4871124ab5549a3","unresolved":false,"context_lines":[{"line_number":192,"context_line":"Notifications impact"},{"line_number":193,"context_line":"--------------------"},{"line_number":194,"context_line":""},{"line_number":195,"context_line":"The blazar-manager sends the following two new notifications."},{"line_number":196,"context_line":""},{"line_number":197,"context_line":"* Lease status change: notifies changes of the status of lease and reservations"},{"line_number":198,"context_line":"  included in the lease."}],"source_content_type":"text/x-rst","patch_set":6,"id":"1f485f77_85285e34","line":195,"range":{"start_line":195,"start_character":60,"end_line":195,"end_character":61},"updated":"2017-11-13 18:32:20.000000000","message":"s/./:/","commit_id":"f70f1018f67659539edbc706afb6ba3b5e619662"},{"author":{"_account_id":23840,"name":"Hiroaki Kobayashi","email":"kobayashi.hiroaki@lab.ntt.co.jp","username":"hiro-kobayashi"},"change_message_id":"551ed581e137db812f206e22139b4b9d378596b0","unresolved":false,"context_lines":[{"line_number":192,"context_line":"Notifications impact"},{"line_number":193,"context_line":"--------------------"},{"line_number":194,"context_line":""},{"line_number":195,"context_line":"The blazar-manager sends the following two new notifications."},{"line_number":196,"context_line":""},{"line_number":197,"context_line":"* Lease status change: notifies changes of the status of lease and reservations"},{"line_number":198,"context_line":"  included in the lease."}],"source_content_type":"text/x-rst","patch_set":6,"id":"1f485f77_b9c13ae7","line":195,"range":{"start_line":195,"start_character":60,"end_line":195,"end_character":61},"in_reply_to":"1f485f77_85285e34","updated":"2017-11-14 01:11:27.000000000","message":"Done","commit_id":"f70f1018f67659539edbc706afb6ba3b5e619662"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"7e429ed2b8ee139c31848b11a4871124ab5549a3","unresolved":false,"context_lines":[{"line_number":245,"context_line":"   *status* field and add a new *reservable* field."},{"line_number":246,"context_line":""},{"line_number":247,"context_line":"4. Change resource look-up features, e.g. _matching_hosts() method for the host"},{"line_number":248,"context_line":"   plugin and the pickup_hosts() method for the instance plugin, to care the"},{"line_number":249,"context_line":"   *reservable* field of the record in the computehosts table."},{"line_number":250,"context_line":""},{"line_number":251,"context_line":"5. Implement a resource specific monitoring feature called by the"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1f485f77_c5d3f637","line":248,"range":{"start_line":248,"start_character":73,"end_line":248,"end_character":76},"updated":"2017-11-13 18:32:20.000000000","message":"s/the/for the/","commit_id":"f70f1018f67659539edbc706afb6ba3b5e619662"},{"author":{"_account_id":23840,"name":"Hiroaki Kobayashi","email":"kobayashi.hiroaki@lab.ntt.co.jp","username":"hiro-kobayashi"},"change_message_id":"551ed581e137db812f206e22139b4b9d378596b0","unresolved":false,"context_lines":[{"line_number":245,"context_line":"   *status* field and add a new *reservable* field."},{"line_number":246,"context_line":""},{"line_number":247,"context_line":"4. Change resource look-up features, e.g. _matching_hosts() method for the host"},{"line_number":248,"context_line":"   plugin and the pickup_hosts() method for the instance plugin, to care the"},{"line_number":249,"context_line":"   *reservable* field of the record in the computehosts table."},{"line_number":250,"context_line":""},{"line_number":251,"context_line":"5. Implement a resource specific monitoring feature called by the"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1f485f77_59b24696","line":248,"range":{"start_line":248,"start_character":73,"end_line":248,"end_character":76},"in_reply_to":"1f485f77_c5d3f637","updated":"2017-11-14 01:11:27.000000000","message":"Done","commit_id":"f70f1018f67659539edbc706afb6ba3b5e619662"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"7e429ed2b8ee139c31848b11a4871124ab5549a3","unresolved":false,"context_lines":[{"line_number":250,"context_line":""},{"line_number":251,"context_line":"5. Implement a resource specific monitoring feature called by the"},{"line_number":252,"context_line":"   blazar-manager into each resource plugin. Focus on a push-based monitoring"},{"line_number":253,"context_line":"   feature of the host plugin for the first."},{"line_number":254,"context_line":""},{"line_number":255,"context_line":"6. Implement the lease-healing feature into each resource plugin."},{"line_number":256,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"1f485f77_25e2ca02","line":253,"range":{"start_line":253,"start_character":30,"end_line":253,"end_character":37},"updated":"2017-11-13 18:32:20.000000000","message":"s/for the //","commit_id":"f70f1018f67659539edbc706afb6ba3b5e619662"},{"author":{"_account_id":23840,"name":"Hiroaki Kobayashi","email":"kobayashi.hiroaki@lab.ntt.co.jp","username":"hiro-kobayashi"},"change_message_id":"551ed581e137db812f206e22139b4b9d378596b0","unresolved":false,"context_lines":[{"line_number":250,"context_line":""},{"line_number":251,"context_line":"5. Implement a resource specific monitoring feature called by the"},{"line_number":252,"context_line":"   blazar-manager into each resource plugin. Focus on a push-based monitoring"},{"line_number":253,"context_line":"   feature of the host plugin for the first."},{"line_number":254,"context_line":""},{"line_number":255,"context_line":"6. Implement the lease-healing feature into each resource plugin."},{"line_number":256,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"1f485f77_19acce32","line":253,"range":{"start_line":253,"start_character":30,"end_line":253,"end_character":37},"in_reply_to":"1f485f77_25e2ca02","updated":"2017-11-14 01:11:27.000000000","message":"Done","commit_id":"f70f1018f67659539edbc706afb6ba3b5e619662"}]}
