)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"aba714130c4cbb3f0f6576f4ab13e4b68b3749a9","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"ironic-conductor can\u0027t report heartbeat to database"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"1. Change DBConnectionError to DBError and catch much more exceptions."},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"Change-Id: I0dc3ada945275811ef7272d500823e0a57011e8f"},{"line_number":12,"context_line":"Closes-Bug: #1696296"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":11,"id":"df3967d1_0cadaf30","line":9,"updated":"2017-08-01 06:04:19.000000000","message":"s/ \u00271 .\u0027 //","commit_id":"e36cdfdfadcdd0a1d12035975d30a501b7d5e9eb"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"c11bbd53b2c1a8f71476d416d39c13c06e62d70a","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     D G Lee \u003cyqli2016@fiberhome.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2017-08-11 13:48:48 +0800"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"ironic-conductor can\u0027t report heartbeat to database"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Catch much more exceptions."},{"line_number":10,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":19,"id":"9f436f4f_04bf9661","line":7,"updated":"2017-08-11 11:42:23.000000000","message":"Please make this more descriptive of the actual change this commit is making.","commit_id":"ace08a571e9696c4da446bc05ae5c5c9e8860f54"},{"author":{"_account_id":14525,"name":"Vasyl Saienko","email":"vsaienko@mirantis.com","username":"vsaienko"},"change_message_id":"96ab2096726851479b508513118b0f1acdbb739a","unresolved":false,"context_lines":[{"line_number":5,"context_line":"CommitDate: 2017-08-14 09:58:13 +0800"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"ironic-conductor can\u0027t report heartbeat to database"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Catch all exceptions and give users detailed messages"},{"line_number":10,"context_line":"for malfunction resolving."},{"line_number":11,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":20,"id":"9f436f4f_6e7bb8f4","line":8,"updated":"2017-08-14 08:04:53.000000000","message":"Please update commit message to be more descriptive.\n\nSomething like:\n\nCatch more generic exception when do heartbeat\n\nCatch more generic DBError when do heartbeat to avoid killing heartbeat task.","commit_id":"9775656eac4438855c7d55f16b3d5d5bb61700e8"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"23b614743f15f138a325764ea9a35bd282f14168","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     D G Lee \u003cyqli2016@fiberhome.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2017-08-15 15:39:25 +0800"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"ironic-conductor can\u0027t report heartbeat to database"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Catch more generic exception when do heartbeat and"},{"line_number":10,"context_line":"give users detailed messages for malfunction resolving."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":21,"id":"9f436f4f_3b402ca5","line":7,"updated":"2017-08-15 10:36:35.000000000","message":"Sorry to keep on about this, but this needs to describe the changes your making in the patch, you are currently only describing the bug.","commit_id":"827bd5a96dd9d55e7a2c5f8a4f79da49cf0b1fd1"}],"ironic/conductor/base_manager.py":[{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"98550ac9498cbda59230914c6d52a143bc1af315","unresolved":false,"context_lines":[{"line_number":253,"context_line":"        except exception.NoFreeConductorWorker:"},{"line_number":254,"context_line":"            with excutils.save_and_reraise_exception():"},{"line_number":255,"context_line":"                LOG.critical(\u0027Failed to start keepalive\u0027)"},{"line_number":256,"context_line":"                self.del_host()"},{"line_number":257,"context_line":""},{"line_number":258,"context_line":"        self._started \u003d True"},{"line_number":259,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"5f201791_d662c716","side":"PARENT","line":256,"range":{"start_line":256,"start_character":16,"end_line":256,"end_character":31},"updated":"2017-06-21 09:49:31.000000000","message":"The cleanup is removed in the new code, which I think is necessary.","commit_id":"9f91c7283a4ad67da910ae8f452e25b6fdfa46c5"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"98550ac9498cbda59230914c6d52a143bc1af315","unresolved":false,"context_lines":[{"line_number":369,"context_line":"    def _conductor_service_record_keepalive(self, context):"},{"line_number":370,"context_line":"        try:"},{"line_number":371,"context_line":"            self.conductor.touch()"},{"line_number":372,"context_line":"        except db_exception.DBError as e:"},{"line_number":373,"context_line":"            LOG.warning(\u0027Error while heartbeating: %(err)s.\u0027,"},{"line_number":374,"context_line":"                        {\u0027err\u0027: e})"},{"line_number":375,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"5f201791_36c8db53","line":372,"range":{"start_line":372,"start_character":8,"end_line":372,"end_character":41},"updated":"2017-06-21 09:49:31.000000000","message":"Please add a new case here.","commit_id":"2e4d205e5c2635630065e9d6674b4763bfe2d76c"},{"author":{"_account_id":24268,"name":"jiang wei","email":"wei.jiang@easystack.cn","username":"jiangwei"},"change_message_id":"4642374609088e2938c16451d8865452db665a89","unresolved":false,"context_lines":[{"line_number":369,"context_line":"    def _conductor_service_record_keepalive(self, context):"},{"line_number":370,"context_line":"        try:"},{"line_number":371,"context_line":"            self.conductor.touch()"},{"line_number":372,"context_line":"        except db_exception.DBError as e:"},{"line_number":373,"context_line":"            LOG.warning(\u0027Error while heartbeating: %(err)s.\u0027,"},{"line_number":374,"context_line":"                        {\u0027err\u0027: e})"},{"line_number":375,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"5f201791_19f06f67","line":372,"range":{"start_line":372,"start_character":28,"end_line":372,"end_character":35},"updated":"2017-06-21 10:48:52.000000000","message":"Replace DBError with DBConnectionError and it already covers enough errors. Why do you change the thread to a periodic task?","commit_id":"2e4d205e5c2635630065e9d6674b4763bfe2d76c"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"a511447787770f2f46e932b7148e78a57e2eda6f","unresolved":false,"context_lines":[{"line_number":390,"context_line":"        while not self._keepalive_evt.is_set():"},{"line_number":391,"context_line":"            try:"},{"line_number":392,"context_line":"                self.conductor.touch()"},{"line_number":393,"context_line":"            except db_exception.DBError:"},{"line_number":394,"context_line":"                LOG.warning(\u0027Conductor could not connect to database \u0027"},{"line_number":395,"context_line":"                            \u0027while heartbeating.\u0027)"},{"line_number":396,"context_line":"            self._keepalive_evt.wait(CONF.conductor.heartbeat_interval)"}],"source_content_type":"text/x-python","patch_set":8,"id":"1f1a1f67_d893fb5b","line":393,"updated":"2017-07-21 09:24:46.000000000","message":"I would prefer to keep DBConnectionError to give users detailed messages for malfunction resolving.\nDBError can be any case, including network unstable during db transactions. The \u0027could not connect to database\u0027 does not explain all cases.","commit_id":"5c330dd0f60a6f9f6c0d43cf1857bc6b4ac39e4a"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"31e3faa14a87592c209a94a0c333d1497c928c24","unresolved":false,"context_lines":[{"line_number":392,"context_line":"                self.conductor.touch()"},{"line_number":393,"context_line":"            except db_exception.DBError as e:"},{"line_number":394,"context_line":"                LOG.warning(\u0027Error while heartbeating: %(err)s.\u0027,"},{"line_number":395,"context_line":"                            {\u0027err\u0027: e})"},{"line_number":396,"context_line":"            self._keepalive_evt.wait(CONF.conductor.heartbeat_interval)"},{"line_number":397,"context_line":""},{"line_number":398,"context_line":"    def _mapped_to_this_conductor(self, node_uuid, driver):"}],"source_content_type":"text/x-python","patch_set":9,"id":"ff346bd7_b273d54d","line":395,"updated":"2017-07-22 03:38:26.000000000","message":"Err, this is not what i mean, what i\u0027m suggesting is:\n\n  except db_exception.DBConnectionError:\n    LOG.warning(\u0027Conductor could not connect to database \u0027\n                \u0027while heartbeating.\u0027)\n  except db_exception.DBError as e:\n    LOG.warning(...)\n\nit\u0027s fine to use a catch-all exception if you included exception message to the log, but please don\u0027t reduce the information from the original log message.\n\neither way is fine to me, as well as users can get enough information to judge, also we can wait to see how others think.","commit_id":"a5bb9b9197758aff46ba6528661fddc39a3b5202"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"aba714130c4cbb3f0f6576f4ab13e4b68b3749a9","unresolved":false,"context_lines":[{"line_number":393,"context_line":"            except db_exception.DBConnectionError:"},{"line_number":394,"context_line":"                LOG.warning(\u0027Conductor could not connect to database \u0027"},{"line_number":395,"context_line":"                            \u0027while heartbeating.\u0027)"},{"line_number":396,"context_line":"            except db_exception.DBError as e:"},{"line_number":397,"context_line":"                LOG.warning(\u0027Error while heartbeating. Error: %(err)s.\u0027,"},{"line_number":398,"context_line":"                            {\u0027err\u0027: e})"},{"line_number":399,"context_line":"            self._keepalive_evt.wait(CONF.conductor.heartbeat_interval)"},{"line_number":400,"context_line":""},{"line_number":401,"context_line":"    def _mapped_to_this_conductor(self, node_uuid, driver):"}],"source_content_type":"text/x-python","patch_set":11,"id":"df3967d1_6fa54d04","line":398,"range":{"start_line":396,"start_character":12,"end_line":398,"end_character":39},"updated":"2017-08-01 06:04:19.000000000","message":"Since we just log the message for different DB exceptions, would it be useful if we catch all the DB exception and log the returned error for user to interpret appropriately. Ex:\n\nexcept Exception as e:\nLOG.warning(\u0027Error while heartbeating. Error: %(err)s.\u0027,\n            {\u0027err\u0027: e})","commit_id":"e36cdfdfadcdd0a1d12035975d30a501b7d5e9eb"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"ed544a411c4dbc3aac1f99f251e9c0e6287824a8","unresolved":false,"context_lines":[{"line_number":394,"context_line":"                LOG.warning(\u0027Conductor could not connect to database \u0027"},{"line_number":395,"context_line":"                            \u0027while heartbeating.\u0027)"},{"line_number":396,"context_line":"            except Exception as e:"},{"line_number":397,"context_line":"                LOG.warning(\u0027Error while heartbeating. Error: %(err)s.\u0027,"},{"line_number":398,"context_line":"                            {\u0027err\u0027: e})"},{"line_number":399,"context_line":"            self._keepalive_evt.wait(CONF.conductor.heartbeat_interval)"},{"line_number":400,"context_line":""}],"source_content_type":"text/x-python","patch_set":12,"id":"df3967d1_2cb498f1","line":397,"updated":"2017-08-03 11:55:56.000000000","message":"nit: extra dot at the end of message. We can not predict error message syntax.","commit_id":"b1981be80142bdbfce63bb686da200cf32e59c2c"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"c11bbd53b2c1a8f71476d416d39c13c06e62d70a","unresolved":false,"context_lines":[{"line_number":394,"context_line":"                LOG.warning(\u0027Conductor could not connect to database \u0027"},{"line_number":395,"context_line":"                            \u0027while heartbeating.\u0027)"},{"line_number":396,"context_line":"            except Exception as e:"},{"line_number":397,"context_line":"                LOG.warning(\u0027Error while heartbeating. Error: %(err)s\u0027,"},{"line_number":398,"context_line":"                            {\u0027err\u0027: e})"},{"line_number":399,"context_line":"            self._keepalive_evt.wait(CONF.conductor.heartbeat_interval)"},{"line_number":400,"context_line":""}],"source_content_type":"text/x-python","patch_set":19,"id":"9f436f4f_840ee638","line":397,"range":{"start_line":397,"start_character":20,"end_line":397,"end_character":27},"updated":"2017-08-11 11:42:23.000000000","message":"If you make this a LOG.exception it will automatically include the exception information in the expected format so that no debugging information is lost.","commit_id":"ace08a571e9696c4da446bc05ae5c5c9e8860f54"},{"author":{"_account_id":14525,"name":"Vasyl Saienko","email":"vsaienko@mirantis.com","username":"vsaienko"},"change_message_id":"96ab2096726851479b508513118b0f1acdbb739a","unresolved":false,"context_lines":[{"line_number":393,"context_line":"            except db_exception.DBConnectionError:"},{"line_number":394,"context_line":"                LOG.warning(\u0027Conductor could not connect to database \u0027"},{"line_number":395,"context_line":"                            \u0027while heartbeating.\u0027)"},{"line_number":396,"context_line":"            except Exception as e:"},{"line_number":397,"context_line":"                LOG.exception(\u0027Error while heartbeating. Error: %(err)s\u0027,"},{"line_number":398,"context_line":"                              {\u0027err\u0027: e})"},{"line_number":399,"context_line":"            self._keepalive_evt.wait(CONF.conductor.heartbeat_interval)"}],"source_content_type":"text/x-python","patch_set":20,"id":"9f436f4f_4e67d4be","line":396,"range":{"start_line":396,"start_character":19,"end_line":396,"end_character":28},"updated":"2017-08-14 08:04:53.000000000","message":"better to catch DBError exception here.","commit_id":"9775656eac4438855c7d55f16b3d5d5bb61700e8"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"62fa29b6e8e149030d1b49a5833227da86fda223","unresolved":false,"context_lines":[{"line_number":394,"context_line":"                LOG.warning(\u0027Conductor could not connect to database \u0027"},{"line_number":395,"context_line":"                            \u0027while heartbeating.\u0027)"},{"line_number":396,"context_line":"            except Exception as e:"},{"line_number":397,"context_line":"                LOG.exception(\u0027Error while heartbeating. Error: %(err)s\u0027,"},{"line_number":398,"context_line":"                              {\u0027err\u0027: e})"},{"line_number":399,"context_line":"            self._keepalive_evt.wait(CONF.conductor.heartbeat_interval)"},{"line_number":400,"context_line":""}],"source_content_type":"text/x-python","patch_set":23,"id":"7f287b81_f081fc4b","line":397,"updated":"2017-08-25 01:31:05.000000000","message":"I just wanted to check: did you really want LOG.exception, or LOG.warning as above? Am wondering if the log file could grow a lot...","commit_id":"0de67860896f7c1a181afc134910c5337f73335b"},{"author":{"_account_id":9610,"name":"Tao Li","email":"litao3721@126.com","username":"Litao"},"change_message_id":"f7d62c60477c0a8d691ce2e6dcce51f81fb42a8b","unresolved":false,"context_lines":[{"line_number":394,"context_line":"                LOG.warning(\u0027Conductor could not connect to database \u0027"},{"line_number":395,"context_line":"                            \u0027while heartbeating.\u0027)"},{"line_number":396,"context_line":"            except Exception as e:"},{"line_number":397,"context_line":"                LOG.exception(\u0027Error while heartbeating. Error: %(err)s\u0027,"},{"line_number":398,"context_line":"                              {\u0027err\u0027: e})"},{"line_number":399,"context_line":"            self._keepalive_evt.wait(CONF.conductor.heartbeat_interval)"},{"line_number":400,"context_line":""}],"source_content_type":"text/x-python","patch_set":23,"id":"5f2577a7_4e6cf435","line":397,"in_reply_to":"7f287b81_223ffd87","updated":"2017-09-11 06:19:25.000000000","message":"Sure","commit_id":"0de67860896f7c1a181afc134910c5337f73335b"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"23ba9d44440a0015afbf1e7d9c7a55b1b47bac3b","unresolved":false,"context_lines":[{"line_number":394,"context_line":"                LOG.warning(\u0027Conductor could not connect to database \u0027"},{"line_number":395,"context_line":"                            \u0027while heartbeating.\u0027)"},{"line_number":396,"context_line":"            except Exception as e:"},{"line_number":397,"context_line":"                LOG.exception(\u0027Error while heartbeating. Error: %(err)s\u0027,"},{"line_number":398,"context_line":"                              {\u0027err\u0027: e})"},{"line_number":399,"context_line":"            self._keepalive_evt.wait(CONF.conductor.heartbeat_interval)"},{"line_number":400,"context_line":""}],"source_content_type":"text/x-python","patch_set":23,"id":"7f287b81_223ffd87","line":397,"in_reply_to":"7f287b81_253bb99c","updated":"2017-08-28 14:29:53.000000000","message":"True. Depending on the error though, it could spam the log file. The conductor will continue to try to heartbeat. Well, we could leave it as an exception until it spams too much and someone complains :-)","commit_id":"0de67860896f7c1a181afc134910c5337f73335b"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"b9c9e3f50359e0cc71e359d143c5e1fb6af45340","unresolved":false,"context_lines":[{"line_number":394,"context_line":"                LOG.warning(\u0027Conductor could not connect to database \u0027"},{"line_number":395,"context_line":"                            \u0027while heartbeating.\u0027)"},{"line_number":396,"context_line":"            except Exception as e:"},{"line_number":397,"context_line":"                LOG.exception(\u0027Error while heartbeating. Error: %(err)s\u0027,"},{"line_number":398,"context_line":"                              {\u0027err\u0027: e})"},{"line_number":399,"context_line":"            self._keepalive_evt.wait(CONF.conductor.heartbeat_interval)"},{"line_number":400,"context_line":""}],"source_content_type":"text/x-python","patch_set":23,"id":"7f287b81_253bb99c","line":397,"in_reply_to":"7f287b81_a4db3219","updated":"2017-08-25 10:22:36.000000000","message":"Reason for LOG.exception instead of warning is to ensure that the full traceback instead of just the exception class name is included in the logs so that debugging is possible.","commit_id":"0de67860896f7c1a181afc134910c5337f73335b"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"eda13a98c4c2154b0ad2edb7256870c5af4dd584","unresolved":false,"context_lines":[{"line_number":394,"context_line":"                LOG.warning(\u0027Conductor could not connect to database \u0027"},{"line_number":395,"context_line":"                            \u0027while heartbeating.\u0027)"},{"line_number":396,"context_line":"            except Exception as e:"},{"line_number":397,"context_line":"                LOG.exception(\u0027Error while heartbeating. Error: %(err)s\u0027,"},{"line_number":398,"context_line":"                              {\u0027err\u0027: e})"},{"line_number":399,"context_line":"            self._keepalive_evt.wait(CONF.conductor.heartbeat_interval)"},{"line_number":400,"context_line":""}],"source_content_type":"text/x-python","patch_set":23,"id":"7f287b81_a4db3219","line":397,"in_reply_to":"7f287b81_f081fc4b","updated":"2017-08-25 06:04:01.000000000","message":"With default and recommended config options one lost heartbeat is not critical. Maybe warning is better, I do not have strong opinion.","commit_id":"0de67860896f7c1a181afc134910c5337f73335b"}],"ironic/tests/unit/conductor/test_base_manager.py":[{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"a557208bf3a464d004c32f9ffd74a14b065b1973","unresolved":false,"context_lines":[{"line_number":312,"context_line":"        # avoid wasting time at the event.wait()"},{"line_number":313,"context_line":"        CONF.set_override(\u0027heartbeat_interval\u0027, 0, \u0027conductor\u0027)"},{"line_number":314,"context_line":"        with mock.patch.object(self.dbapi, \u0027touch_conductor\u0027) as mock_touch:"},{"line_number":315,"context_line":"            mock_touch.side_effect \u003d [None, db_exception.DBError(),"},{"line_number":316,"context_line":"                                      None]"},{"line_number":317,"context_line":"            with mock.patch.object(self.service._keepalive_evt,"},{"line_number":318,"context_line":"                                   \u0027is_set\u0027) as mock_is_set:"}],"source_content_type":"text/x-python","patch_set":10,"id":"ff346bd7_97b7e33a","line":315,"updated":"2017-07-28 05:41:34.000000000","message":"I think its better to add another test that checks the case when DBError exception is raised rather than removing this test.","commit_id":"e85013b69432005a8f991494b2400be86a72ddfc"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"927e72815ab6c80311498c2164d4726d70e6932a","unresolved":false,"context_lines":[{"line_number":325,"context_line":"        # avoid wasting time at the event.wait()"},{"line_number":326,"context_line":"        CONF.set_override(\u0027heartbeat_interval\u0027, 0, \u0027conductor\u0027)"},{"line_number":327,"context_line":"        with mock.patch.object(self.dbapi, \u0027touch_conductor\u0027) as mock_touch:"},{"line_number":328,"context_line":"            mock_touch.side_effect \u003d [None, Exception,"},{"line_number":329,"context_line":"                                      None]"},{"line_number":330,"context_line":"            with mock.patch.object(self.service._keepalive_evt,"},{"line_number":331,"context_line":"                                   \u0027is_set\u0027) as mock_is_set:"}],"source_content_type":"text/x-python","patch_set":17,"id":"9f436f4f_ce7596fc","line":328,"range":{"start_line":328,"start_character":44,"end_line":328,"end_character":53},"updated":"2017-08-08 09:43:29.000000000","message":"have to use Exception() here.","commit_id":"f1e7b9ed08081fc1e615d9f2b7a0cfb16b9883f8"}],"releasenotes/notes/bug-1696296-a972c8d879b98940.yaml":[{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"cf47ee572aa57974dafeea0ca20c92905fd48863","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Fixes a bug 1696296, _conductor_service_record_keepalive method"},{"line_number":5,"context_line":"    runs in a greenthread, when it raises DBError exception rather"},{"line_number":6,"context_line":"    than DBConnectionError, the greenthread task will be terminated."}],"source_content_type":"text/x-yaml","patch_set":13,"id":"bf3e73b7_e99a88c3","line":6,"range":{"start_line":4,"start_character":25,"end_line":6,"end_character":68},"updated":"2017-08-07 06:38:29.000000000","message":"This is ironic internals not related to administrator/operator.","commit_id":"796413ff73b63aa06f3a6a1b6706c4749c1657c7"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"aa9b89191f85969961cee6a63a6582b028549b97","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Fixes a bug 1696296, _conductor_service_record_keepalive method"},{"line_number":5,"context_line":"    runs in a greenthread, when it raises DBError exception rather"},{"line_number":6,"context_line":"    than DBConnectionError, the greenthread task will be terminated."}],"source_content_type":"text/x-yaml","patch_set":13,"id":"bf3e73b7_cccb521c","line":6,"range":{"start_line":4,"start_character":25,"end_line":6,"end_character":68},"in_reply_to":"bf3e73b7_ac0ecee2","updated":"2017-08-07 08:03:34.000000000","message":"These release notes are usually read by users/administrators. You need not capture the code details into these notes. Ex: https://github.com/openstack/ironic/blob/master/releasenotes/notes/inspection-logging-e1172f549ef80b04.yaml","commit_id":"796413ff73b63aa06f3a6a1b6706c4749c1657c7"},{"author":{"_account_id":23983,"name":"D G Lee","email":"lyqgenius@vip.qq.com","username":"DG"},"change_message_id":"19618c8f47259a6a4e3161056702b0b1b4accd09","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Fixes a bug 1696296, _conductor_service_record_keepalive method"},{"line_number":5,"context_line":"    runs in a greenthread, when it raises DBError exception rather"},{"line_number":6,"context_line":"    than DBConnectionError, the greenthread task will be terminated."}],"source_content_type":"text/x-yaml","patch_set":13,"id":"bf3e73b7_ac0ecee2","line":6,"range":{"start_line":4,"start_character":25,"end_line":6,"end_character":68},"in_reply_to":"bf3e73b7_e99a88c3","updated":"2017-08-07 07:36:52.000000000","message":"I can\u0027t get your point，pls give me more details","commit_id":"796413ff73b63aa06f3a6a1b6706c4749c1657c7"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"6be82b28dd48daf6c8eddf610eac750f42736013","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Fix an issue that ironic-conductor services can\u0027t report heartbeat when"},{"line_number":5,"context_line":"    the database recovers from an abnormal status."},{"line_number":6,"context_line":"    See https://bugs.launchpad.net/ironic/+bug/1696296."}],"source_content_type":"text/x-yaml","patch_set":16,"id":"9f436f4f_036c9e34","line":4,"range":{"start_line":4,"start_character":4,"end_line":4,"end_character":7},"updated":"2017-08-08 05:23:04.000000000","message":"s/ Fix/ Fixes /","commit_id":"7b92dc83ca7122d44f60d7cdf7cd66a3040aee96"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"6be82b28dd48daf6c8eddf610eac750f42736013","unresolved":false,"context_lines":[{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Fix an issue that ironic-conductor services can\u0027t report heartbeat when"},{"line_number":5,"context_line":"    the database recovers from an abnormal status."},{"line_number":6,"context_line":"    See https://bugs.launchpad.net/ironic/+bug/1696296."}],"source_content_type":"text/x-yaml","patch_set":16,"id":"9f436f4f_2360c232","line":5,"range":{"start_line":5,"start_character":34,"end_line":5,"end_character":50},"updated":"2017-08-08 05:23:04.000000000","message":"It also provides detailed warning message to the user when problem occurs.","commit_id":"7b92dc83ca7122d44f60d7cdf7cd66a3040aee96"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"a9515f7c107a69082b937a14130b8664ee8f7510","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Fixes an issue that ironic-conductor services can\u0027t report heartbeat when"},{"line_number":5,"context_line":"    the database recovers from an abnormal status. It also provides detailed"},{"line_number":6,"context_line":"    warning message to the user when problem occurs."},{"line_number":7,"context_line":"    See https://bugs.launchpad.net/ironic/+bug/1696296."}],"source_content_type":"text/x-yaml","patch_set":18,"id":"9f436f4f_b32b9b80","line":4,"range":{"start_line":4,"start_character":19,"end_line":4,"end_character":24},"updated":"2017-08-10 05:41:20.000000000","message":"nit: s/that/where/","commit_id":"475741edbcdbb447b8a941e26d291d007c0e1810"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"62fa29b6e8e149030d1b49a5833227da86fda223","unresolved":false,"context_lines":[{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Fixes an issue where ironic-conductor services can\u0027t report heartbeat when"},{"line_number":5,"context_line":"    the database recovers from an abnormal status. It also provides detailed"},{"line_number":6,"context_line":"    warning message to the user when problem occurs."},{"line_number":7,"context_line":"    See https://bugs.launchpad.net/ironic/+bug/1696296."}],"source_content_type":"text/x-yaml","patch_set":23,"id":"7f287b81_107fe867","line":6,"updated":"2017-08-25 01:31:05.000000000","message":"the code is calling LOG.exception, this sez \u0027warning\u0027. Also, nothing is returned to the user; the info is logged.","commit_id":"0de67860896f7c1a181afc134910c5337f73335b"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"b9c9e3f50359e0cc71e359d143c5e1fb6af45340","unresolved":false,"context_lines":[{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Fixes an issue where ironic-conductor services can\u0027t report heartbeat when"},{"line_number":5,"context_line":"    the database recovers from an abnormal status. It also provides detailed"},{"line_number":6,"context_line":"    warning message to the user when problem occurs."},{"line_number":7,"context_line":"    See https://bugs.launchpad.net/ironic/+bug/1696296."}],"source_content_type":"text/x-yaml","patch_set":23,"id":"7f287b81_e544911d","line":6,"in_reply_to":"7f287b81_107fe867","updated":"2017-08-25 10:22:36.000000000","message":"+1","commit_id":"0de67860896f7c1a181afc134910c5337f73335b"},{"author":{"_account_id":9610,"name":"Tao Li","email":"litao3721@126.com","username":"Litao"},"change_message_id":"f7d62c60477c0a8d691ce2e6dcce51f81fb42a8b","unresolved":false,"context_lines":[{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Fixes an issue where ironic-conductor services can\u0027t report heartbeat when"},{"line_number":5,"context_line":"    the database recovers from an abnormal status. It also provides detailed"},{"line_number":6,"context_line":"    warning message to the user when problem occurs."},{"line_number":7,"context_line":"    See https://bugs.launchpad.net/ironic/+bug/1696296."}],"source_content_type":"text/x-yaml","patch_set":23,"id":"5f2577a7_6e60d033","line":6,"in_reply_to":"7f287b81_e544911d","updated":"2017-09-11 06:19:25.000000000","message":"Done","commit_id":"0de67860896f7c1a181afc134910c5337f73335b"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"ab9328fd5ce689c537928242277cfe9ae746d06c","unresolved":false,"context_lines":[{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Fixes an issue where ironic-conductor services can\u0027t report heartbeat when"},{"line_number":5,"context_line":"    the database recovers from an abnormal status. It also provides detailed"},{"line_number":6,"context_line":"    full traceback message of the exception in log file when problem occurs."},{"line_number":7,"context_line":"    See https://bugs.launchpad.net/ironic/+bug/1696296."}],"source_content_type":"text/x-yaml","patch_set":25,"id":"5f2577a7_5aab8d1c","line":6,"updated":"2017-09-11 13:30:27.000000000","message":"How about:\n\nFixes an issue where an ironic-conductor service was deemed gone because the service could not report heartbeats due to the database recovering from an unexpected event. Full tracebacks of these exceptions are now logged, and if the database recovers in a reasonable amount of time the service will still be available.","commit_id":"55ca757f778a8b1deb8802afd79f7813a10de962"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"c554388b0fbdce9ba298e0bbfeccbd3322d41dde","unresolved":false,"context_lines":[{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Fixes an issue where an ironic-conductor service was deemed gone because"},{"line_number":5,"context_line":"    the service could not report heartbeats due to the database recovering from"},{"line_number":6,"context_line":"    an unexpected event. Full tracebacks of these exceptions are now logged,"},{"line_number":7,"context_line":"    and if the database recovers in a reasonable amount of time the service"},{"line_number":8,"context_line":"    will still be available."},{"line_number":9,"context_line":"    See https://bugs.launchpad.net/ironic/+bug/1696296."}],"source_content_type":"text/x-yaml","patch_set":26,"id":"5f2577a7_8da6e652","line":6,"range":{"start_line":5,"start_character":44,"end_line":6,"end_character":23},"updated":"2017-09-15 08:37:25.000000000","message":"I don\u0027t quite understand this part, do you mean it only happens when database is recovering? In my case, heartbeat task is exited due to an unstable network.","commit_id":"409350f717b20353d1ef48300c592fbdbebc8b59"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"0c637edbaee6f4859a65245d0f4814a9551073b8","unresolved":false,"context_lines":[{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Fixes an issue where an ironic-conductor service was deemed gone because"},{"line_number":5,"context_line":"    the service could not report heartbeats due to the database recovering from"},{"line_number":6,"context_line":"    an unexpected event. Full tracebacks of these exceptions are now logged,"},{"line_number":7,"context_line":"    and if the database recovers in a reasonable amount of time the service"},{"line_number":8,"context_line":"    will still be available."},{"line_number":9,"context_line":"    See https://bugs.launchpad.net/ironic/+bug/1696296."}],"source_content_type":"text/x-yaml","patch_set":26,"id":"5f2577a7_99aaa86e","line":6,"range":{"start_line":5,"start_character":44,"end_line":6,"end_character":23},"in_reply_to":"5f2577a7_8da6e652","updated":"2017-09-15 13:57:11.000000000","message":"Feel free to suggest something else. I was just trying to clean up \u0027report heartbeat when the database recovers from an abnormal status\u0027.","commit_id":"409350f717b20353d1ef48300c592fbdbebc8b59"},{"author":{"_account_id":9610,"name":"Tao Li","email":"litao3721@126.com","username":"Litao"},"change_message_id":"bb2320b3e6ac0a4530f46cc4889afae7fa0ab785","unresolved":false,"context_lines":[{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Fixes an issue where an ironic-conductor service was deemed gone because"},{"line_number":5,"context_line":"    the service could not report heartbeats due to the database recovering from"},{"line_number":6,"context_line":"    an unexpected event. Full tracebacks of these exceptions are now logged,"},{"line_number":7,"context_line":"    and if the database recovers in a reasonable amount of time the service"},{"line_number":8,"context_line":"    will still be available."},{"line_number":9,"context_line":"    See https://bugs.launchpad.net/ironic/+bug/1696296."}],"source_content_type":"text/x-yaml","patch_set":26,"id":"5f2577a7_d81b727e","line":6,"range":{"start_line":5,"start_character":44,"end_line":6,"end_character":23},"in_reply_to":"5f2577a7_8da6e652","updated":"2017-09-18 01:41:33.000000000","message":"Yes. Unstable network maybe prevents the heartbeat report temporarily, ironic-conductor will continue to report hearbeat when network recovered，but after database recovering, ironic-conductor will not report heartbeat any longer, because the database exception will terminate the heartbeat thread otherwise unstable network not.","commit_id":"409350f717b20353d1ef48300c592fbdbebc8b59"}]}
