)]}'
{"specs/approved/automatic_recovery_maintenance_nodes.rst":[{"author":{"_account_id":14810,"name":"Kan","email":"sofaopenstack@gmail.com","username":"Kan"},"change_message_id":"b6b54dc4324fec1e1a9e764ea8c668e8edc680ad","unresolved":false,"context_lines":[{"line_number":17,"context_line":"Problem description"},{"line_number":18,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"Ironic nodes will be put under maintenance for some reason, for example,"},{"line_number":21,"context_line":"temporary BMC offline or unreachable.  Once nodes are put under maintenance,"},{"line_number":22,"context_line":"human has to take them out of the state manually, which is unacceptable for"},{"line_number":23,"context_line":"large deployment."}],"source_content_type":"text/x-rst","patch_set":4,"id":"3afc51ec_a3c43c5f","line":20,"range":{"start_line":20,"start_character":21,"end_line":20,"end_character":42},"updated":"2016-03-14 07:38:39.000000000","message":"s/put under maintenance/set into maintenance mode","commit_id":"9b83cc3e0c25af769c6d2838a841478992914f3a"},{"author":{"_account_id":14810,"name":"Kan","email":"sofaopenstack@gmail.com","username":"Kan"},"change_message_id":"b6b54dc4324fec1e1a9e764ea8c668e8edc680ad","unresolved":false,"context_lines":[{"line_number":18,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"Ironic nodes will be put under maintenance for some reason, for example,"},{"line_number":21,"context_line":"temporary BMC offline or unreachable.  Once nodes are put under maintenance,"},{"line_number":22,"context_line":"human has to take them out of the state manually, which is unacceptable for"},{"line_number":23,"context_line":"large deployment."},{"line_number":24,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"3afc51ec_23af8c95","line":21,"range":{"start_line":21,"start_character":37,"end_line":21,"end_character":38},"updated":"2016-03-14 07:38:39.000000000","message":"Remove the redundant space here.","commit_id":"9b83cc3e0c25af769c6d2838a841478992914f3a"},{"author":{"_account_id":14810,"name":"Kan","email":"sofaopenstack@gmail.com","username":"Kan"},"change_message_id":"b6b54dc4324fec1e1a9e764ea8c668e8edc680ad","unresolved":false,"context_lines":[{"line_number":18,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"Ironic nodes will be put under maintenance for some reason, for example,"},{"line_number":21,"context_line":"temporary BMC offline or unreachable.  Once nodes are put under maintenance,"},{"line_number":22,"context_line":"human has to take them out of the state manually, which is unacceptable for"},{"line_number":23,"context_line":"large deployment."},{"line_number":24,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"3afc51ec_e38be41c","line":21,"range":{"start_line":21,"start_character":54,"end_line":21,"end_character":75},"updated":"2016-03-14 07:38:39.000000000","message":"s/put under maintenance/set into maintenance mode","commit_id":"9b83cc3e0c25af769c6d2838a841478992914f3a"},{"author":{"_account_id":14810,"name":"Kan","email":"sofaopenstack@gmail.com","username":"Kan"},"change_message_id":"b6b54dc4324fec1e1a9e764ea8c668e8edc680ad","unresolved":false,"context_lines":[{"line_number":19,"context_line":""},{"line_number":20,"context_line":"Ironic nodes will be put under maintenance for some reason, for example,"},{"line_number":21,"context_line":"temporary BMC offline or unreachable.  Once nodes are put under maintenance,"},{"line_number":22,"context_line":"human has to take them out of the state manually, which is unacceptable for"},{"line_number":23,"context_line":"large deployment."},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"This way \"maintenance\" nodes can get out of \"maintenance\" without human "}],"source_content_type":"text/x-rst","patch_set":4,"id":"3afc51ec_6378742c","line":22,"range":{"start_line":22,"start_character":0,"end_line":22,"end_character":5},"updated":"2016-03-14 07:38:39.000000000","message":"s/human has/users have","commit_id":"9b83cc3e0c25af769c6d2838a841478992914f3a"},{"author":{"_account_id":14810,"name":"Kan","email":"sofaopenstack@gmail.com","username":"Kan"},"change_message_id":"b6b54dc4324fec1e1a9e764ea8c668e8edc680ad","unresolved":false,"context_lines":[{"line_number":22,"context_line":"human has to take them out of the state manually, which is unacceptable for"},{"line_number":23,"context_line":"large deployment."},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"This way \"maintenance\" nodes can get out of \"maintenance\" without human "},{"line_number":26,"context_line":"interference, so that automatic recovery function is required to avoid"},{"line_number":27,"context_line":"manually human maintenance actions."},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"Proposed change"},{"line_number":30,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":4,"id":"3afc51ec_eebd8bd8","line":27,"range":{"start_line":25,"start_character":0,"end_line":27,"end_character":35},"updated":"2016-03-14 07:38:39.000000000","message":"How about:\n\nBy automatic recovery, the maintenance nodes can get out of this mode without interference from users, which will avoid manually human maintenance actions.","commit_id":"9b83cc3e0c25af769c6d2838a841478992914f3a"},{"author":{"_account_id":14810,"name":"Kan","email":"sofaopenstack@gmail.com","username":"Kan"},"change_message_id":"b6b54dc4324fec1e1a9e764ea8c668e8edc680ad","unresolved":false,"context_lines":[{"line_number":30,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"Proposal is, when run \"_sync_power_states\", do not exclude \"maintenance\""},{"line_number":33,"context_line":"nodes, scan them at longer interval, and if \"do_sync_power_state\" succeeds,"},{"line_number":34,"context_line":"flip the \"maintenance\" status."},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"In order to exactly get nodes which maintenance status is due to sync power"}],"source_content_type":"text/x-rst","patch_set":4,"id":"3afc51ec_8ef96783","line":33,"range":{"start_line":33,"start_character":19,"end_line":33,"end_character":20},"updated":"2016-03-14 07:38:39.000000000","message":"Miss \u0027a\u0027","commit_id":"9b83cc3e0c25af769c6d2838a841478992914f3a"},{"author":{"_account_id":14810,"name":"Kan","email":"sofaopenstack@gmail.com","username":"Kan"},"change_message_id":"b6b54dc4324fec1e1a9e764ea8c668e8edc680ad","unresolved":false,"context_lines":[{"line_number":30,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"Proposal is, when run \"_sync_power_states\", do not exclude \"maintenance\""},{"line_number":33,"context_line":"nodes, scan them at longer interval, and if \"do_sync_power_state\" succeeds,"},{"line_number":34,"context_line":"flip the \"maintenance\" status."},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"In order to exactly get nodes which maintenance status is due to sync power"}],"source_content_type":"text/x-rst","patch_set":4,"id":"3afc51ec_4e363f53","line":33,"range":{"start_line":33,"start_character":35,"end_line":33,"end_character":40},"updated":"2016-03-14 07:38:39.000000000","message":"s/, and/. And","commit_id":"9b83cc3e0c25af769c6d2838a841478992914f3a"},{"author":{"_account_id":14810,"name":"Kan","email":"sofaopenstack@gmail.com","username":"Kan"},"change_message_id":"b6b54dc4324fec1e1a9e764ea8c668e8edc680ad","unresolved":false,"context_lines":[{"line_number":33,"context_line":"nodes, scan them at longer interval, and if \"do_sync_power_state\" succeeds,"},{"line_number":34,"context_line":"flip the \"maintenance\" status."},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"In order to exactly get nodes which maintenance status is due to sync power"},{"line_number":37,"context_line":"state error, we will introduce new field into node.maintenance_reason,"},{"line_number":38,"context_line":" the data model as below:"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":" * maintenance_reason.code: To indicate why this nodes is marked to"}],"source_content_type":"text/x-rst","patch_set":4,"id":"3afc51ec_aea6e350","line":37,"range":{"start_line":36,"start_character":0,"end_line":37,"end_character":11},"updated":"2016-03-14 07:38:39.000000000","message":"How about:\n\nThe nodes would be set to maintenance mode when sync power state failed. In order to get nodes in this kind of special cases,","commit_id":"9b83cc3e0c25af769c6d2838a841478992914f3a"},{"author":{"_account_id":14810,"name":"Kan","email":"sofaopenstack@gmail.com","username":"Kan"},"change_message_id":"b6b54dc4324fec1e1a9e764ea8c668e8edc680ad","unresolved":false,"context_lines":[{"line_number":35,"context_line":""},{"line_number":36,"context_line":"In order to exactly get nodes which maintenance status is due to sync power"},{"line_number":37,"context_line":"state error, we will introduce new field into node.maintenance_reason,"},{"line_number":38,"context_line":" the data model as below:"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":" * maintenance_reason.code: To indicate why this nodes is marked to"},{"line_number":41,"context_line":"   maintenance status, such as sync power error, or clean error etc."}],"source_content_type":"text/x-rst","patch_set":4,"id":"3afc51ec_cec9af7a","line":38,"range":{"start_line":38,"start_character":0,"end_line":38,"end_character":1},"updated":"2016-03-14 07:38:39.000000000","message":"Remove the redundant space here.","commit_id":"9b83cc3e0c25af769c6d2838a841478992914f3a"},{"author":{"_account_id":14810,"name":"Kan","email":"sofaopenstack@gmail.com","username":"Kan"},"change_message_id":"b6b54dc4324fec1e1a9e764ea8c668e8edc680ad","unresolved":false,"context_lines":[{"line_number":37,"context_line":"state error, we will introduce new field into node.maintenance_reason,"},{"line_number":38,"context_line":" the data model as below:"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":" * maintenance_reason.code: To indicate why this nodes is marked to"},{"line_number":41,"context_line":"   maintenance status, such as sync power error, or clean error etc."},{"line_number":42,"context_line":" * maintenance_reason.msg: The details information of maintenance reason,"},{"line_number":43,"context_line":"   keep as original concept and design, just move maintenance_reason to"}],"source_content_type":"text/x-rst","patch_set":4,"id":"3afc51ec_eea46bba","line":40,"range":{"start_line":40,"start_character":22,"end_line":40,"end_character":26},"updated":"2016-03-14 07:38:39.000000000","message":"How about \u0027type\u0027?","commit_id":"9b83cc3e0c25af769c6d2838a841478992914f3a"},{"author":{"_account_id":14810,"name":"Kan","email":"sofaopenstack@gmail.com","username":"Kan"},"change_message_id":"b6b54dc4324fec1e1a9e764ea8c668e8edc680ad","unresolved":false,"context_lines":[{"line_number":39,"context_line":""},{"line_number":40,"context_line":" * maintenance_reason.code: To indicate why this nodes is marked to"},{"line_number":41,"context_line":"   maintenance status, such as sync power error, or clean error etc."},{"line_number":42,"context_line":" * maintenance_reason.msg: The details information of maintenance reason,"},{"line_number":43,"context_line":"   keep as original concept and design, just move maintenance_reason to"},{"line_number":44,"context_line":"   maintenance_reason.msg."},{"line_number":45,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"3afc51ec_cea08fa2","line":42,"range":{"start_line":42,"start_character":31,"end_line":42,"end_character":38},"updated":"2016-03-14 07:38:39.000000000","message":"s/details/detailed","commit_id":"9b83cc3e0c25af769c6d2838a841478992914f3a"},{"author":{"_account_id":14810,"name":"Kan","email":"sofaopenstack@gmail.com","username":"Kan"},"change_message_id":"b6b54dc4324fec1e1a9e764ea8c668e8edc680ad","unresolved":false,"context_lines":[{"line_number":47,"context_line":""},{"line_number":48,"context_line":" * maintenance_reason\u003d{\"code\":\"SYNC_POWER_ERROR\","},{"line_number":49,"context_line":"   \"During sync_power_state, max retries exceeded for node ...\"}"},{"line_number":50,"context_line":" * maintenance_reason\u003d{\"code\":\"BY_CLI\","},{"line_number":51,"context_line":"   \"Remove this server from baremetal pool.\"}"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":4,"id":"3afc51ec_ee4d8b9a","line":51,"range":{"start_line":50,"start_character":0,"end_line":51,"end_character":45},"updated":"2016-03-14 07:38:39.000000000","message":"Better remove this if specify the power sync error case :)","commit_id":"9b83cc3e0c25af769c6d2838a841478992914f3a"},{"author":{"_account_id":15862,"name":"jxiaobin","email":"jxiaobin@ebaysf.com","username":"jxiaobin"},"change_message_id":"c26edff894f601e144b4362c1589c07296877e53","unresolved":false,"context_lines":[{"line_number":45,"context_line":"Examples:"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":" * maintenance_reason\u003d{\"code\":\"SYNC_POWER_ERROR\","},{"line_number":48,"context_line":"   \"During sync_power_state, max retries exceeded for node ...\"}"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":7,"id":"1af94dfe_b099827b","line":48,"updated":"2016-03-18 23:30:25.000000000","message":"Were you expecting example like this?\nmaintenance_reason\u003d{\"type\":\"SYNC_POWER_ERROR\",\n   \"msg\": \"During sync_power_state, max retries exceeded for node ...\"}","commit_id":"d8493884a5fba689d4421328058dbc299ff11efb"},{"author":{"_account_id":8106,"name":"Haomeng,Wang","email":"wanghaomeng@gmail.com","username":"whaom"},"change_message_id":"5a223cabb61a6c3522204040d77c2dd0306f7622","unresolved":false,"context_lines":[{"line_number":45,"context_line":"Examples:"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":" * maintenance_reason\u003d{\"code\":\"SYNC_POWER_ERROR\","},{"line_number":48,"context_line":"   \"During sync_power_state, max retries exceeded for node ...\"}"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":7,"id":"fa0719c6_8403470f","line":48,"in_reply_to":"1af94dfe_b099827b","updated":"2016-03-21 02:51:31.000000000","message":"Yes, will fix, thanks xiao bin.","commit_id":"d8493884a5fba689d4421328058dbc299ff11efb"},{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"25c6edd3f98b00bae7216e0ea96c480d066d647b","unresolved":false,"context_lines":[{"line_number":29,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"Proposal is, when run \"_sync_power_states\", do not exclude \"maintenance\""},{"line_number":32,"context_line":"nodes, scan them at a longer interval. And if \"do_sync_power_state\" succeeds,"},{"line_number":33,"context_line":"flip the \"maintenance\" status."},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"The nodes would be set to maintenance mode when sync power state failed."}],"source_content_type":"text/x-rst","patch_set":9,"id":"fa0719c6_4151b20d","line":32,"updated":"2016-03-22 22:16:37.000000000","message":"This is going to have an appreciable impact on performance; we found in production that slow moving/non-responsive BMCs can tie up the sync power states thread.\n\nDo you intend on mitigating this somehow? Perhaps by using a separate periodic task on \"maintenance\" servers?","commit_id":"48a2bf01f09e505a1067179b401665e3f77c85ca"},{"author":{"_account_id":8106,"name":"Haomeng,Wang","email":"wanghaomeng@gmail.com","username":"whaom"},"change_message_id":"e02deaf1f958fe2796a229c25a2cde591735ff53","unresolved":false,"context_lines":[{"line_number":29,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"Proposal is, when run \"_sync_power_states\", do not exclude \"maintenance\""},{"line_number":32,"context_line":"nodes, scan them at a longer interval. And if \"do_sync_power_state\" succeeds,"},{"line_number":33,"context_line":"flip the \"maintenance\" status."},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"The nodes would be set to maintenance mode when sync power state failed."}],"source_content_type":"text/x-rst","patch_set":9,"id":"fa0719c6_6f644eb8","line":32,"in_reply_to":"fa0719c6_4151b20d","updated":"2016-03-24 08:31:42.000000000","message":"Yes, we can have another separate periodic task for these \"maintenance\" servers.","commit_id":"48a2bf01f09e505a1067179b401665e3f77c85ca"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"75d80575138e02a2d479d897286fd43051363001","unresolved":false,"context_lines":[{"line_number":34,"context_line":""},{"line_number":35,"context_line":"The nodes would be set to maintenance mode when sync power state failed."},{"line_number":36,"context_line":"In order to get nodes in this kind of special cases, we will introduce new"},{"line_number":37,"context_line":"field into node.maintenance_reason, the data model as below:"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":" * maintenance_reason.type: To indicate why this nodes is marked to"},{"line_number":40,"context_line":"   maintenance status, such as sync power error, or clean error etc."}],"source_content_type":"text/x-rst","patch_set":9,"id":"fa0719c6_7ef5d081","line":37,"updated":"2016-03-21 12:52:05.000000000","message":"If I understand correctly you plan interpret \"maintenance_reason\" as JsonEncodedDict? Will be hard to filter by type (code) in comparison with a separate db column.","commit_id":"48a2bf01f09e505a1067179b401665e3f77c85ca"},{"author":{"_account_id":8106,"name":"Haomeng,Wang","email":"wanghaomeng@gmail.com","username":"whaom"},"change_message_id":"e02deaf1f958fe2796a229c25a2cde591735ff53","unresolved":false,"context_lines":[{"line_number":34,"context_line":""},{"line_number":35,"context_line":"The nodes would be set to maintenance mode when sync power state failed."},{"line_number":36,"context_line":"In order to get nodes in this kind of special cases, we will introduce new"},{"line_number":37,"context_line":"field into node.maintenance_reason, the data model as below:"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":" * maintenance_reason.type: To indicate why this nodes is marked to"},{"line_number":40,"context_line":"   maintenance status, such as sync power error, or clean error etc."}],"source_content_type":"text/x-rst","patch_set":9,"id":"fa0719c6_6f328ea8","line":37,"in_reply_to":"fa0719c6_7ef5d081","updated":"2016-03-24 08:31:42.000000000","message":"Yes, will change maintenance_reason to JsonEncodedDict type, will not add new db column.","commit_id":"48a2bf01f09e505a1067179b401665e3f77c85ca"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"75d80575138e02a2d479d897286fd43051363001","unresolved":false,"context_lines":[{"line_number":37,"context_line":"field into node.maintenance_reason, the data model as below:"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":" * maintenance_reason.type: To indicate why this nodes is marked to"},{"line_number":40,"context_line":"   maintenance status, such as sync power error, or clean error etc."},{"line_number":41,"context_line":" * maintenance_reason.msg: The detailed information of maintenance reason,"},{"line_number":42,"context_line":"   keep as original concept and design, just move maintenance_reason to"},{"line_number":43,"context_line":"   maintenance_reason.msg."}],"source_content_type":"text/x-rst","patch_set":9,"id":"fa0719c6_fe7d60e8","line":40,"updated":"2016-03-21 12:52:05.000000000","message":"And if operator marks manually what type will be?","commit_id":"48a2bf01f09e505a1067179b401665e3f77c85ca"},{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"25c6edd3f98b00bae7216e0ea96c480d066d647b","unresolved":false,"context_lines":[{"line_number":37,"context_line":"field into node.maintenance_reason, the data model as below:"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":" * maintenance_reason.type: To indicate why this nodes is marked to"},{"line_number":40,"context_line":"   maintenance status, such as sync power error, or clean error etc."},{"line_number":41,"context_line":" * maintenance_reason.msg: The detailed information of maintenance reason,"},{"line_number":42,"context_line":"   keep as original concept and design, just move maintenance_reason to"},{"line_number":43,"context_line":"   maintenance_reason.msg."}],"source_content_type":"text/x-rst","patch_set":9,"id":"fa0719c6_c13dc2bc","line":40,"in_reply_to":"fa0719c6_fe7d60e8","updated":"2016-03-22 22:16:37.000000000","message":"+1 we should have a type for operator set maintenances","commit_id":"48a2bf01f09e505a1067179b401665e3f77c85ca"},{"author":{"_account_id":8106,"name":"Haomeng,Wang","email":"wanghaomeng@gmail.com","username":"whaom"},"change_message_id":"e02deaf1f958fe2796a229c25a2cde591735ff53","unresolved":false,"context_lines":[{"line_number":37,"context_line":"field into node.maintenance_reason, the data model as below:"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":" * maintenance_reason.type: To indicate why this nodes is marked to"},{"line_number":40,"context_line":"   maintenance status, such as sync power error, or clean error etc."},{"line_number":41,"context_line":" * maintenance_reason.msg: The detailed information of maintenance reason,"},{"line_number":42,"context_line":"   keep as original concept and design, just move maintenance_reason to"},{"line_number":43,"context_line":"   maintenance_reason.msg."}],"source_content_type":"text/x-rst","patch_set":9,"id":"fa0719c6_2f1536e4","line":40,"in_reply_to":"fa0719c6_fe7d60e8","updated":"2016-03-24 08:31:42.000000000","message":"yes, we will introduce \"BY_MANUALLY\" type here.","commit_id":"48a2bf01f09e505a1067179b401665e3f77c85ca"},{"author":{"_account_id":7080,"name":"Mathieu Mitchell","email":"mat128@gmail.com","username":"mat128"},"change_message_id":"cd21d2a91a480c037d1b73c3bc7713c4a01b408d","unresolved":false,"context_lines":[{"line_number":38,"context_line":""},{"line_number":39,"context_line":" * maintenance_reason.type: To indicate why this nodes is marked to"},{"line_number":40,"context_line":"   maintenance status, such as sync power error, or clean error etc."},{"line_number":41,"context_line":" * maintenance_reason.msg: The detailed information of maintenance reason,"},{"line_number":42,"context_line":"   keep as original concept and design, just move maintenance_reason to"},{"line_number":43,"context_line":"   maintenance_reason.msg."},{"line_number":44,"context_line":""}],"source_content_type":"text/x-rst","patch_set":9,"id":"fa0719c6_0291c399","line":41,"updated":"2016-03-21 17:21:18.000000000","message":"I suggest we keep the \"maintenance_reason\" field as-is (both data and location) for forward/backwards compatibility and introduce maintenance_type in a separate field.","commit_id":"48a2bf01f09e505a1067179b401665e3f77c85ca"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"1f0e480bf2ca3db89018e9744b5e07cd2e727391","unresolved":false,"context_lines":[{"line_number":38,"context_line":""},{"line_number":39,"context_line":" * maintenance_reason.type: To indicate why this nodes is marked to"},{"line_number":40,"context_line":"   maintenance status, such as sync power error, or clean error etc."},{"line_number":41,"context_line":" * maintenance_reason.msg: The detailed information of maintenance reason,"},{"line_number":42,"context_line":"   keep as original concept and design, just move maintenance_reason to"},{"line_number":43,"context_line":"   maintenance_reason.msg."},{"line_number":44,"context_line":""}],"source_content_type":"text/x-rst","patch_set":9,"id":"fa0719c6_7fabe0d6","line":41,"in_reply_to":"fa0719c6_0291c399","updated":"2016-03-22 08:58:49.000000000","message":"+1","commit_id":"48a2bf01f09e505a1067179b401665e3f77c85ca"},{"author":{"_account_id":8106,"name":"Haomeng,Wang","email":"wanghaomeng@gmail.com","username":"whaom"},"change_message_id":"e02deaf1f958fe2796a229c25a2cde591735ff53","unresolved":false,"context_lines":[{"line_number":38,"context_line":""},{"line_number":39,"context_line":" * maintenance_reason.type: To indicate why this nodes is marked to"},{"line_number":40,"context_line":"   maintenance status, such as sync power error, or clean error etc."},{"line_number":41,"context_line":" * maintenance_reason.msg: The detailed information of maintenance reason,"},{"line_number":42,"context_line":"   keep as original concept and design, just move maintenance_reason to"},{"line_number":43,"context_line":"   maintenance_reason.msg."},{"line_number":44,"context_line":""}],"source_content_type":"text/x-rst","patch_set":9,"id":"fa0719c6_8fbd62da","line":41,"in_reply_to":"fa0719c6_0291c399","updated":"2016-03-24 08:31:42.000000000","message":"Ok, good idea, will introduce new filed mainteance_type.","commit_id":"48a2bf01f09e505a1067179b401665e3f77c85ca"},{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"25c6edd3f98b00bae7216e0ea96c480d066d647b","unresolved":false,"context_lines":[{"line_number":38,"context_line":""},{"line_number":39,"context_line":" * maintenance_reason.type: To indicate why this nodes is marked to"},{"line_number":40,"context_line":"   maintenance status, such as sync power error, or clean error etc."},{"line_number":41,"context_line":" * maintenance_reason.msg: The detailed information of maintenance reason,"},{"line_number":42,"context_line":"   keep as original concept and design, just move maintenance_reason to"},{"line_number":43,"context_line":"   maintenance_reason.msg."},{"line_number":44,"context_line":""}],"source_content_type":"text/x-rst","patch_set":9,"id":"fa0719c6_8172aaab","line":41,"in_reply_to":"fa0719c6_7fabe0d6","updated":"2016-03-22 22:16:37.000000000","message":"+1","commit_id":"48a2bf01f09e505a1067179b401665e3f77c85ca"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"75d80575138e02a2d479d897286fd43051363001","unresolved":false,"context_lines":[{"line_number":45,"context_line":"Examples:"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":" * maintenance_reason \u003d {"},{"line_number":48,"context_line":"   \"code\" : \"SYNC_POWER_ERROR\","},{"line_number":49,"context_line":"   \"msg\" : \"During sync_power_state, max retries exceeded for node ...\"}"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":""}],"source_content_type":"text/x-rst","patch_set":9,"id":"fa0719c6_fe2f20f4","line":48,"updated":"2016-03-21 12:52:05.000000000","message":"\"type\" in l39","commit_id":"48a2bf01f09e505a1067179b401665e3f77c85ca"},{"author":{"_account_id":8106,"name":"Haomeng,Wang","email":"wanghaomeng@gmail.com","username":"whaom"},"change_message_id":"e02deaf1f958fe2796a229c25a2cde591735ff53","unresolved":false,"context_lines":[{"line_number":45,"context_line":"Examples:"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":" * maintenance_reason \u003d {"},{"line_number":48,"context_line":"   \"code\" : \"SYNC_POWER_ERROR\","},{"line_number":49,"context_line":"   \"msg\" : \"During sync_power_state, max retries exceeded for node ...\"}"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":""}],"source_content_type":"text/x-rst","patch_set":9,"id":"fa0719c6_afb666f6","line":48,"in_reply_to":"fa0719c6_fe2f20f4","updated":"2016-03-24 08:31:42.000000000","message":"Done","commit_id":"48a2bf01f09e505a1067179b401665e3f77c85ca"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"75d80575138e02a2d479d897286fd43051363001","unresolved":false,"context_lines":[{"line_number":56,"context_line":"Data model impact"},{"line_number":57,"context_line":"-----------------"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"None."},{"line_number":60,"context_line":""},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"State Machine Impact"}],"source_content_type":"text/x-rst","patch_set":9,"id":"fa0719c6_deadfc89","line":59,"updated":"2016-03-21 12:52:05.000000000","message":"\"maintenance_reason\" interpretation will be changed, db model class should be changed at least.","commit_id":"48a2bf01f09e505a1067179b401665e3f77c85ca"},{"author":{"_account_id":8106,"name":"Haomeng,Wang","email":"wanghaomeng@gmail.com","username":"whaom"},"change_message_id":"e02deaf1f958fe2796a229c25a2cde591735ff53","unresolved":false,"context_lines":[{"line_number":56,"context_line":"Data model impact"},{"line_number":57,"context_line":"-----------------"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"None."},{"line_number":60,"context_line":""},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"State Machine Impact"}],"source_content_type":"text/x-rst","patch_set":9,"id":"fa0719c6_4fc86a74","line":59,"in_reply_to":"fa0719c6_deadfc89","updated":"2016-03-24 08:31:42.000000000","message":"Done","commit_id":"48a2bf01f09e505a1067179b401665e3f77c85ca"},{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"25c6edd3f98b00bae7216e0ea96c480d066d647b","unresolved":false,"context_lines":[{"line_number":108,"context_line":"Performance Impact"},{"line_number":109,"context_line":"------------------"},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"None."},{"line_number":112,"context_line":""},{"line_number":113,"context_line":"Other deployer impact"},{"line_number":114,"context_line":"---------------------"}],"source_content_type":"text/x-rst","patch_set":9,"id":"fa0719c6_015fba0e","line":111,"updated":"2016-03-22 22:16:37.000000000","message":"Iterating over dead BMCs will have one hell of a big performance impact for reasons stated earlier :)","commit_id":"48a2bf01f09e505a1067179b401665e3f77c85ca"},{"author":{"_account_id":8106,"name":"Haomeng,Wang","email":"wanghaomeng@gmail.com","username":"whaom"},"change_message_id":"e02deaf1f958fe2796a229c25a2cde591735ff53","unresolved":false,"context_lines":[{"line_number":108,"context_line":"Performance Impact"},{"line_number":109,"context_line":"------------------"},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"None."},{"line_number":112,"context_line":""},{"line_number":113,"context_line":"Other deployer impact"},{"line_number":114,"context_line":"---------------------"}],"source_content_type":"text/x-rst","patch_set":9,"id":"fa0719c6_6fa72ebd","line":111,"in_reply_to":"fa0719c6_015fba0e","updated":"2016-03-24 08:31:42.000000000","message":"Done","commit_id":"48a2bf01f09e505a1067179b401665e3f77c85ca"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"75d80575138e02a2d479d897286fd43051363001","unresolved":false,"context_lines":[{"line_number":153,"context_line":"Upgrades and Backwards Compatibility"},{"line_number":154,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"None."},{"line_number":157,"context_line":""},{"line_number":158,"context_line":"Documentation Impact"},{"line_number":159,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":9,"id":"fa0719c6_febe00d3","line":156,"updated":"2016-03-21 12:52:05.000000000","message":"It\u0027s not backward-compatible, Ironic code before this change will not correctly work with new data in db.","commit_id":"48a2bf01f09e505a1067179b401665e3f77c85ca"},{"author":{"_account_id":8106,"name":"Haomeng,Wang","email":"wanghaomeng@gmail.com","username":"whaom"},"change_message_id":"e02deaf1f958fe2796a229c25a2cde591735ff53","unresolved":false,"context_lines":[{"line_number":153,"context_line":"Upgrades and Backwards Compatibility"},{"line_number":154,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"None."},{"line_number":157,"context_line":""},{"line_number":158,"context_line":"Documentation Impact"},{"line_number":159,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":9,"id":"fa0719c6_8fb9e2ce","line":156,"in_reply_to":"fa0719c6_0256e3d1","updated":"2016-03-24 08:31:42.000000000","message":"Yes, we will add new colume maintenance_type, so will be compatible forward, for such old nodes, which maintenance_type is null, so will not take any action for them, once they are changed to maintenance status by manually or conductor internal code, will populate the maintenance_type and handle in separated period threads.","commit_id":"48a2bf01f09e505a1067179b401665e3f77c85ca"},{"author":{"_account_id":7080,"name":"Mathieu Mitchell","email":"mat128@gmail.com","username":"mat128"},"change_message_id":"cd21d2a91a480c037d1b73c3bc7713c4a01b408d","unresolved":false,"context_lines":[{"line_number":153,"context_line":"Upgrades and Backwards Compatibility"},{"line_number":154,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"None."},{"line_number":157,"context_line":""},{"line_number":158,"context_line":"Documentation Impact"},{"line_number":159,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":9,"id":"fa0719c6_0256e3d1","line":156,"in_reply_to":"fa0719c6_febe00d3","updated":"2016-03-21 17:21:18.000000000","message":"With my suggestion, the changes will be fully forward and backwards compatible from a schema perspective.","commit_id":"48a2bf01f09e505a1067179b401665e3f77c85ca"}]}
