)]}'
{".stestr/0":[{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"68416c0de1716770c683d168a48f5d1b259afc98","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":34,"id":"3f79a3b5_0747684e","updated":"2018-08-22 13:17:05.000000000","message":"please exclude .stestr from your patch","commit_id":"6fc1181aa9e60c442a94410ce15cae88dfe04cba"}],"/COMMIT_MSG":[{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"c9645c3b5a066557e5c8bfdd804c010bf51862e2","unresolved":false,"context_lines":[{"line_number":9,"context_line":"This spec describe how to manage ironic conductor services. we will"},{"line_number":10,"context_line":"Add new API interfaces to get, enable, disable conductor services."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Related-Bug: https://bugs.launchpad.net/ironic/+bug/1526759"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Change-Id: Iabbd60d5287dcbd668477fb049905cf7bb89e706"},{"line_number":15,"context_line":"Implements: bp add-service-management-api"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":8,"id":"1f1a1f67_89b53f34","line":12,"updated":"2017-07-13 10:15:41.000000000","message":"Related-Bug: #1526759","commit_id":"79dc2896a4cf66b88dbb95c8c482c1e8bc829646"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"e77ef85ce28baff146e61b55ebf1fd56a68101e5","unresolved":false,"context_lines":[{"line_number":12,"context_line":"Related-Bug: https://bugs.launchpad.net/ironic/+bug/1526759"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Change-Id: Iabbd60d5287dcbd668477fb049905cf7bb89e706"},{"line_number":15,"context_line":"Implements: bp add-service-management-api"},{"line_number":16,"context_line":"Co-Authored-By: D G Lee \u003clyqgenius@vip.qq.com\u003e"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":14,"id":"df3967d1_defc72b6","line":15,"range":{"start_line":15,"start_character":0,"end_line":15,"end_character":41},"updated":"2017-08-04 09:49:59.000000000","message":"Change that to \"Related-Bug: #1526759\" - we track new feature proposals as \"Request for Feature/Enhancement\" RFE bugs on launchpad, and I believe that\u0027s the one about this proposed spec.","commit_id":"9bed72f3ef9ef72594fea68e2f576f8dd7be0947"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"b69c95227b4ceb79f5eda9fca25d385165482695","unresolved":false,"context_lines":[{"line_number":12,"context_line":"Related-Bug: https://bugs.launchpad.net/ironic/+bug/1526759"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Change-Id: Iabbd60d5287dcbd668477fb049905cf7bb89e706"},{"line_number":15,"context_line":"Implements: bp add-service-management-api"},{"line_number":16,"context_line":"Co-Authored-By: D G Lee \u003clyqgenius@vip.qq.com\u003e"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":14,"id":"7f287b81_53540c53","line":15,"range":{"start_line":15,"start_character":0,"end_line":15,"end_character":41},"in_reply_to":"df3967d1_defc72b6","updated":"2017-08-29 06:58:20.000000000","message":"Done","commit_id":"9bed72f3ef9ef72594fea68e2f576f8dd7be0947"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"07ad444a322cad2ec1148daaecd42460b392043e","unresolved":false,"context_lines":[{"line_number":9,"context_line":"This spec describe how to manage ironic conductor services. we will"},{"line_number":10,"context_line":"Add new API interfaces to get, enable, disable conductor services."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Related-Bug: #1526759"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Change-Id: Iabbd60d5287dcbd668477fb049905cf7bb89e706"},{"line_number":15,"context_line":"Co-Authored-By: D G Lee \u003clyqgenius@vip.qq.com\u003e"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":31,"id":"bf659307_36570a5b","line":12,"range":{"start_line":12,"start_character":0,"end_line":12,"end_character":21},"updated":"2018-03-30 15:23:54.000000000","message":"Please change this to be the storyboard number and associated task number","commit_id":"48502f5d09251b8ef5e2828e6f9f1a40ed128a65"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"0f120520583fc2c0e15ae42cb3d7a64fae452fce","unresolved":false,"context_lines":[{"line_number":9,"context_line":"This spec describe how to manage ironic conductor services. we will"},{"line_number":10,"context_line":"Add new API interfaces to get, enable, disable conductor services."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Related-Bug: #1526759"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Change-Id: Iabbd60d5287dcbd668477fb049905cf7bb89e706"},{"line_number":15,"context_line":"Co-Authored-By: D G Lee \u003clyqgenius@vip.qq.com\u003e"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":31,"id":"bf659307_99df1768","line":12,"range":{"start_line":12,"start_character":0,"end_line":12,"end_character":21},"in_reply_to":"bf659307_36570a5b","updated":"2018-04-18 05:59:16.000000000","message":"I will create a new storyboard for this feature and update in the next PS.","commit_id":"48502f5d09251b8ef5e2828e6f9f1a40ed128a65"}],"specs/approved/ironic-service-management.rst":[{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"c869a076fdcbab4d9f89ab536a650e7361d4c7be","unresolved":false,"context_lines":[{"line_number":21,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"Currently Ironic does not implement the service management. Therefore, admin"},{"line_number":24,"context_line":"does not figure out the issue quickly when some conductor service is down. If"},{"line_number":25,"context_line":"a node in which an ironic conductor service locates needs to be maintained"},{"line_number":26,"context_line":"when tftp server is crashed or admin will shutdown the node, it is no way to"},{"line_number":27,"context_line":"prevent message from sending to this node."}],"source_content_type":"text/x-rst","patch_set":6,"id":"3f1d235d_f91d5a73","line":24,"range":{"start_line":24,"start_character":0,"end_line":24,"end_character":8},"updated":"2017-07-04 05:30:55.000000000","message":"nit: s/does not/can\u0027t/","commit_id":"60def55e8a05c1895408c713d2cb0922a8431b57"},{"author":{"_account_id":9610,"name":"Tao Li","email":"litao3721@126.com","username":"Litao"},"change_message_id":"e05d32f4c4b4a2d72a48983b84b841a7088f8675","unresolved":false,"context_lines":[{"line_number":21,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"Currently Ironic does not implement the service management. Therefore, admin"},{"line_number":24,"context_line":"does not figure out the issue quickly when some conductor service is down. If"},{"line_number":25,"context_line":"a node in which an ironic conductor service locates needs to be maintained"},{"line_number":26,"context_line":"when tftp server is crashed or admin will shutdown the node, it is no way to"},{"line_number":27,"context_line":"prevent message from sending to this node."}],"source_content_type":"text/x-rst","patch_set":6,"id":"3f1d235d_9ed901f6","line":24,"range":{"start_line":24,"start_character":0,"end_line":24,"end_character":8},"in_reply_to":"3f1d235d_f91d5a73","updated":"2017-07-10 06:15:46.000000000","message":"Done","commit_id":"60def55e8a05c1895408c713d2cb0922a8431b57"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"c869a076fdcbab4d9f89ab536a650e7361d4c7be","unresolved":false,"context_lines":[{"line_number":21,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"Currently Ironic does not implement the service management. Therefore, admin"},{"line_number":24,"context_line":"does not figure out the issue quickly when some conductor service is down. If"},{"line_number":25,"context_line":"a node in which an ironic conductor service locates needs to be maintained"},{"line_number":26,"context_line":"when tftp server is crashed or admin will shutdown the node, it is no way to"},{"line_number":27,"context_line":"prevent message from sending to this node."},{"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":6,"id":"3f1d235d_5c4b1c58","line":27,"range":{"start_line":24,"start_character":74,"end_line":27,"end_character":42},"updated":"2017-07-04 05:30:55.000000000","message":"This sentence can be rephrased to::\n If a node where ironic-conductor service is running needs \n to be shut down for maintenance purpose in situations like \n tftp server is nor running etc, there is no way to prevent \n message to be sent to this node.","commit_id":"60def55e8a05c1895408c713d2cb0922a8431b57"},{"author":{"_account_id":9610,"name":"Tao Li","email":"litao3721@126.com","username":"Litao"},"change_message_id":"e05d32f4c4b4a2d72a48983b84b841a7088f8675","unresolved":false,"context_lines":[{"line_number":21,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"Currently Ironic does not implement the service management. Therefore, admin"},{"line_number":24,"context_line":"does not figure out the issue quickly when some conductor service is down. If"},{"line_number":25,"context_line":"a node in which an ironic conductor service locates needs to be maintained"},{"line_number":26,"context_line":"when tftp server is crashed or admin will shutdown the node, it is no way to"},{"line_number":27,"context_line":"prevent message from sending to this node."},{"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":6,"id":"3f1d235d_7eff4534","line":27,"range":{"start_line":24,"start_character":74,"end_line":27,"end_character":42},"in_reply_to":"3f1d235d_5c4b1c58","updated":"2017-07-10 06:15:46.000000000","message":"Done","commit_id":"60def55e8a05c1895408c713d2cb0922a8431b57"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"c869a076fdcbab4d9f89ab536a650e7361d4c7be","unresolved":false,"context_lines":[{"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"},{"line_number":31,"context_line":"* Create new API endpoints to get status of ironic conductor services and"},{"line_number":32,"context_line":"  disable or enable them - see `REST API impact` for details."},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"* API client update to provide CLI interface to invoke this feature - see"}],"source_content_type":"text/x-rst","patch_set":6,"id":"3f1d235d_9c6ad4b0","line":31,"range":{"start_line":31,"start_character":44,"end_line":31,"end_character":60},"updated":"2017-07-04 05:30:55.000000000","message":"I would suggest to use \u0027ironic-conductor\u0027 instead.","commit_id":"60def55e8a05c1895408c713d2cb0922a8431b57"},{"author":{"_account_id":9610,"name":"Tao Li","email":"litao3721@126.com","username":"Litao"},"change_message_id":"e05d32f4c4b4a2d72a48983b84b841a7088f8675","unresolved":false,"context_lines":[{"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"},{"line_number":31,"context_line":"* Create new API endpoints to get status of ironic conductor services and"},{"line_number":32,"context_line":"  disable or enable them - see `REST API impact` for details."},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"* API client update to provide CLI interface to invoke this feature - see"}],"source_content_type":"text/x-rst","patch_set":6,"id":"3f1d235d_3e8e6dd0","line":31,"range":{"start_line":31,"start_character":44,"end_line":31,"end_character":60},"in_reply_to":"3f1d235d_9c6ad4b0","updated":"2017-07-10 06:15:46.000000000","message":"Done","commit_id":"60def55e8a05c1895408c713d2cb0922a8431b57"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"c869a076fdcbab4d9f89ab536a650e7361d4c7be","unresolved":false,"context_lines":[{"line_number":36,"context_line":""},{"line_number":37,"context_line":"* Creation of explicit documentation to describe the REST API interface."},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"* In period sync conductor task, update `last_seen_up` column instead of"},{"line_number":40,"context_line":"  `updated-at` to display the heartbeat of conductor service. The `updated_at`"},{"line_number":41,"context_line":"  just only records other database operation except heartbeat report."},{"line_number":42,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"3f1d235d_7caa58d2","line":39,"range":{"start_line":39,"start_character":2,"end_line":39,"end_character":31},"updated":"2017-07-04 05:30:55.000000000","message":"Change to: Create a new periodic task to ...","commit_id":"60def55e8a05c1895408c713d2cb0922a8431b57"},{"author":{"_account_id":9610,"name":"Tao Li","email":"litao3721@126.com","username":"Litao"},"change_message_id":"e05d32f4c4b4a2d72a48983b84b841a7088f8675","unresolved":false,"context_lines":[{"line_number":36,"context_line":""},{"line_number":37,"context_line":"* Creation of explicit documentation to describe the REST API interface."},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"* In period sync conductor task, update `last_seen_up` column instead of"},{"line_number":40,"context_line":"  `updated-at` to display the heartbeat of conductor service. The `updated_at`"},{"line_number":41,"context_line":"  just only records other database operation except heartbeat report."},{"line_number":42,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"3f1d235d_c1d43cc0","line":39,"range":{"start_line":39,"start_character":2,"end_line":39,"end_character":31},"in_reply_to":"3f1d235d_7caa58d2","updated":"2017-07-10 06:15:46.000000000","message":"Currently, we can use the existing ‘_conductor_service_record_keepalive’or create a new periodic task to update db.So I will list these two methods.","commit_id":"60def55e8a05c1895408c713d2cb0922a8431b57"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"c869a076fdcbab4d9f89ab536a650e7361d4c7be","unresolved":false,"context_lines":[{"line_number":37,"context_line":"* Creation of explicit documentation to describe the REST API interface."},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"* In period sync conductor task, update `last_seen_up` column instead of"},{"line_number":40,"context_line":"  `updated-at` to display the heartbeat of conductor service. The `updated_at`"},{"line_number":41,"context_line":"  just only records other database operation except heartbeat report."},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":6,"id":"3f1d235d_7cd8187e","line":40,"range":{"start_line":40,"start_character":43,"end_line":40,"end_character":52},"updated":"2017-07-04 05:30:55.000000000","message":"s/conductor/ironic-conductor/","commit_id":"60def55e8a05c1895408c713d2cb0922a8431b57"},{"author":{"_account_id":9610,"name":"Tao Li","email":"litao3721@126.com","username":"Litao"},"change_message_id":"e05d32f4c4b4a2d72a48983b84b841a7088f8675","unresolved":false,"context_lines":[{"line_number":37,"context_line":"* Creation of explicit documentation to describe the REST API interface."},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"* In period sync conductor task, update `last_seen_up` column instead of"},{"line_number":40,"context_line":"  `updated-at` to display the heartbeat of conductor service. The `updated_at`"},{"line_number":41,"context_line":"  just only records other database operation except heartbeat report."},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":6,"id":"3f1d235d_de6bf9ee","line":40,"range":{"start_line":40,"start_character":43,"end_line":40,"end_character":52},"in_reply_to":"3f1d235d_7cd8187e","updated":"2017-07-10 06:15:46.000000000","message":"Done","commit_id":"60def55e8a05c1895408c713d2cb0922a8431b57"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"c869a076fdcbab4d9f89ab536a650e7361d4c7be","unresolved":false,"context_lines":[{"line_number":46,"context_line":""},{"line_number":47,"context_line":"Data model impact"},{"line_number":48,"context_line":"-----------------"},{"line_number":49,"context_line":"We will use the existed column `online` of conductors to show enabled or"},{"line_number":50,"context_line":"disabled status of ironic conductor services. In order to tell admin why"},{"line_number":51,"context_line":"disable conductor services, we will also add a column `disabled_reason` to"},{"line_number":52,"context_line":"show the reason. And also add a new column `last_seen_up` to show the last"}],"source_content_type":"text/x-rst","patch_set":6,"id":"3f1d235d_fcd54844","line":49,"range":{"start_line":49,"start_character":16,"end_line":49,"end_character":23},"updated":"2017-07-04 05:30:55.000000000","message":"s/existed/existing/","commit_id":"60def55e8a05c1895408c713d2cb0922a8431b57"},{"author":{"_account_id":9610,"name":"Tao Li","email":"litao3721@126.com","username":"Litao"},"change_message_id":"e05d32f4c4b4a2d72a48983b84b841a7088f8675","unresolved":false,"context_lines":[{"line_number":46,"context_line":""},{"line_number":47,"context_line":"Data model impact"},{"line_number":48,"context_line":"-----------------"},{"line_number":49,"context_line":"We will use the existed column `online` of conductors to show enabled or"},{"line_number":50,"context_line":"disabled status of ironic conductor services. In order to tell admin why"},{"line_number":51,"context_line":"disable conductor services, we will also add a column `disabled_reason` to"},{"line_number":52,"context_line":"show the reason. And also add a new column `last_seen_up` to show the last"}],"source_content_type":"text/x-rst","patch_set":6,"id":"3f1d235d_be703dde","line":49,"range":{"start_line":49,"start_character":16,"end_line":49,"end_character":23},"in_reply_to":"3f1d235d_fcd54844","updated":"2017-07-10 06:15:46.000000000","message":"Done","commit_id":"60def55e8a05c1895408c713d2cb0922a8431b57"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"c869a076fdcbab4d9f89ab536a650e7361d4c7be","unresolved":false,"context_lines":[{"line_number":47,"context_line":"Data model impact"},{"line_number":48,"context_line":"-----------------"},{"line_number":49,"context_line":"We will use the existed column `online` of conductors to show enabled or"},{"line_number":50,"context_line":"disabled status of ironic conductor services. In order to tell admin why"},{"line_number":51,"context_line":"disable conductor services, we will also add a column `disabled_reason` to"},{"line_number":52,"context_line":"show the reason. And also add a new column `last_seen_up` to show the last"},{"line_number":53,"context_line":"heartbeat time of ironic conductor services. The combination of `online` and"}],"source_content_type":"text/x-rst","patch_set":6,"id":"3f1d235d_9cc6549a","line":50,"range":{"start_line":50,"start_character":19,"end_line":50,"end_character":35},"updated":"2017-07-04 05:30:55.000000000","message":"s/ironic conductor/ironic-conductor/","commit_id":"60def55e8a05c1895408c713d2cb0922a8431b57"},{"author":{"_account_id":9610,"name":"Tao Li","email":"litao3721@126.com","username":"Litao"},"change_message_id":"e05d32f4c4b4a2d72a48983b84b841a7088f8675","unresolved":false,"context_lines":[{"line_number":47,"context_line":"Data model impact"},{"line_number":48,"context_line":"-----------------"},{"line_number":49,"context_line":"We will use the existed column `online` of conductors to show enabled or"},{"line_number":50,"context_line":"disabled status of ironic conductor services. In order to tell admin why"},{"line_number":51,"context_line":"disable conductor services, we will also add a column `disabled_reason` to"},{"line_number":52,"context_line":"show the reason. And also add a new column `last_seen_up` to show the last"},{"line_number":53,"context_line":"heartbeat time of ironic conductor services. The combination of `online` and"}],"source_content_type":"text/x-rst","patch_set":6,"id":"3f1d235d_9e7581cf","line":50,"range":{"start_line":50,"start_character":19,"end_line":50,"end_character":35},"in_reply_to":"3f1d235d_9cc6549a","updated":"2017-07-10 06:15:46.000000000","message":"Done","commit_id":"60def55e8a05c1895408c713d2cb0922a8431b57"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"c869a076fdcbab4d9f89ab536a650e7361d4c7be","unresolved":false,"context_lines":[{"line_number":46,"context_line":""},{"line_number":47,"context_line":"Data model impact"},{"line_number":48,"context_line":"-----------------"},{"line_number":49,"context_line":"We will use the existed column `online` of conductors to show enabled or"},{"line_number":50,"context_line":"disabled status of ironic conductor services. In order to tell admin why"},{"line_number":51,"context_line":"disable conductor services, we will also add a column `disabled_reason` to"},{"line_number":52,"context_line":"show the reason. And also add a new column `last_seen_up` to show the last"},{"line_number":53,"context_line":"heartbeat time of ironic conductor services. The combination of `online` and"},{"line_number":54,"context_line":"`last_seen_up` of conductors show the state of ironic conductor services."},{"line_number":55,"context_line":"The Data model is as follows."},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"Class defined::"}],"source_content_type":"text/x-rst","patch_set":6,"id":"3f1d235d_fc3ae895","line":54,"range":{"start_line":49,"start_character":0,"end_line":54,"end_character":73},"updated":"2017-07-04 05:30:55.000000000","message":"I would suggest to add these details about each column in bullets, so that its more readable.","commit_id":"60def55e8a05c1895408c713d2cb0922a8431b57"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"03d1e69f05420985f62f68b08b99fe32a83c5553","unresolved":false,"context_lines":[{"line_number":46,"context_line":""},{"line_number":47,"context_line":"Data model impact"},{"line_number":48,"context_line":"-----------------"},{"line_number":49,"context_line":"We will use the existed column `online` of conductors to show enabled or"},{"line_number":50,"context_line":"disabled status of ironic conductor services. In order to tell admin why"},{"line_number":51,"context_line":"disable conductor services, we will also add a column `disabled_reason` to"},{"line_number":52,"context_line":"show the reason. And also add a new column `last_seen_up` to show the last"},{"line_number":53,"context_line":"heartbeat time of ironic conductor services. The combination of `online` and"},{"line_number":54,"context_line":"`last_seen_up` of conductors show the state of ironic conductor services."},{"line_number":55,"context_line":"The Data model is as follows."},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"Class defined::"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ff346bd7_5a49fbcd","line":54,"range":{"start_line":49,"start_character":0,"end_line":54,"end_character":73},"in_reply_to":"3f1d235d_5250f8d4","updated":"2017-07-26 06:14:18.000000000","message":"I meant to write it like below::\n  * online: \u003cdetails of this field\n  * last_seen_up: ...","commit_id":"60def55e8a05c1895408c713d2cb0922a8431b57"},{"author":{"_account_id":9610,"name":"Tao Li","email":"litao3721@126.com","username":"Litao"},"change_message_id":"e05d32f4c4b4a2d72a48983b84b841a7088f8675","unresolved":false,"context_lines":[{"line_number":46,"context_line":""},{"line_number":47,"context_line":"Data model impact"},{"line_number":48,"context_line":"-----------------"},{"line_number":49,"context_line":"We will use the existed column `online` of conductors to show enabled or"},{"line_number":50,"context_line":"disabled status of ironic conductor services. In order to tell admin why"},{"line_number":51,"context_line":"disable conductor services, we will also add a column `disabled_reason` to"},{"line_number":52,"context_line":"show the reason. And also add a new column `last_seen_up` to show the last"},{"line_number":53,"context_line":"heartbeat time of ironic conductor services. The combination of `online` and"},{"line_number":54,"context_line":"`last_seen_up` of conductors show the state of ironic conductor services."},{"line_number":55,"context_line":"The Data model is as follows."},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"Class defined::"}],"source_content_type":"text/x-rst","patch_set":6,"id":"3f1d235d_5250f8d4","line":54,"range":{"start_line":49,"start_character":0,"end_line":54,"end_character":73},"in_reply_to":"3f1d235d_fc3ae895","updated":"2017-07-10 06:15:46.000000000","message":"Sorry, I can\u0027t get your point. Can you show me more details?","commit_id":"60def55e8a05c1895408c713d2cb0922a8431b57"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"c869a076fdcbab4d9f89ab536a650e7361d4c7be","unresolved":false,"context_lines":[{"line_number":79,"context_line":""},{"line_number":80,"context_line":"REST API impact"},{"line_number":81,"context_line":"---------------"},{"line_number":82,"context_line":"Three new API endpoints are added. Both endpoints are admin only API. Also"},{"line_number":83,"context_line":"increment the API microversion."},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"* ``GET /v1/services``"}],"source_content_type":"text/x-rst","patch_set":6,"id":"3f1d235d_3cc5005c","line":82,"range":{"start_line":82,"start_character":35,"end_line":82,"end_character":39},"updated":"2017-07-04 05:30:55.000000000","message":"s/Both/All/","commit_id":"60def55e8a05c1895408c713d2cb0922a8431b57"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"c869a076fdcbab4d9f89ab536a650e7361d4c7be","unresolved":false,"context_lines":[{"line_number":79,"context_line":""},{"line_number":80,"context_line":"REST API impact"},{"line_number":81,"context_line":"---------------"},{"line_number":82,"context_line":"Three new API endpoints are added. Both endpoints are admin only API. Also"},{"line_number":83,"context_line":"increment the API microversion."},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"* ``GET /v1/services``"}],"source_content_type":"text/x-rst","patch_set":6,"id":"3f1d235d_5ccafc6c","line":82,"range":{"start_line":82,"start_character":23,"end_line":82,"end_character":27},"updated":"2017-07-04 05:30:55.000000000","message":"s/are/will be/","commit_id":"60def55e8a05c1895408c713d2cb0922a8431b57"},{"author":{"_account_id":9610,"name":"Tao Li","email":"litao3721@126.com","username":"Litao"},"change_message_id":"e05d32f4c4b4a2d72a48983b84b841a7088f8675","unresolved":false,"context_lines":[{"line_number":79,"context_line":""},{"line_number":80,"context_line":"REST API impact"},{"line_number":81,"context_line":"---------------"},{"line_number":82,"context_line":"Three new API endpoints are added. Both endpoints are admin only API. Also"},{"line_number":83,"context_line":"increment the API microversion."},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"* ``GET /v1/services``"}],"source_content_type":"text/x-rst","patch_set":6,"id":"3f1d235d_c1cf9cae","line":82,"range":{"start_line":82,"start_character":35,"end_line":82,"end_character":39},"in_reply_to":"3f1d235d_3cc5005c","updated":"2017-07-10 06:15:46.000000000","message":"Done","commit_id":"60def55e8a05c1895408c713d2cb0922a8431b57"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"c869a076fdcbab4d9f89ab536a650e7361d4c7be","unresolved":false,"context_lines":[{"line_number":86,"context_line":""},{"line_number":87,"context_line":"  Get the information of all ironic conductor services."},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"  Request: No body."},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"  Response: HTTP 200 with JSON body containing keys:"},{"line_number":92,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"3f1d235d_dcabac86","line":89,"range":{"start_line":89,"start_character":2,"end_line":89,"end_character":19},"updated":"2017-07-04 05:30:55.000000000","message":"I think we can add some filters like drivers, hostname.","commit_id":"60def55e8a05c1895408c713d2cb0922a8431b57"},{"author":{"_account_id":9610,"name":"Tao Li","email":"litao3721@126.com","username":"Litao"},"change_message_id":"e05d32f4c4b4a2d72a48983b84b841a7088f8675","unresolved":false,"context_lines":[{"line_number":86,"context_line":""},{"line_number":87,"context_line":"  Get the information of all ironic conductor services."},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"  Request: No body."},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"  Response: HTTP 200 with JSON body containing keys:"},{"line_number":92,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"3f1d235d_a18700b7","line":89,"range":{"start_line":89,"start_character":2,"end_line":89,"end_character":19},"in_reply_to":"3f1d235d_dcabac86","updated":"2017-07-10 06:15:46.000000000","message":"Yes, we can add driver,hostname filters currently.","commit_id":"60def55e8a05c1895408c713d2cb0922a8431b57"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"c869a076fdcbab4d9f89ab536a650e7361d4c7be","unresolved":false,"context_lines":[{"line_number":109,"context_line":""},{"line_number":110,"context_line":"  * 400 - bad request"},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"* ``POST /v1/services/\u003cID\u003e/enable``"},{"line_number":113,"context_line":""},{"line_number":114,"context_line":"  Enable an ironic conductor service."},{"line_number":115,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"3f1d235d_1c8b641f","line":112,"range":{"start_line":112,"start_character":4,"end_line":112,"end_character":8},"updated":"2017-07-04 05:30:55.000000000","message":"This should be PUT because we are updating an already existing entry.","commit_id":"60def55e8a05c1895408c713d2cb0922a8431b57"},{"author":{"_account_id":9610,"name":"Tao Li","email":"litao3721@126.com","username":"Litao"},"change_message_id":"e05d32f4c4b4a2d72a48983b84b841a7088f8675","unresolved":false,"context_lines":[{"line_number":109,"context_line":""},{"line_number":110,"context_line":"  * 400 - bad request"},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"* ``POST /v1/services/\u003cID\u003e/enable``"},{"line_number":113,"context_line":""},{"line_number":114,"context_line":"  Enable an ironic conductor service."},{"line_number":115,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"3f1d235d_e1ca989f","line":112,"range":{"start_line":112,"start_character":4,"end_line":112,"end_character":8},"in_reply_to":"3f1d235d_1c8b641f","updated":"2017-07-10 06:15:46.000000000","message":"Done","commit_id":"60def55e8a05c1895408c713d2cb0922a8431b57"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"c869a076fdcbab4d9f89ab536a650e7361d4c7be","unresolved":false,"context_lines":[{"line_number":127,"context_line":""},{"line_number":128,"context_line":"  * 404 - an ironic conductor service was not found."},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"* ``POST /v1/services/\u003cID\u003e/disable``"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"  Disable an ironic conductor service."},{"line_number":133,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"3f1d235d_fc8d4831","line":130,"range":{"start_line":130,"start_character":4,"end_line":130,"end_character":8},"updated":"2017-07-04 05:30:55.000000000","message":"ditto: PUT","commit_id":"60def55e8a05c1895408c713d2cb0922a8431b57"},{"author":{"_account_id":9610,"name":"Tao Li","email":"litao3721@126.com","username":"Litao"},"change_message_id":"e05d32f4c4b4a2d72a48983b84b841a7088f8675","unresolved":false,"context_lines":[{"line_number":127,"context_line":""},{"line_number":128,"context_line":"  * 404 - an ironic conductor service was not found."},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"* ``POST /v1/services/\u003cID\u003e/disable``"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"  Disable an ironic conductor service."},{"line_number":133,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"3f1d235d_21d1b058","line":130,"range":{"start_line":130,"start_character":4,"end_line":130,"end_character":8},"in_reply_to":"3f1d235d_fc8d4831","updated":"2017-07-10 06:15:46.000000000","message":"Done","commit_id":"60def55e8a05c1895408c713d2cb0922a8431b57"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"c9645c3b5a066557e5c8bfdd804c010bf51862e2","unresolved":false,"context_lines":[{"line_number":44,"context_line":""},{"line_number":45,"context_line":"Alternatives"},{"line_number":46,"context_line":"------------"},{"line_number":47,"context_line":"* Continue to not support ironic service management."},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"Data model impact"},{"line_number":50,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":8,"id":"1f1a1f67_e9f95380","line":47,"updated":"2017-07-13 10:15:41.000000000","message":"Alternatives are:\n1) use current driver list API endpoint https://developer.openstack.org/api-ref/baremetal/?expanded\u003dlist-drivers-detail\n2) use external process monitoring and management tools\n\nI\u0027m not sure that we should include solutions like (2) into ironic and think that more discussion is needed.","commit_id":"79dc2896a4cf66b88dbb95c8c482c1e8bc829646"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"9d73777e80dd7a4b817bb30582cb0b97e928859c","unresolved":false,"context_lines":[{"line_number":44,"context_line":""},{"line_number":45,"context_line":"Alternatives"},{"line_number":46,"context_line":"------------"},{"line_number":47,"context_line":"* Continue to not support ironic service management."},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"Data model impact"},{"line_number":50,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":8,"id":"ff346bd7_9ad08321","line":47,"in_reply_to":"1f1a1f67_e9f95380","updated":"2017-07-26 06:12:57.000000000","message":"I think adding option 2 is adding additional over head of installing and running these tools.\nSo I prefer to have option 1 as the only alternative.","commit_id":"79dc2896a4cf66b88dbb95c8c482c1e8bc829646"},{"author":{"_account_id":9610,"name":"Tao Li","email":"litao3721@126.com","username":"Litao"},"change_message_id":"0354dcc2bd63ed4078d9d0a57649f1bae1817f77","unresolved":false,"context_lines":[{"line_number":44,"context_line":""},{"line_number":45,"context_line":"Alternatives"},{"line_number":46,"context_line":"------------"},{"line_number":47,"context_line":"* Continue to not support ironic service management."},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"Data model impact"},{"line_number":50,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":8,"id":"ff346bd7_49c6d34a","line":47,"in_reply_to":"ff346bd7_9ad08321","updated":"2017-07-26 08:50:15.000000000","message":"Yes, I also think option 2 is complexity and out of ironic scope,so option 1 is a the best choice.","commit_id":"79dc2896a4cf66b88dbb95c8c482c1e8bc829646"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"9d73777e80dd7a4b817bb30582cb0b97e928859c","unresolved":false,"context_lines":[{"line_number":49,"context_line":"Data model impact"},{"line_number":50,"context_line":"-----------------"},{"line_number":51,"context_line":"We will use the existing column `online` of conductors to show enabled or"},{"line_number":52,"context_line":"disabled status of ironic-conductor services. In order to tell admin why"},{"line_number":53,"context_line":"disable ironic-conductor services, we will also add a column `disabled_reason`"},{"line_number":54,"context_line":"to show the reason. And also add a new column `last_seen_up` to show the last"},{"line_number":55,"context_line":"heartbeat time of ironic-conductor services. The combination of `online` and"},{"line_number":56,"context_line":"`last_seen_up` of conductors show the state of ironic-conductor services."}],"source_content_type":"text/x-rst","patch_set":8,"id":"ff346bd7_1a8b731f","line":53,"range":{"start_line":52,"start_character":68,"end_line":53,"end_character":33},"updated":"2017-07-26 06:12:57.000000000","message":"nit: change to:\n  the reason behind disabling the service","commit_id":"79dc2896a4cf66b88dbb95c8c482c1e8bc829646"},{"author":{"_account_id":9610,"name":"Tao Li","email":"litao3721@126.com","username":"Litao"},"change_message_id":"0354dcc2bd63ed4078d9d0a57649f1bae1817f77","unresolved":false,"context_lines":[{"line_number":49,"context_line":"Data model impact"},{"line_number":50,"context_line":"-----------------"},{"line_number":51,"context_line":"We will use the existing column `online` of conductors to show enabled or"},{"line_number":52,"context_line":"disabled status of ironic-conductor services. In order to tell admin why"},{"line_number":53,"context_line":"disable ironic-conductor services, we will also add a column `disabled_reason`"},{"line_number":54,"context_line":"to show the reason. And also add a new column `last_seen_up` to show the last"},{"line_number":55,"context_line":"heartbeat time of ironic-conductor services. The combination of `online` and"},{"line_number":56,"context_line":"`last_seen_up` of conductors show the state of ironic-conductor services."}],"source_content_type":"text/x-rst","patch_set":8,"id":"ff346bd7_e9a467bb","line":53,"range":{"start_line":52,"start_character":68,"end_line":53,"end_character":33},"in_reply_to":"ff346bd7_1a8b731f","updated":"2017-07-26 08:50:15.000000000","message":"Done","commit_id":"79dc2896a4cf66b88dbb95c8c482c1e8bc829646"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"9d73777e80dd7a4b817bb30582cb0b97e928859c","unresolved":false,"context_lines":[{"line_number":106,"context_line":""},{"line_number":107,"context_line":"  * ``id`` The id of an ironic-conductor service in database."},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"  * ``hostname`` The node in which an ironic-conductor service locates."},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"  * ``state`` The state of an ironic-conductor service. Its value is `up`"},{"line_number":112,"context_line":"    or `down`"}],"source_content_type":"text/x-rst","patch_set":8,"id":"ff346bd7_3aa87775","line":109,"range":{"start_line":109,"start_character":26,"end_line":109,"end_character":70},"updated":"2017-07-26 06:12:57.000000000","message":"nit: change to:\n  where ironic-conductor service is running.","commit_id":"79dc2896a4cf66b88dbb95c8c482c1e8bc829646"},{"author":{"_account_id":9610,"name":"Tao Li","email":"litao3721@126.com","username":"Litao"},"change_message_id":"0354dcc2bd63ed4078d9d0a57649f1bae1817f77","unresolved":false,"context_lines":[{"line_number":106,"context_line":""},{"line_number":107,"context_line":"  * ``id`` The id of an ironic-conductor service in database."},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"  * ``hostname`` The node in which an ironic-conductor service locates."},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"  * ``state`` The state of an ironic-conductor service. Its value is `up`"},{"line_number":112,"context_line":"    or `down`"}],"source_content_type":"text/x-rst","patch_set":8,"id":"ff346bd7_29c5cf5b","line":109,"range":{"start_line":109,"start_character":26,"end_line":109,"end_character":70},"in_reply_to":"ff346bd7_3aa87775","updated":"2017-07-26 08:50:15.000000000","message":"Done","commit_id":"79dc2896a4cf66b88dbb95c8c482c1e8bc829646"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"9d73777e80dd7a4b817bb30582cb0b97e928859c","unresolved":false,"context_lines":[{"line_number":117,"context_line":"  * ``last_seen_up`` The last heartbeat time of an ironic-conductor. If the"},{"line_number":118,"context_line":"    time keeps no change, the service is down."},{"line_number":119,"context_line":""},{"line_number":120,"context_line":"  * ``disabled_reason`` The reason why disable an ironic-conductor service."},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"  Error codes:"},{"line_number":123,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"ff346bd7_5a78db28","line":120,"range":{"start_line":120,"start_character":39,"end_line":120,"end_character":75},"updated":"2017-07-26 06:12:57.000000000","message":"nit: change to:\n  the service is disabled.","commit_id":"79dc2896a4cf66b88dbb95c8c482c1e8bc829646"},{"author":{"_account_id":9610,"name":"Tao Li","email":"litao3721@126.com","username":"Litao"},"change_message_id":"0354dcc2bd63ed4078d9d0a57649f1bae1817f77","unresolved":false,"context_lines":[{"line_number":117,"context_line":"  * ``last_seen_up`` The last heartbeat time of an ironic-conductor. If the"},{"line_number":118,"context_line":"    time keeps no change, the service is down."},{"line_number":119,"context_line":""},{"line_number":120,"context_line":"  * ``disabled_reason`` The reason why disable an ironic-conductor service."},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"  Error codes:"},{"line_number":123,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"ff346bd7_c9b643fb","line":120,"range":{"start_line":120,"start_character":39,"end_line":120,"end_character":75},"in_reply_to":"ff346bd7_5a78db28","updated":"2017-07-26 08:50:15.000000000","message":"Done","commit_id":"79dc2896a4cf66b88dbb95c8c482c1e8bc829646"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"9d73777e80dd7a4b817bb30582cb0b97e928859c","unresolved":false,"context_lines":[{"line_number":131,"context_line":""},{"line_number":132,"context_line":"  Response: HTTP 200 with JSON body containing keys:"},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"  * ``hostname`` The node in which an ironic-conductor service locates."},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"  * ``status`` The status of an ironic-conductor service."},{"line_number":137,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"ff346bd7_5ac69b4a","line":134,"range":{"start_line":134,"start_character":26,"end_line":134,"end_character":70},"updated":"2017-07-26 06:12:57.000000000","message":"ditto","commit_id":"79dc2896a4cf66b88dbb95c8c482c1e8bc829646"},{"author":{"_account_id":9610,"name":"Tao Li","email":"litao3721@126.com","username":"Litao"},"change_message_id":"0354dcc2bd63ed4078d9d0a57649f1bae1817f77","unresolved":false,"context_lines":[{"line_number":131,"context_line":""},{"line_number":132,"context_line":"  Response: HTTP 200 with JSON body containing keys:"},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"  * ``hostname`` The node in which an ironic-conductor service locates."},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"  * ``status`` The status of an ironic-conductor service."},{"line_number":137,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"ff346bd7_09bd6bd7","line":134,"range":{"start_line":134,"start_character":26,"end_line":134,"end_character":70},"in_reply_to":"ff346bd7_5ac69b4a","updated":"2017-07-26 08:50:15.000000000","message":"Done","commit_id":"79dc2896a4cf66b88dbb95c8c482c1e8bc829646"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"9d73777e80dd7a4b817bb30582cb0b97e928859c","unresolved":false,"context_lines":[{"line_number":153,"context_line":""},{"line_number":154,"context_line":"  Response: HTTP 200 with JSON body containing keys:"},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"  * ``hostname`` The node in which an ironic-conductor service locates."},{"line_number":157,"context_line":""},{"line_number":158,"context_line":"  * ``status`` The status of an ironic-conductor service."},{"line_number":159,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"ff346bd7_fae0afce","line":156,"range":{"start_line":156,"start_character":26,"end_line":156,"end_character":70},"updated":"2017-07-26 06:12:57.000000000","message":"ditto","commit_id":"79dc2896a4cf66b88dbb95c8c482c1e8bc829646"},{"author":{"_account_id":9610,"name":"Tao Li","email":"litao3721@126.com","username":"Litao"},"change_message_id":"0354dcc2bd63ed4078d9d0a57649f1bae1817f77","unresolved":false,"context_lines":[{"line_number":153,"context_line":""},{"line_number":154,"context_line":"  Response: HTTP 200 with JSON body containing keys:"},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"  * ``hostname`` The node in which an ironic-conductor service locates."},{"line_number":157,"context_line":""},{"line_number":158,"context_line":"  * ``status`` The status of an ironic-conductor service."},{"line_number":159,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"ff346bd7_49f133cd","line":156,"range":{"start_line":156,"start_character":26,"end_line":156,"end_character":70},"in_reply_to":"ff346bd7_fae0afce","updated":"2017-07-26 08:50:15.000000000","message":"Done","commit_id":"79dc2896a4cf66b88dbb95c8c482c1e8bc829646"},{"author":{"_account_id":23630,"name":"Tovin Seven","email":"tovin07@gmail.com","username":"tovin07"},"change_message_id":"60ae14e1792946612327e7ba5a789d695f2b5114","unresolved":false,"context_lines":[{"line_number":61,"context_line":"* ``disabled_reason``: It is a new column of conductors. It tells admin the"},{"line_number":62,"context_line":"  reason behind disabling the service."},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"At last, The combination of `online` and `last_seen_up` of conductors shows the"},{"line_number":65,"context_line":"state of ironic-conductor services."},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"Class defined::"}],"source_content_type":"text/x-rst","patch_set":13,"id":"df3967d1_d83dce2b","line":64,"range":{"start_line":64,"start_character":9,"end_line":64,"end_character":10},"updated":"2017-08-03 09:51:20.000000000","message":"t","commit_id":"8aa8798ebae1435b56dbf74f14ce328b4f4a80ab"},{"author":{"_account_id":9610,"name":"Tao Li","email":"litao3721@126.com","username":"Litao"},"change_message_id":"9fef44bca9737bd329d366be5706b6f56cd857e0","unresolved":false,"context_lines":[{"line_number":61,"context_line":"* ``disabled_reason``: It is a new column of conductors. It tells admin the"},{"line_number":62,"context_line":"  reason behind disabling the service."},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"At last, The combination of `online` and `last_seen_up` of conductors shows the"},{"line_number":65,"context_line":"state of ironic-conductor services."},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"Class defined::"}],"source_content_type":"text/x-rst","patch_set":13,"id":"df3967d1_3f494530","line":64,"range":{"start_line":64,"start_character":9,"end_line":64,"end_character":10},"in_reply_to":"df3967d1_d83dce2b","updated":"2017-09-27 08:45:17.000000000","message":"Done","commit_id":"8aa8798ebae1435b56dbf74f14ce328b4f4a80ab"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"6e3bc35657d963c80deead8afeb7aa32f7004f39","unresolved":false,"context_lines":[{"line_number":20,"context_line":"Problem description"},{"line_number":21,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"Currently Ironic does not implement the service management. Therefore, admin"},{"line_number":24,"context_line":"can\u0027t figure out the issue quickly when some ironic-conductor service is down."},{"line_number":25,"context_line":"If a node where ironic-conductor service is running needs to be shut down for"},{"line_number":26,"context_line":"maintenance purpose in situations like tftp server is not running etc, there is"}],"source_content_type":"text/x-rst","patch_set":14,"id":"7f287b81_d87ba578","line":23,"range":{"start_line":23,"start_character":36,"end_line":23,"end_character":58},"updated":"2017-08-26 12:29:53.000000000","message":"What exactly is \"the service management\" intended to represent?  Is service management a standard? Has it been implemented elsewhere in openstack?","commit_id":"9bed72f3ef9ef72594fea68e2f576f8dd7be0947"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"37b3e7c260a19debaf0e350202079ebbef835892","unresolved":false,"context_lines":[{"line_number":20,"context_line":"Problem description"},{"line_number":21,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"Currently Ironic does not implement the service management. Therefore, admin"},{"line_number":24,"context_line":"can\u0027t figure out the issue quickly when some ironic-conductor service is down."},{"line_number":25,"context_line":"If a node where ironic-conductor service is running needs to be shut down for"},{"line_number":26,"context_line":"maintenance purpose in situations like tftp server is not running etc, there is"}],"source_content_type":"text/x-rst","patch_set":14,"id":"7f287b81_13eb24dc","line":23,"range":{"start_line":23,"start_character":36,"end_line":23,"end_character":58},"in_reply_to":"7f287b81_d87ba578","updated":"2017-08-29 06:50:14.000000000","message":"The service management here means managing the ironic-conductor services. This term is not general across OpenStack but other projects have implemented the API for managing their services.","commit_id":"9bed72f3ef9ef72594fea68e2f576f8dd7be0947"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"6e3bc35657d963c80deead8afeb7aa32f7004f39","unresolved":false,"context_lines":[{"line_number":21,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"Currently Ironic does not implement the service management. Therefore, admin"},{"line_number":24,"context_line":"can\u0027t figure out the issue quickly when some ironic-conductor service is down."},{"line_number":25,"context_line":"If a node where ironic-conductor service is running needs to be shut down for"},{"line_number":26,"context_line":"maintenance purpose in situations like tftp server is not running etc, there is"},{"line_number":27,"context_line":"no way to prevent message to be sent to this node."}],"source_content_type":"text/x-rst","patch_set":14,"id":"7f287b81_98999dc5","line":24,"range":{"start_line":24,"start_character":6,"end_line":24,"end_character":78},"updated":"2017-08-26 12:29:53.000000000","message":"I\u0027m not sure this really makes sense, considering ironic\u0027s model is that any ironic-conductors should be capable of managing any node.","commit_id":"9bed72f3ef9ef72594fea68e2f576f8dd7be0947"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"37b3e7c260a19debaf0e350202079ebbef835892","unresolved":false,"context_lines":[{"line_number":21,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"Currently Ironic does not implement the service management. Therefore, admin"},{"line_number":24,"context_line":"can\u0027t figure out the issue quickly when some ironic-conductor service is down."},{"line_number":25,"context_line":"If a node where ironic-conductor service is running needs to be shut down for"},{"line_number":26,"context_line":"maintenance purpose in situations like tftp server is not running etc, there is"},{"line_number":27,"context_line":"no way to prevent message to be sent to this node."}],"source_content_type":"text/x-rst","patch_set":14,"id":"7f287b81_f3a2d8ad","line":24,"range":{"start_line":24,"start_character":6,"end_line":24,"end_character":78},"in_reply_to":"7f287b81_98999dc5","updated":"2017-08-29 06:50:14.000000000","message":"There are requirements where admins would want to check the status of ironic-conductor and also enable, disable it for maintenance purpose etc.","commit_id":"9bed72f3ef9ef72594fea68e2f576f8dd7be0947"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"6e3bc35657d963c80deead8afeb7aa32f7004f39","unresolved":false,"context_lines":[{"line_number":23,"context_line":"Currently Ironic does not implement the service management. Therefore, admin"},{"line_number":24,"context_line":"can\u0027t figure out the issue quickly when some ironic-conductor service is down."},{"line_number":25,"context_line":"If a node where ironic-conductor service is running needs to be shut down for"},{"line_number":26,"context_line":"maintenance purpose in situations like tftp server is not running etc, there is"},{"line_number":27,"context_line":"no way to prevent message to be sent to this node."},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"Proposed change"}],"source_content_type":"text/x-rst","patch_set":14,"id":"7f287b81_18eb6d13","line":26,"range":{"start_line":26,"start_character":34,"end_line":26,"end_character":68},"updated":"2017-08-26 12:29:53.000000000","message":"This seems like ironic needs some sanity check code for upon node start-up, however the TFTP server might not be local to the conductor (Yes, this can actually be done, if the deployment is ipxe based).","commit_id":"9bed72f3ef9ef72594fea68e2f576f8dd7be0947"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"37b3e7c260a19debaf0e350202079ebbef835892","unresolved":false,"context_lines":[{"line_number":23,"context_line":"Currently Ironic does not implement the service management. Therefore, admin"},{"line_number":24,"context_line":"can\u0027t figure out the issue quickly when some ironic-conductor service is down."},{"line_number":25,"context_line":"If a node where ironic-conductor service is running needs to be shut down for"},{"line_number":26,"context_line":"maintenance purpose in situations like tftp server is not running etc, there is"},{"line_number":27,"context_line":"no way to prevent message to be sent to this node."},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"Proposed change"}],"source_content_type":"text/x-rst","patch_set":14,"id":"7f287b81_339ce068","line":26,"range":{"start_line":26,"start_character":34,"end_line":26,"end_character":68},"in_reply_to":"7f287b81_18eb6d13","updated":"2017-08-29 06:50:14.000000000","message":"This can be the case after ironic-conductor started, the TFTP server went down after that due to any reason.","commit_id":"9bed72f3ef9ef72594fea68e2f576f8dd7be0947"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"6e3bc35657d963c80deead8afeb7aa32f7004f39","unresolved":false,"context_lines":[{"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"},{"line_number":31,"context_line":"* Create new API endpoints to get status of ironic-conductor services and"},{"line_number":32,"context_line":"  disable or enable them - see `REST API impact` for details."},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"* API client update to provide CLI interface to invoke this feature - see"},{"line_number":35,"context_line":"  `Client (CLI) impact`_ for details."}],"source_content_type":"text/x-rst","patch_set":14,"id":"7f287b81_d8f04500","line":32,"range":{"start_line":31,"start_character":2,"end_line":32,"end_character":61},"updated":"2017-08-26 12:29:53.000000000","message":"This means ironic would also be responsible for managing the node. I feel like that is the role of an operator\u0027s configuration management and monitoring systems, both of which are out of ironic\u0027s scope.","commit_id":"9bed72f3ef9ef72594fea68e2f576f8dd7be0947"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"37b3e7c260a19debaf0e350202079ebbef835892","unresolved":false,"context_lines":[{"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"},{"line_number":31,"context_line":"* Create new API endpoints to get status of ironic-conductor services and"},{"line_number":32,"context_line":"  disable or enable them - see `REST API impact` for details."},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"* API client update to provide CLI interface to invoke this feature - see"},{"line_number":35,"context_line":"  `Client (CLI) impact`_ for details."}],"source_content_type":"text/x-rst","patch_set":14,"id":"7f287b81_13a7a4a9","line":32,"range":{"start_line":31,"start_character":2,"end_line":32,"end_character":61},"in_reply_to":"7f287b81_d8f04500","updated":"2017-08-29 06:50:14.000000000","message":"@Julia, this means to just manage the ironic-conductor binary, not node in overall. Let us know if more information is required in the spec.","commit_id":"9bed72f3ef9ef72594fea68e2f576f8dd7be0947"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"e77ef85ce28baff146e61b55ebf1fd56a68101e5","unresolved":false,"context_lines":[{"line_number":64,"context_line":"At last, the combination of `online` and `last_seen_up` of conductors shows the"},{"line_number":65,"context_line":"state of ironic-conductor services."},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"Class defined::"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"    class Conductor(Base):"},{"line_number":70,"context_line":"        __tablename__ \u003d \u0027conductors\u0027"}],"source_content_type":"text/x-rst","patch_set":14,"id":"df3967d1_83b57380","line":67,"updated":"2017-08-04 09:49:59.000000000","message":"nit: use \".. code-block:: python\" or other appropriate language directive in code/json/bash/console etc examples.","commit_id":"9bed72f3ef9ef72594fea68e2f576f8dd7be0947"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"b69c95227b4ceb79f5eda9fca25d385165482695","unresolved":false,"context_lines":[{"line_number":64,"context_line":"At last, the combination of `online` and `last_seen_up` of conductors shows the"},{"line_number":65,"context_line":"state of ironic-conductor services."},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"Class defined::"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"    class Conductor(Base):"},{"line_number":70,"context_line":"        __tablename__ \u003d \u0027conductors\u0027"}],"source_content_type":"text/x-rst","patch_set":14,"id":"7f287b81_134324b1","line":67,"in_reply_to":"df3967d1_83b57380","updated":"2017-08-29 06:58:20.000000000","message":"Done","commit_id":"9bed72f3ef9ef72594fea68e2f576f8dd7be0947"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"e77ef85ce28baff146e61b55ebf1fd56a68101e5","unresolved":false,"context_lines":[{"line_number":95,"context_line":"* ``GET /v1/services``"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"  Get the information of all ironic-conductor services. This API supports some"},{"line_number":98,"context_line":"  filters. The supported filters are hostname and drivers."},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"  Request:"},{"line_number":101,"context_line":"  * Example one::"}],"source_content_type":"text/x-rst","patch_set":14,"id":"df3967d1_03574328","line":98,"range":{"start_line":98,"start_character":11,"end_line":98,"end_character":57},"updated":"2017-08-04 09:49:59.000000000","message":"I\u0027d also pretty much like to see the conductor affinity of nodes somehow exposed by this new interface to be able to find which conductor host is managing given node.","commit_id":"9bed72f3ef9ef72594fea68e2f576f8dd7be0947"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"37b3e7c260a19debaf0e350202079ebbef835892","unresolved":false,"context_lines":[{"line_number":95,"context_line":"* ``GET /v1/services``"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"  Get the information of all ironic-conductor services. This API supports some"},{"line_number":98,"context_line":"  filters. The supported filters are hostname and drivers."},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"  Request:"},{"line_number":101,"context_line":"  * Example one::"}],"source_content_type":"text/x-rst","patch_set":14,"id":"7f287b81_33c3c03a","line":98,"range":{"start_line":98,"start_character":11,"end_line":98,"end_character":57},"in_reply_to":"df3967d1_03574328","updated":"2017-08-29 06:50:14.000000000","message":"+1","commit_id":"9bed72f3ef9ef72594fea68e2f576f8dd7be0947"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"e77ef85ce28baff146e61b55ebf1fd56a68101e5","unresolved":false,"context_lines":[{"line_number":171,"context_line":""},{"line_number":172,"context_line":"  * 404 - an ironic-conductor service was not found."},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"A new API microversion will be introduced to cover both endpoints."},{"line_number":175,"context_line":""},{"line_number":176,"context_line":"Client (CLI) impact"},{"line_number":177,"context_line":"-------------------"}],"source_content_type":"text/x-rst","patch_set":14,"id":"df3967d1_836a13ea","line":174,"range":{"start_line":174,"start_character":51,"end_line":174,"end_character":55},"updated":"2017-08-04 09:49:59.000000000","message":"\"these\", as there are 3","commit_id":"9bed72f3ef9ef72594fea68e2f576f8dd7be0947"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"b69c95227b4ceb79f5eda9fca25d385165482695","unresolved":false,"context_lines":[{"line_number":171,"context_line":""},{"line_number":172,"context_line":"  * 404 - an ironic-conductor service was not found."},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"A new API microversion will be introduced to cover both endpoints."},{"line_number":175,"context_line":""},{"line_number":176,"context_line":"Client (CLI) impact"},{"line_number":177,"context_line":"-------------------"}],"source_content_type":"text/x-rst","patch_set":14,"id":"7f287b81_d31a3cca","line":174,"range":{"start_line":174,"start_character":51,"end_line":174,"end_character":55},"in_reply_to":"df3967d1_836a13ea","updated":"2017-08-29 06:58:20.000000000","message":"Done","commit_id":"9bed72f3ef9ef72594fea68e2f576f8dd7be0947"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"e77ef85ce28baff146e61b55ebf1fd56a68101e5","unresolved":false,"context_lines":[{"line_number":175,"context_line":""},{"line_number":176,"context_line":"Client (CLI) impact"},{"line_number":177,"context_line":"-------------------"},{"line_number":178,"context_line":"Support for the new verbs \"service-enable\" and \"service-disable\" must be added"},{"line_number":179,"context_line":"to the client. And also add new verb \"service-list\" to get ironic-conductor"},{"line_number":180,"context_line":"services."},{"line_number":181,"context_line":""},{"line_number":182,"context_line":"RPC API impact"},{"line_number":183,"context_line":"--------------"}],"source_content_type":"text/x-rst","patch_set":14,"id":"df3967d1_2375a7cb","line":180,"range":{"start_line":178,"start_character":0,"end_line":180,"end_character":9},"updated":"2017-08-04 09:49:59.000000000","message":"I\u0027d prefer to add those to OSC plugin only","commit_id":"9bed72f3ef9ef72594fea68e2f576f8dd7be0947"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"b69c95227b4ceb79f5eda9fca25d385165482695","unresolved":false,"context_lines":[{"line_number":175,"context_line":""},{"line_number":176,"context_line":"Client (CLI) impact"},{"line_number":177,"context_line":"-------------------"},{"line_number":178,"context_line":"Support for the new verbs \"service-enable\" and \"service-disable\" must be added"},{"line_number":179,"context_line":"to the client. And also add new verb \"service-list\" to get ironic-conductor"},{"line_number":180,"context_line":"services."},{"line_number":181,"context_line":""},{"line_number":182,"context_line":"RPC API impact"},{"line_number":183,"context_line":"--------------"}],"source_content_type":"text/x-rst","patch_set":14,"id":"7f287b81_131c44bf","line":180,"range":{"start_line":178,"start_character":0,"end_line":180,"end_character":9},"in_reply_to":"7f287b81_b3e450e1","updated":"2017-08-29 06:58:20.000000000","message":"Done","commit_id":"9bed72f3ef9ef72594fea68e2f576f8dd7be0947"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"37b3e7c260a19debaf0e350202079ebbef835892","unresolved":false,"context_lines":[{"line_number":175,"context_line":""},{"line_number":176,"context_line":"Client (CLI) impact"},{"line_number":177,"context_line":"-------------------"},{"line_number":178,"context_line":"Support for the new verbs \"service-enable\" and \"service-disable\" must be added"},{"line_number":179,"context_line":"to the client. And also add new verb \"service-list\" to get ironic-conductor"},{"line_number":180,"context_line":"services."},{"line_number":181,"context_line":""},{"line_number":182,"context_line":"RPC API impact"},{"line_number":183,"context_line":"--------------"}],"source_content_type":"text/x-rst","patch_set":14,"id":"7f287b81_b3e450e1","line":180,"range":{"start_line":178,"start_character":0,"end_line":180,"end_character":9},"in_reply_to":"df3967d1_2375a7cb","updated":"2017-08-29 06:50:14.000000000","message":"Ok we will mention in next patch set.","commit_id":"9bed72f3ef9ef72594fea68e2f576f8dd7be0947"},{"author":{"_account_id":18777,"name":"Jinxing Fang","email":"fang.jinxing@99cloud.net","username":"jinxingfang"},"change_message_id":"8dfe1f2dff46e22566b9a73b444bf1bacd121889","unresolved":false,"context_lines":[{"line_number":81,"context_line":"        disabled_reason \u003d Column(String(255))"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"So the new API endpoints will retrieve data in conductors and return them to"},{"line_number":84,"context_line":"admin. And also enable or disable ironic-conductor services with reasons."},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"State Machine Impact"},{"line_number":87,"context_line":"--------------------"}],"source_content_type":"text/x-rst","patch_set":15,"id":"5f2577a7_4761db04","line":84,"range":{"start_line":84,"start_character":16,"end_line":84,"end_character":72},"updated":"2017-09-18 08:19:38.000000000","message":"Hi, Tao Li:\nIf a bare metal had been enrolled into the ironic-conductor, and someone disabled the ironic-conductor, what will happened to the bare metal? will It still be synced to nova? or the bare metal will be managed by other ironic-conductor?\n\nAnd I am also very interesting in the patch? Could you assign some work to me?","commit_id":"f152eeecd0aedf72c13f3fcb6fdb9b30ef025e07"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"09de60a6ca5dd646b08e10aa799740475b28b31b","unresolved":false,"context_lines":[{"line_number":81,"context_line":"        disabled_reason \u003d Column(String(255))"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"So the new API endpoints will retrieve data in conductors and return them to"},{"line_number":84,"context_line":"admin. And also enable or disable ironic-conductor services with reasons."},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"State Machine Impact"},{"line_number":87,"context_line":"--------------------"}],"source_content_type":"text/x-rst","patch_set":15,"id":"ff5d4b2f_1124ebc5","line":84,"range":{"start_line":84,"start_character":16,"end_line":84,"end_character":72},"in_reply_to":"5f2577a7_4761db04","updated":"2017-09-19 10:35:45.000000000","message":"No, the bare metal will not be synced to Nova until the conductor is enabled again.","commit_id":"f152eeecd0aedf72c13f3fcb6fdb9b30ef025e07"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"e7fd6894cb9d35f08874bb53c4653a79622944e5","unresolved":false,"context_lines":[{"line_number":81,"context_line":"        disabled_reason \u003d Column(String(255))"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"So the new API endpoints will retrieve data in conductors and return them to"},{"line_number":84,"context_line":"admin. And also enable or disable ironic-conductor services with reasons."},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"State Machine Impact"},{"line_number":87,"context_line":"--------------------"}],"source_content_type":"text/x-rst","patch_set":15,"id":"7f515b1d_b36fdffa","line":84,"range":{"start_line":84,"start_character":16,"end_line":84,"end_character":72},"in_reply_to":"7f515b1d_40ba0f0a","updated":"2017-09-27 09:44:26.000000000","message":"Thanks Tao for this information. I haven\u0027t checked the disable/enable part yet. I saw Nova\u0027s code, it does not do anything else than changing status in DB. My patch contains on get_all method. I will investigate on the other APIs.","commit_id":"f152eeecd0aedf72c13f3fcb6fdb9b30ef025e07"},{"author":{"_account_id":9610,"name":"Tao Li","email":"litao3721@126.com","username":"Litao"},"change_message_id":"75ec2192bfe70da728564ed48caa072078d2d76a","unresolved":false,"context_lines":[{"line_number":81,"context_line":"        disabled_reason \u003d Column(String(255))"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"So the new API endpoints will retrieve data in conductors and return them to"},{"line_number":84,"context_line":"admin. And also enable or disable ironic-conductor services with reasons."},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"State Machine Impact"},{"line_number":87,"context_line":"--------------------"}],"source_content_type":"text/x-rst","patch_set":15,"id":"5f4e5783_687b977a","line":84,"range":{"start_line":84,"start_character":16,"end_line":84,"end_character":72},"in_reply_to":"7f515b1d_b36fdffa","updated":"2017-10-16 02:13:18.000000000","message":"Yes,It mainly used to schedule the instance for enabling or disabling nova-compute in nova, so just update database is ok. After the spec is finished, we can assign the work to\neveryone.","commit_id":"f152eeecd0aedf72c13f3fcb6fdb9b30ef025e07"},{"author":{"_account_id":9610,"name":"Tao Li","email":"litao3721@126.com","username":"Litao"},"change_message_id":"9fef44bca9737bd329d366be5706b6f56cd857e0","unresolved":false,"context_lines":[{"line_number":81,"context_line":"        disabled_reason \u003d Column(String(255))"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"So the new API endpoints will retrieve data in conductors and return them to"},{"line_number":84,"context_line":"admin. And also enable or disable ironic-conductor services with reasons."},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"State Machine Impact"},{"line_number":87,"context_line":"--------------------"}],"source_content_type":"text/x-rst","patch_set":15,"id":"7f515b1d_40ba0f0a","line":84,"range":{"start_line":84,"start_character":16,"end_line":84,"end_character":72},"in_reply_to":"ff5d4b2f_1124ebc5","updated":"2017-09-27 08:45:17.000000000","message":"Hi Jinxing,IMO, nova will get a node information from ironic. Ironic doesn\u0027t sync something to nova.So I guess you mean whether to do lifecycle operations when the ironic-conductor service that hosts the node is disabled.I noticed that ironic could set how many ironic-conductors host a node using parameter hash_distribution_replicas.If we set hash_distribution_replicas to 3, the other two ironic-conductor will still host the node when we disable one ironic-conductor.What do you think? Madhuri Kumari.\nIn fact, Madhuri Kumari has committed a patch, I don\u0027t know whether Madhuri Kumari will continue it.","commit_id":"f152eeecd0aedf72c13f3fcb6fdb9b30ef025e07"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"c62e508bb3d02862f7d4e0a9da057fa35fb40cca","unresolved":false,"context_lines":[{"line_number":133,"context_line":""},{"line_number":134,"context_line":"* ``PUT /v1/services/\u003cID\u003e/enable``"},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"  Enable an ironic-conductor service."},{"line_number":137,"context_line":""},{"line_number":138,"context_line":"  Request: no body."},{"line_number":139,"context_line":""}],"source_content_type":"text/x-rst","patch_set":15,"id":"5f2577a7_cc85f05b","line":136,"range":{"start_line":136,"start_character":2,"end_line":136,"end_character":37},"updated":"2017-09-18 06:19:57.000000000","message":"Can you elaborate on the detailed list of steps that would be performed by the API upon getting enable/disable request.","commit_id":"f152eeecd0aedf72c13f3fcb6fdb9b30ef025e07"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"09de60a6ca5dd646b08e10aa799740475b28b31b","unresolved":false,"context_lines":[{"line_number":133,"context_line":""},{"line_number":134,"context_line":"* ``PUT /v1/services/\u003cID\u003e/enable``"},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"  Enable an ironic-conductor service."},{"line_number":137,"context_line":""},{"line_number":138,"context_line":"  Request: no body."},{"line_number":139,"context_line":""}],"source_content_type":"text/x-rst","patch_set":15,"id":"ff5d4b2f_545931fc","line":136,"range":{"start_line":136,"start_character":2,"end_line":136,"end_character":37},"in_reply_to":"5f2577a7_cc85f05b","updated":"2017-09-19 10:35:45.000000000","message":"Done","commit_id":"f152eeecd0aedf72c13f3fcb6fdb9b30ef025e07"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"c62e508bb3d02862f7d4e0a9da057fa35fb40cca","unresolved":false,"context_lines":[{"line_number":137,"context_line":""},{"line_number":138,"context_line":"  Request: no body."},{"line_number":139,"context_line":""},{"line_number":140,"context_line":"  Response: HTTP 200 with JSON body containing keys:"},{"line_number":141,"context_line":""},{"line_number":142,"context_line":"  * ``hostname`` The node where ironic-conductor service is running."},{"line_number":143,"context_line":""}],"source_content_type":"text/x-rst","patch_set":15,"id":"5f2577a7_6cf5dcec","line":140,"range":{"start_line":140,"start_character":2,"end_line":140,"end_character":52},"updated":"2017-09-18 06:19:57.000000000","message":"Is it a synchronous call?","commit_id":"f152eeecd0aedf72c13f3fcb6fdb9b30ef025e07"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"09de60a6ca5dd646b08e10aa799740475b28b31b","unresolved":false,"context_lines":[{"line_number":137,"context_line":""},{"line_number":138,"context_line":"  Request: no body."},{"line_number":139,"context_line":""},{"line_number":140,"context_line":"  Response: HTTP 200 with JSON body containing keys:"},{"line_number":141,"context_line":""},{"line_number":142,"context_line":"  * ``hostname`` The node where ironic-conductor service is running."},{"line_number":143,"context_line":""}],"source_content_type":"text/x-rst","patch_set":15,"id":"ff5d4b2f_345ebde6","line":140,"range":{"start_line":140,"start_character":2,"end_line":140,"end_character":52},"in_reply_to":"5f2577a7_6cf5dcec","updated":"2017-09-19 10:35:45.000000000","message":"Synchronous call","commit_id":"f152eeecd0aedf72c13f3fcb6fdb9b30ef025e07"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"c62e508bb3d02862f7d4e0a9da057fa35fb40cca","unresolved":false,"context_lines":[{"line_number":151,"context_line":""},{"line_number":152,"context_line":"* ``PUT /v1/services/\u003cID\u003e/disable``"},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"  Disable an ironic-conductor service."},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"  Request::"},{"line_number":157,"context_line":""}],"source_content_type":"text/x-rst","patch_set":15,"id":"5f2577a7_ac8aa466","line":154,"range":{"start_line":154,"start_character":2,"end_line":154,"end_character":38},"updated":"2017-09-18 06:19:57.000000000","message":"ditto.","commit_id":"f152eeecd0aedf72c13f3fcb6fdb9b30ef025e07"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"09de60a6ca5dd646b08e10aa799740475b28b31b","unresolved":false,"context_lines":[{"line_number":151,"context_line":""},{"line_number":152,"context_line":"* ``PUT /v1/services/\u003cID\u003e/disable``"},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"  Disable an ironic-conductor service."},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"  Request::"},{"line_number":157,"context_line":""}],"source_content_type":"text/x-rst","patch_set":15,"id":"ff5d4b2f_f46f0590","line":154,"range":{"start_line":154,"start_character":2,"end_line":154,"end_character":38},"in_reply_to":"5f2577a7_ac8aa466","updated":"2017-09-19 10:35:45.000000000","message":"Done","commit_id":"f152eeecd0aedf72c13f3fcb6fdb9b30ef025e07"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"c62e508bb3d02862f7d4e0a9da057fa35fb40cca","unresolved":false,"context_lines":[{"line_number":159,"context_line":"          \"reason\": \"Disable it for maintenance\""},{"line_number":160,"context_line":"      }"},{"line_number":161,"context_line":""},{"line_number":162,"context_line":"  Response: HTTP 200 with JSON body containing keys:"},{"line_number":163,"context_line":""},{"line_number":164,"context_line":"  * ``hostname`` The node where ironic-conductor service is running."},{"line_number":165,"context_line":""}],"source_content_type":"text/x-rst","patch_set":15,"id":"5f2577a7_4cdea06d","line":162,"range":{"start_line":162,"start_character":2,"end_line":162,"end_character":52},"updated":"2017-09-18 06:19:57.000000000","message":"Is it a synchronous call?","commit_id":"f152eeecd0aedf72c13f3fcb6fdb9b30ef025e07"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"09de60a6ca5dd646b08e10aa799740475b28b31b","unresolved":false,"context_lines":[{"line_number":159,"context_line":"          \"reason\": \"Disable it for maintenance\""},{"line_number":160,"context_line":"      }"},{"line_number":161,"context_line":""},{"line_number":162,"context_line":"  Response: HTTP 200 with JSON body containing keys:"},{"line_number":163,"context_line":""},{"line_number":164,"context_line":"  * ``hostname`` The node where ironic-conductor service is running."},{"line_number":165,"context_line":""}],"source_content_type":"text/x-rst","patch_set":15,"id":"ff5d4b2f_14f859c2","line":162,"range":{"start_line":162,"start_character":2,"end_line":162,"end_character":52},"in_reply_to":"5f2577a7_4cdea06d","updated":"2017-09-19 10:35:45.000000000","message":"synchronous","commit_id":"f152eeecd0aedf72c13f3fcb6fdb9b30ef025e07"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"ab0c67266933bbb11209246b14249be0db7afa46","unresolved":false,"context_lines":[{"line_number":39,"context_line":"* Create a new periodic task or use the existing function"},{"line_number":40,"context_line":"  `_conductor_service_record_keepalive` to update `last_seen_up` column"},{"line_number":41,"context_line":"  instead of `updated-at` to display the heartbeat of ironic-conductor service."},{"line_number":42,"context_line":"  The `updated_at` just only records other database operation except"},{"line_number":43,"context_line":"  heartbeat report."},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"Alternatives"},{"line_number":46,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f4b6375_0e05d3c2","line":43,"range":{"start_line":42,"start_character":2,"end_line":43,"end_character":19},"updated":"2017-10-19 06:49:38.000000000","message":"It confuses me because this field is updated on every heartbeat, if it\u0027s a behavior after the feature is merged, please use future tense.\nMy concern here is rolling upgrades, we may have conductors running at different versions. IMO we can use the existing field updated_at.","commit_id":"a797925c83381b42171eace4706e9a6615874d14"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"b7b94177ab6ad2526bb42f2967ce3e4066a3be07","unresolved":false,"context_lines":[{"line_number":39,"context_line":"* Create a new periodic task or use the existing function"},{"line_number":40,"context_line":"  `_conductor_service_record_keepalive` to update `last_seen_up` column"},{"line_number":41,"context_line":"  instead of `updated-at` to display the heartbeat of ironic-conductor service."},{"line_number":42,"context_line":"  The `updated_at` just only records other database operation except"},{"line_number":43,"context_line":"  heartbeat report."},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"Alternatives"},{"line_number":46,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":16,"id":"ff82abbf_bf063020","line":43,"range":{"start_line":42,"start_character":2,"end_line":43,"end_character":19},"in_reply_to":"3f4b6375_0e05d3c2","updated":"2017-11-20 11:58:45.000000000","message":"The proposal here is to remove the \"updated_at\" column and add a new column \"last_seen_up\" that is updated on every heartbeat.\nI am not sure about the rolling upgrade. Is the \"updated_at\" required for it? If so, I will add update the spec.","commit_id":"a797925c83381b42171eace4706e9a6615874d14"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"a7188a02b15b49b148bb28930382876c36987580","unresolved":false,"context_lines":[{"line_number":39,"context_line":"* Create a new periodic task or use the existing function"},{"line_number":40,"context_line":"  `_conductor_service_record_keepalive` to update `last_seen_up` column"},{"line_number":41,"context_line":"  instead of `updated-at` to display the heartbeat of ironic-conductor service."},{"line_number":42,"context_line":"  The `updated_at` just only records other database operation except"},{"line_number":43,"context_line":"  heartbeat report."},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"Alternatives"},{"line_number":46,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":16,"id":"df87a7cf_5cf64c65","line":43,"range":{"start_line":42,"start_character":2,"end_line":43,"end_character":19},"in_reply_to":"ff82abbf_bf063020","updated":"2017-12-11 06:11:37.000000000","message":"Ah-oh, updated_at is not a field can be simply removed, it\u0027s provided by IronicObject (the base object).","commit_id":"a797925c83381b42171eace4706e9a6615874d14"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"ab0c67266933bbb11209246b14249be0db7afa46","unresolved":false,"context_lines":[{"line_number":54,"context_line":""},{"line_number":55,"context_line":"* ``online``: It is an existing column of conductors, it is used to show"},{"line_number":56,"context_line":"  enabled or disabled status of ironic-conductor services."},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"* ``last_seen_up``: It is a new column of conductors. It shows the last"},{"line_number":59,"context_line":"  heartbeat time of an ironic-conductor service."},{"line_number":60,"context_line":""}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f4b6375_ae9d9f5a","line":57,"updated":"2017-10-19 06:49:38.000000000","message":"currently conductor sets this field to true on every heartbeat, if it is used to control service usability, how do we know the conductor is offline or disabled?\nI would prefer add another column like enabled to control service.","commit_id":"a797925c83381b42171eace4706e9a6615874d14"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"b7b94177ab6ad2526bb42f2967ce3e4066a3be07","unresolved":false,"context_lines":[{"line_number":54,"context_line":""},{"line_number":55,"context_line":"* ``online``: It is an existing column of conductors, it is used to show"},{"line_number":56,"context_line":"  enabled or disabled status of ironic-conductor services."},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"* ``last_seen_up``: It is a new column of conductors. It shows the last"},{"line_number":59,"context_line":"  heartbeat time of an ironic-conductor service."},{"line_number":60,"context_line":""}],"source_content_type":"text/x-rst","patch_set":16,"id":"ff82abbf_02401f35","line":57,"in_reply_to":"3f4b6375_ae9d9f5a","updated":"2017-11-20 11:58:45.000000000","message":"I agree with that. I think adding a new column \u0027status\u0027 will be good. Thank you for the suggestion.","commit_id":"a797925c83381b42171eace4706e9a6615874d14"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"907907cd9ec037e86798e93c8f8ca0f681babc0b","unresolved":false,"context_lines":[{"line_number":54,"context_line":""},{"line_number":55,"context_line":"* ``online``: It is an existing column of conductors, it is used to show"},{"line_number":56,"context_line":"  enabled or disabled status of ironic-conductor services."},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"* ``last_seen_up``: It is a new column of conductors. It shows the last"},{"line_number":59,"context_line":"  heartbeat time of an ironic-conductor service."},{"line_number":60,"context_line":""}],"source_content_type":"text/x-rst","patch_set":16,"id":"ff82abbf_f57f82dd","line":57,"in_reply_to":"ff82abbf_02401f35","updated":"2017-11-24 06:53:58.000000000","message":"Done","commit_id":"a797925c83381b42171eace4706e9a6615874d14"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"ab0c67266933bbb11209246b14249be0db7afa46","unresolved":false,"context_lines":[{"line_number":92,"context_line":"Three new API endpoints will be added. All endpoints are admin only API. Also"},{"line_number":93,"context_line":"increment the API microversion."},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"* ``GET /v1/services``"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"  Get the information of all ironic-conductor services. This API supports some"},{"line_number":98,"context_line":"  filters. The supported filters are hostname and drivers."}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f4b6375_2efacf41","line":95,"range":{"start_line":95,"start_character":12,"end_line":95,"end_character":20},"updated":"2017-10-19 06:49:38.000000000","message":"As this spec is talking about conductors, I feel like services is too broad, maybe /v1/conductors?","commit_id":"a797925c83381b42171eace4706e9a6615874d14"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"b7b94177ab6ad2526bb42f2967ce3e4066a3be07","unresolved":false,"context_lines":[{"line_number":92,"context_line":"Three new API endpoints will be added. All endpoints are admin only API. Also"},{"line_number":93,"context_line":"increment the API microversion."},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"* ``GET /v1/services``"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"  Get the information of all ironic-conductor services. This API supports some"},{"line_number":98,"context_line":"  filters. The supported filters are hostname and drivers."}],"source_content_type":"text/x-rst","patch_set":16,"id":"ff82abbf_82750f9b","line":95,"range":{"start_line":95,"start_character":12,"end_line":95,"end_character":20},"in_reply_to":"3f4b6375_2efacf41","updated":"2017-11-20 11:58:45.000000000","message":"Agree. I will change that.","commit_id":"a797925c83381b42171eace4706e9a6615874d14"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"907907cd9ec037e86798e93c8f8ca0f681babc0b","unresolved":false,"context_lines":[{"line_number":92,"context_line":"Three new API endpoints will be added. All endpoints are admin only API. Also"},{"line_number":93,"context_line":"increment the API microversion."},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"* ``GET /v1/services``"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"  Get the information of all ironic-conductor services. This API supports some"},{"line_number":98,"context_line":"  filters. The supported filters are hostname and drivers."}],"source_content_type":"text/x-rst","patch_set":16,"id":"ff82abbf_357baabe","line":95,"range":{"start_line":95,"start_character":12,"end_line":95,"end_character":20},"in_reply_to":"3f4b6375_2efacf41","updated":"2017-11-24 06:53:58.000000000","message":"Done","commit_id":"a797925c83381b42171eace4706e9a6615874d14"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"907907cd9ec037e86798e93c8f8ca0f681babc0b","unresolved":false,"context_lines":[{"line_number":92,"context_line":"Three new API endpoints will be added. All endpoints are admin only API. Also"},{"line_number":93,"context_line":"increment the API microversion."},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"* ``GET /v1/services``"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"  Get the information of all ironic-conductor services. This API supports some"},{"line_number":98,"context_line":"  filters. The supported filters are hostname and drivers."}],"source_content_type":"text/x-rst","patch_set":16,"id":"ff82abbf_556e6e2f","line":95,"range":{"start_line":95,"start_character":12,"end_line":95,"end_character":20},"in_reply_to":"ff82abbf_82750f9b","updated":"2017-11-24 06:53:58.000000000","message":"Done","commit_id":"a797925c83381b42171eace4706e9a6615874d14"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"ab0c67266933bbb11209246b14249be0db7afa46","unresolved":false,"context_lines":[{"line_number":112,"context_line":""},{"line_number":113,"context_line":"  Response: HTTP 200 with JSON body containing keys:"},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"  * ``id`` The id of an ironic-conductor service in database."},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"  * ``hostname`` The node where ironic-conductor service is running."},{"line_number":118,"context_line":""}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f4b6375_0e06f387","line":115,"range":{"start_line":115,"start_character":6,"end_line":115,"end_character":8},"updated":"2017-10-19 06:49:38.000000000","message":"usually we don\u0027t present database primary key as it\u0027s meaningless to end users.","commit_id":"a797925c83381b42171eace4706e9a6615874d14"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"907907cd9ec037e86798e93c8f8ca0f681babc0b","unresolved":false,"context_lines":[{"line_number":112,"context_line":""},{"line_number":113,"context_line":"  Response: HTTP 200 with JSON body containing keys:"},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"  * ``id`` The id of an ironic-conductor service in database."},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"  * ``hostname`` The node where ironic-conductor service is running."},{"line_number":118,"context_line":""}],"source_content_type":"text/x-rst","patch_set":16,"id":"ff82abbf_d54d9e9a","line":115,"range":{"start_line":115,"start_character":6,"end_line":115,"end_character":8},"in_reply_to":"3f4b6375_0e06f387","updated":"2017-11-24 06:53:58.000000000","message":"Done","commit_id":"a797925c83381b42171eace4706e9a6615874d14"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"b7b94177ab6ad2526bb42f2967ce3e4066a3be07","unresolved":false,"context_lines":[{"line_number":112,"context_line":""},{"line_number":113,"context_line":"  Response: HTTP 200 with JSON body containing keys:"},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"  * ``id`` The id of an ironic-conductor service in database."},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"  * ``hostname`` The node where ironic-conductor service is running."},{"line_number":118,"context_line":""}],"source_content_type":"text/x-rst","patch_set":16,"id":"ff82abbf_0269ffbc","line":115,"range":{"start_line":115,"start_character":6,"end_line":115,"end_character":8},"in_reply_to":"3f4b6375_0e06f387","updated":"2017-11-20 11:58:45.000000000","message":"I will remove this.","commit_id":"a797925c83381b42171eace4706e9a6615874d14"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"ab0c67266933bbb11209246b14249be0db7afa46","unresolved":false,"context_lines":[{"line_number":121,"context_line":""},{"line_number":122,"context_line":"  * ``status`` The status of an ironic-conductor service. Its value is"},{"line_number":123,"context_line":"    `enabled` and `disabled`. By default, it is `enabled`."},{"line_number":124,"context_line":""},{"line_number":125,"context_line":"  * ``last_seen_up`` The last heartbeat time of an ironic-conductor. If the"},{"line_number":126,"context_line":"    time keeps no change, the service is down."},{"line_number":127,"context_line":""}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f4b6375_ee7dd7e7","line":124,"updated":"2017-10-19 06:49:38.000000000","message":"I wonder what is the data source of state and status, I guess status is from the `online` field, while I don\u0027t know how you get the state?","commit_id":"a797925c83381b42171eace4706e9a6615874d14"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"b7b94177ab6ad2526bb42f2967ce3e4066a3be07","unresolved":false,"context_lines":[{"line_number":121,"context_line":""},{"line_number":122,"context_line":"  * ``status`` The status of an ironic-conductor service. Its value is"},{"line_number":123,"context_line":"    `enabled` and `disabled`. By default, it is `enabled`."},{"line_number":124,"context_line":""},{"line_number":125,"context_line":"  * ``last_seen_up`` The last heartbeat time of an ironic-conductor. If the"},{"line_number":126,"context_line":"    time keeps no change, the service is down."},{"line_number":127,"context_line":""}],"source_content_type":"text/x-rst","patch_set":16,"id":"ff82abbf_82e8af16","line":124,"in_reply_to":"3f4b6375_ee7dd7e7","updated":"2017-11-20 11:58:45.000000000","message":"The confusion here is due to a missing column \"status\" in the DB.\nThe status is for service control i.e \u0027enabled\u0027 or \u0027disabled\u0027 from the \"status\" column.\nAnd the state will be from \"last_seen_up\" that is the \"online\" field you\u0027re talking about.","commit_id":"a797925c83381b42171eace4706e9a6615874d14"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"ab0c67266933bbb11209246b14249be0db7afa46","unresolved":false,"context_lines":[{"line_number":130,"context_line":"  Error codes:"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"  * 400 - bad request"},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"* ``PUT /v1/services/\u003cID\u003e/enable``"},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"  Enable an ironic-conductor service. This request updates the `status`"}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f4b6375_ce5b3b85","line":133,"updated":"2017-10-19 06:49:38.000000000","message":"For clients use lower microversion, 406 is returned.","commit_id":"a797925c83381b42171eace4706e9a6615874d14"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"907907cd9ec037e86798e93c8f8ca0f681babc0b","unresolved":false,"context_lines":[{"line_number":130,"context_line":"  Error codes:"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"  * 400 - bad request"},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"* ``PUT /v1/services/\u003cID\u003e/enable``"},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"  Enable an ironic-conductor service. This request updates the `status`"}],"source_content_type":"text/x-rst","patch_set":16,"id":"ff82abbf_755e1245","line":133,"in_reply_to":"3f4b6375_ce5b3b85","updated":"2017-11-24 06:53:58.000000000","message":"Done","commit_id":"a797925c83381b42171eace4706e9a6615874d14"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"b7b94177ab6ad2526bb42f2967ce3e4066a3be07","unresolved":false,"context_lines":[{"line_number":130,"context_line":"  Error codes:"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"  * 400 - bad request"},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"* ``PUT /v1/services/\u003cID\u003e/enable``"},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"  Enable an ironic-conductor service. This request updates the `status`"}],"source_content_type":"text/x-rst","patch_set":16,"id":"ff82abbf_a2edb326","line":133,"in_reply_to":"3f4b6375_ce5b3b85","updated":"2017-11-20 11:58:45.000000000","message":"Will add it","commit_id":"a797925c83381b42171eace4706e9a6615874d14"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"ab0c67266933bbb11209246b14249be0db7afa46","unresolved":false,"context_lines":[{"line_number":152,"context_line":"  * 404 - an ironic-conductor service was not found."},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"* ``PUT /v1/services/\u003cID\u003e/disable``"},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"  Disable an ironic-conductor service. This request updates the `status`"},{"line_number":157,"context_line":"  field of conductor object to `disable` in database which disables scheduling"},{"line_number":158,"context_line":"  to the service."}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f4b6375_ce6c5b0a","line":155,"updated":"2017-10-19 06:49:38.000000000","message":"I would prefer to merge two endpoints into one to reduce the number of endpoints, I don\u0027t see any benefits by using two endpoints, wdyt?","commit_id":"a797925c83381b42171eace4706e9a6615874d14"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"907907cd9ec037e86798e93c8f8ca0f681babc0b","unresolved":false,"context_lines":[{"line_number":152,"context_line":"  * 404 - an ironic-conductor service was not found."},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"* ``PUT /v1/services/\u003cID\u003e/disable``"},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"  Disable an ironic-conductor service. This request updates the `status`"},{"line_number":157,"context_line":"  field of conductor object to `disable` in database which disables scheduling"},{"line_number":158,"context_line":"  to the service."}],"source_content_type":"text/x-rst","patch_set":16,"id":"ff82abbf_3502ca0c","line":155,"in_reply_to":"3f4b6375_ce6c5b0a","updated":"2017-11-24 06:53:58.000000000","message":"Done","commit_id":"a797925c83381b42171eace4706e9a6615874d14"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"b7b94177ab6ad2526bb42f2967ce3e4066a3be07","unresolved":false,"context_lines":[{"line_number":152,"context_line":"  * 404 - an ironic-conductor service was not found."},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"* ``PUT /v1/services/\u003cID\u003e/disable``"},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"  Disable an ironic-conductor service. This request updates the `status`"},{"line_number":157,"context_line":"  field of conductor object to `disable` in database which disables scheduling"},{"line_number":158,"context_line":"  to the service."}],"source_content_type":"text/x-rst","patch_set":16,"id":"ff82abbf_82366fb4","line":155,"in_reply_to":"3f4b6375_ce6c5b0a","updated":"2017-11-20 11:58:45.000000000","message":"I agree on having one endpoint. So I prefer to have:\n  /v1/conductors/\u003cID\u003e/action -d\"{\u0027status\u0027: \u0027enable\u0027 }\"\n\nWDYT about this API?","commit_id":"a797925c83381b42171eace4706e9a6615874d14"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"ab0c67266933bbb11209246b14249be0db7afa46","unresolved":false,"context_lines":[{"line_number":174,"context_line":"  * 400 - bad request."},{"line_number":175,"context_line":""},{"line_number":176,"context_line":"  * 404 - an ironic-conductor service was not found."},{"line_number":177,"context_line":""},{"line_number":178,"context_line":"A new API microversion will be introduced to cover these endpoints."},{"line_number":179,"context_line":""},{"line_number":180,"context_line":"Client (CLI) impact"}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f4b6375_9169e2bf","line":177,"updated":"2017-10-19 06:49:38.000000000","message":"which code we\u0027ll return if enabling an enabled conductor or disabling a disabled conductor?","commit_id":"a797925c83381b42171eace4706e9a6615874d14"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"b7b94177ab6ad2526bb42f2967ce3e4066a3be07","unresolved":false,"context_lines":[{"line_number":174,"context_line":"  * 400 - bad request."},{"line_number":175,"context_line":""},{"line_number":176,"context_line":"  * 404 - an ironic-conductor service was not found."},{"line_number":177,"context_line":""},{"line_number":178,"context_line":"A new API microversion will be introduced to cover these endpoints."},{"line_number":179,"context_line":""},{"line_number":180,"context_line":"Client (CLI) impact"}],"source_content_type":"text/x-rst","patch_set":16,"id":"ff82abbf_22476320","line":177,"in_reply_to":"3f4b6375_9169e2bf","updated":"2017-11-20 11:58:45.000000000","message":"409, conflict?","commit_id":"a797925c83381b42171eace4706e9a6615874d14"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"907907cd9ec037e86798e93c8f8ca0f681babc0b","unresolved":false,"context_lines":[{"line_number":174,"context_line":"  * 400 - bad request."},{"line_number":175,"context_line":""},{"line_number":176,"context_line":"  * 404 - an ironic-conductor service was not found."},{"line_number":177,"context_line":""},{"line_number":178,"context_line":"A new API microversion will be introduced to cover these endpoints."},{"line_number":179,"context_line":""},{"line_number":180,"context_line":"Client (CLI) impact"}],"source_content_type":"text/x-rst","patch_set":16,"id":"ff82abbf_18333df8","line":177,"in_reply_to":"3f4b6375_9169e2bf","updated":"2017-11-24 06:53:58.000000000","message":"Done","commit_id":"a797925c83381b42171eace4706e9a6615874d14"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"ab0c67266933bbb11209246b14249be0db7afa46","unresolved":false,"context_lines":[{"line_number":180,"context_line":"Client (CLI) impact"},{"line_number":181,"context_line":"-------------------"},{"line_number":182,"context_line":"Support for the new commands \"baremetal service enable\" and"},{"line_number":183,"context_line":"\"baremetal service disable\" must be added to the OSC plugin for Ironic."},{"line_number":184,"context_line":"And also add new command \"baremetal service list\" to get ironic-conductor"},{"line_number":185,"context_line":"services."},{"line_number":186,"context_line":""}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f4b6375_5135aad9","line":183,"range":{"start_line":183,"start_character":1,"end_line":183,"end_character":26},"updated":"2017-10-19 06:49:38.000000000","message":"there is a disabled reason defined in this spec, you need to define an optional argument here.","commit_id":"a797925c83381b42171eace4706e9a6615874d14"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"907907cd9ec037e86798e93c8f8ca0f681babc0b","unresolved":false,"context_lines":[{"line_number":180,"context_line":"Client (CLI) impact"},{"line_number":181,"context_line":"-------------------"},{"line_number":182,"context_line":"Support for the new commands \"baremetal service enable\" and"},{"line_number":183,"context_line":"\"baremetal service disable\" must be added to the OSC plugin for Ironic."},{"line_number":184,"context_line":"And also add new command \"baremetal service list\" to get ironic-conductor"},{"line_number":185,"context_line":"services."},{"line_number":186,"context_line":""}],"source_content_type":"text/x-rst","patch_set":16,"id":"ff82abbf_f853f915","line":183,"range":{"start_line":183,"start_character":1,"end_line":183,"end_character":26},"in_reply_to":"3f4b6375_5135aad9","updated":"2017-11-24 06:53:58.000000000","message":"Done","commit_id":"a797925c83381b42171eace4706e9a6615874d14"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"b7b94177ab6ad2526bb42f2967ce3e4066a3be07","unresolved":false,"context_lines":[{"line_number":180,"context_line":"Client (CLI) impact"},{"line_number":181,"context_line":"-------------------"},{"line_number":182,"context_line":"Support for the new commands \"baremetal service enable\" and"},{"line_number":183,"context_line":"\"baremetal service disable\" must be added to the OSC plugin for Ironic."},{"line_number":184,"context_line":"And also add new command \"baremetal service list\" to get ironic-conductor"},{"line_number":185,"context_line":"services."},{"line_number":186,"context_line":""}],"source_content_type":"text/x-rst","patch_set":16,"id":"ff82abbf_a264d3ba","line":183,"range":{"start_line":183,"start_character":1,"end_line":183,"end_character":26},"in_reply_to":"3f4b6375_5135aad9","updated":"2017-11-20 11:58:45.000000000","message":"Yes. Do we need to add the details here also?","commit_id":"a797925c83381b42171eace4706e9a6615874d14"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"ab0c67266933bbb11209246b14249be0db7afa46","unresolved":false,"context_lines":[{"line_number":206,"context_line":""},{"line_number":207,"context_line":"Other end user impact"},{"line_number":208,"context_line":"---------------------"},{"line_number":209,"context_line":"We will add service-enable, service-disable and service-list commands"},{"line_number":210,"context_line":"to python-ironicclient."},{"line_number":211,"context_line":""},{"line_number":212,"context_line":"Scalability impact"}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f4b6375_11ff3202","line":209,"range":{"start_line":209,"start_character":12,"end_line":209,"end_character":60},"updated":"2017-10-19 06:49:38.000000000","message":"Do you mean ``ironic service-enable``? If so, the ironic cli is deprecated and will be removed soon, i\u0027m not sure if it accepts new codes now.","commit_id":"a797925c83381b42171eace4706e9a6615874d14"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"907907cd9ec037e86798e93c8f8ca0f681babc0b","unresolved":false,"context_lines":[{"line_number":206,"context_line":""},{"line_number":207,"context_line":"Other end user impact"},{"line_number":208,"context_line":"---------------------"},{"line_number":209,"context_line":"We will add service-enable, service-disable and service-list commands"},{"line_number":210,"context_line":"to python-ironicclient."},{"line_number":211,"context_line":""},{"line_number":212,"context_line":"Scalability impact"}],"source_content_type":"text/x-rst","patch_set":16,"id":"ff82abbf_42986769","line":209,"range":{"start_line":209,"start_character":12,"end_line":209,"end_character":60},"in_reply_to":"3f4b6375_11ff3202","updated":"2017-11-24 06:53:58.000000000","message":"Done","commit_id":"a797925c83381b42171eace4706e9a6615874d14"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"b7b94177ab6ad2526bb42f2967ce3e4066a3be07","unresolved":false,"context_lines":[{"line_number":206,"context_line":""},{"line_number":207,"context_line":"Other end user impact"},{"line_number":208,"context_line":"---------------------"},{"line_number":209,"context_line":"We will add service-enable, service-disable and service-list commands"},{"line_number":210,"context_line":"to python-ironicclient."},{"line_number":211,"context_line":""},{"line_number":212,"context_line":"Scalability impact"}],"source_content_type":"text/x-rst","patch_set":16,"id":"ff82abbf_02f81fc2","line":209,"range":{"start_line":209,"start_character":12,"end_line":209,"end_character":60},"in_reply_to":"3f4b6375_11ff3202","updated":"2017-11-20 11:58:45.000000000","message":"Yes, this means ironic command. I will remove this section. Thank you!","commit_id":"a797925c83381b42171eace4706e9a6615874d14"},{"author":{"_account_id":19328,"name":"Jun Yao","email":"yaojun@cmss.chinamobile.com","username":"seamanhanshan"},"change_message_id":"8204501592e0e53f10d8a1010dc82cfef713e6ce","unresolved":false,"context_lines":[{"line_number":22,"context_line":""},{"line_number":23,"context_line":"Currently Ironic does not implement the service management. Therefore, admin"},{"line_number":24,"context_line":"can\u0027t figure out the issue quickly when some ironic-conductor service is down."},{"line_number":25,"context_line":"If a node where ironic-conductor service is running needs to be shut down for"},{"line_number":26,"context_line":"maintenance purpose in situations like tftp server is not running etc, there is"},{"line_number":27,"context_line":"no way to prevent message to be sent to this node."},{"line_number":28,"context_line":""}],"source_content_type":"text/x-rst","patch_set":17,"id":"df87a7cf_2a127fb2","line":25,"updated":"2017-12-06 08:58:33.000000000","message":"In our practice, using systemctl stop openstack-ironic-conductor is not too bad. \nFor a real production environment, disable ironic-conductor will trigger BM nodes take-over immediately?","commit_id":"3bc214ebadd681bc4279ef51a496affce5823380"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"2ac62327550585277da3d527d5edce31b1e25b75","unresolved":false,"context_lines":[{"line_number":22,"context_line":""},{"line_number":23,"context_line":"Currently Ironic does not implement the service management. Therefore, admin"},{"line_number":24,"context_line":"can\u0027t figure out the issue quickly when some ironic-conductor service is down."},{"line_number":25,"context_line":"If a node where ironic-conductor service is running needs to be shut down for"},{"line_number":26,"context_line":"maintenance purpose in situations like tftp server is not running etc, there is"},{"line_number":27,"context_line":"no way to prevent message to be sent to this node."},{"line_number":28,"context_line":""}],"source_content_type":"text/x-rst","patch_set":17,"id":"df87a7cf_dc0b3c27","line":25,"in_reply_to":"df87a7cf_2a127fb2","updated":"2017-12-11 06:20:27.000000000","message":"I think so too, but the problem of systemctl is it requires user logining into the node where the conductor is running, and shutdown manually.\nI guess the benifits of this spec is providing the ability of central management of conductors (e.g. from control node or some web interface).\nFor the question, I think the answer is yes, as long as the conductor is shutdown gracefully, it will unregister itself from the database, so the hashring is redistributed.","commit_id":"3bc214ebadd681bc4279ef51a496affce5823380"},{"author":{"_account_id":19328,"name":"Jun Yao","email":"yaojun@cmss.chinamobile.com","username":"seamanhanshan"},"change_message_id":"8204501592e0e53f10d8a1010dc82cfef713e6ce","unresolved":false,"context_lines":[{"line_number":50,"context_line":""},{"line_number":51,"context_line":"Data model impact"},{"line_number":52,"context_line":"-----------------"},{"line_number":53,"context_line":"Some new columns will be added to implement this function."},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"* ``online``: It is an existing column of conductors, it is set to True on"},{"line_number":56,"context_line":"  every heartbeat of ironic-conductor services."}],"source_content_type":"text/x-rst","patch_set":17,"id":"df87a7cf_4ac82321","line":53,"updated":"2017-12-06 08:58:33.000000000","message":"I prefer to add a column to present how many nodes which the value of conductor_affinity equal to this ironic-conductor.","commit_id":"3bc214ebadd681bc4279ef51a496affce5823380"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"fbb1fadf081c665f9899f17d8849d2dfc0d4d1f4","unresolved":false,"context_lines":[{"line_number":50,"context_line":""},{"line_number":51,"context_line":"Data model impact"},{"line_number":52,"context_line":"-----------------"},{"line_number":53,"context_line":"Some new columns will be added to implement this function."},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"* ``online``: It is an existing column of conductors, it is set to True on"},{"line_number":56,"context_line":"  every heartbeat of ironic-conductor services."}],"source_content_type":"text/x-rst","patch_set":17,"id":"df87a7cf_3199b378","line":53,"in_reply_to":"df87a7cf_4ac82321","updated":"2017-12-15 09:00:54.000000000","message":"Done","commit_id":"3bc214ebadd681bc4279ef51a496affce5823380"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"547494086b23e7118c8a9850d98e8928127ecc71","unresolved":false,"context_lines":[{"line_number":20,"context_line":"Problem description"},{"line_number":21,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"Currently Ironic does not implement the service management. Therefore, admin"},{"line_number":24,"context_line":"can\u0027t figure out the issue quickly when some ironic-conductor service is down."},{"line_number":25,"context_line":"If a node where ironic-conductor service is running needs to be shut down for"},{"line_number":26,"context_line":"maintenance purpose in situations like tftp server is not running etc, there is"}],"source_content_type":"text/x-rst","patch_set":18,"id":"bf8cb3f7_840874d9","line":23,"range":{"start_line":23,"start_character":35,"end_line":23,"end_character":58},"updated":"2017-12-26 14:46:10.000000000","message":"Is this a cross project service management effort?","commit_id":"07b256545bb8a7dfca75ef83c1d01f5b6f0508ca"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"9f47356d31a6e47857e2e07c03818b0bb851acf6","unresolved":false,"context_lines":[{"line_number":20,"context_line":"Problem description"},{"line_number":21,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"Currently Ironic does not implement the service management. Therefore, admin"},{"line_number":24,"context_line":"can\u0027t figure out the issue quickly when some ironic-conductor service is down."},{"line_number":25,"context_line":"If a node where ironic-conductor service is running needs to be shut down for"},{"line_number":26,"context_line":"maintenance purpose in situations like tftp server is not running etc, there is"}],"source_content_type":"text/x-rst","patch_set":18,"id":"bf8cb3f7_e0ba8508","line":23,"range":{"start_line":23,"start_character":35,"end_line":23,"end_character":58},"in_reply_to":"bf8cb3f7_840874d9","updated":"2017-12-27 09:53:28.000000000","message":"I am sorry I didn\u0027t get what cross project means here.\n\nThis will expose a new service API in ironic which can be used by operators to see the status of conductor services.","commit_id":"07b256545bb8a7dfca75ef83c1d01f5b6f0508ca"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"547494086b23e7118c8a9850d98e8928127ecc71","unresolved":false,"context_lines":[{"line_number":50,"context_line":""},{"line_number":51,"context_line":"Data model impact"},{"line_number":52,"context_line":"-----------------"},{"line_number":53,"context_line":"Some new columns will be added to implement this function."},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"* ``online``: It is an existing column of conductors, it is set to True on"},{"line_number":56,"context_line":"  every heartbeat of ironic-conductor services."}],"source_content_type":"text/x-rst","patch_set":18,"id":"bf8cb3f7_4444ac1b","line":53,"range":{"start_line":53,"start_character":5,"end_line":53,"end_character":17},"updated":"2017-12-26 14:46:10.000000000","message":"Please detail where we will add these new columns below. Also, you may want to note what is already there.","commit_id":"07b256545bb8a7dfca75ef83c1d01f5b6f0508ca"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"9f47356d31a6e47857e2e07c03818b0bb851acf6","unresolved":false,"context_lines":[{"line_number":50,"context_line":""},{"line_number":51,"context_line":"Data model impact"},{"line_number":52,"context_line":"-----------------"},{"line_number":53,"context_line":"Some new columns will be added to implement this function."},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"* ``online``: It is an existing column of conductors, it is set to True on"},{"line_number":56,"context_line":"  every heartbeat of ironic-conductor services."}],"source_content_type":"text/x-rst","patch_set":18,"id":"bf8cb3f7_60cf55b0","line":53,"range":{"start_line":53,"start_character":5,"end_line":53,"end_character":17},"in_reply_to":"bf8cb3f7_4444ac1b","updated":"2017-12-27 09:53:28.000000000","message":"Done. I have only added the new column to be added to the table.","commit_id":"07b256545bb8a7dfca75ef83c1d01f5b6f0508ca"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"547494086b23e7118c8a9850d98e8928127ecc71","unresolved":false,"context_lines":[{"line_number":53,"context_line":"Some new columns will be added to implement this function."},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"* ``online``: It is an existing column of conductors, it is set to True on"},{"line_number":56,"context_line":"  every heartbeat of ironic-conductor services."},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"* ``status``: It is a new column of conductors that will show enabled or"},{"line_number":59,"context_line":"  disabled status of ironic-conductor services."}],"source_content_type":"text/x-rst","patch_set":18,"id":"bf8cb3f7_a491f89b","line":56,"updated":"2017-12-26 14:46:10.000000000","message":"What would set this to false? It seems like only last_seen_up could be trusted.","commit_id":"07b256545bb8a7dfca75ef83c1d01f5b6f0508ca"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"4b2b8242dd6594e08802adc66c2d69345d6ed2f6","unresolved":false,"context_lines":[{"line_number":53,"context_line":"Some new columns will be added to implement this function."},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"* ``online``: It is an existing column of conductors, it is set to True on"},{"line_number":56,"context_line":"  every heartbeat of ironic-conductor services."},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"* ``status``: It is a new column of conductors that will show enabled or"},{"line_number":59,"context_line":"  disabled status of ironic-conductor services."}],"source_content_type":"text/x-rst","patch_set":18,"id":"bf8cb3f7_fd7ea769","line":56,"in_reply_to":"bf8cb3f7_405a51f3","updated":"2017-12-27 15:17:53.000000000","message":"So the conductor would also need code then to catch crashes and shutdowns, and update the db? If we do that, why do we continue to heartbeat?","commit_id":"07b256545bb8a7dfca75ef83c1d01f5b6f0508ca"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"9f47356d31a6e47857e2e07c03818b0bb851acf6","unresolved":false,"context_lines":[{"line_number":53,"context_line":"Some new columns will be added to implement this function."},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"* ``online``: It is an existing column of conductors, it is set to True on"},{"line_number":56,"context_line":"  every heartbeat of ironic-conductor services."},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"* ``status``: It is a new column of conductors that will show enabled or"},{"line_number":59,"context_line":"  disabled status of ironic-conductor services."}],"source_content_type":"text/x-rst","patch_set":18,"id":"bf8cb3f7_405a51f3","line":56,"in_reply_to":"bf8cb3f7_a491f89b","updated":"2017-12-27 09:53:28.000000000","message":"This could be false when the conductor is stopped or crashed due to some failure.","commit_id":"07b256545bb8a7dfca75ef83c1d01f5b6f0508ca"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"547494086b23e7118c8a9850d98e8928127ecc71","unresolved":false,"context_lines":[{"line_number":89,"context_line":"        nodes_affinity \u003d Column(db_types.JsonEncodedList)"},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"So the new API endpoints will retrieve data in conductors and return them to"},{"line_number":92,"context_line":"admin. And also enable or disable ironic-conductor services with reasons."},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"State Machine Impact"},{"line_number":95,"context_line":"--------------------"}],"source_content_type":"text/x-rst","patch_set":18,"id":"bf8cb3f7_0446a422","line":92,"range":{"start_line":92,"start_character":7,"end_line":92,"end_character":72},"updated":"2017-12-26 14:46:10.000000000","message":"I think we are going to need an understanding of how you intend to enable/disable the services via the api.","commit_id":"07b256545bb8a7dfca75ef83c1d01f5b6f0508ca"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"9f47356d31a6e47857e2e07c03818b0bb851acf6","unresolved":false,"context_lines":[{"line_number":89,"context_line":"        nodes_affinity \u003d Column(db_types.JsonEncodedList)"},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"So the new API endpoints will retrieve data in conductors and return them to"},{"line_number":92,"context_line":"admin. And also enable or disable ironic-conductor services with reasons."},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"State Machine Impact"},{"line_number":95,"context_line":"--------------------"}],"source_content_type":"text/x-rst","patch_set":18,"id":"bf8cb3f7_8005b9c4","line":92,"range":{"start_line":92,"start_character":7,"end_line":92,"end_character":72},"in_reply_to":"bf8cb3f7_0446a422","updated":"2017-12-27 09:53:28.000000000","message":"I have added the API details in the \"REST API impact\" section.","commit_id":"07b256545bb8a7dfca75ef83c1d01f5b6f0508ca"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"547494086b23e7118c8a9850d98e8928127ecc71","unresolved":false,"context_lines":[{"line_number":97,"context_line":""},{"line_number":98,"context_line":"REST API impact"},{"line_number":99,"context_line":"---------------"},{"line_number":100,"context_line":"Three new API endpoints will be added. All endpoints are admin only API. Also"},{"line_number":101,"context_line":"increment the API microversion."},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"* ``GET /v1/conductors``"}],"source_content_type":"text/x-rst","patch_set":18,"id":"bf8cb3f7_640530c2","line":100,"range":{"start_line":100,"start_character":57,"end_line":100,"end_character":71},"updated":"2017-12-26 14:46:10.000000000","message":"So appropriate policy entries would be added such that only the baremetal_admin can access the endpoint?","commit_id":"07b256545bb8a7dfca75ef83c1d01f5b6f0508ca"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"9f47356d31a6e47857e2e07c03818b0bb851acf6","unresolved":false,"context_lines":[{"line_number":97,"context_line":""},{"line_number":98,"context_line":"REST API impact"},{"line_number":99,"context_line":"---------------"},{"line_number":100,"context_line":"Three new API endpoints will be added. All endpoints are admin only API. Also"},{"line_number":101,"context_line":"increment the API microversion."},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"* ``GET /v1/conductors``"}],"source_content_type":"text/x-rst","patch_set":18,"id":"bf8cb3f7_605d15e8","line":100,"range":{"start_line":100,"start_character":57,"end_line":100,"end_character":71},"in_reply_to":"bf8cb3f7_640530c2","updated":"2017-12-27 09:53:28.000000000","message":"Done. Yes policies will be added.","commit_id":"07b256545bb8a7dfca75ef83c1d01f5b6f0508ca"},{"author":{"_account_id":13689,"name":"Hironori Shiina","email":"Hironori.Shiina@fujitsu.com","username":"shiina"},"change_message_id":"fa46fe017030efdcb0df31d5873b5a82a8850428","unresolved":false,"context_lines":[{"line_number":105,"context_line":"  Get the information of all ironic-conductor services. This API supports some"},{"line_number":106,"context_line":"  filters. The supported filters are hostname and drivers."},{"line_number":107,"context_line":""},{"line_number":108,"context_line":"  Request:"},{"line_number":109,"context_line":"  * Example one::"},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"        {"}],"source_content_type":"text/x-rst","patch_set":18,"id":"bf8cb3f7_473b4bea","line":108,"updated":"2017-12-27 02:19:54.000000000","message":"As far as I know, a request body is not used with GET method. These parameters would be set to a request URL.","commit_id":"07b256545bb8a7dfca75ef83c1d01f5b6f0508ca"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"9f47356d31a6e47857e2e07c03818b0bb851acf6","unresolved":false,"context_lines":[{"line_number":105,"context_line":"  Get the information of all ironic-conductor services. This API supports some"},{"line_number":106,"context_line":"  filters. The supported filters are hostname and drivers."},{"line_number":107,"context_line":""},{"line_number":108,"context_line":"  Request:"},{"line_number":109,"context_line":"  * Example one::"},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"        {"}],"source_content_type":"text/x-rst","patch_set":18,"id":"bf8cb3f7_60ae7599","line":108,"in_reply_to":"bf8cb3f7_473b4bea","updated":"2017-12-27 09:53:28.000000000","message":"Yes these are query parameters.","commit_id":"07b256545bb8a7dfca75ef83c1d01f5b6f0508ca"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"547494086b23e7118c8a9850d98e8928127ecc71","unresolved":false,"context_lines":[{"line_number":115,"context_line":"  * Example two::"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"        {"},{"line_number":118,"context_line":"          \"drivers\": [\"pxe_ipmitool\", \"agent_ipmitool\"]"},{"line_number":119,"context_line":"        }"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"  Response: HTTP 200 with JSON body containing keys:"}],"source_content_type":"text/x-rst","patch_set":18,"id":"bf8cb3f7_6460d0a6","line":118,"updated":"2017-12-26 14:46:10.000000000","message":"Just drivers? not hardware types?","commit_id":"07b256545bb8a7dfca75ef83c1d01f5b6f0508ca"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"9f47356d31a6e47857e2e07c03818b0bb851acf6","unresolved":false,"context_lines":[{"line_number":115,"context_line":"  * Example two::"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"        {"},{"line_number":118,"context_line":"          \"drivers\": [\"pxe_ipmitool\", \"agent_ipmitool\"]"},{"line_number":119,"context_line":"        }"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"  Response: HTTP 200 with JSON body containing keys:"}],"source_content_type":"text/x-rst","patch_set":18,"id":"bf8cb3f7_e0992579","line":118,"in_reply_to":"bf8cb3f7_6460d0a6","updated":"2017-12-27 09:53:28.000000000","message":"Done. Yes that is also allowed.","commit_id":"07b256545bb8a7dfca75ef83c1d01f5b6f0508ca"},{"author":{"_account_id":13689,"name":"Hironori Shiina","email":"Hironori.Shiina@fujitsu.com","username":"shiina"},"change_message_id":"fa46fe017030efdcb0df31d5873b5a82a8850428","unresolved":false,"context_lines":[{"line_number":139,"context_line":""},{"line_number":140,"context_line":"  * 400 - bad request"},{"line_number":141,"context_line":""},{"line_number":142,"context_line":"  * 406 - Not allowed, if lower API microversion is used."},{"line_number":143,"context_line":""},{"line_number":144,"context_line":"* ``PUT /v1/conductors/\u003cID\u003e/action``"},{"line_number":145,"context_line":""}],"source_content_type":"text/x-rst","patch_set":18,"id":"bf8cb3f7_e7437fae","line":142,"updated":"2017-12-27 02:19:54.000000000","message":"404(Not Found) would be appropriate because a new resource would be invisible from lower versions.","commit_id":"07b256545bb8a7dfca75ef83c1d01f5b6f0508ca"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"4b2b8242dd6594e08802adc66c2d69345d6ed2f6","unresolved":false,"context_lines":[{"line_number":139,"context_line":""},{"line_number":140,"context_line":"  * 400 - bad request"},{"line_number":141,"context_line":""},{"line_number":142,"context_line":"  * 406 - Not allowed, if lower API microversion is used."},{"line_number":143,"context_line":""},{"line_number":144,"context_line":"* ``PUT /v1/conductors/\u003cID\u003e/action``"},{"line_number":145,"context_line":""}],"source_content_type":"text/x-rst","patch_set":18,"id":"bf8cb3f7_5ded5323","line":142,"in_reply_to":"bf8cb3f7_00cc4968","updated":"2017-12-27 15:17:53.000000000","message":"We tend to lean away from 404 and 406 because they can be cached. 400 on the other hand, shouldn\u0027t be cached by a caching proxy.","commit_id":"07b256545bb8a7dfca75ef83c1d01f5b6f0508ca"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"9f47356d31a6e47857e2e07c03818b0bb851acf6","unresolved":false,"context_lines":[{"line_number":139,"context_line":""},{"line_number":140,"context_line":"  * 400 - bad request"},{"line_number":141,"context_line":""},{"line_number":142,"context_line":"  * 406 - Not allowed, if lower API microversion is used."},{"line_number":143,"context_line":""},{"line_number":144,"context_line":"* ``PUT /v1/conductors/\u003cID\u003e/action``"},{"line_number":145,"context_line":""}],"source_content_type":"text/x-rst","patch_set":18,"id":"bf8cb3f7_00cc4968","line":142,"in_reply_to":"bf8cb3f7_e7437fae","updated":"2017-12-27 09:53:28.000000000","message":"Done. Added.","commit_id":"07b256545bb8a7dfca75ef83c1d01f5b6f0508ca"},{"author":{"_account_id":13689,"name":"Hironori Shiina","email":"Hironori.Shiina@fujitsu.com","username":"shiina"},"change_message_id":"fa46fe017030efdcb0df31d5873b5a82a8850428","unresolved":false,"context_lines":[{"line_number":141,"context_line":""},{"line_number":142,"context_line":"  * 406 - Not allowed, if lower API microversion is used."},{"line_number":143,"context_line":""},{"line_number":144,"context_line":"* ``PUT /v1/conductors/\u003cID\u003e/action``"},{"line_number":145,"context_line":""},{"line_number":146,"context_line":"  Change the status of an ironic-conductor service. This request updates the"},{"line_number":147,"context_line":"  `status` field of conductor object to `enable` or `disable` in database which"}],"source_content_type":"text/x-rst","patch_set":18,"id":"bf8cb3f7_8a607aa7","line":144,"range":{"start_line":144,"start_character":24,"end_line":144,"end_character":26},"updated":"2017-12-27 02:19:54.000000000","message":"What is this ID? While other resources have UUIDs, conductor resources don\u0027t.","commit_id":"07b256545bb8a7dfca75ef83c1d01f5b6f0508ca"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"9f47356d31a6e47857e2e07c03818b0bb851acf6","unresolved":false,"context_lines":[{"line_number":141,"context_line":""},{"line_number":142,"context_line":"  * 406 - Not allowed, if lower API microversion is used."},{"line_number":143,"context_line":""},{"line_number":144,"context_line":"* ``PUT /v1/conductors/\u003cID\u003e/action``"},{"line_number":145,"context_line":""},{"line_number":146,"context_line":"  Change the status of an ironic-conductor service. This request updates the"},{"line_number":147,"context_line":"  `status` field of conductor object to `enable` or `disable` in database which"}],"source_content_type":"text/x-rst","patch_set":18,"id":"bf8cb3f7_d6e1472c","line":144,"range":{"start_line":144,"start_character":24,"end_line":144,"end_character":26},"in_reply_to":"bf8cb3f7_8a607aa7","updated":"2017-12-27 09:53:28.000000000","message":"This should be a UUID. I will update the Data model impact to include a new column for uuid as well. Thank you.","commit_id":"07b256545bb8a7dfca75ef83c1d01f5b6f0508ca"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"547494086b23e7118c8a9850d98e8928127ecc71","unresolved":false,"context_lines":[{"line_number":213,"context_line":"None"},{"line_number":214,"context_line":""},{"line_number":215,"context_line":"Performance Impact"},{"line_number":216,"context_line":"------------------"},{"line_number":217,"context_line":"None"},{"line_number":218,"context_line":""},{"line_number":219,"context_line":"Other deployer impact"}],"source_content_type":"text/x-rst","patch_set":18,"id":"bf8cb3f7_a4bfb8f9","line":216,"updated":"2017-12-26 14:46:10.000000000","message":"This says none, but previously you detail the addition of a new periodic task. That will be a performance impact.","commit_id":"07b256545bb8a7dfca75ef83c1d01f5b6f0508ca"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"9f47356d31a6e47857e2e07c03818b0bb851acf6","unresolved":false,"context_lines":[{"line_number":213,"context_line":"None"},{"line_number":214,"context_line":""},{"line_number":215,"context_line":"Performance Impact"},{"line_number":216,"context_line":"------------------"},{"line_number":217,"context_line":"None"},{"line_number":218,"context_line":""},{"line_number":219,"context_line":"Other deployer impact"}],"source_content_type":"text/x-rst","patch_set":18,"id":"bf8cb3f7_76f07b68","line":216,"in_reply_to":"bf8cb3f7_a4bfb8f9","updated":"2017-12-27 09:53:28.000000000","message":"Added. Done","commit_id":"07b256545bb8a7dfca75ef83c1d01f5b6f0508ca"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"547494086b23e7118c8a9850d98e8928127ecc71","unresolved":false,"context_lines":[{"line_number":229,"context_line":""},{"line_number":230,"context_line":"Assignee(s)"},{"line_number":231,"context_line":"-----------"},{"line_number":232,"context_line":"* Tao Li"},{"line_number":233,"context_line":"* D G Lee"},{"line_number":234,"context_line":"* Madhuri Kumari"},{"line_number":235,"context_line":""}],"source_content_type":"text/x-rst","patch_set":18,"id":"bf8cb3f7_44cfccaf","line":232,"updated":"2017-12-26 14:46:10.000000000","message":"nit: Can we get launchpad or irc usernames added?","commit_id":"07b256545bb8a7dfca75ef83c1d01f5b6f0508ca"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"9f47356d31a6e47857e2e07c03818b0bb851acf6","unresolved":false,"context_lines":[{"line_number":229,"context_line":""},{"line_number":230,"context_line":"Assignee(s)"},{"line_number":231,"context_line":"-----------"},{"line_number":232,"context_line":"* Tao Li"},{"line_number":233,"context_line":"* D G Lee"},{"line_number":234,"context_line":"* Madhuri Kumari"},{"line_number":235,"context_line":""}],"source_content_type":"text/x-rst","patch_set":18,"id":"bf8cb3f7_96c17fe7","line":232,"in_reply_to":"bf8cb3f7_44cfccaf","updated":"2017-12-27 09:53:28.000000000","message":"Done","commit_id":"07b256545bb8a7dfca75ef83c1d01f5b6f0508ca"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"547494086b23e7118c8a9850d98e8928127ecc71","unresolved":false,"context_lines":[{"line_number":235,"context_line":""},{"line_number":236,"context_line":"Work Items"},{"line_number":237,"context_line":"----------"},{"line_number":238,"context_line":"See proposed changes."},{"line_number":239,"context_line":""},{"line_number":240,"context_line":"Dependencies"},{"line_number":241,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":18,"id":"bf8cb3f7_e473807f","line":238,"range":{"start_line":238,"start_character":0,"end_line":238,"end_character":21},"updated":"2017-12-26 14:46:10.000000000","message":"Please create a short list of the tasks required, not point the reader to the proposed work.","commit_id":"07b256545bb8a7dfca75ef83c1d01f5b6f0508ca"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"9f47356d31a6e47857e2e07c03818b0bb851acf6","unresolved":false,"context_lines":[{"line_number":235,"context_line":""},{"line_number":236,"context_line":"Work Items"},{"line_number":237,"context_line":"----------"},{"line_number":238,"context_line":"See proposed changes."},{"line_number":239,"context_line":""},{"line_number":240,"context_line":"Dependencies"},{"line_number":241,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":18,"id":"bf8cb3f7_b62e03a3","line":238,"range":{"start_line":238,"start_character":0,"end_line":238,"end_character":21},"in_reply_to":"bf8cb3f7_e473807f","updated":"2017-12-27 09:53:28.000000000","message":"Done","commit_id":"07b256545bb8a7dfca75ef83c1d01f5b6f0508ca"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"547494086b23e7118c8a9850d98e8928127ecc71","unresolved":false,"context_lines":[{"line_number":243,"context_line":""},{"line_number":244,"context_line":"Testing"},{"line_number":245,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":246,"context_line":"Unit tests and Tempest tests must be added."},{"line_number":247,"context_line":""},{"line_number":248,"context_line":"Upgrades and Backwards Compatibility"},{"line_number":249,"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"}],"source_content_type":"text/x-rst","patch_set":18,"id":"bf8cb3f7_c4e19c2c","line":246,"range":{"start_line":246,"start_character":14,"end_line":246,"end_character":43},"updated":"2017-12-26 14:46:10.000000000","message":"Can you please describe what the tempest tests will be doing?","commit_id":"07b256545bb8a7dfca75ef83c1d01f5b6f0508ca"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"547494086b23e7118c8a9850d98e8928127ecc71","unresolved":false,"context_lines":[{"line_number":243,"context_line":""},{"line_number":244,"context_line":"Testing"},{"line_number":245,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":246,"context_line":"Unit tests and Tempest tests must be added."},{"line_number":247,"context_line":""},{"line_number":248,"context_line":"Upgrades and Backwards Compatibility"},{"line_number":249,"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"}],"source_content_type":"text/x-rst","patch_set":18,"id":"bf8cb3f7_24cc08bb","line":246,"range":{"start_line":246,"start_character":0,"end_line":246,"end_character":10},"updated":"2017-12-26 14:46:10.000000000","message":"Unit tests are implied and explicitly required.","commit_id":"07b256545bb8a7dfca75ef83c1d01f5b6f0508ca"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"9f47356d31a6e47857e2e07c03818b0bb851acf6","unresolved":false,"context_lines":[{"line_number":243,"context_line":""},{"line_number":244,"context_line":"Testing"},{"line_number":245,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":246,"context_line":"Unit tests and Tempest tests must be added."},{"line_number":247,"context_line":""},{"line_number":248,"context_line":"Upgrades and Backwards Compatibility"},{"line_number":249,"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"}],"source_content_type":"text/x-rst","patch_set":18,"id":"bf8cb3f7_3614334e","line":246,"range":{"start_line":246,"start_character":14,"end_line":246,"end_character":43},"in_reply_to":"bf8cb3f7_c4e19c2c","updated":"2017-12-27 09:53:28.000000000","message":"Done","commit_id":"07b256545bb8a7dfca75ef83c1d01f5b6f0508ca"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"547494086b23e7118c8a9850d98e8928127ecc71","unresolved":false,"context_lines":[{"line_number":247,"context_line":""},{"line_number":248,"context_line":"Upgrades and Backwards Compatibility"},{"line_number":249,"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":250,"context_line":"The conductors table should consider to be upgraded."},{"line_number":251,"context_line":""},{"line_number":252,"context_line":"Documentation Impact"},{"line_number":253,"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":18,"id":"bf8cb3f7_04d8e47c","line":250,"range":{"start_line":250,"start_character":0,"end_line":250,"end_character":52},"updated":"2017-12-26 14:46:10.000000000","message":"This section is intended for detailing work relating to upgrades and backwards compatibility.","commit_id":"07b256545bb8a7dfca75ef83c1d01f5b6f0508ca"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"9f47356d31a6e47857e2e07c03818b0bb851acf6","unresolved":false,"context_lines":[{"line_number":247,"context_line":""},{"line_number":248,"context_line":"Upgrades and Backwards Compatibility"},{"line_number":249,"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":250,"context_line":"The conductors table should consider to be upgraded."},{"line_number":251,"context_line":""},{"line_number":252,"context_line":"Documentation Impact"},{"line_number":253,"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":18,"id":"bf8cb3f7_349c2cbf","line":250,"range":{"start_line":250,"start_character":0,"end_line":250,"end_character":52},"in_reply_to":"bf8cb3f7_04d8e47c","updated":"2017-12-27 09:53:28.000000000","message":"I am not sure how upgrade work. Can you point me to some example docs? I will update in next patch.","commit_id":"07b256545bb8a7dfca75ef83c1d01f5b6f0508ca"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"4b2b8242dd6594e08802adc66c2d69345d6ed2f6","unresolved":false,"context_lines":[{"line_number":247,"context_line":""},{"line_number":248,"context_line":"Upgrades and Backwards Compatibility"},{"line_number":249,"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":250,"context_line":"The conductors table should consider to be upgraded."},{"line_number":251,"context_line":""},{"line_number":252,"context_line":"Documentation Impact"},{"line_number":253,"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":18,"id":"bf8cb3f7_ddd88380","line":250,"range":{"start_line":250,"start_character":0,"end_line":250,"end_character":52},"in_reply_to":"bf8cb3f7_349c2cbf","updated":"2017-12-27 15:17:53.000000000","message":"From an operator POV, see https://docs.openstack.org/ironic/pike/admin/upgrade-guide.html","commit_id":"07b256545bb8a7dfca75ef83c1d01f5b6f0508ca"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"547494086b23e7118c8a9850d98e8928127ecc71","unresolved":false,"context_lines":[{"line_number":251,"context_line":""},{"line_number":252,"context_line":"Documentation Impact"},{"line_number":253,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":254,"context_line":"Write documentation."},{"line_number":255,"context_line":""},{"line_number":256,"context_line":"References"},{"line_number":257,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":18,"id":"bf8cb3f7_c468bc88","line":254,"updated":"2017-12-26 14:46:10.000000000","message":"Documentation covering what?","commit_id":"07b256545bb8a7dfca75ef83c1d01f5b6f0508ca"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"9f47356d31a6e47857e2e07c03818b0bb851acf6","unresolved":false,"context_lines":[{"line_number":251,"context_line":""},{"line_number":252,"context_line":"Documentation Impact"},{"line_number":253,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":254,"context_line":"Write documentation."},{"line_number":255,"context_line":""},{"line_number":256,"context_line":"References"},{"line_number":257,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":18,"id":"bf8cb3f7_d465c0e2","line":254,"in_reply_to":"bf8cb3f7_c468bc88","updated":"2017-12-27 09:53:28.000000000","message":"Done","commit_id":"07b256545bb8a7dfca75ef83c1d01f5b6f0508ca"},{"author":{"_account_id":13689,"name":"Hironori Shiina","email":"Hironori.Shiina@fujitsu.com","username":"shiina"},"change_message_id":"afffc967dfe5c18066ceaa557a68bfa5a84a9ada","unresolved":false,"context_lines":[{"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"},{"line_number":31,"context_line":"* Create new API endpoints to get status of ironic-conductor services and"},{"line_number":32,"context_line":"  disable or enable them - see `REST API impact` for details."},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"* API client update to provide CLI interface to invoke this feature - see"},{"line_number":35,"context_line":"  `Client (CLI) impact`_ for details."}],"source_content_type":"text/x-rst","patch_set":19,"id":"9f91af0f_5f94cbe8","line":32,"range":{"start_line":32,"start_character":47,"end_line":32,"end_character":48},"updated":"2017-12-28 02:12:04.000000000","message":"`_","commit_id":"4da495ba20bc50bde685470e78f3fbfe254a3548"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"eec4d583a47325acbd0f9f0ac591c206b2b3e32f","unresolved":false,"context_lines":[{"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"},{"line_number":31,"context_line":"* Create new API endpoints to get status of ironic-conductor services and"},{"line_number":32,"context_line":"  disable or enable them - see `REST API impact` for details."},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"* API client update to provide CLI interface to invoke this feature - see"},{"line_number":35,"context_line":"  `Client (CLI) impact`_ for details."}],"source_content_type":"text/x-rst","patch_set":19,"id":"9f91af0f_e5bf05ce","line":32,"range":{"start_line":32,"start_character":47,"end_line":32,"end_character":48},"in_reply_to":"9f91af0f_5f94cbe8","updated":"2018-01-04 05:45:47.000000000","message":"Done","commit_id":"4da495ba20bc50bde685470e78f3fbfe254a3548"},{"author":{"_account_id":13689,"name":"Hironori Shiina","email":"Hironori.Shiina@fujitsu.com","username":"shiina"},"change_message_id":"afffc967dfe5c18066ceaa557a68bfa5a84a9ada","unresolved":false,"context_lines":[{"line_number":156,"context_line":"  Change the status of an ironic-conductor service. This request updates the"},{"line_number":157,"context_line":"  `status` field of conductor object to `enable` or `disable` in database which"},{"line_number":158,"context_line":"  enables scheduling to the service. Specify the action in the request body."},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"  Request:"},{"line_number":161,"context_line":"  * Enable service::"},{"line_number":162,"context_line":""}],"source_content_type":"text/x-rst","patch_set":19,"id":"9f91af0f_ffad9f31","line":159,"updated":"2017-12-28 02:12:04.000000000","message":"What will happen when a conductor is disabled? Will the disabled conductor stop operations? Will the disabled conductor removed from the hash ring so that ironic-api won\u0027t call the disabled conductor and other conductors will take over node management?\n\nI guess something is necessary after the status is changed to \u0027disable\u0027.","commit_id":"4da495ba20bc50bde685470e78f3fbfe254a3548"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"eec4d583a47325acbd0f9f0ac591c206b2b3e32f","unresolved":false,"context_lines":[{"line_number":156,"context_line":"  Change the status of an ironic-conductor service. This request updates the"},{"line_number":157,"context_line":"  `status` field of conductor object to `enable` or `disable` in database which"},{"line_number":158,"context_line":"  enables scheduling to the service. Specify the action in the request body."},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"  Request:"},{"line_number":161,"context_line":"  * Enable service::"},{"line_number":162,"context_line":""}],"source_content_type":"text/x-rst","patch_set":19,"id":"9f91af0f_45d03120","line":159,"in_reply_to":"9f91af0f_ffad9f31","updated":"2018-01-04 05:45:47.000000000","message":"Yes, the service will be removed from the hash ring and not server any nodes further.","commit_id":"4da495ba20bc50bde685470e78f3fbfe254a3548"},{"author":{"_account_id":13689,"name":"Hironori Shiina","email":"Hironori.Shiina@fujitsu.com","username":"shiina"},"change_message_id":"afffc967dfe5c18066ceaa557a68bfa5a84a9ada","unresolved":false,"context_lines":[{"line_number":158,"context_line":"  enables scheduling to the service. Specify the action in the request body."},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"  Request:"},{"line_number":161,"context_line":"  * Enable service::"},{"line_number":162,"context_line":""},{"line_number":163,"context_line":"        {"},{"line_number":164,"context_line":"          \"enable\": null"}],"source_content_type":"text/x-rst","patch_set":19,"id":"9f91af0f_bfa71750","line":161,"updated":"2017-12-28 02:12:04.000000000","message":"need an empty line before this item.","commit_id":"4da495ba20bc50bde685470e78f3fbfe254a3548"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"eec4d583a47325acbd0f9f0ac591c206b2b3e32f","unresolved":false,"context_lines":[{"line_number":158,"context_line":"  enables scheduling to the service. Specify the action in the request body."},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"  Request:"},{"line_number":161,"context_line":"  * Enable service::"},{"line_number":162,"context_line":""},{"line_number":163,"context_line":"        {"},{"line_number":164,"context_line":"          \"enable\": null"}],"source_content_type":"text/x-rst","patch_set":19,"id":"9f91af0f_05ca296c","line":161,"in_reply_to":"9f91af0f_bfa71750","updated":"2018-01-04 05:45:47.000000000","message":"Done","commit_id":"4da495ba20bc50bde685470e78f3fbfe254a3548"},{"author":{"_account_id":13689,"name":"Hironori Shiina","email":"Hironori.Shiina@fujitsu.com","username":"shiina"},"change_message_id":"afffc967dfe5c18066ceaa557a68bfa5a84a9ada","unresolved":false,"context_lines":[{"line_number":262,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":263,"context_line":"* Tempest tests must be added to test the following cases:"},{"line_number":264,"context_line":""},{"line_number":265,"context_line":"** Get the list of conductors."},{"line_number":266,"context_line":""},{"line_number":267,"context_line":"** Get list of conductor for specific driver and hardware type."},{"line_number":268,"context_line":""}],"source_content_type":"text/x-rst","patch_set":19,"id":"9f91af0f_df753bce","line":265,"updated":"2017-12-28 02:12:04.000000000","message":"s/**/*/","commit_id":"4da495ba20bc50bde685470e78f3fbfe254a3548"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"b80b7aab660fd4860ccb1b6eae08300e17cc9f64","unresolved":false,"context_lines":[{"line_number":266,"context_line":""},{"line_number":267,"context_line":"** Get list of conductor for specific driver and hardware type."},{"line_number":268,"context_line":""},{"line_number":269,"context_line":"** Enable or disbale a conductor service."},{"line_number":270,"context_line":""},{"line_number":271,"context_line":"Upgrades and Backwards Compatibility"},{"line_number":272,"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"}],"source_content_type":"text/x-rst","patch_set":19,"id":"bf8cb3f7_ddc16382","line":269,"range":{"start_line":269,"start_character":13,"end_line":269,"end_character":20},"updated":"2017-12-27 15:20:11.000000000","message":"disable","commit_id":"4da495ba20bc50bde685470e78f3fbfe254a3548"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"b80b7aab660fd4860ccb1b6eae08300e17cc9f64","unresolved":false,"context_lines":[{"line_number":267,"context_line":"** Get list of conductor for specific driver and hardware type."},{"line_number":268,"context_line":""},{"line_number":269,"context_line":"** Enable or disbale a conductor service."},{"line_number":270,"context_line":""},{"line_number":271,"context_line":"Upgrades and Backwards Compatibility"},{"line_number":272,"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":273,"context_line":"The conductors table should consider to be upgraded."}],"source_content_type":"text/x-rst","patch_set":19,"id":"bf8cb3f7_1d458b17","line":270,"updated":"2017-12-27 15:20:11.000000000","message":"Additional test that may be useful is to test an operation that should fail for a node... to verify the conductor is actually disabled.","commit_id":"4da495ba20bc50bde685470e78f3fbfe254a3548"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"eec4d583a47325acbd0f9f0ac591c206b2b3e32f","unresolved":false,"context_lines":[{"line_number":267,"context_line":"** Get list of conductor for specific driver and hardware type."},{"line_number":268,"context_line":""},{"line_number":269,"context_line":"** Enable or disbale a conductor service."},{"line_number":270,"context_line":""},{"line_number":271,"context_line":"Upgrades and Backwards Compatibility"},{"line_number":272,"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":273,"context_line":"The conductors table should consider to be upgraded."}],"source_content_type":"text/x-rst","patch_set":19,"id":"9f91af0f_85ab9987","line":270,"in_reply_to":"bf8cb3f7_1d458b17","updated":"2018-01-04 05:45:47.000000000","message":"Done","commit_id":"4da495ba20bc50bde685470e78f3fbfe254a3548"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"b80b7aab660fd4860ccb1b6eae08300e17cc9f64","unresolved":false,"context_lines":[{"line_number":270,"context_line":""},{"line_number":271,"context_line":"Upgrades and Backwards Compatibility"},{"line_number":272,"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":273,"context_line":"The conductors table should consider to be upgraded."},{"line_number":274,"context_line":""},{"line_number":275,"context_line":"Documentation Impact"},{"line_number":276,"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":19,"id":"bf8cb3f7_5dd6b351","line":273,"updated":"2017-12-27 15:20:11.000000000","message":"See https://docs.openstack.org/ironic/pike/admin/upgrade-guide.html and https://docs.openstack.org/ironic/latest/contributor/rolling-upgrades.html","commit_id":"4da495ba20bc50bde685470e78f3fbfe254a3548"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"eec4d583a47325acbd0f9f0ac591c206b2b3e32f","unresolved":false,"context_lines":[{"line_number":270,"context_line":""},{"line_number":271,"context_line":"Upgrades and Backwards Compatibility"},{"line_number":272,"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":273,"context_line":"The conductors table should consider to be upgraded."},{"line_number":274,"context_line":""},{"line_number":275,"context_line":"Documentation Impact"},{"line_number":276,"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":19,"id":"9f91af0f_a5aedd95","line":273,"in_reply_to":"bf8cb3f7_5dd6b351","updated":"2018-01-04 05:45:47.000000000","message":"Done","commit_id":"4da495ba20bc50bde685470e78f3fbfe254a3548"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"3f074e5b12d6771abba4e269b74217d6d62055e3","unresolved":false,"context_lines":[{"line_number":16,"context_line":"quick way to get all ironic\u0027s services and their status. So we should use an"},{"line_number":17,"context_line":"API interface to query status of services. And more it is necessary to disable"},{"line_number":18,"context_line":"or enable services in order to do some maintenance."},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"Problem description"},{"line_number":21,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":22,"context_line":""}],"source_content_type":"text/x-rst","patch_set":22,"id":"7f96bb07_b8195089","line":19,"updated":"2018-01-11 18:25:59.000000000","message":"It is worth being explicit here, and add that \n\nIn this specification, \u0027service\u0027 refers to the ironic-conductor service, unless specified otherwise.","commit_id":"dc814638aecee2c51e1f898c2aa05a096fcac757"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"8b58964436b18b4c386f9e609d2ec53d03f438c2","unresolved":false,"context_lines":[{"line_number":16,"context_line":"quick way to get all ironic\u0027s services and their status. So we should use an"},{"line_number":17,"context_line":"API interface to query status of services. And more it is necessary to disable"},{"line_number":18,"context_line":"or enable services in order to do some maintenance."},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"Problem description"},{"line_number":21,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":22,"context_line":""}],"source_content_type":"text/x-rst","patch_set":22,"id":"7f96bb07_b319607a","line":19,"in_reply_to":"7f96bb07_b8195089","updated":"2018-01-12 10:19:00.000000000","message":"Done","commit_id":"dc814638aecee2c51e1f898c2aa05a096fcac757"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"3f074e5b12d6771abba4e269b74217d6d62055e3","unresolved":false,"context_lines":[{"line_number":34,"context_line":"* API client update to provide CLI interface to invoke this feature - see"},{"line_number":35,"context_line":"  `Client (CLI) impact`_ for details."},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"* Creation of explicit documentation to describe the REST API interface."},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"* Create a new periodic task or use the existing function"},{"line_number":40,"context_line":"  `_conductor_service_record_keepalive` to update `last_seen_up` column"}],"source_content_type":"text/x-rst","patch_set":22,"id":"7f96bb07_08bcafda","line":37,"updated":"2018-01-11 18:25:59.000000000","message":"you\u0027d add to our existing docs, like https://developer.openstack.org/api-ref/baremetal/, right? Not new pages?","commit_id":"dc814638aecee2c51e1f898c2aa05a096fcac757"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"8b58964436b18b4c386f9e609d2ec53d03f438c2","unresolved":false,"context_lines":[{"line_number":34,"context_line":"* API client update to provide CLI interface to invoke this feature - see"},{"line_number":35,"context_line":"  `Client (CLI) impact`_ for details."},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"* Creation of explicit documentation to describe the REST API interface."},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"* Create a new periodic task or use the existing function"},{"line_number":40,"context_line":"  `_conductor_service_record_keepalive` to update `last_seen_up` column"}],"source_content_type":"text/x-rst","patch_set":22,"id":"7f96bb07_534d7c70","line":37,"in_reply_to":"7f96bb07_08bcafda","updated":"2018-01-12 10:19:00.000000000","message":"There will be two type of documentation needed. One just adds the new APIs to the api-ref and other to explain the usage of new commands. I have updated the spec to include both.","commit_id":"dc814638aecee2c51e1f898c2aa05a096fcac757"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"3f074e5b12d6771abba4e269b74217d6d62055e3","unresolved":false,"context_lines":[{"line_number":40,"context_line":"  `_conductor_service_record_keepalive` to update `last_seen_up` column"},{"line_number":41,"context_line":"  instead of `updated-at` to display the heartbeat of ironic-conductor service."},{"line_number":42,"context_line":"  The `updated_at` just only records other database operation except"},{"line_number":43,"context_line":"  heartbeat report."},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"Alternatives"},{"line_number":46,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":22,"id":"7f96bb07_48dab717","line":43,"updated":"2018-01-11 18:25:59.000000000","message":"right now, updated_at is the last time that the conductor was updated, or a heartbeat occurred. Why do you want to add a separate \u0027last_seen_up\u0027 for the heartbeat? \n\nGiven that the existing _conductor_service_record_keepalive() already updates updated_at, why would you want to create a new task to do the same thing this method does. Or maybe I don\u0027t understand.","commit_id":"dc814638aecee2c51e1f898c2aa05a096fcac757"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"8b58964436b18b4c386f9e609d2ec53d03f438c2","unresolved":false,"context_lines":[{"line_number":40,"context_line":"  `_conductor_service_record_keepalive` to update `last_seen_up` column"},{"line_number":41,"context_line":"  instead of `updated-at` to display the heartbeat of ironic-conductor service."},{"line_number":42,"context_line":"  The `updated_at` just only records other database operation except"},{"line_number":43,"context_line":"  heartbeat report."},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"Alternatives"},{"line_number":46,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":22,"id":"7f96bb07_33ec70c6","line":43,"in_reply_to":"7f96bb07_48dab717","updated":"2018-01-12 10:19:00.000000000","message":"Ruby, the updated_at can be time of any other operation to the db. The new field is just to ensure that the heartbeat time is recorded. So here we can use the method existing_conductor_service_record_keepalive to update the last_seen explicitly for heartbeat.\nI will remove the new periodic task here.","commit_id":"dc814638aecee2c51e1f898c2aa05a096fcac757"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"3f074e5b12d6771abba4e269b74217d6d62055e3","unresolved":false,"context_lines":[{"line_number":57,"context_line":"  UUID of the conductor service."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"* ``status``: It is a new column of conductors that will show enabled or"},{"line_number":60,"context_line":"  disabled status of ironic-conductor services."},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"* ``last_seen_up``: It is a new column of conductors. It shows the last"},{"line_number":63,"context_line":"  heartbeat time of an ironic-conductor service."}],"source_content_type":"text/x-rst","patch_set":22,"id":"7f96bb07_82dc1e75","line":60,"updated":"2018-01-11 18:25:59.000000000","message":"what type is this? a string? what are the possible values? \u0027enabled\u0027 or \u0027disabled\u0027?","commit_id":"dc814638aecee2c51e1f898c2aa05a096fcac757"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"8b58964436b18b4c386f9e609d2ec53d03f438c2","unresolved":false,"context_lines":[{"line_number":57,"context_line":"  UUID of the conductor service."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"* ``status``: It is a new column of conductors that will show enabled or"},{"line_number":60,"context_line":"  disabled status of ironic-conductor services."},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"* ``last_seen_up``: It is a new column of conductors. It shows the last"},{"line_number":63,"context_line":"  heartbeat time of an ironic-conductor service."}],"source_content_type":"text/x-rst","patch_set":22,"id":"7f96bb07_b3e1609d","line":60,"in_reply_to":"7f96bb07_82dc1e75","updated":"2018-01-12 10:19:00.000000000","message":"I have removed this field because it is redundant with the existing ``online`` field.","commit_id":"dc814638aecee2c51e1f898c2aa05a096fcac757"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"3f074e5b12d6771abba4e269b74217d6d62055e3","unresolved":false,"context_lines":[{"line_number":60,"context_line":"  disabled status of ironic-conductor services."},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"* ``last_seen_up``: It is a new column of conductors. It shows the last"},{"line_number":63,"context_line":"  heartbeat time of an ironic-conductor service."},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"* ``disabled_reason``: It is a new column of conductors. It tells admin the"},{"line_number":66,"context_line":"  reason behind disabling the service."}],"source_content_type":"text/x-rst","patch_set":22,"id":"7f96bb07_02d24e5d","line":63,"updated":"2018-01-11 18:25:59.000000000","message":"what about \u0027last_heartbeat\u0027 ?","commit_id":"dc814638aecee2c51e1f898c2aa05a096fcac757"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"8b58964436b18b4c386f9e609d2ec53d03f438c2","unresolved":false,"context_lines":[{"line_number":60,"context_line":"  disabled status of ironic-conductor services."},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"* ``last_seen_up``: It is a new column of conductors. It shows the last"},{"line_number":63,"context_line":"  heartbeat time of an ironic-conductor service."},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"* ``disabled_reason``: It is a new column of conductors. It tells admin the"},{"line_number":66,"context_line":"  reason behind disabling the service."}],"source_content_type":"text/x-rst","patch_set":22,"id":"7f96bb07_d388acc7","line":63,"in_reply_to":"7f96bb07_02d24e5d","updated":"2018-01-12 10:19:00.000000000","message":"I am ok with any of the options. Let\u0027s see what\u0027s other like. Thanks!","commit_id":"dc814638aecee2c51e1f898c2aa05a096fcac757"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"3f074e5b12d6771abba4e269b74217d6d62055e3","unresolved":false,"context_lines":[{"line_number":66,"context_line":"  reason behind disabling the service."},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"* ``nodes_affinity``: It is a new column of conductors which stores the list"},{"line_number":69,"context_line":"  of nodes managed by the conductor."},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"At last, the combination of `online` and `last_seen_up` of conductors shows the"},{"line_number":72,"context_line":"state of ironic-conductor services."}],"source_content_type":"text/x-rst","patch_set":22,"id":"7f96bb07_88ae7fe5","line":69,"updated":"2018-01-11 18:25:59.000000000","message":"I\u0027m a bit concerned about this. Why do you want this? Each time something is done to a node, some conductor handles it. I wonder how many times the DB will be updated just to keep this updated. A conductor could manage eg 10K nodes (worse case) so would this be performant. Also, each node has information about the conductor that is servicing it, so could you get the info you want via some sort of db join?","commit_id":"dc814638aecee2c51e1f898c2aa05a096fcac757"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"8b58964436b18b4c386f9e609d2ec53d03f438c2","unresolved":false,"context_lines":[{"line_number":66,"context_line":"  reason behind disabling the service."},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"* ``nodes_affinity``: It is a new column of conductors which stores the list"},{"line_number":69,"context_line":"  of nodes managed by the conductor."},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"At last, the combination of `online` and `last_seen_up` of conductors shows the"},{"line_number":72,"context_line":"state of ironic-conductor services."}],"source_content_type":"text/x-rst","patch_set":22,"id":"7f96bb07_d30d0c3f","line":69,"in_reply_to":"7f96bb07_88ae7fe5","updated":"2018-01-12 10:19:00.000000000","message":"I agree with you. I will remove the field and mention how nodes_affinity can be presented in GET /conductors response.","commit_id":"dc814638aecee2c51e1f898c2aa05a096fcac757"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"3f074e5b12d6771abba4e269b74217d6d62055e3","unresolved":false,"context_lines":[{"line_number":69,"context_line":"  of nodes managed by the conductor."},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"At last, the combination of `online` and `last_seen_up` of conductors shows the"},{"line_number":72,"context_line":"state of ironic-conductor services."},{"line_number":73,"context_line":""},{"line_number":74,"context_line":".. code-block:: python"},{"line_number":75,"context_line":""}],"source_content_type":"text/x-rst","patch_set":22,"id":"7f96bb07_65ed5cee","line":72,"updated":"2018-01-11 18:25:59.000000000","message":"So is \u0027status\u0027 needed?","commit_id":"dc814638aecee2c51e1f898c2aa05a096fcac757"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"8b58964436b18b4c386f9e609d2ec53d03f438c2","unresolved":false,"context_lines":[{"line_number":69,"context_line":"  of nodes managed by the conductor."},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"At last, the combination of `online` and `last_seen_up` of conductors shows the"},{"line_number":72,"context_line":"state of ironic-conductor services."},{"line_number":73,"context_line":""},{"line_number":74,"context_line":".. code-block:: python"},{"line_number":75,"context_line":""}],"source_content_type":"text/x-rst","patch_set":22,"id":"7f96bb07_d9120d59","line":72,"in_reply_to":"7f96bb07_65ed5cee","updated":"2018-01-12 10:19:00.000000000","message":"Not needed.","commit_id":"dc814638aecee2c51e1f898c2aa05a096fcac757"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"3f074e5b12d6771abba4e269b74217d6d62055e3","unresolved":false,"context_lines":[{"line_number":85,"context_line":"        hostname \u003d Column(String(255), nullable\u003dFalse)"},{"line_number":86,"context_line":"        drivers \u003d Column(db_types.JsonEncodedList)"},{"line_number":87,"context_line":"        online \u003d Column(Boolean, default\u003dTrue)"},{"line_number":88,"context_line":"        status \u003d Column(String(255))"},{"line_number":89,"context_line":"        last_seen_up \u003d Column(DateTime, onupdate\u003dlambda: timeutils.utcnow())"},{"line_number":90,"context_line":"        disabled_reason \u003d Column(String(255))"},{"line_number":91,"context_line":"        nodes_affinity \u003d Column(db_types.JsonEncodedList)"}],"source_content_type":"text/x-rst","patch_set":22,"id":"7f96bb07_056018a5","line":88,"updated":"2018-01-11 18:25:59.000000000","message":"does this need to be 255? Seems long for a status.","commit_id":"dc814638aecee2c51e1f898c2aa05a096fcac757"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"8b58964436b18b4c386f9e609d2ec53d03f438c2","unresolved":false,"context_lines":[{"line_number":85,"context_line":"        hostname \u003d Column(String(255), nullable\u003dFalse)"},{"line_number":86,"context_line":"        drivers \u003d Column(db_types.JsonEncodedList)"},{"line_number":87,"context_line":"        online \u003d Column(Boolean, default\u003dTrue)"},{"line_number":88,"context_line":"        status \u003d Column(String(255))"},{"line_number":89,"context_line":"        last_seen_up \u003d Column(DateTime, onupdate\u003dlambda: timeutils.utcnow())"},{"line_number":90,"context_line":"        disabled_reason \u003d Column(String(255))"},{"line_number":91,"context_line":"        nodes_affinity \u003d Column(db_types.JsonEncodedList)"}],"source_content_type":"text/x-rst","patch_set":22,"id":"7f96bb07_d9ae8de6","line":88,"in_reply_to":"7f96bb07_056018a5","updated":"2018-01-12 10:19:00.000000000","message":"this is not needed anymore.","commit_id":"dc814638aecee2c51e1f898c2aa05a096fcac757"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"3f074e5b12d6771abba4e269b74217d6d62055e3","unresolved":false,"context_lines":[{"line_number":91,"context_line":"        nodes_affinity \u003d Column(db_types.JsonEncodedList)"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"So the new API endpoints will retrieve data in conductors and return them to"},{"line_number":94,"context_line":"admin. And also enable or disable ironic-conductor services with reasons."},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"State Machine Impact"},{"line_number":97,"context_line":"--------------------"}],"source_content_type":"text/x-rst","patch_set":22,"id":"7f96bb07_05d3383a","line":94,"updated":"2018-01-11 18:25:59.000000000","message":"What does \u0027enable\u0027 or \u0027disable\u0027 mean? I\u0027m assuming \u0027enable\u0027 means the conductor does what it is currently doing. What does \u0027disable\u0027 mean? Will the conductor still heart beat? Handle nodes? If it is handling a node and it is disabled, what does it mean -- will it finish handling the node or ??","commit_id":"dc814638aecee2c51e1f898c2aa05a096fcac757"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"617cf5aa5f778d0a2f2f7554a6387abe06debdc2","unresolved":false,"context_lines":[{"line_number":91,"context_line":"        nodes_affinity \u003d Column(db_types.JsonEncodedList)"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"So the new API endpoints will retrieve data in conductors and return them to"},{"line_number":94,"context_line":"admin. And also enable or disable ironic-conductor services with reasons."},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"State Machine Impact"},{"line_number":97,"context_line":"--------------------"}],"source_content_type":"text/x-rst","patch_set":22,"id":"7f96bb07_081a6f7c","line":94,"in_reply_to":"7f96bb07_05d3383a","updated":"2018-01-11 18:41:19.000000000","message":"Also. The conductor has an \u0027online\u0027 flag. What is the difference between that flag and this new status field. What is the difference in behaviour of the conductor, if online is false, vs your disabling of the conductor? I think it is important that we document this difference.","commit_id":"dc814638aecee2c51e1f898c2aa05a096fcac757"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"8b58964436b18b4c386f9e609d2ec53d03f438c2","unresolved":false,"context_lines":[{"line_number":91,"context_line":"        nodes_affinity \u003d Column(db_types.JsonEncodedList)"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"So the new API endpoints will retrieve data in conductors and return them to"},{"line_number":94,"context_line":"admin. And also enable or disable ironic-conductor services with reasons."},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"State Machine Impact"},{"line_number":97,"context_line":"--------------------"}],"source_content_type":"text/x-rst","patch_set":22,"id":"7f96bb07_aa18fd1c","line":94,"in_reply_to":"7f96bb07_05d3383a","updated":"2018-01-12 10:19:00.000000000","message":"You\u0027re right about the enable meaning here.\nWhile \u0027disable\u0027, the conductor will still heartbeat but won\u0027t accept any new request for nodes. The already operation with conductor should go on.","commit_id":"dc814638aecee2c51e1f898c2aa05a096fcac757"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"8b58964436b18b4c386f9e609d2ec53d03f438c2","unresolved":false,"context_lines":[{"line_number":91,"context_line":"        nodes_affinity \u003d Column(db_types.JsonEncodedList)"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"So the new API endpoints will retrieve data in conductors and return them to"},{"line_number":94,"context_line":"admin. And also enable or disable ironic-conductor services with reasons."},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"State Machine Impact"},{"line_number":97,"context_line":"--------------------"}],"source_content_type":"text/x-rst","patch_set":22,"id":"7f96bb07_0add7141","line":94,"in_reply_to":"7f96bb07_081a6f7c","updated":"2018-01-12 10:19:00.000000000","message":"Ruby, both the fields had same meaning so I have removed the `status` field.","commit_id":"dc814638aecee2c51e1f898c2aa05a096fcac757"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"3f074e5b12d6771abba4e269b74217d6d62055e3","unresolved":false,"context_lines":[{"line_number":109,"context_line":"  filters. The supported filters are hostname and drivers."},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"  Request:"},{"line_number":112,"context_line":"  * Example one::"},{"line_number":113,"context_line":""},{"line_number":114,"context_line":"        {"},{"line_number":115,"context_line":"          \"hostname\": \"host01\""}],"source_content_type":"text/x-rst","patch_set":22,"id":"7f96bb07_659b1c72","line":112,"updated":"2018-01-11 18:25:59.000000000","message":"there\u0027s a formatting issue, take a look at the rendered doc.","commit_id":"dc814638aecee2c51e1f898c2aa05a096fcac757"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"8b58964436b18b4c386f9e609d2ec53d03f438c2","unresolved":false,"context_lines":[{"line_number":109,"context_line":"  filters. The supported filters are hostname and drivers."},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"  Request:"},{"line_number":112,"context_line":"  * Example one::"},{"line_number":113,"context_line":""},{"line_number":114,"context_line":"        {"},{"line_number":115,"context_line":"          \"hostname\": \"host01\""}],"source_content_type":"text/x-rst","patch_set":22,"id":"7f96bb07_2a406d56","line":112,"in_reply_to":"7f96bb07_659b1c72","updated":"2018-01-12 10:19:00.000000000","message":"Done","commit_id":"dc814638aecee2c51e1f898c2aa05a096fcac757"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"3f074e5b12d6771abba4e269b74217d6d62055e3","unresolved":false,"context_lines":[{"line_number":113,"context_line":""},{"line_number":114,"context_line":"        {"},{"line_number":115,"context_line":"          \"hostname\": \"host01\""},{"line_number":116,"context_line":"        }"},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"  * Example two::"},{"line_number":119,"context_line":""}],"source_content_type":"text/x-rst","patch_set":22,"id":"7f96bb07_4580608c","line":116,"updated":"2018-01-11 18:25:59.000000000","message":"these are in the body of the request, right? We should discuss this -- our other requests with filters are done via query parameters, e.g. GET /v1/nodes. Seems like we should be consistent, unless there\u0027s a good reason to do it differently.","commit_id":"dc814638aecee2c51e1f898c2aa05a096fcac757"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"8b58964436b18b4c386f9e609d2ec53d03f438c2","unresolved":false,"context_lines":[{"line_number":113,"context_line":""},{"line_number":114,"context_line":"        {"},{"line_number":115,"context_line":"          \"hostname\": \"host01\""},{"line_number":116,"context_line":"        }"},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"  * Example two::"},{"line_number":119,"context_line":""}],"source_content_type":"text/x-rst","patch_set":22,"id":"7f96bb07_b73b85cf","line":116,"in_reply_to":"7f96bb07_4580608c","updated":"2018-01-12 10:19:00.000000000","message":"i have changed it to query parameters. Thanks!","commit_id":"dc814638aecee2c51e1f898c2aa05a096fcac757"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"3f074e5b12d6771abba4e269b74217d6d62055e3","unresolved":false,"context_lines":[{"line_number":125,"context_line":""},{"line_number":126,"context_line":"        {"},{"line_number":127,"context_line":"          \"hardware_type\": [\"ipmi\"]"},{"line_number":128,"context_line":"        }"},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"  Response: HTTP 200 with JSON body containing keys:"},{"line_number":131,"context_line":""}],"source_content_type":"text/x-rst","patch_set":22,"id":"7f96bb07_e54acc7e","line":128,"updated":"2018-01-11 18:25:59.000000000","message":"i\u0027m assuming a request can have a combination of these three, not just one of them?","commit_id":"dc814638aecee2c51e1f898c2aa05a096fcac757"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"8b58964436b18b4c386f9e609d2ec53d03f438c2","unresolved":false,"context_lines":[{"line_number":125,"context_line":""},{"line_number":126,"context_line":"        {"},{"line_number":127,"context_line":"          \"hardware_type\": [\"ipmi\"]"},{"line_number":128,"context_line":"        }"},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"  Response: HTTP 200 with JSON body containing keys:"},{"line_number":131,"context_line":""}],"source_content_type":"text/x-rst","patch_set":22,"id":"7f96bb07_d73891d4","line":128,"in_reply_to":"7f96bb07_e54acc7e","updated":"2018-01-12 10:19:00.000000000","message":"You\u0027re right. Any no of filters can be used to make a combination.","commit_id":"dc814638aecee2c51e1f898c2aa05a096fcac757"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"3f074e5b12d6771abba4e269b74217d6d62055e3","unresolved":false,"context_lines":[{"line_number":128,"context_line":"        }"},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"  Response: HTTP 200 with JSON body containing keys:"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"  * ``uuid``: The unique UUID of the ironic-conductor service."},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"  * ``hostname`` The node where ironic-conductor service is running."}],"source_content_type":"text/x-rst","patch_set":22,"id":"7f96bb07_28040b15","line":131,"updated":"2018-01-11 18:25:59.000000000","message":"i think it would help if you showed an example. I think the JSON body would look something like\n\n{ \"conductors\": [\n    { your keys for conductor1}, {your keys for conductor2} ...]\n}","commit_id":"dc814638aecee2c51e1f898c2aa05a096fcac757"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"8b58964436b18b4c386f9e609d2ec53d03f438c2","unresolved":false,"context_lines":[{"line_number":128,"context_line":"        }"},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"  Response: HTTP 200 with JSON body containing keys:"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"  * ``uuid``: The unique UUID of the ironic-conductor service."},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"  * ``hostname`` The node where ironic-conductor service is running."}],"source_content_type":"text/x-rst","patch_set":22,"id":"7f96bb07_576561b4","line":131,"in_reply_to":"7f96bb07_28040b15","updated":"2018-01-12 10:19:00.000000000","message":"Added.","commit_id":"dc814638aecee2c51e1f898c2aa05a096fcac757"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"3f074e5b12d6771abba4e269b74217d6d62055e3","unresolved":false,"context_lines":[{"line_number":133,"context_line":""},{"line_number":134,"context_line":"  * ``hostname`` The node where ironic-conductor service is running."},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"  * ``state`` The state of an ironic-conductor service. Its value is `up`"},{"line_number":137,"context_line":"    or `down`"},{"line_number":138,"context_line":""},{"line_number":139,"context_line":"  * ``status`` The status of an ironic-conductor service. Its value is"}],"source_content_type":"text/x-rst","patch_set":22,"id":"7f96bb07_2852cb14","line":136,"updated":"2018-01-11 18:25:59.000000000","message":"I don\u0027t see this above; is this another column or should it be deleted? (What\u0027s the diff between state \u0026 status?)","commit_id":"dc814638aecee2c51e1f898c2aa05a096fcac757"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"8b58964436b18b4c386f9e609d2ec53d03f438c2","unresolved":false,"context_lines":[{"line_number":133,"context_line":""},{"line_number":134,"context_line":"  * ``hostname`` The node where ironic-conductor service is running."},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"  * ``state`` The state of an ironic-conductor service. Its value is `up`"},{"line_number":137,"context_line":"    or `down`"},{"line_number":138,"context_line":""},{"line_number":139,"context_line":"  * ``status`` The status of an ironic-conductor service. Its value is"}],"source_content_type":"text/x-rst","patch_set":22,"id":"7f96bb07_b70dc53f","line":136,"in_reply_to":"7f96bb07_2852cb14","updated":"2018-01-12 10:19:00.000000000","message":"This value is picked from the combination of `online` and `last_seen_up` of conductors. I have updated the spec to explain this.","commit_id":"dc814638aecee2c51e1f898c2aa05a096fcac757"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"3f074e5b12d6771abba4e269b74217d6d62055e3","unresolved":false,"context_lines":[{"line_number":137,"context_line":"    or `down`"},{"line_number":138,"context_line":""},{"line_number":139,"context_line":"  * ``status`` The status of an ironic-conductor service. Its value is"},{"line_number":140,"context_line":"    `enabled` and `disabled`. By default, it is `enabled`."},{"line_number":141,"context_line":""},{"line_number":142,"context_line":"  * ``last_seen_up`` The last heartbeat time of an ironic-conductor. If the"},{"line_number":143,"context_line":"    time keeps no change, the service is down."}],"source_content_type":"text/x-rst","patch_set":22,"id":"7f96bb07_c8f24707","line":140,"updated":"2018-01-11 18:25:59.000000000","message":"If it is only two possible values, I don\u0027t see the need for a string of 255. In fact, why not just make it a Boolean and call it eg \u0027enabled\u0027 instead of \u0027status\u0027.\n\n(Although I still don\u0027t know what enabled/disabled mean...)","commit_id":"dc814638aecee2c51e1f898c2aa05a096fcac757"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"8b58964436b18b4c386f9e609d2ec53d03f438c2","unresolved":false,"context_lines":[{"line_number":137,"context_line":"    or `down`"},{"line_number":138,"context_line":""},{"line_number":139,"context_line":"  * ``status`` The status of an ironic-conductor service. Its value is"},{"line_number":140,"context_line":"    `enabled` and `disabled`. By default, it is `enabled`."},{"line_number":141,"context_line":""},{"line_number":142,"context_line":"  * ``last_seen_up`` The last heartbeat time of an ironic-conductor. If the"},{"line_number":143,"context_line":"    time keeps no change, the service is down."}],"source_content_type":"text/x-rst","patch_set":22,"id":"7f96bb07_7a35e4d9","line":140,"in_reply_to":"7f96bb07_c8f24707","updated":"2018-01-12 10:19:00.000000000","message":"The status here means if it is enabled or not. And this value will be picked from the `disable` field. I have updated the table to include a new boolean column named `disable` to fix the issue of having larger string size.","commit_id":"dc814638aecee2c51e1f898c2aa05a096fcac757"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"3f074e5b12d6771abba4e269b74217d6d62055e3","unresolved":false,"context_lines":[{"line_number":140,"context_line":"    `enabled` and `disabled`. By default, it is `enabled`."},{"line_number":141,"context_line":""},{"line_number":142,"context_line":"  * ``last_seen_up`` The last heartbeat time of an ironic-conductor. If the"},{"line_number":143,"context_line":"    time keeps no change, the service is down."},{"line_number":144,"context_line":""},{"line_number":145,"context_line":"  * ``disabled_reason`` The reason why the service is disabled."},{"line_number":146,"context_line":""}],"source_content_type":"text/x-rst","patch_set":22,"id":"7f96bb07_a83d7bbc","line":143,"updated":"2018-01-11 18:25:59.000000000","message":"what do you mean by \u0027time keeps no change\u0027 ?","commit_id":"dc814638aecee2c51e1f898c2aa05a096fcac757"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"8b58964436b18b4c386f9e609d2ec53d03f438c2","unresolved":false,"context_lines":[{"line_number":140,"context_line":"    `enabled` and `disabled`. By default, it is `enabled`."},{"line_number":141,"context_line":""},{"line_number":142,"context_line":"  * ``last_seen_up`` The last heartbeat time of an ironic-conductor. If the"},{"line_number":143,"context_line":"    time keeps no change, the service is down."},{"line_number":144,"context_line":""},{"line_number":145,"context_line":"  * ``disabled_reason`` The reason why the service is disabled."},{"line_number":146,"context_line":""}],"source_content_type":"text/x-rst","patch_set":22,"id":"7f96bb07_1aaaa0d3","line":143,"in_reply_to":"7f96bb07_a83d7bbc","updated":"2018-01-12 10:19:00.000000000","message":"Means the time is not changing. I will change this in the spec.","commit_id":"dc814638aecee2c51e1f898c2aa05a096fcac757"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"3f074e5b12d6771abba4e269b74217d6d62055e3","unresolved":false,"context_lines":[{"line_number":151,"context_line":"  * 400 - bad request"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"  * 404 - Not Found, if lower API microversion is used."},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"* ``PUT /v1/conductors/\u003cUUID\u003e/action``"},{"line_number":156,"context_line":""},{"line_number":157,"context_line":"  Change the status of an ironic-conductor service. This request updates the"}],"source_content_type":"text/x-rst","patch_set":22,"id":"7f96bb07_8873df80","line":154,"updated":"2018-01-11 18:25:59.000000000","message":"Other things:\n- take a look at the filters associated with the other GET requests. Maybe \u0027sort_dir\u0027,\u0027sort_key\u0027, \u0027limit\u0027, \u0027marker\u0027, \u0027fields\u0027, \u0027detail\u0027 should also apply here.\n- if we add this, we should also add GET /v1/conductors/\u003cconductor_uuid\u003e to return info for only one conductor.\n- if we add \u0027detail\u0027, we need to decide what to show in the summary version vs the detailed version.","commit_id":"dc814638aecee2c51e1f898c2aa05a096fcac757"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"8b58964436b18b4c386f9e609d2ec53d03f438c2","unresolved":false,"context_lines":[{"line_number":151,"context_line":"  * 400 - bad request"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"  * 404 - Not Found, if lower API microversion is used."},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"* ``PUT /v1/conductors/\u003cUUID\u003e/action``"},{"line_number":156,"context_line":""},{"line_number":157,"context_line":"  Change the status of an ironic-conductor service. This request updates the"}],"source_content_type":"text/x-rst","patch_set":22,"id":"7f96bb07_9a51d0db","line":154,"in_reply_to":"7f96bb07_8873df80","updated":"2018-01-12 10:19:00.000000000","message":"Ruby, all these filters are helpful if we have a long list of the resource. I think adding for conductors doesn\u0027t make much sense. Let me know if you still think that this should be added, I will do it in the next patchset.","commit_id":"dc814638aecee2c51e1f898c2aa05a096fcac757"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"0572f8324a9efaf9516fcdda1281de489916cf7a","unresolved":false,"context_lines":[{"line_number":151,"context_line":"  * 400 - bad request"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"  * 404 - Not Found, if lower API microversion is used."},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"* ``PUT /v1/conductors/\u003cUUID\u003e/action``"},{"line_number":156,"context_line":""},{"line_number":157,"context_line":"  Change the status of an ironic-conductor service. This request updates the"}],"source_content_type":"text/x-rst","patch_set":22,"id":"7f96bb07_e8ffaafe","line":154,"in_reply_to":"7f96bb07_9a51d0db","updated":"2018-01-15 23:12:06.000000000","message":"it is for consistency with the other objects. I am fine if we don\u0027t do the ones that deal with many objects, but I think some of the others apply.","commit_id":"dc814638aecee2c51e1f898c2aa05a096fcac757"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"51567b4ff884695160677d505caf5692540642dd","unresolved":false,"context_lines":[{"line_number":151,"context_line":"  * 400 - bad request"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"  * 404 - Not Found, if lower API microversion is used."},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"* ``PUT /v1/conductors/\u003cUUID\u003e/action``"},{"line_number":156,"context_line":""},{"line_number":157,"context_line":"  Change the status of an ironic-conductor service. This request updates the"}],"source_content_type":"text/x-rst","patch_set":22,"id":"7f96bb07_280c80ea","line":154,"in_reply_to":"7f96bb07_e8ffaafe","updated":"2018-01-17 05:14:45.000000000","message":"Which ones? I think fields and detail? I will add in the next PS.","commit_id":"dc814638aecee2c51e1f898c2aa05a096fcac757"},{"author":{"_account_id":13689,"name":"Hironori Shiina","email":"Hironori.Shiina@fujitsu.com","username":"shiina"},"change_message_id":"02781380323b59c620d6887f115fd76dbe660c7f","unresolved":false,"context_lines":[{"line_number":172,"context_line":"          \"disable\": null,"},{"line_number":173,"context_line":"          \"reason\": \"Disable it for maintenance\""},{"line_number":174,"context_line":"        }"},{"line_number":175,"context_line":""},{"line_number":176,"context_line":"  Response: HTTP 200 with JSON body containing keys:"},{"line_number":177,"context_line":""},{"line_number":178,"context_line":"  * ``hostname`` The node where ironic-conductor service is running."}],"source_content_type":"text/x-rst","patch_set":22,"id":"9f91af0f_eb57b801","line":175,"updated":"2018-01-05 09:52:45.000000000","message":"In most maintenance cases, a conductor will be stopped. What is a difference between shutting down the conductor with SIGTERM and disabling with this API?\n\nHow will \u0027enable\u0027 work? Will not the conductor automatically join the cluster by updating its state after launched?","commit_id":"dc814638aecee2c51e1f898c2aa05a096fcac757"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"8b58964436b18b4c386f9e609d2ec53d03f438c2","unresolved":false,"context_lines":[{"line_number":172,"context_line":"          \"disable\": null,"},{"line_number":173,"context_line":"          \"reason\": \"Disable it for maintenance\""},{"line_number":174,"context_line":"        }"},{"line_number":175,"context_line":""},{"line_number":176,"context_line":"  Response: HTTP 200 with JSON body containing keys:"},{"line_number":177,"context_line":""},{"line_number":178,"context_line":"  * ``hostname`` The node where ironic-conductor service is running."}],"source_content_type":"text/x-rst","patch_set":22,"id":"7f96bb07_faaa5483","line":175,"in_reply_to":"7f96bb07_08d34f3a","updated":"2018-01-12 10:19:00.000000000","message":"I am leaving this question for now. Will respond after having a discussion with Tao.","commit_id":"dc814638aecee2c51e1f898c2aa05a096fcac757"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"3f074e5b12d6771abba4e269b74217d6d62055e3","unresolved":false,"context_lines":[{"line_number":172,"context_line":"          \"disable\": null,"},{"line_number":173,"context_line":"          \"reason\": \"Disable it for maintenance\""},{"line_number":174,"context_line":"        }"},{"line_number":175,"context_line":""},{"line_number":176,"context_line":"  Response: HTTP 200 with JSON body containing keys:"},{"line_number":177,"context_line":""},{"line_number":178,"context_line":"  * ``hostname`` The node where ironic-conductor service is running."}],"source_content_type":"text/x-rst","patch_set":22,"id":"7f96bb07_08d34f3a","line":175,"in_reply_to":"9f91af0f_eb57b801","updated":"2018-01-11 18:25:59.000000000","message":"+1. Hence my question about what \u0027enabled\u0027 and \u0027disable\u0027 mean...","commit_id":"dc814638aecee2c51e1f898c2aa05a096fcac757"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"3f074e5b12d6771abba4e269b74217d6d62055e3","unresolved":false,"context_lines":[{"line_number":175,"context_line":""},{"line_number":176,"context_line":"  Response: HTTP 200 with JSON body containing keys:"},{"line_number":177,"context_line":""},{"line_number":178,"context_line":"  * ``hostname`` The node where ironic-conductor service is running."},{"line_number":179,"context_line":""},{"line_number":180,"context_line":"  * ``status`` The status of an ironic-conductor service."},{"line_number":181,"context_line":""}],"source_content_type":"text/x-rst","patch_set":22,"id":"7f96bb07_88f8bfc4","line":178,"updated":"2018-01-11 18:25:59.000000000","message":"what about the service\u0027s uuid?","commit_id":"dc814638aecee2c51e1f898c2aa05a096fcac757"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"8b58964436b18b4c386f9e609d2ec53d03f438c2","unresolved":false,"context_lines":[{"line_number":175,"context_line":""},{"line_number":176,"context_line":"  Response: HTTP 200 with JSON body containing keys:"},{"line_number":177,"context_line":""},{"line_number":178,"context_line":"  * ``hostname`` The node where ironic-conductor service is running."},{"line_number":179,"context_line":""},{"line_number":180,"context_line":"  * ``status`` The status of an ironic-conductor service."},{"line_number":181,"context_line":""}],"source_content_type":"text/x-rst","patch_set":22,"id":"7f96bb07_13f3740c","line":178,"in_reply_to":"7f96bb07_88f8bfc4","updated":"2018-01-12 10:19:00.000000000","message":"Added. Done.","commit_id":"dc814638aecee2c51e1f898c2aa05a096fcac757"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"0572f8324a9efaf9516fcdda1281de489916cf7a","unresolved":false,"context_lines":[{"line_number":43,"context_line":"* Use the existing function `_conductor_service_record_keepalive` to update"},{"line_number":44,"context_line":"  `last_seen_up` column instead of `updated-at` to display the heartbeat of"},{"line_number":45,"context_line":"  ironic-conductor service. The `updated_at` just only records other database"},{"line_number":46,"context_line":"  operation except heartbeat report."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"Alternatives"},{"line_number":49,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":24,"id":"7f96bb07_c5b5f7ce","line":46,"updated":"2018-01-15 23:12:06.000000000","message":"It isn\u0027t clear to me why we want to change updated_at so that it doesn\u0027t include the heartbeat. I also wonder what that means for existing clusters that are assuming that updated_at includes the time of a heartbeat. We can\u0027t break existing deployments, and this isn\u0027t microversioned.","commit_id":"909abea235555b4f1c222511ab2977d336be2082"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"51567b4ff884695160677d505caf5692540642dd","unresolved":false,"context_lines":[{"line_number":43,"context_line":"* Use the existing function `_conductor_service_record_keepalive` to update"},{"line_number":44,"context_line":"  `last_seen_up` column instead of `updated-at` to display the heartbeat of"},{"line_number":45,"context_line":"  ironic-conductor service. The `updated_at` just only records other database"},{"line_number":46,"context_line":"  operation except heartbeat report."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"Alternatives"},{"line_number":49,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":24,"id":"7f96bb07_ed6d4a32","line":46,"in_reply_to":"7f96bb07_c5b5f7ce","updated":"2018-01-17 05:14:45.000000000","message":"For an example, if we enable/disable a conductor service, the updated_at time will be changed whereas it is not the heartbeat time.\nSo for such db operations that is not the heartbeat update, we have included new field `last_seen_up`.\n\nBut I agree about your comments on existing deployments, I would like to discuss this on IRC channel. Thanks for bringing up this point.","commit_id":"909abea235555b4f1c222511ab2977d336be2082"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"0572f8324a9efaf9516fcdda1281de489916cf7a","unresolved":false,"context_lines":[{"line_number":63,"context_line":"* ``last_seen_up``: It is a new column of conductors. It shows the last"},{"line_number":64,"context_line":"  heartbeat time of an ironic-conductor service."},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"* ``disable``: It is a new column of conductors that shows whether the"},{"line_number":67,"context_line":"  service is enabled or not."},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"* ``disabled_reason``: It is a new column of conductors. It tells admin the"}],"source_content_type":"text/x-rst","patch_set":24,"id":"7f96bb07_c5d417c0","line":66,"updated":"2018-01-15 23:12:06.000000000","message":"probably \u0027disabled\u0027.\n\nI prefer the positive, \u0027enabled\u0027 but maybe disabled makes more sense. I\u0027ll need to think about it.","commit_id":"909abea235555b4f1c222511ab2977d336be2082"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"51567b4ff884695160677d505caf5692540642dd","unresolved":false,"context_lines":[{"line_number":63,"context_line":"* ``last_seen_up``: It is a new column of conductors. It shows the last"},{"line_number":64,"context_line":"  heartbeat time of an ironic-conductor service."},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"* ``disable``: It is a new column of conductors that shows whether the"},{"line_number":67,"context_line":"  service is enabled or not."},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"* ``disabled_reason``: It is a new column of conductors. It tells admin the"}],"source_content_type":"text/x-rst","patch_set":24,"id":"7f96bb07_6d637a43","line":66,"in_reply_to":"7f96bb07_c5d417c0","updated":"2018-01-17 05:14:45.000000000","message":"Done. `Disabled` because the default state is enabled.","commit_id":"909abea235555b4f1c222511ab2977d336be2082"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"0572f8324a9efaf9516fcdda1281de489916cf7a","unresolved":false,"context_lines":[{"line_number":103,"context_line":"* ``GET /v1/conductors``"},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"  Get the information of all ironic-conductor services. This API supports some"},{"line_number":106,"context_line":"  filters. The supported filters are hostname and drivers. Some of the request"},{"line_number":107,"context_line":"  examples are shown below::"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"        GET /v1/conductors?hostname\u003dhost01"}],"source_content_type":"text/x-rst","patch_set":24,"id":"7f96bb07_0518bfd0","line":106,"updated":"2018-01-15 23:12:06.000000000","message":"I see hardware_type too?","commit_id":"909abea235555b4f1c222511ab2977d336be2082"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"51567b4ff884695160677d505caf5692540642dd","unresolved":false,"context_lines":[{"line_number":103,"context_line":"* ``GET /v1/conductors``"},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"  Get the information of all ironic-conductor services. This API supports some"},{"line_number":106,"context_line":"  filters. The supported filters are hostname and drivers. Some of the request"},{"line_number":107,"context_line":"  examples are shown below::"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"        GET /v1/conductors?hostname\u003dhost01"}],"source_content_type":"text/x-rst","patch_set":24,"id":"7f96bb07_eddb0aea","line":106,"in_reply_to":"7f96bb07_0518bfd0","updated":"2018-01-17 05:14:45.000000000","message":"Done","commit_id":"909abea235555b4f1c222511ab2977d336be2082"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"0572f8324a9efaf9516fcdda1281de489916cf7a","unresolved":false,"context_lines":[{"line_number":107,"context_line":"  examples are shown below::"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"        GET /v1/conductors?hostname\u003dhost01"},{"line_number":110,"context_line":"        GET /v1/conductors?drivers\u003d[\"pxe_ipmitool\", \"agent_ipmitool\"]"},{"line_number":111,"context_line":"        GET /v1/conductors?hardware_type\u003dipmi"},{"line_number":112,"context_line":""},{"line_number":113,"context_line":"  Response: HTTP 200 with JSON body containing keys:"}],"source_content_type":"text/x-rst","patch_set":24,"id":"7f96bb07_25493bcf","line":110,"updated":"2018-01-15 23:12:06.000000000","message":"I\u0027m not sure this is the correct syntax for a URL, I suspect the [] doesn\u0027t work but I could be wrong (it just looks odd to me)\n\nWe\u0027re also planning on deprecating classic drivers. I wonder if we want to provide this.","commit_id":"909abea235555b4f1c222511ab2977d336be2082"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"51567b4ff884695160677d505caf5692540642dd","unresolved":false,"context_lines":[{"line_number":107,"context_line":"  examples are shown below::"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"        GET /v1/conductors?hostname\u003dhost01"},{"line_number":110,"context_line":"        GET /v1/conductors?drivers\u003d[\"pxe_ipmitool\", \"agent_ipmitool\"]"},{"line_number":111,"context_line":"        GET /v1/conductors?hardware_type\u003dipmi"},{"line_number":112,"context_line":""},{"line_number":113,"context_line":"  Response: HTTP 200 with JSON body containing keys:"}],"source_content_type":"text/x-rst","patch_set":24,"id":"7f96bb07_6df13a6b","line":110,"in_reply_to":"7f96bb07_25493bcf","updated":"2018-01-17 05:14:45.000000000","message":"Removed classic drivers example.","commit_id":"909abea235555b4f1c222511ab2977d336be2082"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"0572f8324a9efaf9516fcdda1281de489916cf7a","unresolved":false,"context_lines":[{"line_number":116,"context_line":""},{"line_number":117,"context_line":"  * ``hostname`` The node where ironic-conductor service is running."},{"line_number":118,"context_line":""},{"line_number":119,"context_line":"  * ``state`` The state of an ironic-conductor service. Its value is `up`"},{"line_number":120,"context_line":"    or `down`. This value is picked from the combination of `online` and"},{"line_number":121,"context_line":"    `last_seen_up` of conductors."},{"line_number":122,"context_line":""}],"source_content_type":"text/x-rst","patch_set":24,"id":"7f96bb07_c55f3770","line":119,"updated":"2018-01-15 23:12:06.000000000","message":"we don\u0027t have \u0027state\u0027 as a field in the Conductor object. We could add it at the API level, but it is more work so we should be sure we want this. Why not just return online and last_seen_up?","commit_id":"909abea235555b4f1c222511ab2977d336be2082"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"51567b4ff884695160677d505caf5692540642dd","unresolved":false,"context_lines":[{"line_number":116,"context_line":""},{"line_number":117,"context_line":"  * ``hostname`` The node where ironic-conductor service is running."},{"line_number":118,"context_line":""},{"line_number":119,"context_line":"  * ``state`` The state of an ironic-conductor service. Its value is `up`"},{"line_number":120,"context_line":"    or `down`. This value is picked from the combination of `online` and"},{"line_number":121,"context_line":"    `last_seen_up` of conductors."},{"line_number":122,"context_line":""}],"source_content_type":"text/x-rst","patch_set":24,"id":"7f96bb07_6dbffa60","line":119,"in_reply_to":"7f96bb07_c55f3770","updated":"2018-01-17 05:14:45.000000000","message":"We can do that. But the state represents both the field, so I think its better to include state. And also it is easy to understand the state as up or down.","commit_id":"909abea235555b4f1c222511ab2977d336be2082"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"0572f8324a9efaf9516fcdda1281de489916cf7a","unresolved":false,"context_lines":[{"line_number":120,"context_line":"    or `down`. This value is picked from the combination of `online` and"},{"line_number":121,"context_line":"    `last_seen_up` of conductors."},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"  * ``status`` The status of an ironic-conductor service. Its value is"},{"line_number":124,"context_line":"    `enabled` and `disabled`. By default, it is `enabled`. This values is"},{"line_number":125,"context_line":"    picked from `disable` field."},{"line_number":126,"context_line":""}],"source_content_type":"text/x-rst","patch_set":24,"id":"7f96bb07_85512f65","line":123,"updated":"2018-01-15 23:12:06.000000000","message":"ditto, we don\u0027t have a \u0027status\u0027 field in the Conductor object. Why not return \u0027disable\u0027?","commit_id":"909abea235555b4f1c222511ab2977d336be2082"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"430c78438eec623313c70c2bcae9037488f76f05","unresolved":false,"context_lines":[{"line_number":120,"context_line":"    or `down`. This value is picked from the combination of `online` and"},{"line_number":121,"context_line":"    `last_seen_up` of conductors."},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"  * ``status`` The status of an ironic-conductor service. Its value is"},{"line_number":124,"context_line":"    `enabled` and `disabled`. By default, it is `enabled`. This values is"},{"line_number":125,"context_line":"    picked from `disable` field."},{"line_number":126,"context_line":""}],"source_content_type":"text/x-rst","patch_set":24,"id":"3fa0c359_f8902351","line":123,"in_reply_to":"3fa0c359_57202b9c","updated":"2018-02-16 08:12:21.000000000","message":"Like Nova, Zun, Magnum. Should I mention it in the spec also?","commit_id":"909abea235555b4f1c222511ab2977d336be2082"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"3bbd1ff60af98b3855289a7054386569185f5eab","unresolved":false,"context_lines":[{"line_number":120,"context_line":"    or `down`. This value is picked from the combination of `online` and"},{"line_number":121,"context_line":"    `last_seen_up` of conductors."},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"  * ``status`` The status of an ironic-conductor service. Its value is"},{"line_number":124,"context_line":"    `enabled` and `disabled`. By default, it is `enabled`. This values is"},{"line_number":125,"context_line":"    picked from `disable` field."},{"line_number":126,"context_line":""}],"source_content_type":"text/x-rst","patch_set":24,"id":"3fa0c359_1ca8958a","line":123,"in_reply_to":"3fa0c359_9ed08b21","updated":"2018-02-27 07:39:57.000000000","message":"Done","commit_id":"909abea235555b4f1c222511ab2977d336be2082"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"31ac9b4494d3331687a15c6911ae5bbe0bc478c8","unresolved":false,"context_lines":[{"line_number":120,"context_line":"    or `down`. This value is picked from the combination of `online` and"},{"line_number":121,"context_line":"    `last_seen_up` of conductors."},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"  * ``status`` The status of an ironic-conductor service. Its value is"},{"line_number":124,"context_line":"    `enabled` and `disabled`. By default, it is `enabled`. This values is"},{"line_number":125,"context_line":"    picked from `disable` field."},{"line_number":126,"context_line":""}],"source_content_type":"text/x-rst","patch_set":24,"id":"3fa0c359_9ed08b21","line":123,"in_reply_to":"3fa0c359_dbff0fff","updated":"2018-02-21 05:44:19.000000000","message":"Ok will do it in next PS. Thanks!","commit_id":"909abea235555b4f1c222511ab2977d336be2082"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"850db90f976270403fa8197630f27ce5dfd50e76","unresolved":false,"context_lines":[{"line_number":120,"context_line":"    or `down`. This value is picked from the combination of `online` and"},{"line_number":121,"context_line":"    `last_seen_up` of conductors."},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"  * ``status`` The status of an ironic-conductor service. Its value is"},{"line_number":124,"context_line":"    `enabled` and `disabled`. By default, it is `enabled`. This values is"},{"line_number":125,"context_line":"    picked from `disable` field."},{"line_number":126,"context_line":""}],"source_content_type":"text/x-rst","patch_set":24,"id":"3fa0c359_dbff0fff","line":123,"in_reply_to":"3fa0c359_f8902351","updated":"2018-02-20 19:51:15.000000000","message":"Yes, you should mention it. We want to have consistency between projects in openstack. So if eg \u0027foobar\u0027 was used as a name in the other projects, we should use the same unless we have a really good reason for doing it differently.","commit_id":"909abea235555b4f1c222511ab2977d336be2082"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"5a12bb3b3f2a3354751df5aca3e162bcf4bffdb2","unresolved":false,"context_lines":[{"line_number":120,"context_line":"    or `down`. This value is picked from the combination of `online` and"},{"line_number":121,"context_line":"    `last_seen_up` of conductors."},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"  * ``status`` The status of an ironic-conductor service. Its value is"},{"line_number":124,"context_line":"    `enabled` and `disabled`. By default, it is `enabled`. This values is"},{"line_number":125,"context_line":"    picked from `disable` field."},{"line_number":126,"context_line":""}],"source_content_type":"text/x-rst","patch_set":24,"id":"3fa0c359_57202b9c","line":123,"in_reply_to":"7f96bb07_2806c01d","updated":"2018-02-15 00:25:04.000000000","message":"yes, consistency is good. If you are basing some/most/all of this from some other openstack project(s), it is worth mentioning which.","commit_id":"909abea235555b4f1c222511ab2977d336be2082"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"51567b4ff884695160677d505caf5692540642dd","unresolved":false,"context_lines":[{"line_number":120,"context_line":"    or `down`. This value is picked from the combination of `online` and"},{"line_number":121,"context_line":"    `last_seen_up` of conductors."},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"  * ``status`` The status of an ironic-conductor service. Its value is"},{"line_number":124,"context_line":"    `enabled` and `disabled`. By default, it is `enabled`. This values is"},{"line_number":125,"context_line":"    picked from `disable` field."},{"line_number":126,"context_line":""}],"source_content_type":"text/x-rst","patch_set":24,"id":"7f96bb07_2806c01d","line":123,"in_reply_to":"7f96bb07_85512f65","updated":"2018-01-17 05:14:45.000000000","message":"Same as above. `Status` is more readable than `disabled`. Also the other OpenStack projects like Nova also has the same response. Should we worry about consistency across other OpenStack projects?","commit_id":"909abea235555b4f1c222511ab2977d336be2082"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"0572f8324a9efaf9516fcdda1281de489916cf7a","unresolved":false,"context_lines":[{"line_number":125,"context_line":"    picked from `disable` field."},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"  * ``last_seen_up`` The last heartbeat time of an ironic-conductor. If there"},{"line_number":128,"context_line":"    is no change in the time, the service is down."},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"  * ``disabled_reason`` The reason why the service is disabled."},{"line_number":131,"context_line":""}],"source_content_type":"text/x-rst","patch_set":24,"id":"7f96bb07_656d0331","line":128,"updated":"2018-01-15 23:12:06.000000000","message":"What does \u0027no change in the time\u0027 mean? No change after 1 second? 1 minute, 1 hour, 1 day, 1 week?","commit_id":"909abea235555b4f1c222511ab2977d336be2082"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"51567b4ff884695160677d505caf5692540642dd","unresolved":false,"context_lines":[{"line_number":125,"context_line":"    picked from `disable` field."},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"  * ``last_seen_up`` The last heartbeat time of an ironic-conductor. If there"},{"line_number":128,"context_line":"    is no change in the time, the service is down."},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"  * ``disabled_reason`` The reason why the service is disabled."},{"line_number":131,"context_line":""}],"source_content_type":"text/x-rst","patch_set":24,"id":"7f96bb07_48a78c0c","line":128,"in_reply_to":"7f96bb07_656d0331","updated":"2018-01-17 05:14:45.000000000","message":"After 60 seconds which is the `heartbeat_timeout`.","commit_id":"909abea235555b4f1c222511ab2977d336be2082"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"0572f8324a9efaf9516fcdda1281de489916cf7a","unresolved":false,"context_lines":[{"line_number":137,"context_line":".. code-block:: python"},{"line_number":138,"context_line":""},{"line_number":139,"context_line":""},{"line_number":140,"context_line":"    {\"services\": ["},{"line_number":141,"context_line":"        {\"status\": \"enabled\", \"hostname\": \"ubuntu\", \"state\": \"up\","},{"line_number":142,"context_line":"         \"disabled_reason\": null, \"id\": \"f1e4d7bf-f8ad-45bc-bfae-b8f5253924a8\","},{"line_number":143,"context_line":"         \"last_seen_up\": \"2018-01-12T09:33:18.000000\", \"nodes_affinity\": [\"node-0\"]}"}],"source_content_type":"text/x-rst","patch_set":24,"id":"7f96bb07_657743d6","line":140,"updated":"2018-01-15 23:12:06.000000000","message":"I\u0027d prefer conductor or \u0027ironic-conductor\u0027. \u0027services\u0027 seems too general to me. what if the ironic-api service was added later, or we add a new service?","commit_id":"909abea235555b4f1c222511ab2977d336be2082"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"e0f4c04511cc5adeff5100e4bdcbc546d6be5b2f","unresolved":false,"context_lines":[{"line_number":137,"context_line":".. code-block:: python"},{"line_number":138,"context_line":""},{"line_number":139,"context_line":""},{"line_number":140,"context_line":"    {\"services\": ["},{"line_number":141,"context_line":"        {\"status\": \"enabled\", \"hostname\": \"ubuntu\", \"state\": \"up\","},{"line_number":142,"context_line":"         \"disabled_reason\": null, \"id\": \"f1e4d7bf-f8ad-45bc-bfae-b8f5253924a8\","},{"line_number":143,"context_line":"         \"last_seen_up\": \"2018-01-12T09:33:18.000000\", \"nodes_affinity\": [\"node-0\"]}"}],"source_content_type":"text/x-rst","patch_set":24,"id":"3fa0c359_d7401f38","line":140,"in_reply_to":"3fa0c359_3e90574a","updated":"2018-02-22 02:25:03.000000000","message":"It may not be needed, but it would be useful. Wouldn\u0027t this make it consistent with other openstack services too? if we ever add more services, this \u0027binary\u0027 will already be in place.","commit_id":"909abea235555b4f1c222511ab2977d336be2082"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"430c78438eec623313c70c2bcae9037488f76f05","unresolved":false,"context_lines":[{"line_number":137,"context_line":".. code-block:: python"},{"line_number":138,"context_line":""},{"line_number":139,"context_line":""},{"line_number":140,"context_line":"    {\"services\": ["},{"line_number":141,"context_line":"        {\"status\": \"enabled\", \"hostname\": \"ubuntu\", \"state\": \"up\","},{"line_number":142,"context_line":"         \"disabled_reason\": null, \"id\": \"f1e4d7bf-f8ad-45bc-bfae-b8f5253924a8\","},{"line_number":143,"context_line":"         \"last_seen_up\": \"2018-01-12T09:33:18.000000\", \"nodes_affinity\": [\"node-0\"]}"}],"source_content_type":"text/x-rst","patch_set":24,"id":"3fa0c359_f8e26301","line":140,"in_reply_to":"3fa0c359_570d8be6","updated":"2018-02-16 08:12:21.000000000","message":"I put a point of why it is not good to hardcode it to ironic-conductor above in my comment. If you feel that the scope of having new service in ironic is too far, I will change to include the mentioned change.\nLet me know your thoughts on it.","commit_id":"909abea235555b4f1c222511ab2977d336be2082"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"31ac9b4494d3331687a15c6911ae5bbe0bc478c8","unresolved":false,"context_lines":[{"line_number":137,"context_line":".. code-block:: python"},{"line_number":138,"context_line":""},{"line_number":139,"context_line":""},{"line_number":140,"context_line":"    {\"services\": ["},{"line_number":141,"context_line":"        {\"status\": \"enabled\", \"hostname\": \"ubuntu\", \"state\": \"up\","},{"line_number":142,"context_line":"         \"disabled_reason\": null, \"id\": \"f1e4d7bf-f8ad-45bc-bfae-b8f5253924a8\","},{"line_number":143,"context_line":"         \"last_seen_up\": \"2018-01-12T09:33:18.000000\", \"nodes_affinity\": [\"node-0\"]}"}],"source_content_type":"text/x-rst","patch_set":24,"id":"3fa0c359_3e90574a","line":140,"in_reply_to":"3fa0c359_5b3c5fc7","updated":"2018-02-21 05:44:19.000000000","message":"The binary field will only be helpful if we have more than one service in ironic. But now it is just one service i.e ironic-conductor, so it is not needed.","commit_id":"909abea235555b4f1c222511ab2977d336be2082"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"3bbd1ff60af98b3855289a7054386569185f5eab","unresolved":false,"context_lines":[{"line_number":137,"context_line":".. code-block:: python"},{"line_number":138,"context_line":""},{"line_number":139,"context_line":""},{"line_number":140,"context_line":"    {\"services\": ["},{"line_number":141,"context_line":"        {\"status\": \"enabled\", \"hostname\": \"ubuntu\", \"state\": \"up\","},{"line_number":142,"context_line":"         \"disabled_reason\": null, \"id\": \"f1e4d7bf-f8ad-45bc-bfae-b8f5253924a8\","},{"line_number":143,"context_line":"         \"last_seen_up\": \"2018-01-12T09:33:18.000000\", \"nodes_affinity\": [\"node-0\"]}"}],"source_content_type":"text/x-rst","patch_set":24,"id":"3fa0c359_fc8e0931","line":140,"in_reply_to":"3fa0c359_88a111fa","updated":"2018-02-27 07:39:57.000000000","message":"Done","commit_id":"909abea235555b4f1c222511ab2977d336be2082"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"e8645903ff3ae64aa805e6d86afbb9f470e1b336","unresolved":false,"context_lines":[{"line_number":137,"context_line":".. code-block:: python"},{"line_number":138,"context_line":""},{"line_number":139,"context_line":""},{"line_number":140,"context_line":"    {\"services\": ["},{"line_number":141,"context_line":"        {\"status\": \"enabled\", \"hostname\": \"ubuntu\", \"state\": \"up\","},{"line_number":142,"context_line":"         \"disabled_reason\": null, \"id\": \"f1e4d7bf-f8ad-45bc-bfae-b8f5253924a8\","},{"line_number":143,"context_line":"         \"last_seen_up\": \"2018-01-12T09:33:18.000000\", \"nodes_affinity\": [\"node-0\"]}"}],"source_content_type":"text/x-rst","patch_set":24,"id":"3fa0c359_88a111fa","line":140,"in_reply_to":"3fa0c359_d7401f38","updated":"2018-02-22 10:56:13.000000000","message":"Ok, I will add this one in the next PS. Thanks!","commit_id":"909abea235555b4f1c222511ab2977d336be2082"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"850db90f976270403fa8197630f27ce5dfd50e76","unresolved":false,"context_lines":[{"line_number":137,"context_line":".. code-block:: python"},{"line_number":138,"context_line":""},{"line_number":139,"context_line":""},{"line_number":140,"context_line":"    {\"services\": ["},{"line_number":141,"context_line":"        {\"status\": \"enabled\", \"hostname\": \"ubuntu\", \"state\": \"up\","},{"line_number":142,"context_line":"         \"disabled_reason\": null, \"id\": \"f1e4d7bf-f8ad-45bc-bfae-b8f5253924a8\","},{"line_number":143,"context_line":"         \"last_seen_up\": \"2018-01-12T09:33:18.000000\", \"nodes_affinity\": [\"node-0\"]}"}],"source_content_type":"text/x-rst","patch_set":24,"id":"3fa0c359_5b3c5fc7","line":140,"in_reply_to":"3fa0c359_f8e26301","updated":"2018-02-20 19:51:15.000000000","message":"Yes, I saw your point. And you also mentioned adding a new \u0027binary\u0027 field. What happened to that? Were you going to add it?","commit_id":"909abea235555b4f1c222511ab2977d336be2082"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"5a12bb3b3f2a3354751df5aca3e162bcf4bffdb2","unresolved":false,"context_lines":[{"line_number":137,"context_line":".. code-block:: python"},{"line_number":138,"context_line":""},{"line_number":139,"context_line":""},{"line_number":140,"context_line":"    {\"services\": ["},{"line_number":141,"context_line":"        {\"status\": \"enabled\", \"hostname\": \"ubuntu\", \"state\": \"up\","},{"line_number":142,"context_line":"         \"disabled_reason\": null, \"id\": \"f1e4d7bf-f8ad-45bc-bfae-b8f5253924a8\","},{"line_number":143,"context_line":"         \"last_seen_up\": \"2018-01-12T09:33:18.000000\", \"nodes_affinity\": [\"node-0\"]}"}],"source_content_type":"text/x-rst","patch_set":24,"id":"3fa0c359_570d8be6","line":140,"in_reply_to":"7f96bb07_4d86be15","updated":"2018-02-15 00:25:04.000000000","message":"i don\u0027t see anything in patch set 26 that addresses this. Did I miss something?","commit_id":"909abea235555b4f1c222511ab2977d336be2082"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"51567b4ff884695160677d505caf5692540642dd","unresolved":false,"context_lines":[{"line_number":137,"context_line":".. code-block:: python"},{"line_number":138,"context_line":""},{"line_number":139,"context_line":""},{"line_number":140,"context_line":"    {\"services\": ["},{"line_number":141,"context_line":"        {\"status\": \"enabled\", \"hostname\": \"ubuntu\", \"state\": \"up\","},{"line_number":142,"context_line":"         \"disabled_reason\": null, \"id\": \"f1e4d7bf-f8ad-45bc-bfae-b8f5253924a8\","},{"line_number":143,"context_line":"         \"last_seen_up\": \"2018-01-12T09:33:18.000000\", \"nodes_affinity\": [\"node-0\"]}"}],"source_content_type":"text/x-rst","patch_set":24,"id":"7f96bb07_4d86be15","line":140,"in_reply_to":"7f96bb07_657743d6","updated":"2018-01-17 05:14:45.000000000","message":"In that case, we add a new field `binary` to the response that represents the service name \"ironic-api\" or \"ironic-conductor\".\nIf we make it \"ironic-conductor\", the design will not be flexible to include new services in future.","commit_id":"909abea235555b4f1c222511ab2977d336be2082"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"0572f8324a9efaf9516fcdda1281de489916cf7a","unresolved":false,"context_lines":[{"line_number":139,"context_line":""},{"line_number":140,"context_line":"    {\"services\": ["},{"line_number":141,"context_line":"        {\"status\": \"enabled\", \"hostname\": \"ubuntu\", \"state\": \"up\","},{"line_number":142,"context_line":"         \"disabled_reason\": null, \"id\": \"f1e4d7bf-f8ad-45bc-bfae-b8f5253924a8\","},{"line_number":143,"context_line":"         \"last_seen_up\": \"2018-01-12T09:33:18.000000\", \"nodes_affinity\": [\"node-0\"]}"},{"line_number":144,"context_line":"    ]}"},{"line_number":145,"context_line":""}],"source_content_type":"text/x-rst","patch_set":24,"id":"7f96bb07_e54cb39f","line":142,"updated":"2018-01-15 23:12:06.000000000","message":"we don\u0027t expose ids (DB ids) to the outside world. Is this the UUID?","commit_id":"909abea235555b4f1c222511ab2977d336be2082"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"51567b4ff884695160677d505caf5692540642dd","unresolved":false,"context_lines":[{"line_number":139,"context_line":""},{"line_number":140,"context_line":"    {\"services\": ["},{"line_number":141,"context_line":"        {\"status\": \"enabled\", \"hostname\": \"ubuntu\", \"state\": \"up\","},{"line_number":142,"context_line":"         \"disabled_reason\": null, \"id\": \"f1e4d7bf-f8ad-45bc-bfae-b8f5253924a8\","},{"line_number":143,"context_line":"         \"last_seen_up\": \"2018-01-12T09:33:18.000000\", \"nodes_affinity\": [\"node-0\"]}"},{"line_number":144,"context_line":"    ]}"},{"line_number":145,"context_line":""}],"source_content_type":"text/x-rst","patch_set":24,"id":"7f96bb07_8d95a635","line":142,"in_reply_to":"7f96bb07_e54cb39f","updated":"2018-01-17 05:14:45.000000000","message":"Yes this is UUID. Changed in the spec. Thanks!","commit_id":"909abea235555b4f1c222511ab2977d336be2082"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"0572f8324a9efaf9516fcdda1281de489916cf7a","unresolved":false,"context_lines":[{"line_number":140,"context_line":"    {\"services\": ["},{"line_number":141,"context_line":"        {\"status\": \"enabled\", \"hostname\": \"ubuntu\", \"state\": \"up\","},{"line_number":142,"context_line":"         \"disabled_reason\": null, \"id\": \"f1e4d7bf-f8ad-45bc-bfae-b8f5253924a8\","},{"line_number":143,"context_line":"         \"last_seen_up\": \"2018-01-12T09:33:18.000000\", \"nodes_affinity\": [\"node-0\"]}"},{"line_number":144,"context_line":"    ]}"},{"line_number":145,"context_line":""},{"line_number":146,"context_line":"  Error codes:"}],"source_content_type":"text/x-rst","patch_set":24,"id":"7f96bb07_4555671c","line":143,"updated":"2018-01-15 23:12:06.000000000","message":"not all nodes have names associated with them. probably best if this were node UUIDs only.","commit_id":"909abea235555b4f1c222511ab2977d336be2082"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"51567b4ff884695160677d505caf5692540642dd","unresolved":false,"context_lines":[{"line_number":140,"context_line":"    {\"services\": ["},{"line_number":141,"context_line":"        {\"status\": \"enabled\", \"hostname\": \"ubuntu\", \"state\": \"up\","},{"line_number":142,"context_line":"         \"disabled_reason\": null, \"id\": \"f1e4d7bf-f8ad-45bc-bfae-b8f5253924a8\","},{"line_number":143,"context_line":"         \"last_seen_up\": \"2018-01-12T09:33:18.000000\", \"nodes_affinity\": [\"node-0\"]}"},{"line_number":144,"context_line":"    ]}"},{"line_number":145,"context_line":""},{"line_number":146,"context_line":"  Error codes:"}],"source_content_type":"text/x-rst","patch_set":24,"id":"7f96bb07_4d9b1e65","line":143,"in_reply_to":"7f96bb07_4555671c","updated":"2018-01-17 05:14:45.000000000","message":"Ok updated. Thanks!","commit_id":"909abea235555b4f1c222511ab2977d336be2082"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"0572f8324a9efaf9516fcdda1281de489916cf7a","unresolved":false,"context_lines":[{"line_number":152,"context_line":"* ``PUT /v1/conductors/\u003cUUID\u003e/action``"},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"  Change the status of an ironic-conductor service. This request updates the"},{"line_number":155,"context_line":"  `status` field of conductor object to `enable` or `disable` in database which"},{"line_number":156,"context_line":"  enables scheduling to the service. Specify the action in the request body."},{"line_number":157,"context_line":""},{"line_number":158,"context_line":"  Request:"}],"source_content_type":"text/x-rst","patch_set":24,"id":"7f96bb07_c85aee28","line":155,"updated":"2018-01-15 23:12:06.000000000","message":"I thought you deleted the \u0027status\u0027 field?","commit_id":"909abea235555b4f1c222511ab2977d336be2082"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"51567b4ff884695160677d505caf5692540642dd","unresolved":false,"context_lines":[{"line_number":152,"context_line":"* ``PUT /v1/conductors/\u003cUUID\u003e/action``"},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"  Change the status of an ironic-conductor service. This request updates the"},{"line_number":155,"context_line":"  `status` field of conductor object to `enable` or `disable` in database which"},{"line_number":156,"context_line":"  enables scheduling to the service. Specify the action in the request body."},{"line_number":157,"context_line":""},{"line_number":158,"context_line":"  Request:"}],"source_content_type":"text/x-rst","patch_set":24,"id":"7f96bb07_c8e07c29","line":155,"in_reply_to":"7f96bb07_c85aee28","updated":"2018-01-17 05:14:45.000000000","message":"oops, missed it. Updated in the new PS.","commit_id":"909abea235555b4f1c222511ab2977d336be2082"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"08cf18a0dd552db0e88ea4c0bb2f8d96badbbd61","unresolved":false,"context_lines":[{"line_number":152,"context_line":"* ``PUT /v1/conductors/\u003cUUID\u003e/action``"},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"  Change the status of an ironic-conductor service. This request updates the"},{"line_number":155,"context_line":"  `status` field of conductor object to `enable` or `disable` in database which"},{"line_number":156,"context_line":"  enables scheduling to the service. Specify the action in the request body."},{"line_number":157,"context_line":""},{"line_number":158,"context_line":"  Request:"},{"line_number":159,"context_line":""}],"source_content_type":"text/x-rst","patch_set":24,"id":"7f96bb07_505f8371","line":156,"range":{"start_line":155,"start_character":52,"end_line":156,"end_character":36},"updated":"2018-01-15 06:23:14.000000000","message":"It is not clear what happens to conductor when it is disabled? What happens to the nodes managed by that conductor?","commit_id":"909abea235555b4f1c222511ab2977d336be2082"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"0572f8324a9efaf9516fcdda1281de489916cf7a","unresolved":false,"context_lines":[{"line_number":152,"context_line":"* ``PUT /v1/conductors/\u003cUUID\u003e/action``"},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"  Change the status of an ironic-conductor service. This request updates the"},{"line_number":155,"context_line":"  `status` field of conductor object to `enable` or `disable` in database which"},{"line_number":156,"context_line":"  enables scheduling to the service. Specify the action in the request body."},{"line_number":157,"context_line":""},{"line_number":158,"context_line":"  Request:"},{"line_number":159,"context_line":""}],"source_content_type":"text/x-rst","patch_set":24,"id":"7f96bb07_8865c6e3","line":156,"range":{"start_line":155,"start_character":52,"end_line":156,"end_character":36},"in_reply_to":"7f96bb07_505f8371","updated":"2018-01-15 23:12:06.000000000","message":"+1. Madhuri, I think you mentioned what disabled means in a comment, but I don\u0027t know that this spec explicitly mentions what happens when a conductor is disabled.","commit_id":"909abea235555b4f1c222511ab2977d336be2082"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"51567b4ff884695160677d505caf5692540642dd","unresolved":false,"context_lines":[{"line_number":152,"context_line":"* ``PUT /v1/conductors/\u003cUUID\u003e/action``"},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"  Change the status of an ironic-conductor service. This request updates the"},{"line_number":155,"context_line":"  `status` field of conductor object to `enable` or `disable` in database which"},{"line_number":156,"context_line":"  enables scheduling to the service. Specify the action in the request body."},{"line_number":157,"context_line":""},{"line_number":158,"context_line":"  Request:"},{"line_number":159,"context_line":""}],"source_content_type":"text/x-rst","patch_set":24,"id":"7f96bb07_48df8c39","line":156,"range":{"start_line":155,"start_character":52,"end_line":156,"end_character":36},"in_reply_to":"7f96bb07_8865c6e3","updated":"2018-01-17 05:14:45.000000000","message":"Added in the new PS.","commit_id":"909abea235555b4f1c222511ab2977d336be2082"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"7120e213173608cf8e9246b2f0b5af4cfaf7caa5","unresolved":false,"context_lines":[{"line_number":150,"context_line":""},{"line_number":151,"context_line":"  * 404 - Not Found, if lower API microversion is used."},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"* ``PUT /v1/conductors/\u003cUUID\u003e/action``"},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"  Change the status of an ironic-conductor service. This request updates the"},{"line_number":156,"context_line":"  `disabled` field of conductor object to True or False accordingly in database"}],"source_content_type":"text/x-rst","patch_set":25,"id":"7f96bb07_8497863a","line":153,"updated":"2018-01-18 14:21:40.000000000","message":"Can we please not use a generic `action` work here? I\u0027m worried folks will add more actions, and that isn\u0027t a very RESTful thing to do.\n\nI think a more restful thing would be something like `PUT /v1/conductors/\u003cuuid\u003e` with a body like `{\"status\": \"enabled\"}` or `{\"status\": \"disabled\", \"disabled_reason\": \"maintenance tasks\"}`.\n\nAnother option would be two separate URLs like `PUT /v1/conductors/\u003cuuid\u003e/enable` (with no body) or `PUT /v1/conductors/\u003cuuid\u003e/disable`, with a body of `{\"reason\": \"maintenance tasks\"}`","commit_id":"a42ce2113439b36fe31c15318aeb34ffada9952c"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"b67b842f2f3b6cf675ab469e5b88a379d342ec23","unresolved":false,"context_lines":[{"line_number":150,"context_line":""},{"line_number":151,"context_line":"  * 404 - Not Found, if lower API microversion is used."},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"* ``PUT /v1/conductors/\u003cUUID\u003e/action``"},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"  Change the status of an ironic-conductor service. This request updates the"},{"line_number":156,"context_line":"  `disabled` field of conductor object to True or False accordingly in database"}],"source_content_type":"text/x-rst","patch_set":25,"id":"3fa0c359_d6ee5d87","line":153,"in_reply_to":"7f96bb07_6ec322ee","updated":"2018-02-06 09:08:13.000000000","message":"Done","commit_id":"a42ce2113439b36fe31c15318aeb34ffada9952c"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"4b5a6c728d038e5e3944e7b7dd1ec1c101f7dd94","unresolved":false,"context_lines":[{"line_number":150,"context_line":""},{"line_number":151,"context_line":"  * 404 - Not Found, if lower API microversion is used."},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"* ``PUT /v1/conductors/\u003cUUID\u003e/action``"},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"  Change the status of an ironic-conductor service. This request updates the"},{"line_number":156,"context_line":"  `disabled` field of conductor object to True or False accordingly in database"}],"source_content_type":"text/x-rst","patch_set":25,"id":"7f96bb07_6ec322ee","line":153,"in_reply_to":"7f96bb07_8497863a","updated":"2018-01-19 05:14:38.000000000","message":"Thank you for the input. I like the first option `PUT /v1/conductors/\u003cuuid\u003e` than the later one as the no of APIs will be lesser. I will update this in next PS.","commit_id":"a42ce2113439b36fe31c15318aeb34ffada9952c"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"5a12bb3b3f2a3354751df5aca3e162bcf4bffdb2","unresolved":false,"context_lines":[{"line_number":29,"context_line":""},{"line_number":30,"context_line":"Proposed change"},{"line_number":31,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":32,"context_line":"* Create new API endpoints to get status of ironic-conductor services and"},{"line_number":33,"context_line":"  disable or enable them - see `REST API impact`_ for details."},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"* API client update to provide CLI interface to invoke this feature - see"}],"source_content_type":"text/x-rst","patch_set":26,"id":"3fa0c359_b72e4ff8","line":32,"updated":"2018-02-15 00:25:04.000000000","message":"nit s/status of/information about/\n\nbecause this spec has a specific meaning for \u0027status\u0027.","commit_id":"c0c60e5a8bac44825e318918e32d6116dacf606c"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"de959acb63b8755d3178b03c5939243f399f75aa","unresolved":false,"context_lines":[{"line_number":29,"context_line":""},{"line_number":30,"context_line":"Proposed change"},{"line_number":31,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":32,"context_line":"* Create new API endpoints to get status of ironic-conductor services and"},{"line_number":33,"context_line":"  disable or enable them - see `REST API impact`_ for details."},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"* API client update to provide CLI interface to invoke this feature - see"}],"source_content_type":"text/x-rst","patch_set":26,"id":"3fa0c359_35821451","line":32,"in_reply_to":"3fa0c359_b72e4ff8","updated":"2018-02-16 08:05:13.000000000","message":"Done","commit_id":"c0c60e5a8bac44825e318918e32d6116dacf606c"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"5a12bb3b3f2a3354751df5aca3e162bcf4bffdb2","unresolved":false,"context_lines":[{"line_number":30,"context_line":"Proposed change"},{"line_number":31,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":32,"context_line":"* Create new API endpoints to get status of ironic-conductor services and"},{"line_number":33,"context_line":"  disable or enable them - see `REST API impact`_ for details."},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"* API client update to provide CLI interface to invoke this feature - see"},{"line_number":36,"context_line":"  `Client (CLI) impact`_ for details."}],"source_content_type":"text/x-rst","patch_set":26,"id":"3fa0c359_f74377ae","line":33,"updated":"2018-02-15 00:25:04.000000000","message":"please describe here (I see it is mentioned in the REST API section), what it means to enable/disable a conductor. This is one of the big features here and I think it needs more prominence.","commit_id":"c0c60e5a8bac44825e318918e32d6116dacf606c"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"de959acb63b8755d3178b03c5939243f399f75aa","unresolved":false,"context_lines":[{"line_number":30,"context_line":"Proposed change"},{"line_number":31,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":32,"context_line":"* Create new API endpoints to get status of ironic-conductor services and"},{"line_number":33,"context_line":"  disable or enable them - see `REST API impact`_ for details."},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"* API client update to provide CLI interface to invoke this feature - see"},{"line_number":36,"context_line":"  `Client (CLI) impact`_ for details."}],"source_content_type":"text/x-rst","patch_set":26,"id":"3fa0c359_d5c41095","line":33,"in_reply_to":"3fa0c359_f74377ae","updated":"2018-02-16 08:05:13.000000000","message":"Done","commit_id":"c0c60e5a8bac44825e318918e32d6116dacf606c"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"5a12bb3b3f2a3354751df5aca3e162bcf4bffdb2","unresolved":false,"context_lines":[{"line_number":43,"context_line":"* Use the existing function `_conductor_service_record_keepalive` to update"},{"line_number":44,"context_line":"  `last_seen_up` column instead of `updated-at` to display the heartbeat of"},{"line_number":45,"context_line":"  ironic-conductor service. The `updated_at` just only records other database"},{"line_number":46,"context_line":"  operation except heartbeat report."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"Alternatives"},{"line_number":49,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":26,"id":"3fa0c359_1cadea30","line":46,"updated":"2018-02-15 00:25:04.000000000","message":"I\u0027m concerned about this breaking existing deployments that might assume that updated-at includes heartbeat times too.\n\nWhat about leaving existing behaviour with updated-at, and have your new field as described here.\n\nI guess I don\u0027t understand the diff between last_seen_up and updated-at. It might just be the naming of the field. if a conductor gets updated, that conductor may be \u0027up\u0027 so shouldn\u0027t last_seen_up reflect that time of update?\n\nDo you *only* want the heartbeat times recorded in this new field? If so, maybe something like \u0027last_heartbeat_time\u0027?","commit_id":"c0c60e5a8bac44825e318918e32d6116dacf606c"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"de959acb63b8755d3178b03c5939243f399f75aa","unresolved":false,"context_lines":[{"line_number":43,"context_line":"* Use the existing function `_conductor_service_record_keepalive` to update"},{"line_number":44,"context_line":"  `last_seen_up` column instead of `updated-at` to display the heartbeat of"},{"line_number":45,"context_line":"  ironic-conductor service. The `updated_at` just only records other database"},{"line_number":46,"context_line":"  operation except heartbeat report."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"Alternatives"},{"line_number":49,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":26,"id":"3fa0c359_38d0cb50","line":46,"in_reply_to":"3fa0c359_1cadea30","updated":"2018-02-16 08:05:13.000000000","message":"I am copying my comment from previous PS:\n\"For an example, if we enable/disable a conductor service, the updated_at time will be changed whereas it is not the heartbeat time.\nSo for such db operations that is not the heartbeat update, we have included new field `last_seen_up`.\"\n\nYes, the last_seen_up only stores the heartbeat time. I am good with last_heartbeat_time also.","commit_id":"c0c60e5a8bac44825e318918e32d6116dacf606c"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"7e4a98cf73119a6ed40825c394ad7735cdd433ea","unresolved":false,"context_lines":[{"line_number":43,"context_line":"* Use the existing function `_conductor_service_record_keepalive` to update"},{"line_number":44,"context_line":"  `last_seen_up` column instead of `updated-at` to display the heartbeat of"},{"line_number":45,"context_line":"  ironic-conductor service. The `updated_at` just only records other database"},{"line_number":46,"context_line":"  operation except heartbeat report."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"Alternatives"},{"line_number":49,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":26,"id":"3fa0c359_b3d59cb9","line":46,"in_reply_to":"3fa0c359_38d0cb50","updated":"2018-02-20 07:56:28.000000000","message":"Ruby, I can\u0027t think of other operations where updated_at will be changed. I think it is ok to not have a new field last_seen_up. What do you think?\n\nI can\u0027t think of a proper solution for this issue.","commit_id":"c0c60e5a8bac44825e318918e32d6116dacf606c"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"aa1cf841b6db5b42a74681d2149e2450c7713a8a","unresolved":false,"context_lines":[{"line_number":43,"context_line":"* Use the existing function `_conductor_service_record_keepalive` to update"},{"line_number":44,"context_line":"  `last_seen_up` column instead of `updated-at` to display the heartbeat of"},{"line_number":45,"context_line":"  ironic-conductor service. The `updated_at` just only records other database"},{"line_number":46,"context_line":"  operation except heartbeat report."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"Alternatives"},{"line_number":49,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":26,"id":"3fa0c359_fee8afb3","line":46,"in_reply_to":"3fa0c359_5b6a1fb3","updated":"2018-02-21 05:56:59.000000000","message":"I think you wrongly typed the line nos :). I am suggesting to remove L43-46.\nRuby, imo the last_seen_up makes complete sense but I am also worried about breaking the existing deployments which consider updated_at as the heartbeat time. That\u0027s why I am suggesting to remove the last_seen_up.\nDo you think we can have any workaround for this issue or if Ironic team can help us find a common solution?","commit_id":"c0c60e5a8bac44825e318918e32d6116dacf606c"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"3bbd1ff60af98b3855289a7054386569185f5eab","unresolved":false,"context_lines":[{"line_number":43,"context_line":"* Use the existing function `_conductor_service_record_keepalive` to update"},{"line_number":44,"context_line":"  `last_seen_up` column instead of `updated-at` to display the heartbeat of"},{"line_number":45,"context_line":"  ironic-conductor service. The `updated_at` just only records other database"},{"line_number":46,"context_line":"  operation except heartbeat report."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"Alternatives"},{"line_number":49,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":26,"id":"3fa0c359_5c113daf","line":46,"in_reply_to":"3fa0c359_77a02bf5","updated":"2018-02-27 07:39:57.000000000","message":"Ruby this won\u0027t change the behaviour of updated_at at all. Even if we add the new field last_seen_up, the updated_at will be updated for every heartbeat.\nSo, I think the final solution to this issue should be:\n\nAdd a new field `last_seen_up`, that only reflects the heartbeat time and leave updated_at as it is. There will be no change in the updated_at behaviour, it will still reflect the heartbeat for existing deployments. For the newer deployments, the last_seen_up will be used as it is more precise heartbeat time as compared to updated_at. The updated_at records all updates to the db, it can be any other update than heartbeat time.","commit_id":"c0c60e5a8bac44825e318918e32d6116dacf606c"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"850db90f976270403fa8197630f27ce5dfd50e76","unresolved":false,"context_lines":[{"line_number":43,"context_line":"* Use the existing function `_conductor_service_record_keepalive` to update"},{"line_number":44,"context_line":"  `last_seen_up` column instead of `updated-at` to display the heartbeat of"},{"line_number":45,"context_line":"  ironic-conductor service. The `updated_at` just only records other database"},{"line_number":46,"context_line":"  operation except heartbeat report."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"Alternatives"},{"line_number":49,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":26,"id":"3fa0c359_5b6a1fb3","line":46,"in_reply_to":"3fa0c359_b3d59cb9","updated":"2018-02-20 19:51:15.000000000","message":"If I understand you, are you suggesting that this entire bullet L47-50 be removed? If so, that is up to you. My objection is to the proposed change to the existing \u0027updated-at\u0027 behaviour and whether that might break existing deployments.\n\nWell, that and if you add a new field, it needs to be clear what that field is for :)","commit_id":"c0c60e5a8bac44825e318918e32d6116dacf606c"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"e0f4c04511cc5adeff5100e4bdcbc546d6be5b2f","unresolved":false,"context_lines":[{"line_number":43,"context_line":"* Use the existing function `_conductor_service_record_keepalive` to update"},{"line_number":44,"context_line":"  `last_seen_up` column instead of `updated-at` to display the heartbeat of"},{"line_number":45,"context_line":"  ironic-conductor service. The `updated_at` just only records other database"},{"line_number":46,"context_line":"  operation except heartbeat report."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"Alternatives"},{"line_number":49,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":26,"id":"3fa0c359_77a02bf5","line":46,"in_reply_to":"3fa0c359_fee8afb3","updated":"2018-02-22 02:25:03.000000000","message":"Oops, yes. I was looking at patch set 28 when I commented!\n\nI don\u0027t understand what the problem is, with leaving updated_at alone, as it is. If you feel like we need something else that *only* reflects the heartbeat time, then I suspect it would be fine to add that too. I\u0027m not sure I see the rationale for it yet (or maybe I missed it).\n\nI\u0027m not even sure I am convinced that it makes sense to change the behavior of updated_at.","commit_id":"c0c60e5a8bac44825e318918e32d6116dacf606c"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"5a12bb3b3f2a3354751df5aca3e162bcf4bffdb2","unresolved":false,"context_lines":[{"line_number":122,"context_line":""},{"line_number":123,"context_line":"* ``status`` The status of an ironic-conductor service. Its value is"},{"line_number":124,"context_line":"  `enabled` and `disabled`. By default, it is `enabled`. This values is"},{"line_number":125,"context_line":"  picked from `disable` field."},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"* ``last_seen_up`` The last heartbeat time of an ironic-conductor. If there"},{"line_number":128,"context_line":"  is no change in the time until the `heartbeat_timeout` expires, the service"}],"source_content_type":"text/x-rst","patch_set":26,"id":"3fa0c359_370ebf32","line":125,"updated":"2018-02-15 00:25:04.000000000","message":"nit s/disable/disabled/","commit_id":"c0c60e5a8bac44825e318918e32d6116dacf606c"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"de959acb63b8755d3178b03c5939243f399f75aa","unresolved":false,"context_lines":[{"line_number":122,"context_line":""},{"line_number":123,"context_line":"* ``status`` The status of an ironic-conductor service. Its value is"},{"line_number":124,"context_line":"  `enabled` and `disabled`. By default, it is `enabled`. This values is"},{"line_number":125,"context_line":"  picked from `disable` field."},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"* ``last_seen_up`` The last heartbeat time of an ironic-conductor. If there"},{"line_number":128,"context_line":"  is no change in the time until the `heartbeat_timeout` expires, the service"}],"source_content_type":"text/x-rst","patch_set":26,"id":"3fa0c359_f5c10c82","line":125,"in_reply_to":"3fa0c359_370ebf32","updated":"2018-02-16 08:05:13.000000000","message":"Done","commit_id":"c0c60e5a8bac44825e318918e32d6116dacf606c"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"5a12bb3b3f2a3354751df5aca3e162bcf4bffdb2","unresolved":false,"context_lines":[{"line_number":126,"context_line":""},{"line_number":127,"context_line":"* ``last_seen_up`` The last heartbeat time of an ironic-conductor. If there"},{"line_number":128,"context_line":"  is no change in the time until the `heartbeat_timeout` expires, the service"},{"line_number":129,"context_line":"  is down."},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"* ``disabled_reason`` The reason why the service is disabled."},{"line_number":132,"context_line":""}],"source_content_type":"text/x-rst","patch_set":26,"id":"3fa0c359_68a8e8da","line":129,"updated":"2018-02-15 00:25:04.000000000","message":"what if there is no change in last_seen_up as described above, but there is a change in updated_at that is more recent than last_seen_up and is within the last heartbeat_timeout interval? Would the service still be considered \u0027down\u0027?","commit_id":"c0c60e5a8bac44825e318918e32d6116dacf606c"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"850db90f976270403fa8197630f27ce5dfd50e76","unresolved":false,"context_lines":[{"line_number":126,"context_line":""},{"line_number":127,"context_line":"* ``last_seen_up`` The last heartbeat time of an ironic-conductor. If there"},{"line_number":128,"context_line":"  is no change in the time until the `heartbeat_timeout` expires, the service"},{"line_number":129,"context_line":"  is down."},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"* ``disabled_reason`` The reason why the service is disabled."},{"line_number":132,"context_line":""}],"source_content_type":"text/x-rst","patch_set":26,"id":"3fa0c359_dbd2af5c","line":129,"in_reply_to":"3fa0c359_5519e085","updated":"2018-02-20 19:51:15.000000000","message":"\u003e In your question, the service will be not be considered down until the heartbeat_timeout has expired.\n\nHas expired *after* last_seen_up and/or also *after* updated_at? You could have a case where eg last_seen_up \u003d now-100secs; update_at \u003d now-50secs; heartbeat_timeout\u003d80 secs.","commit_id":"c0c60e5a8bac44825e318918e32d6116dacf606c"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"3bbd1ff60af98b3855289a7054386569185f5eab","unresolved":false,"context_lines":[{"line_number":126,"context_line":""},{"line_number":127,"context_line":"* ``last_seen_up`` The last heartbeat time of an ironic-conductor. If there"},{"line_number":128,"context_line":"  is no change in the time until the `heartbeat_timeout` expires, the service"},{"line_number":129,"context_line":"  is down."},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"* ``disabled_reason`` The reason why the service is disabled."},{"line_number":132,"context_line":""}],"source_content_type":"text/x-rst","patch_set":26,"id":"3fa0c359_bc1ba1c8","line":129,"in_reply_to":"3fa0c359_572e4f43","updated":"2018-02-27 07:39:57.000000000","message":"Yes, you\u0027re right about the updated_at update. Now after this feature, there will be more operations when the updated_at can be changed which is enabling/disabling the service. That\u0027s why the last_seen_up is more precise which only records the heartbeat time.","commit_id":"c0c60e5a8bac44825e318918e32d6116dacf606c"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"de959acb63b8755d3178b03c5939243f399f75aa","unresolved":false,"context_lines":[{"line_number":126,"context_line":""},{"line_number":127,"context_line":"* ``last_seen_up`` The last heartbeat time of an ironic-conductor. If there"},{"line_number":128,"context_line":"  is no change in the time until the `heartbeat_timeout` expires, the service"},{"line_number":129,"context_line":"  is down."},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"* ``disabled_reason`` The reason why the service is disabled."},{"line_number":132,"context_line":""}],"source_content_type":"text/x-rst","patch_set":26,"id":"3fa0c359_5519e085","line":129,"in_reply_to":"3fa0c359_68a8e8da","updated":"2018-02-16 08:05:13.000000000","message":"The status of service whether running or down is dependent only on the last_seen_up and the heartbeat_timeout.\n\nIn your question, the service will be not be considered down until the heartbeat_timeout has expired.","commit_id":"c0c60e5a8bac44825e318918e32d6116dacf606c"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"e0f4c04511cc5adeff5100e4bdcbc546d6be5b2f","unresolved":false,"context_lines":[{"line_number":126,"context_line":""},{"line_number":127,"context_line":"* ``last_seen_up`` The last heartbeat time of an ironic-conductor. If there"},{"line_number":128,"context_line":"  is no change in the time until the `heartbeat_timeout` expires, the service"},{"line_number":129,"context_line":"  is down."},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"* ``disabled_reason`` The reason why the service is disabled."},{"line_number":132,"context_line":""}],"source_content_type":"text/x-rst","patch_set":26,"id":"3fa0c359_572e4f43","line":129,"in_reply_to":"3fa0c359_9ecc0b6b","updated":"2018-02-22 02:25:03.000000000","message":"I\u0027m not sure it makes sense for the service to be considered down in that scenario. *something* happened to that service 50 secs ago, which is w/i that heartbeat-timeout period. \n\nBy the way, I was just wondering when updated_at got updated, and it looks to me like it gets updated when there is a heartbeat or when the conductor is registered. A conductor is not registered very often, so basically, updated_at is somewhat equivalent to the occurrence of heartbeats.","commit_id":"c0c60e5a8bac44825e318918e32d6116dacf606c"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"aa1cf841b6db5b42a74681d2149e2450c7713a8a","unresolved":false,"context_lines":[{"line_number":126,"context_line":""},{"line_number":127,"context_line":"* ``last_seen_up`` The last heartbeat time of an ironic-conductor. If there"},{"line_number":128,"context_line":"  is no change in the time until the `heartbeat_timeout` expires, the service"},{"line_number":129,"context_line":"  is down."},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"* ``disabled_reason`` The reason why the service is disabled."},{"line_number":132,"context_line":""}],"source_content_type":"text/x-rst","patch_set":26,"id":"3fa0c359_9ecc0b6b","line":129,"in_reply_to":"3fa0c359_dbd2af5c","updated":"2018-02-21 05:56:59.000000000","message":"Has expired *only after* last_seen_up.\nIn your example:\n\n100 secs \u003e 80 secs (last_seen_up is older than the heartbeat_timeout)\nSo the service will be considered *down*.","commit_id":"c0c60e5a8bac44825e318918e32d6116dacf606c"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"2e07cf7d61907aa45d3433c0c886df94b19b176c","unresolved":false,"context_lines":[{"line_number":132,"context_line":""},{"line_number":133,"context_line":"* ``nodes_affinity`` The list of nodes managed by the conductor. This"},{"line_number":134,"context_line":"    information will be picked from the `Node` table."},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"An example response json is given below::"},{"line_number":137,"context_line":""},{"line_number":138,"context_line":"  {\"services\": ["}],"source_content_type":"text/x-rst","patch_set":26,"id":"3fa0c359_05dff168","line":135,"updated":"2018-02-13 19:50:00.000000000","message":"I was looking through the RFEs, and I noticed [1] which seems to overlap with this. What are your thoughts about also returning the list of drivers/hardware types that are supported by the various conductors?\n\nI\u0027m actually going to make [1] a dup of this RFE.\n\n[1] https://bugs.launchpad.net/ironic/+bug/1529023","commit_id":"c0c60e5a8bac44825e318918e32d6116dacf606c"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"de959acb63b8755d3178b03c5939243f399f75aa","unresolved":false,"context_lines":[{"line_number":132,"context_line":""},{"line_number":133,"context_line":"* ``nodes_affinity`` The list of nodes managed by the conductor. This"},{"line_number":134,"context_line":"    information will be picked from the `Node` table."},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"An example response json is given below::"},{"line_number":137,"context_line":""},{"line_number":138,"context_line":"  {\"services\": ["}],"source_content_type":"text/x-rst","patch_set":26,"id":"3fa0c359_753bbc9b","line":135,"in_reply_to":"3fa0c359_05dff168","updated":"2018-02-16 08:05:13.000000000","message":"Yes, I think it completely makes sense to include the drivers/hardware types. I have updated the spec to include these new fields. Thanks!","commit_id":"c0c60e5a8bac44825e318918e32d6116dacf606c"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"850db90f976270403fa8197630f27ce5dfd50e76","unresolved":false,"context_lines":[{"line_number":132,"context_line":""},{"line_number":133,"context_line":"* ``nodes_affinity`` The list of nodes managed by the conductor. This"},{"line_number":134,"context_line":"    information will be picked from the `Node` table."},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"An example response json is given below::"},{"line_number":137,"context_line":""},{"line_number":138,"context_line":"  {\"services\": ["}],"source_content_type":"text/x-rst","patch_set":26,"id":"3fa0c359_5b4bff29","line":135,"in_reply_to":"3fa0c359_753bbc9b","updated":"2018-02-20 19:51:15.000000000","message":"Thanks!","commit_id":"c0c60e5a8bac44825e318918e32d6116dacf606c"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"5a12bb3b3f2a3354751df5aca3e162bcf4bffdb2","unresolved":false,"context_lines":[{"line_number":136,"context_line":"An example response json is given below::"},{"line_number":137,"context_line":""},{"line_number":138,"context_line":"  {\"services\": ["},{"line_number":139,"context_line":"      {\"status\": \"enabled\", \"hostname\": \"ubuntu\", \"state\": \"up\","},{"line_number":140,"context_line":"       \"disabled_reason\": null, \"uuid\": \"f1e4d7bf-f8ad-45bc-bfae-b8f5253924a8\","},{"line_number":141,"context_line":"       \"last_seen_up\": \"2018-01-12T09:33:18.000000\","},{"line_number":142,"context_line":"       \"nodes_affinity\": [\"72535fcc-83ff-4004-acd2-72ea52713752\"]}"}],"source_content_type":"text/x-rst","patch_set":26,"id":"3fa0c359_88821452","line":139,"updated":"2018-02-15 00:25:04.000000000","message":"for readability, might want to put each key:value pair on a separate line","commit_id":"c0c60e5a8bac44825e318918e32d6116dacf606c"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"de959acb63b8755d3178b03c5939243f399f75aa","unresolved":false,"context_lines":[{"line_number":136,"context_line":"An example response json is given below::"},{"line_number":137,"context_line":""},{"line_number":138,"context_line":"  {\"services\": ["},{"line_number":139,"context_line":"      {\"status\": \"enabled\", \"hostname\": \"ubuntu\", \"state\": \"up\","},{"line_number":140,"context_line":"       \"disabled_reason\": null, \"uuid\": \"f1e4d7bf-f8ad-45bc-bfae-b8f5253924a8\","},{"line_number":141,"context_line":"       \"last_seen_up\": \"2018-01-12T09:33:18.000000\","},{"line_number":142,"context_line":"       \"nodes_affinity\": [\"72535fcc-83ff-4004-acd2-72ea52713752\"]}"}],"source_content_type":"text/x-rst","patch_set":26,"id":"3fa0c359_95be88fd","line":139,"in_reply_to":"3fa0c359_88821452","updated":"2018-02-16 08:05:13.000000000","message":"Done","commit_id":"c0c60e5a8bac44825e318918e32d6116dacf606c"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"5ab853db4680e2048fde7c4bdd31871c2f710cd3","unresolved":false,"context_lines":[{"line_number":47,"context_line":"* Use the existing function `_conductor_service_record_keepalive` to update"},{"line_number":48,"context_line":"  `last_seen_up` column instead of `updated-at` to display the heartbeat of"},{"line_number":49,"context_line":"  ironic-conductor service. The `updated_at` just only records other database"},{"line_number":50,"context_line":"  operation except heartbeat report."},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"Alternatives"},{"line_number":53,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":29,"id":"df7087c5_fd0d6d90","line":50,"updated":"2018-03-08 21:05:27.000000000","message":"Did we resolve this? should we have last_seen_up reflect the heartbeat only, and leave updated-at with the existing behaviour (not change it).","commit_id":"d3e2097fcb9a3607cb49869e9ceb5db49cf501d9"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"0dab47d8972c8461e0e7dce2ece50a766d32011e","unresolved":false,"context_lines":[{"line_number":47,"context_line":"* Use the existing function `_conductor_service_record_keepalive` to update"},{"line_number":48,"context_line":"  `last_seen_up` column instead of `updated-at` to display the heartbeat of"},{"line_number":49,"context_line":"  ironic-conductor service. The `updated_at` just only records other database"},{"line_number":50,"context_line":"  operation except heartbeat report."},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"Alternatives"},{"line_number":53,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":29,"id":"df7087c5_6128ce33","line":50,"in_reply_to":"df7087c5_fd0d6d90","updated":"2018-03-09 07:43:12.000000000","message":"Yes, leave the updated-at as it is and use last_seen_up as the heartbeat time. I will include the detail in spec also. Please check.","commit_id":"d3e2097fcb9a3607cb49869e9ceb5db49cf501d9"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"5ab853db4680e2048fde7c4bdd31871c2f710cd3","unresolved":false,"context_lines":[{"line_number":144,"context_line":""},{"line_number":145,"context_line":"* ``drivers``: The list of drivers supported by the conductor."},{"line_number":146,"context_line":""},{"line_number":147,"context_line":"* ``hardware_type``: The type of hardware supported by the conductor. This"},{"line_number":148,"context_line":"    information will be picked from the `ConductorHardwareInterfaces` table."},{"line_number":149,"context_line":""},{"line_number":150,"context_line":"An example response json is given below::"}],"source_content_type":"text/x-rst","patch_set":29,"id":"df7087c5_77abbe1c","line":147,"updated":"2018-03-08 21:05:27.000000000","message":"if we have drivers, do we want to be consistent and s/hardware_type/hardware_types/ ? Shouldn\u0027t it be a list?","commit_id":"d3e2097fcb9a3607cb49869e9ceb5db49cf501d9"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"0dab47d8972c8461e0e7dce2ece50a766d32011e","unresolved":false,"context_lines":[{"line_number":144,"context_line":""},{"line_number":145,"context_line":"* ``drivers``: The list of drivers supported by the conductor."},{"line_number":146,"context_line":""},{"line_number":147,"context_line":"* ``hardware_type``: The type of hardware supported by the conductor. This"},{"line_number":148,"context_line":"    information will be picked from the `ConductorHardwareInterfaces` table."},{"line_number":149,"context_line":""},{"line_number":150,"context_line":"An example response json is given below::"}],"source_content_type":"text/x-rst","patch_set":29,"id":"df7087c5_21e73615","line":147,"in_reply_to":"df7087c5_77abbe1c","updated":"2018-03-09 07:43:12.000000000","message":"Yes, you\u0027re right. Thanks, updated the spec.","commit_id":"d3e2097fcb9a3607cb49869e9ceb5db49cf501d9"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"5ab853db4680e2048fde7c4bdd31871c2f710cd3","unresolved":false,"context_lines":[{"line_number":154,"context_line":"       \"binary\": \"ironic-conductor\","},{"line_number":155,"context_line":"       \"hostname\": \"ubuntu\","},{"line_number":156,"context_line":"       \"state\": \"up\","},{"line_number":157,"context_line":"       \"disabled_reason\": null,"},{"line_number":158,"context_line":"       \"uuid\": \"f1e4d7bf-f8ad-45bc-bfae-b8f5253924a8\","},{"line_number":159,"context_line":"       \"last_seen_up\": \"2018-01-12T09:33:18.000000\","},{"line_number":160,"context_line":"       \"nodes_affinity\": [\"72535fcc-83ff-4004-acd2-72ea52713752\"],"}],"source_content_type":"text/x-rst","patch_set":29,"id":"df7087c5_ddcd095e","line":157,"updated":"2018-03-08 21:05:27.000000000","message":"i think you\u0027re missing \u0027disabled\u0027","commit_id":"d3e2097fcb9a3607cb49869e9ceb5db49cf501d9"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"0dab47d8972c8461e0e7dce2ece50a766d32011e","unresolved":false,"context_lines":[{"line_number":154,"context_line":"       \"binary\": \"ironic-conductor\","},{"line_number":155,"context_line":"       \"hostname\": \"ubuntu\","},{"line_number":156,"context_line":"       \"state\": \"up\","},{"line_number":157,"context_line":"       \"disabled_reason\": null,"},{"line_number":158,"context_line":"       \"uuid\": \"f1e4d7bf-f8ad-45bc-bfae-b8f5253924a8\","},{"line_number":159,"context_line":"       \"last_seen_up\": \"2018-01-12T09:33:18.000000\","},{"line_number":160,"context_line":"       \"nodes_affinity\": [\"72535fcc-83ff-4004-acd2-72ea52713752\"],"}],"source_content_type":"text/x-rst","patch_set":29,"id":"df7087c5_61abee88","line":157,"in_reply_to":"df7087c5_ddcd095e","updated":"2018-03-09 07:43:12.000000000","message":"The \u0027status\u0027 field represents this. I have mentioned it on L131.","commit_id":"d3e2097fcb9a3607cb49869e9ceb5db49cf501d9"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"78be03b3d4cd732f23b4068493dde5767520b29d","unresolved":false,"context_lines":[{"line_number":171,"context_line":""},{"line_number":172,"context_line":"* 404 - Not Found, if lower API microversion is used."},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"``PUT /v1/conductors/\u003cUUID\u003e``"},{"line_number":175,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"},{"line_number":176,"context_line":""},{"line_number":177,"context_line":"Change the status of an ironic-conductor service. This request updates the"}],"source_content_type":"text/x-rst","patch_set":30,"id":"df7087c5_cb0d9ee8","line":174,"updated":"2018-03-15 14:36:16.000000000","message":"TODO: nova uses s/conductors/os-services/. Should we also generalize this, make it more consistent with nova?","commit_id":"7bd05f22d632b5c40303220a92abd7c46f32d364"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"bf133041d5c30b2eb8a7a6818d557ff656963a63","unresolved":false,"context_lines":[{"line_number":171,"context_line":""},{"line_number":172,"context_line":"* 404 - Not Found, if lower API microversion is used."},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"``PUT /v1/conductors/\u003cUUID\u003e``"},{"line_number":175,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"},{"line_number":176,"context_line":""},{"line_number":177,"context_line":"Change the status of an ironic-conductor service. This request updates the"}],"source_content_type":"text/x-rst","patch_set":30,"id":"bf659307_b4e7b5ac","line":174,"in_reply_to":"bf659307_541659f3","updated":"2018-03-29 07:55:11.000000000","message":"I have updated to use os-services.","commit_id":"7bd05f22d632b5c40303220a92abd7c46f32d364"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"6e823ac14dc380bfd951974649a44b9de78159cd","unresolved":false,"context_lines":[{"line_number":171,"context_line":""},{"line_number":172,"context_line":"* 404 - Not Found, if lower API microversion is used."},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"``PUT /v1/conductors/\u003cUUID\u003e``"},{"line_number":175,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"},{"line_number":176,"context_line":""},{"line_number":177,"context_line":"Change the status of an ironic-conductor service. This request updates the"}],"source_content_type":"text/x-rst","patch_set":30,"id":"bf659307_541659f3","line":174,"in_reply_to":"df7087c5_cb0d9ee8","updated":"2018-03-29 07:36:29.000000000","message":"Every other service use different endpoints, such as nova and cinder uses os-services, magnum uses mservices while zun use services.","commit_id":"7bd05f22d632b5c40303220a92abd7c46f32d364"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"0e1e0ec1c5825ee225c024559da617a620428607","unresolved":false,"context_lines":[{"line_number":21,"context_line":"Problem description"},{"line_number":22,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"Currently Ironic does not implement the service management. Therefore, admin"},{"line_number":25,"context_line":"can\u0027t figure out the issue quickly when some ironic-conductor service is down."},{"line_number":26,"context_line":"If a node where ironic-conductor service is running needs to be shut down for"},{"line_number":27,"context_line":"maintenance purpose in situations like tftp server is not running etc, there is"}],"source_content_type":"text/x-rst","patch_set":31,"id":"bf659307_36d2aa01","line":24,"range":{"start_line":24,"start_character":40,"end_line":24,"end_character":58},"updated":"2018-03-30 15:23:22.000000000","message":"Please elaborate on what is meant by \"the service management\". Is there a standard or resolution we are not adhering to?","commit_id":"48502f5d09251b8ef5e2828e6f9f1a40ed128a65"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"0e1e0ec1c5825ee225c024559da617a620428607","unresolved":false,"context_lines":[{"line_number":21,"context_line":"Problem description"},{"line_number":22,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"Currently Ironic does not implement the service management. Therefore, admin"},{"line_number":25,"context_line":"can\u0027t figure out the issue quickly when some ironic-conductor service is down."},{"line_number":26,"context_line":"If a node where ironic-conductor service is running needs to be shut down for"},{"line_number":27,"context_line":"maintenance purpose in situations like tftp server is not running etc, there is"}],"source_content_type":"text/x-rst","patch_set":31,"id":"bf659307_56cf1e55","line":24,"range":{"start_line":24,"start_character":71,"end_line":24,"end_character":76},"updated":"2018-03-30 15:23:22.000000000","message":"nit: s/admin/the baremetal administrator/","commit_id":"48502f5d09251b8ef5e2828e6f9f1a40ed128a65"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"0f120520583fc2c0e15ae42cb3d7a64fae452fce","unresolved":false,"context_lines":[{"line_number":21,"context_line":"Problem description"},{"line_number":22,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"Currently Ironic does not implement the service management. Therefore, admin"},{"line_number":25,"context_line":"can\u0027t figure out the issue quickly when some ironic-conductor service is down."},{"line_number":26,"context_line":"If a node where ironic-conductor service is running needs to be shut down for"},{"line_number":27,"context_line":"maintenance purpose in situations like tftp server is not running etc, there is"}],"source_content_type":"text/x-rst","patch_set":31,"id":"bf659307_79e00327","line":24,"range":{"start_line":24,"start_character":40,"end_line":24,"end_character":58},"in_reply_to":"bf659307_36d2aa01","updated":"2018-04-18 05:59:16.000000000","message":"Service management here implies the support of managing ironic conductor services by bare metal administrators. It is not a standard but supported by most of the OpenStack services.","commit_id":"48502f5d09251b8ef5e2828e6f9f1a40ed128a65"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"0f120520583fc2c0e15ae42cb3d7a64fae452fce","unresolved":false,"context_lines":[{"line_number":21,"context_line":"Problem description"},{"line_number":22,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"Currently Ironic does not implement the service management. Therefore, admin"},{"line_number":25,"context_line":"can\u0027t figure out the issue quickly when some ironic-conductor service is down."},{"line_number":26,"context_line":"If a node where ironic-conductor service is running needs to be shut down for"},{"line_number":27,"context_line":"maintenance purpose in situations like tftp server is not running etc, there is"}],"source_content_type":"text/x-rst","patch_set":31,"id":"bf659307_19d54744","line":24,"range":{"start_line":24,"start_character":71,"end_line":24,"end_character":76},"in_reply_to":"bf659307_56cf1e55","updated":"2018-04-18 05:59:16.000000000","message":"Done","commit_id":"48502f5d09251b8ef5e2828e6f9f1a40ed128a65"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"0e1e0ec1c5825ee225c024559da617a620428607","unresolved":false,"context_lines":[{"line_number":22,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"Currently Ironic does not implement the service management. Therefore, admin"},{"line_number":25,"context_line":"can\u0027t figure out the issue quickly when some ironic-conductor service is down."},{"line_number":26,"context_line":"If a node where ironic-conductor service is running needs to be shut down for"},{"line_number":27,"context_line":"maintenance purpose in situations like tftp server is not running etc, there is"},{"line_number":28,"context_line":"no way to prevent message to be sent to this node."}],"source_content_type":"text/x-rst","patch_set":31,"id":"bf659307_f6d752ed","line":25,"range":{"start_line":25,"start_character":6,"end_line":25,"end_character":20},"updated":"2018-03-30 15:23:22.000000000","message":"perhaps \"can\u0027t determine a fault quickly\"?","commit_id":"48502f5d09251b8ef5e2828e6f9f1a40ed128a65"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"0f120520583fc2c0e15ae42cb3d7a64fae452fce","unresolved":false,"context_lines":[{"line_number":22,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"Currently Ironic does not implement the service management. Therefore, admin"},{"line_number":25,"context_line":"can\u0027t figure out the issue quickly when some ironic-conductor service is down."},{"line_number":26,"context_line":"If a node where ironic-conductor service is running needs to be shut down for"},{"line_number":27,"context_line":"maintenance purpose in situations like tftp server is not running etc, there is"},{"line_number":28,"context_line":"no way to prevent message to be sent to this node."}],"source_content_type":"text/x-rst","patch_set":31,"id":"bf659307_193a2798","line":25,"range":{"start_line":25,"start_character":6,"end_line":25,"end_character":20},"in_reply_to":"bf659307_f6d752ed","updated":"2018-04-18 05:59:16.000000000","message":"Done","commit_id":"48502f5d09251b8ef5e2828e6f9f1a40ed128a65"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"0e1e0ec1c5825ee225c024559da617a620428607","unresolved":false,"context_lines":[{"line_number":25,"context_line":"can\u0027t figure out the issue quickly when some ironic-conductor service is down."},{"line_number":26,"context_line":"If a node where ironic-conductor service is running needs to be shut down for"},{"line_number":27,"context_line":"maintenance purpose in situations like tftp server is not running etc, there is"},{"line_number":28,"context_line":"no way to prevent message to be sent to this node."},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"Proposed change"},{"line_number":31,"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":31,"id":"bf659307_d60c8ea6","line":28,"range":{"start_line":28,"start_character":45,"end_line":28,"end_character":50},"updated":"2018-03-30 15:23:22.000000000","message":"What is meant by node? Baremetal node? Conductor node?","commit_id":"48502f5d09251b8ef5e2828e6f9f1a40ed128a65"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"0f120520583fc2c0e15ae42cb3d7a64fae452fce","unresolved":false,"context_lines":[{"line_number":25,"context_line":"can\u0027t figure out the issue quickly when some ironic-conductor service is down."},{"line_number":26,"context_line":"If a node where ironic-conductor service is running needs to be shut down for"},{"line_number":27,"context_line":"maintenance purpose in situations like tftp server is not running etc, there is"},{"line_number":28,"context_line":"no way to prevent message to be sent to this node."},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"Proposed change"},{"line_number":31,"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":31,"id":"bf659307_f942d30e","line":28,"range":{"start_line":28,"start_character":45,"end_line":28,"end_character":50},"in_reply_to":"bf659307_d60c8ea6","updated":"2018-04-18 05:59:16.000000000","message":"conductor node.","commit_id":"48502f5d09251b8ef5e2828e6f9f1a40ed128a65"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"0e1e0ec1c5825ee225c024559da617a620428607","unresolved":false,"context_lines":[{"line_number":32,"context_line":"* Create new API endpoints to get information about ironic-conductor services"},{"line_number":33,"context_line":"  and disable or enable them. Disabling an ironic-conductor service means the"},{"line_number":34,"context_line":"  service still heartbeats but doesn\u0027t accept any new request for nodes and"},{"line_number":35,"context_line":"  all the nodes managed by it will be taken over by other conductor service."},{"line_number":36,"context_line":"  Whereas enabling an ironic-conductor service resumes the normal operation."},{"line_number":37,"context_line":"  See `REST API impact`_ for more details about each APIs."},{"line_number":38,"context_line":""}],"source_content_type":"text/x-rst","patch_set":31,"id":"bf659307_16ee86b3","line":35,"range":{"start_line":35,"start_character":2,"end_line":35,"end_character":76},"updated":"2018-03-30 15:23:22.000000000","message":"It would be good to indicate that this is by removal of the node from the hash ring.","commit_id":"48502f5d09251b8ef5e2828e6f9f1a40ed128a65"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"0f120520583fc2c0e15ae42cb3d7a64fae452fce","unresolved":false,"context_lines":[{"line_number":32,"context_line":"* Create new API endpoints to get information about ironic-conductor services"},{"line_number":33,"context_line":"  and disable or enable them. Disabling an ironic-conductor service means the"},{"line_number":34,"context_line":"  service still heartbeats but doesn\u0027t accept any new request for nodes and"},{"line_number":35,"context_line":"  all the nodes managed by it will be taken over by other conductor service."},{"line_number":36,"context_line":"  Whereas enabling an ironic-conductor service resumes the normal operation."},{"line_number":37,"context_line":"  See `REST API impact`_ for more details about each APIs."},{"line_number":38,"context_line":""}],"source_content_type":"text/x-rst","patch_set":31,"id":"9f6a8fd7_d4ecf22a","line":35,"range":{"start_line":35,"start_character":2,"end_line":35,"end_character":76},"in_reply_to":"bf659307_16ee86b3","updated":"2018-04-18 05:59:16.000000000","message":"Done","commit_id":"48502f5d09251b8ef5e2828e6f9f1a40ed128a65"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"0e1e0ec1c5825ee225c024559da617a620428607","unresolved":false,"context_lines":[{"line_number":44,"context_line":""},{"line_number":45,"context_line":"* Create a new admin document to describe the usage of new commands."},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"* Use the existing function `_conductor_service_record_keepalive` to update"},{"line_number":48,"context_line":"  `last_seen_up` column instead of `updated_at` to display the heartbeat of"},{"line_number":49,"context_line":"  ironic-conductor service. The `updated_at` represents the database update"},{"line_number":50,"context_line":"  time for any operation. This will not affect the existing deployments that"},{"line_number":51,"context_line":"  depends on `updated_at` for the heartbeat time. But for new deployments,"},{"line_number":52,"context_line":"  the `last_seen_up` will represent the actual heartbeat time."},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"Alternatives"},{"line_number":55,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":31,"id":"bf659307_563dde28","line":52,"range":{"start_line":47,"start_character":2,"end_line":52,"end_character":62},"updated":"2018-03-30 15:23:22.000000000","message":"Will this impact the hash ring during an rolling upgrade with a mixed conductor set?","commit_id":"48502f5d09251b8ef5e2828e6f9f1a40ed128a65"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"0f120520583fc2c0e15ae42cb3d7a64fae452fce","unresolved":false,"context_lines":[{"line_number":44,"context_line":""},{"line_number":45,"context_line":"* Create a new admin document to describe the usage of new commands."},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"* Use the existing function `_conductor_service_record_keepalive` to update"},{"line_number":48,"context_line":"  `last_seen_up` column instead of `updated_at` to display the heartbeat of"},{"line_number":49,"context_line":"  ironic-conductor service. The `updated_at` represents the database update"},{"line_number":50,"context_line":"  time for any operation. This will not affect the existing deployments that"},{"line_number":51,"context_line":"  depends on `updated_at` for the heartbeat time. But for new deployments,"},{"line_number":52,"context_line":"  the `last_seen_up` will represent the actual heartbeat time."},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"Alternatives"},{"line_number":55,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":31,"id":"9f6a8fd7_34dd2e70","line":52,"range":{"start_line":47,"start_character":2,"end_line":52,"end_character":62},"in_reply_to":"bf659307_563dde28","updated":"2018-04-18 05:59:16.000000000","message":"Julia, I am not sure how rolling upgrade works and whether this will impact the hash ring or not. Could you please help me understand this?","commit_id":"48502f5d09251b8ef5e2828e6f9f1a40ed128a65"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"0e1e0ec1c5825ee225c024559da617a620428607","unresolved":false,"context_lines":[{"line_number":144,"context_line":"* ``nodes_affinity``: The list of nodes managed by the conductor. This"},{"line_number":145,"context_line":"    information will be picked from the `Node` table."},{"line_number":146,"context_line":""},{"line_number":147,"context_line":"* ``drivers``: The list of drivers supported by the conductor."},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"* ``hardware_types``: The list of hardware types supported by the conductor."},{"line_number":150,"context_line":"   This information will be picked from the `ConductorHardwareInterfaces`"}],"source_content_type":"text/x-rst","patch_set":31,"id":"bf659307_b6155a9e","line":147,"range":{"start_line":147,"start_character":0,"end_line":147,"end_character":62},"updated":"2018-03-30 15:23:22.000000000","message":"drivers are being phased out for hardware types. It likely doesn\u0027t make sense to list both.","commit_id":"48502f5d09251b8ef5e2828e6f9f1a40ed128a65"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"0f120520583fc2c0e15ae42cb3d7a64fae452fce","unresolved":false,"context_lines":[{"line_number":144,"context_line":"* ``nodes_affinity``: The list of nodes managed by the conductor. This"},{"line_number":145,"context_line":"    information will be picked from the `Node` table."},{"line_number":146,"context_line":""},{"line_number":147,"context_line":"* ``drivers``: The list of drivers supported by the conductor."},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"* ``hardware_types``: The list of hardware types supported by the conductor."},{"line_number":150,"context_line":"   This information will be picked from the `ConductorHardwareInterfaces`"}],"source_content_type":"text/x-rst","patch_set":31,"id":"bf659307_39660bc3","line":147,"range":{"start_line":147,"start_character":0,"end_line":147,"end_character":62},"in_reply_to":"bf659307_b6155a9e","updated":"2018-04-18 05:59:16.000000000","message":"removed it. Done.","commit_id":"48502f5d09251b8ef5e2828e6f9f1a40ed128a65"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"0e1e0ec1c5825ee225c024559da617a620428607","unresolved":false,"context_lines":[{"line_number":175,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"},{"line_number":176,"context_line":""},{"line_number":177,"context_line":"Change the status of an ironic-conductor service. This request updates the"},{"line_number":178,"context_line":"`disabled` field of conductor object to True or False accordingly in database"},{"line_number":179,"context_line":"which enables scheduling to the service. When a conductor is disabled, it will"},{"line_number":180,"context_line":"still heartbeat but won\u0027t accept any new request for nodes and all the nodes"},{"line_number":181,"context_line":"managed by it will be taken over by other conductor service. This request"}],"source_content_type":"text/x-rst","patch_set":31,"id":"bf659307_f61e72b9","line":178,"range":{"start_line":178,"start_character":40,"end_line":178,"end_character":53},"updated":"2018-03-30 15:23:22.000000000","message":"``True`` or ``False``","commit_id":"48502f5d09251b8ef5e2828e6f9f1a40ed128a65"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"0f120520583fc2c0e15ae42cb3d7a64fae452fce","unresolved":false,"context_lines":[{"line_number":175,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"},{"line_number":176,"context_line":""},{"line_number":177,"context_line":"Change the status of an ironic-conductor service. This request updates the"},{"line_number":178,"context_line":"`disabled` field of conductor object to True or False accordingly in database"},{"line_number":179,"context_line":"which enables scheduling to the service. When a conductor is disabled, it will"},{"line_number":180,"context_line":"still heartbeat but won\u0027t accept any new request for nodes and all the nodes"},{"line_number":181,"context_line":"managed by it will be taken over by other conductor service. This request"}],"source_content_type":"text/x-rst","patch_set":31,"id":"bf659307_99763770","line":178,"range":{"start_line":178,"start_character":40,"end_line":178,"end_character":53},"in_reply_to":"bf659307_f61e72b9","updated":"2018-04-18 05:59:16.000000000","message":"Done","commit_id":"48502f5d09251b8ef5e2828e6f9f1a40ed128a65"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"0e1e0ec1c5825ee225c024559da617a620428607","unresolved":false,"context_lines":[{"line_number":293,"context_line":""},{"line_number":294,"context_line":"* Enable or disable a conductor service."},{"line_number":295,"context_line":""},{"line_number":296,"context_line":"* Test an operation on a node managed by a disabled conductor."},{"line_number":297,"context_line":""},{"line_number":298,"context_line":"Upgrades and Backwards Compatibility"},{"line_number":299,"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"}],"source_content_type":"text/x-rst","patch_set":31,"id":"bf659307_768022c0","line":296,"updated":"2018-03-30 15:23:22.000000000","message":"So will this be some sort of tempest based test that executes against the admin API? It would make sense to run something like this in the multinode gate where we have two running conductors.","commit_id":"48502f5d09251b8ef5e2828e6f9f1a40ed128a65"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"0f120520583fc2c0e15ae42cb3d7a64fae452fce","unresolved":false,"context_lines":[{"line_number":293,"context_line":""},{"line_number":294,"context_line":"* Enable or disable a conductor service."},{"line_number":295,"context_line":""},{"line_number":296,"context_line":"* Test an operation on a node managed by a disabled conductor."},{"line_number":297,"context_line":""},{"line_number":298,"context_line":"Upgrades and Backwards Compatibility"},{"line_number":299,"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"}],"source_content_type":"text/x-rst","patch_set":31,"id":"bf659307_f9109302","line":296,"in_reply_to":"bf659307_768022c0","updated":"2018-04-18 05:59:16.000000000","message":"Yes, all the test will be tempest test against admin API.\nI have added the multinode scenario test as well.","commit_id":"48502f5d09251b8ef5e2828e6f9f1a40ed128a65"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"0e1e0ec1c5825ee225c024559da617a620428607","unresolved":false,"context_lines":[{"line_number":299,"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":300,"context_line":"The conductors table should consider to be upgraded."},{"line_number":301,"context_line":"Backwards compatibility is retained because the new API endpoints SHOULD only"},{"line_number":302,"context_line":"be supported in new microversions."},{"line_number":303,"context_line":""},{"line_number":304,"context_line":"Documentation Impact"},{"line_number":305,"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":31,"id":"bf659307_366e2a2f","line":302,"updated":"2018-03-30 15:23:22.000000000","message":"Please mention rolling upgrade impact.","commit_id":"48502f5d09251b8ef5e2828e6f9f1a40ed128a65"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"0f120520583fc2c0e15ae42cb3d7a64fae452fce","unresolved":false,"context_lines":[{"line_number":299,"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":300,"context_line":"The conductors table should consider to be upgraded."},{"line_number":301,"context_line":"Backwards compatibility is retained because the new API endpoints SHOULD only"},{"line_number":302,"context_line":"be supported in new microversions."},{"line_number":303,"context_line":""},{"line_number":304,"context_line":"Documentation Impact"},{"line_number":305,"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":31,"id":"bf659307_591adf16","line":302,"in_reply_to":"bf659307_366e2a2f","updated":"2018-04-18 05:59:16.000000000","message":"I am not sure how this will impact rolling upgrade. I will read the ironic related documents and update the same in next patch.","commit_id":"48502f5d09251b8ef5e2828e6f9f1a40ed128a65"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"f7dfc6ded624ae52b417df342914f1f1d34f28eb","unresolved":false,"context_lines":[{"line_number":26,"context_line":"quickly when some ironic-conductor service is down. If a node where"},{"line_number":27,"context_line":"ironic-conductor service is running needs to be shut down for maintenance"},{"line_number":28,"context_line":"purpose in situations like tftp server is not running etc, there is"},{"line_number":29,"context_line":"no way to prevent message to be sent to the conductor node."},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"Proposed change"},{"line_number":32,"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":33,"id":"5f7c97a3_0c2efe41","line":29,"range":{"start_line":29,"start_character":17,"end_line":29,"end_character":25},"updated":"2018-07-12 12:39:19.000000000","message":"s/message to be sent/requests being assigned/?","commit_id":"f72666408173247dc377a66c5f598837654b1108"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"ea4571f8a4b556e49683d625239c34fb3d981f94","unresolved":false,"context_lines":[{"line_number":26,"context_line":"quickly when some ironic-conductor service is down. If a node where"},{"line_number":27,"context_line":"ironic-conductor service is running needs to be shut down for maintenance"},{"line_number":28,"context_line":"purpose in situations like tftp server is not running etc, there is"},{"line_number":29,"context_line":"no way to prevent message to be sent to the conductor node."},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"Proposed change"},{"line_number":32,"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":33,"id":"5f7c97a3_1220e14a","line":29,"range":{"start_line":29,"start_character":17,"end_line":29,"end_character":25},"in_reply_to":"5f7c97a3_0c2efe41","updated":"2018-07-18 08:27:49.000000000","message":"Done","commit_id":"f72666408173247dc377a66c5f598837654b1108"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"f7dfc6ded624ae52b417df342914f1f1d34f28eb","unresolved":false,"context_lines":[{"line_number":36,"context_line":"  all the nodes managed by it will be taken over by other conductor service."},{"line_number":37,"context_line":"  This is done by removal of the node from the hash ring. Whereas enabling an"},{"line_number":38,"context_line":"  ironic-conductor service resumes the normal operation."},{"line_number":39,"context_line":"  See `REST API impact`_ for more details about each APIs."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"* API client update to provide CLI interface to invoke this feature - see"},{"line_number":42,"context_line":"  `Client (CLI) impact`_ for details."}],"source_content_type":"text/x-rst","patch_set":33,"id":"5f7c97a3_ec84e210","line":39,"updated":"2018-07-12 12:39:19.000000000","message":"We may want to allow there to be a reserved worker, or to leverage the reserved worker for heartbeating to perform this mode switch across RPC.","commit_id":"f72666408173247dc377a66c5f598837654b1108"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"ea4571f8a4b556e49683d625239c34fb3d981f94","unresolved":false,"context_lines":[{"line_number":36,"context_line":"  all the nodes managed by it will be taken over by other conductor service."},{"line_number":37,"context_line":"  This is done by removal of the node from the hash ring. Whereas enabling an"},{"line_number":38,"context_line":"  ironic-conductor service resumes the normal operation."},{"line_number":39,"context_line":"  See `REST API impact`_ for more details about each APIs."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"* API client update to provide CLI interface to invoke this feature - see"},{"line_number":42,"context_line":"  `Client (CLI) impact`_ for details."}],"source_content_type":"text/x-rst","patch_set":33,"id":"5f7c97a3_f5f18fdf","line":39,"in_reply_to":"5f7c97a3_ec84e210","updated":"2018-07-18 08:27:49.000000000","message":"The already reserved worker for the conductor being disabled or enabled will be used heartbeat.","commit_id":"f72666408173247dc377a66c5f598837654b1108"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"f7dfc6ded624ae52b417df342914f1f1d34f28eb","unresolved":false,"context_lines":[{"line_number":48,"context_line":""},{"line_number":49,"context_line":"* Use the existing function `_conductor_service_record_keepalive` to update"},{"line_number":50,"context_line":"  `last_seen_up` column instead of `updated_at` to display the heartbeat of"},{"line_number":51,"context_line":"  ironic-conductor service. The `updated_at` represents the database update"},{"line_number":52,"context_line":"  time for any operation. This will not affect the existing deployments that"},{"line_number":53,"context_line":"  depends on `updated_at` for the heartbeat time. But for new deployments,"},{"line_number":54,"context_line":"  the `last_seen_up` will represent the actual heartbeat time."}],"source_content_type":"text/x-rst","patch_set":33,"id":"5f7c97a3_6ccbf24a","line":51,"updated":"2018-07-12 12:39:19.000000000","message":"Instead of adding a new time field, why not a Boolean field that in the schema is defaulted to True in the database schema. This would be unchanged behavior for older conductors, and newer conductors would be able to process the field\u0027s existence to perform the hash ring generation or if a conductor should be skiped or considered down from the hash ring. It seems like the column is being proposed in the dta model impact...","commit_id":"f72666408173247dc377a66c5f598837654b1108"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"ea4571f8a4b556e49683d625239c34fb3d981f94","unresolved":false,"context_lines":[{"line_number":48,"context_line":""},{"line_number":49,"context_line":"* Use the existing function `_conductor_service_record_keepalive` to update"},{"line_number":50,"context_line":"  `last_seen_up` column instead of `updated_at` to display the heartbeat of"},{"line_number":51,"context_line":"  ironic-conductor service. The `updated_at` represents the database update"},{"line_number":52,"context_line":"  time for any operation. This will not affect the existing deployments that"},{"line_number":53,"context_line":"  depends on `updated_at` for the heartbeat time. But for new deployments,"},{"line_number":54,"context_line":"  the `last_seen_up` will represent the actual heartbeat time."}],"source_content_type":"text/x-rst","patch_set":33,"id":"5f7c97a3_151a0b6a","line":51,"in_reply_to":"5f7c97a3_6ccbf24a","updated":"2018-07-18 08:27:49.000000000","message":"We are introducing multiple columns to the conductor table, each of which is explained in the data model impact.\n\nThe new time field `last_seen_up` is used to represent the actual heartbeat. The older conductors will still rely on the `updated-at` field. I think this will not impact the existing deployments.","commit_id":"f72666408173247dc377a66c5f598837654b1108"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"f7dfc6ded624ae52b417df342914f1f1d34f28eb","unresolved":false,"context_lines":[{"line_number":51,"context_line":"  ironic-conductor service. The `updated_at` represents the database update"},{"line_number":52,"context_line":"  time for any operation. This will not affect the existing deployments that"},{"line_number":53,"context_line":"  depends on `updated_at` for the heartbeat time. But for new deployments,"},{"line_number":54,"context_line":"  the `last_seen_up` will represent the actual heartbeat time."},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"Alternatives"},{"line_number":57,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":33,"id":"5f7c97a3_ec9b8276","line":54,"updated":"2018-07-12 12:39:19.000000000","message":"Will there be a way for operators to shift to this behavior once they have upgraded? Will it be guarded by an rpc pin?","commit_id":"f72666408173247dc377a66c5f598837654b1108"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"ea4571f8a4b556e49683d625239c34fb3d981f94","unresolved":false,"context_lines":[{"line_number":51,"context_line":"  ironic-conductor service. The `updated_at` represents the database update"},{"line_number":52,"context_line":"  time for any operation. This will not affect the existing deployments that"},{"line_number":53,"context_line":"  depends on `updated_at` for the heartbeat time. But for new deployments,"},{"line_number":54,"context_line":"  the `last_seen_up` will represent the actual heartbeat time."},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"Alternatives"},{"line_number":57,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":33,"id":"5f7c97a3_952dbb91","line":54,"in_reply_to":"5f7c97a3_ec9b8276","updated":"2018-07-18 08:27:49.000000000","message":"Yes, it will be.","commit_id":"f72666408173247dc377a66c5f598837654b1108"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"f7dfc6ded624ae52b417df342914f1f1d34f28eb","unresolved":false,"context_lines":[{"line_number":126,"context_line":"* ``hostname``: The node where ironic-conductor service is running."},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"* ``binary``: The binary name of the service. The only possible value today"},{"line_number":129,"context_line":"  in Ironic is `ironic-conductor`."},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"* ``state``: The state of an ironic-conductor service. Its value is `up`"},{"line_number":132,"context_line":"  or `down`. This value is picked from the combination of `online` and"}],"source_content_type":"text/x-rst","patch_set":33,"id":"5f7c97a3_4c1956cf","line":129,"updated":"2018-07-12 12:39:19.000000000","message":"Why not just process name? Why even have the field? initially if we\u0027re only going to have a single value?","commit_id":"f72666408173247dc377a66c5f598837654b1108"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"ea4571f8a4b556e49683d625239c34fb3d981f94","unresolved":false,"context_lines":[{"line_number":126,"context_line":"* ``hostname``: The node where ironic-conductor service is running."},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"* ``binary``: The binary name of the service. The only possible value today"},{"line_number":129,"context_line":"  in Ironic is `ironic-conductor`."},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"* ``state``: The state of an ironic-conductor service. Its value is `up`"},{"line_number":132,"context_line":"  or `down`. This value is picked from the combination of `online` and"}],"source_content_type":"text/x-rst","patch_set":33,"id":"5f7c97a3_d2ad8932","line":129,"in_reply_to":"5f7c97a3_4c1956cf","updated":"2018-07-18 08:27:49.000000000","message":"This is to be consistent with other OpenStack services such as Nova, Magnum etc.","commit_id":"f72666408173247dc377a66c5f598837654b1108"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"f7dfc6ded624ae52b417df342914f1f1d34f28eb","unresolved":false,"context_lines":[{"line_number":144,"context_line":"* ``disabled_reason``: The reason why the service is disabled."},{"line_number":145,"context_line":""},{"line_number":146,"context_line":"* ``nodes_affinity``: The list of nodes managed by the conductor. This"},{"line_number":147,"context_line":"    information will be picked from the `Node` table."},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"* ``hardware_types``: The list of hardware types supported by the conductor."},{"line_number":150,"context_line":"   This information will be picked from the `ConductorHardwareInterfaces`"}],"source_content_type":"text/x-rst","patch_set":33,"id":"5f7c97a3_ac56ea5d","line":147,"range":{"start_line":147,"start_character":2,"end_line":147,"end_character":4},"updated":"2018-07-12 12:39:19.000000000","message":"I\u0027m not sure which formatting style spacing wise is correct, or if bot work just fine right now. That being said this line has two extra leading spaces when compared to the other entries.\n\nAdditionally: with this feature, please consider the impact of an ironic API endpoint managing 1000, 10000, 40000, and 250000 baremetal nodes.","commit_id":"f72666408173247dc377a66c5f598837654b1108"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"ea4571f8a4b556e49683d625239c34fb3d981f94","unresolved":false,"context_lines":[{"line_number":144,"context_line":"* ``disabled_reason``: The reason why the service is disabled."},{"line_number":145,"context_line":""},{"line_number":146,"context_line":"* ``nodes_affinity``: The list of nodes managed by the conductor. This"},{"line_number":147,"context_line":"    information will be picked from the `Node` table."},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"* ``hardware_types``: The list of hardware types supported by the conductor."},{"line_number":150,"context_line":"   This information will be picked from the `ConductorHardwareInterfaces`"}],"source_content_type":"text/x-rst","patch_set":33,"id":"5f7c97a3_f281a5a1","line":147,"range":{"start_line":147,"start_character":2,"end_line":147,"end_character":4},"in_reply_to":"5f7c97a3_ac56ea5d","updated":"2018-07-18 08:27:49.000000000","message":"Formatting fixed.\n\nBy the second point, do you mean that fetching that long list will be time taking?","commit_id":"f72666408173247dc377a66c5f598837654b1108"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"f7dfc6ded624ae52b417df342914f1f1d34f28eb","unresolved":false,"context_lines":[{"line_number":161,"context_line":"       \"uuid\": \"f1e4d7bf-f8ad-45bc-bfae-b8f5253924a8\","},{"line_number":162,"context_line":"       \"last_seen_up\": \"2018-01-12T09:33:18.000000\","},{"line_number":163,"context_line":"       \"nodes_affinity\": [\"72535fcc-83ff-4004-acd2-72ea52713752\"],"},{"line_number":164,"context_line":"       \"hardware_types\": [\"ipmi\"]}"},{"line_number":165,"context_line":"  ]}"},{"line_number":166,"context_line":""},{"line_number":167,"context_line":"Error codes:"}],"source_content_type":"text/x-rst","patch_set":33,"id":"5f7c97a3_0cc7de13","line":164,"updated":"2018-07-12 12:39:19.000000000","message":"Should we report on conductor locality, which hopefully will be merging soon?","commit_id":"f72666408173247dc377a66c5f598837654b1108"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"ea4571f8a4b556e49683d625239c34fb3d981f94","unresolved":false,"context_lines":[{"line_number":161,"context_line":"       \"uuid\": \"f1e4d7bf-f8ad-45bc-bfae-b8f5253924a8\","},{"line_number":162,"context_line":"       \"last_seen_up\": \"2018-01-12T09:33:18.000000\","},{"line_number":163,"context_line":"       \"nodes_affinity\": [\"72535fcc-83ff-4004-acd2-72ea52713752\"],"},{"line_number":164,"context_line":"       \"hardware_types\": [\"ipmi\"]}"},{"line_number":165,"context_line":"  ]}"},{"line_number":166,"context_line":""},{"line_number":167,"context_line":"Error codes:"}],"source_content_type":"text/x-rst","patch_set":33,"id":"5f7c97a3_92dcf1e2","line":164,"in_reply_to":"5f7c97a3_0cc7de13","updated":"2018-07-18 08:27:49.000000000","message":"Yes. After it is merged, I will update this response.","commit_id":"f72666408173247dc377a66c5f598837654b1108"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"f7dfc6ded624ae52b417df342914f1f1d34f28eb","unresolved":false,"context_lines":[{"line_number":207,"context_line":""},{"line_number":208,"context_line":"* 404 - an ironic-conductor service was not found."},{"line_number":209,"context_line":""},{"line_number":210,"context_line":"* 409 - enabling/disabling an enabled/disabled service."},{"line_number":211,"context_line":""},{"line_number":212,"context_line":"A new API microversion will be introduced to cover these endpoints."},{"line_number":213,"context_line":""}],"source_content_type":"text/x-rst","patch_set":33,"id":"5f7c97a3_6c71b2df","line":210,"updated":"2018-07-12 12:39:19.000000000","message":"Would this be in the event that the conductor did not respond to be enabled in time?","commit_id":"f72666408173247dc377a66c5f598837654b1108"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"ea4571f8a4b556e49683d625239c34fb3d981f94","unresolved":false,"context_lines":[{"line_number":207,"context_line":""},{"line_number":208,"context_line":"* 404 - an ironic-conductor service was not found."},{"line_number":209,"context_line":""},{"line_number":210,"context_line":"* 409 - enabling/disabling an enabled/disabled service."},{"line_number":211,"context_line":""},{"line_number":212,"context_line":"A new API microversion will be introduced to cover these endpoints."},{"line_number":213,"context_line":""}],"source_content_type":"text/x-rst","patch_set":33,"id":"5f7c97a3_525e5979","line":210,"in_reply_to":"5f7c97a3_6c71b2df","updated":"2018-07-18 08:27:49.000000000","message":"No. But I can\u0027t think of a case when there could be a delay in response to being enabled.","commit_id":"f72666408173247dc377a66c5f598837654b1108"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"f7dfc6ded624ae52b417df342914f1f1d34f28eb","unresolved":false,"context_lines":[{"line_number":221,"context_line":"RPC API impact"},{"line_number":222,"context_line":"--------------"},{"line_number":223,"context_line":"None"},{"line_number":224,"context_line":""},{"line_number":225,"context_line":"Driver API impact"},{"line_number":226,"context_line":"-----------------"},{"line_number":227,"context_line":"None"}],"source_content_type":"text/x-rst","patch_set":33,"id":"5f7c97a3_cc132665","line":224,"updated":"2018-07-12 12:39:19.000000000","message":"It seems like a dedicated worker would be needed to ensure that the RPC requests can be received and processed when the conductor is busy.","commit_id":"f72666408173247dc377a66c5f598837654b1108"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"ea4571f8a4b556e49683d625239c34fb3d981f94","unresolved":false,"context_lines":[{"line_number":221,"context_line":"RPC API impact"},{"line_number":222,"context_line":"--------------"},{"line_number":223,"context_line":"None"},{"line_number":224,"context_line":""},{"line_number":225,"context_line":"Driver API impact"},{"line_number":226,"context_line":"-----------------"},{"line_number":227,"context_line":"None"}],"source_content_type":"text/x-rst","patch_set":33,"id":"5f7c97a3_5533a3c4","line":224,"in_reply_to":"5f7c97a3_cc132665","updated":"2018-07-18 08:27:49.000000000","message":"By \"busy\" here, do you mean the conductor is being disabled? If yes, in that case no request will be assigned to the conductor service. So we don\u0027t need any reserved worker for that purpose.","commit_id":"f72666408173247dc377a66c5f598837654b1108"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"f7dfc6ded624ae52b417df342914f1f1d34f28eb","unresolved":false,"context_lines":[{"line_number":290,"context_line":""},{"line_number":291,"context_line":"* Get list of conductor for specific driver and hardware type."},{"line_number":292,"context_line":""},{"line_number":293,"context_line":"* Enable or disable a conductor service."},{"line_number":294,"context_line":""},{"line_number":295,"context_line":"* Test an operation on a node managed by a disabled conductor in"},{"line_number":296,"context_line":"  single node setup."}],"source_content_type":"text/x-rst","patch_set":33,"id":"5f7c97a3_4ca39644","line":293,"updated":"2018-07-12 12:39:19.000000000","message":"This test should likely be explicitly opt-in in case someone tries to run this against a production deployment.","commit_id":"f72666408173247dc377a66c5f598837654b1108"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"ea4571f8a4b556e49683d625239c34fb3d981f94","unresolved":false,"context_lines":[{"line_number":290,"context_line":""},{"line_number":291,"context_line":"* Get list of conductor for specific driver and hardware type."},{"line_number":292,"context_line":""},{"line_number":293,"context_line":"* Enable or disable a conductor service."},{"line_number":294,"context_line":""},{"line_number":295,"context_line":"* Test an operation on a node managed by a disabled conductor in"},{"line_number":296,"context_line":"  single node setup."}],"source_content_type":"text/x-rst","patch_set":33,"id":"5f7c97a3_32963d3f","line":293,"in_reply_to":"5f7c97a3_4ca39644","updated":"2018-07-18 08:27:49.000000000","message":"Sorry, I didn\u0027t get your point. Can you please elaborate?","commit_id":"f72666408173247dc377a66c5f598837654b1108"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"f7dfc6ded624ae52b417df342914f1f1d34f28eb","unresolved":false,"context_lines":[{"line_number":293,"context_line":"* Enable or disable a conductor service."},{"line_number":294,"context_line":""},{"line_number":295,"context_line":"* Test an operation on a node managed by a disabled conductor in"},{"line_number":296,"context_line":"  single node setup."},{"line_number":297,"context_line":""},{"line_number":298,"context_line":"* Test an operation on a node managed by a disabled conductor in"},{"line_number":299,"context_line":"  multinode setup."}],"source_content_type":"text/x-rst","patch_set":33,"id":"5f7c97a3_2ca65a56","line":296,"updated":"2018-07-12 12:39:19.000000000","message":"Same comment as for 293.","commit_id":"f72666408173247dc377a66c5f598837654b1108"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"f7dfc6ded624ae52b417df342914f1f1d34f28eb","unresolved":false,"context_lines":[{"line_number":296,"context_line":"  single node setup."},{"line_number":297,"context_line":""},{"line_number":298,"context_line":"* Test an operation on a node managed by a disabled conductor in"},{"line_number":299,"context_line":"  multinode setup."},{"line_number":300,"context_line":""},{"line_number":301,"context_line":""},{"line_number":302,"context_line":"Upgrades and Backwards Compatibility"}],"source_content_type":"text/x-rst","patch_set":33,"id":"5f7c97a3_ecb86279","line":299,"updated":"2018-07-12 12:39:19.000000000","message":"I think this might be un-needed. If you can disable the conductor effectively in a single node setup, the behavior is ultimately tested. This would end up testing that another conductor has taken over for that node, and we would have to time or wait for takeover to occur and for takeover to be completed. So if someone were to run this test against an existing deployment with a large pool of active nodes, then this test is potentially harmful to the environment.","commit_id":"f72666408173247dc377a66c5f598837654b1108"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"ea4571f8a4b556e49683d625239c34fb3d981f94","unresolved":false,"context_lines":[{"line_number":296,"context_line":"  single node setup."},{"line_number":297,"context_line":""},{"line_number":298,"context_line":"* Test an operation on a node managed by a disabled conductor in"},{"line_number":299,"context_line":"  multinode setup."},{"line_number":300,"context_line":""},{"line_number":301,"context_line":""},{"line_number":302,"context_line":"Upgrades and Backwards Compatibility"}],"source_content_type":"text/x-rst","patch_set":33,"id":"5f7c97a3_b2932d59","line":299,"in_reply_to":"5f7c97a3_ecb86279","updated":"2018-07-18 08:27:49.000000000","message":"I agree with your point. Removed this one.","commit_id":"f72666408173247dc377a66c5f598837654b1108"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"68416c0de1716770c683d168a48f5d1b259afc98","unresolved":false,"context_lines":[{"line_number":66,"context_line":"function."},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"* ``uuid``: It is a new column of conductors table that represents the unique"},{"line_number":69,"context_line":"  UUID of the conductor service."},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"* ``last_seen_up``: It is a new column of conductors. It shows the last"},{"line_number":72,"context_line":"  heartbeat time of an ironic-conductor service."}],"source_content_type":"text/x-rst","patch_set":34,"id":"3f79a3b5_2744e446","line":69,"updated":"2018-08-22 13:17:05.000000000","message":"why do you need it when you have a hostname?","commit_id":"6fc1181aa9e60c442a94410ce15cae88dfe04cba"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"68416c0de1716770c683d168a48f5d1b259afc98","unresolved":false,"context_lines":[{"line_number":109,"context_line":"entries will be made to the Ironic policies. Also increment the API"},{"line_number":110,"context_line":"microversion."},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"``GET /v1/os-services``"},{"line_number":113,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~"},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"Get the information of all ironic-conductor services. This API supports some"}],"source_content_type":"text/x-rst","patch_set":34,"id":"3f79a3b5_c77650a5","line":112,"updated":"2018-08-22 13:17:05.000000000","message":"we don\u0027t have \"OS services\", let\u0027s call it conductors. /v1/conductors","commit_id":"6fc1181aa9e60c442a94410ce15cae88dfe04cba"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"68416c0de1716770c683d168a48f5d1b259afc98","unresolved":false,"context_lines":[{"line_number":116,"context_line":"filters. The supported filters are hostname and hardware_type. Some"},{"line_number":117,"context_line":"of the request  examples are shown below::"},{"line_number":118,"context_line":""},{"line_number":119,"context_line":"      GET /v1/os-services?hostname\u003dhost01"},{"line_number":120,"context_line":"      GET /v1/os-services?hardware_type\u003dipmi"},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"Response: HTTP 200 with JSON body containing keys:"}],"source_content_type":"text/x-rst","patch_set":34,"id":"3f79a3b5_e77b4c89","line":119,"updated":"2018-08-22 13:17:05.000000000","message":"since hostname is unique, /v1/conductors/host01/","commit_id":"6fc1181aa9e60c442a94410ce15cae88dfe04cba"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"68416c0de1716770c683d168a48f5d1b259afc98","unresolved":false,"context_lines":[{"line_number":126,"context_line":"* ``hostname``: The node where ironic-conductor service is running."},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"* ``binary``: The binary name of the service. The only possible value today"},{"line_number":129,"context_line":"  in Ironic is `ironic-conductor`."},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"* ``state``: The state of an ironic-conductor service. Its value is `up`"},{"line_number":132,"context_line":"  or `down`. This value is picked from the combination of `online` and"}],"source_content_type":"text/x-rst","patch_set":34,"id":"3f79a3b5_876cd8d0","line":129,"updated":"2018-08-22 13:17:05.000000000","message":"let\u0027s skip it then","commit_id":"6fc1181aa9e60c442a94410ce15cae88dfe04cba"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"68416c0de1716770c683d168a48f5d1b259afc98","unresolved":false,"context_lines":[{"line_number":130,"context_line":""},{"line_number":131,"context_line":"* ``state``: The state of an ironic-conductor service. Its value is `up`"},{"line_number":132,"context_line":"  or `down`. This value is picked from the combination of `online` and"},{"line_number":133,"context_line":"  `last_seen_up` of conductors."},{"line_number":134,"context_line":""},{"line_number":135,"context_line":"* ``status``: The status of an ironic-conductor service. Its value is"},{"line_number":136,"context_line":"  `enabled` and `disabled`. By default, it is `enabled`. This values is"}],"source_content_type":"text/x-rst","patch_set":34,"id":"3f79a3b5_a771d4aa","line":133,"updated":"2018-08-22 13:17:05.000000000","message":"let\u0027s call it \"online\" to avoid confusion with status (or rename status to enabled)","commit_id":"6fc1181aa9e60c442a94410ce15cae88dfe04cba"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"68416c0de1716770c683d168a48f5d1b259afc98","unresolved":false,"context_lines":[{"line_number":148,"context_line":""},{"line_number":149,"context_line":"* ``hardware_types``: The list of hardware types supported by the conductor."},{"line_number":150,"context_line":"  This information will be picked from the `ConductorHardwareInterfaces`"},{"line_number":151,"context_line":"  table."},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"An example response json is given below::"},{"line_number":154,"context_line":""}],"source_content_type":"text/x-rst","patch_set":34,"id":"3f79a3b5_476a40b3","line":151,"updated":"2018-08-22 13:17:05.000000000","message":"We call it \"drivers\" everywhere in the API. While very unfortunate, let\u0027s keep it this way.","commit_id":"6fc1181aa9e60c442a94410ce15cae88dfe04cba"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"68416c0de1716770c683d168a48f5d1b259afc98","unresolved":false,"context_lines":[{"line_number":152,"context_line":""},{"line_number":153,"context_line":"An example response json is given below::"},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"  {\"services\": ["},{"line_number":156,"context_line":"      {\"status\": \"enabled\","},{"line_number":157,"context_line":"       \"binary\": \"ironic-conductor\","},{"line_number":158,"context_line":"       \"hostname\": \"ubuntu\","}],"source_content_type":"text/x-rst","patch_set":34,"id":"3f79a3b5_67673ceb","line":155,"updated":"2018-08-22 13:17:05.000000000","message":"s/services/conductors/, also missing standard \"links\" attribute","commit_id":"6fc1181aa9e60c442a94410ce15cae88dfe04cba"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"68416c0de1716770c683d168a48f5d1b259afc98","unresolved":false,"context_lines":[{"line_number":161,"context_line":"       \"uuid\": \"f1e4d7bf-f8ad-45bc-bfae-b8f5253924a8\","},{"line_number":162,"context_line":"       \"last_seen_up\": \"2018-01-12T09:33:18.000000\","},{"line_number":163,"context_line":"       \"nodes_affinity\": [\"72535fcc-83ff-4004-acd2-72ea52713752\"],"},{"line_number":164,"context_line":"       \"hardware_types\": [\"ipmi\"]}"},{"line_number":165,"context_line":"  ]}"},{"line_number":166,"context_line":""},{"line_number":167,"context_line":"Error codes:"}],"source_content_type":"text/x-rst","patch_set":34,"id":"3f79a3b5_0760c8ce","line":164,"updated":"2018-08-22 13:17:05.000000000","message":"since we have a page per drivers, this should be\n\n \"drivers\": [{\"name\": \"ipmi\", \"links\": [{\"rel\": \"self\", \"href\": \".../v1/drivers/ipmi\"}]}]","commit_id":"6fc1181aa9e60c442a94410ce15cae88dfe04cba"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"68416c0de1716770c683d168a48f5d1b259afc98","unresolved":false,"context_lines":[{"line_number":193,"context_line":"    \"status\": \"enable\""},{"line_number":194,"context_line":"  }"},{"line_number":195,"context_line":""},{"line_number":196,"context_line":"Response: HTTP 200 with JSON body containing keys:"},{"line_number":197,"context_line":""},{"line_number":198,"context_line":"* ``hostname``: The node where ironic-conductor service is running."},{"line_number":199,"context_line":""}],"source_content_type":"text/x-rst","patch_set":34,"id":"3f79a3b5_275dc414","line":196,"updated":"2018-08-22 13:17:05.000000000","message":"please return the whole updated representation","commit_id":"6fc1181aa9e60c442a94410ce15cae88dfe04cba"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"68416c0de1716770c683d168a48f5d1b259afc98","unresolved":false,"context_lines":[{"line_number":207,"context_line":""},{"line_number":208,"context_line":"* 404 - an ironic-conductor service was not found."},{"line_number":209,"context_line":""},{"line_number":210,"context_line":"* 409 - enabling/disabling an enabled/disabled service."},{"line_number":211,"context_line":""},{"line_number":212,"context_line":"A new API microversion will be introduced to cover these endpoints."},{"line_number":213,"context_line":""}],"source_content_type":"text/x-rst","patch_set":34,"id":"3f79a3b5_c79bb0c6","line":210,"updated":"2018-08-22 13:17:05.000000000","message":"nit: I think a better PUT semantics here will be HTTP 200 OK.","commit_id":"6fc1181aa9e60c442a94410ce15cae88dfe04cba"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"68416c0de1716770c683d168a48f5d1b259afc98","unresolved":false,"context_lines":[{"line_number":213,"context_line":""},{"line_number":214,"context_line":"Client (CLI) impact"},{"line_number":215,"context_line":"-------------------"},{"line_number":216,"context_line":"Support for the new commands \"baremetal service enable\" and"},{"line_number":217,"context_line":"\"baremetal service disable\" with an optional argument to provide the reason"},{"line_number":218,"context_line":"to disable must be added to the OSC plugin for Ironic. And also add new"},{"line_number":219,"context_line":"command \"baremetal service list\" to get ironic-conductor services."}],"source_content_type":"text/x-rst","patch_set":34,"id":"3f79a3b5_e7a02cf7","line":216,"updated":"2018-08-22 13:17:05.000000000","message":"s/service/conductor/","commit_id":"6fc1181aa9e60c442a94410ce15cae88dfe04cba"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"68416c0de1716770c683d168a48f5d1b259afc98","unresolved":false,"context_lines":[{"line_number":216,"context_line":"Support for the new commands \"baremetal service enable\" and"},{"line_number":217,"context_line":"\"baremetal service disable\" with an optional argument to provide the reason"},{"line_number":218,"context_line":"to disable must be added to the OSC plugin for Ironic. And also add new"},{"line_number":219,"context_line":"command \"baremetal service list\" to get ironic-conductor services."},{"line_number":220,"context_line":""},{"line_number":221,"context_line":"RPC API impact"},{"line_number":222,"context_line":"--------------"}],"source_content_type":"text/x-rst","patch_set":34,"id":"3f79a3b5_87a138fa","line":219,"updated":"2018-08-22 13:17:05.000000000","message":"some details would not hurt.","commit_id":"6fc1181aa9e60c442a94410ce15cae88dfe04cba"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"68416c0de1716770c683d168a48f5d1b259afc98","unresolved":false,"context_lines":[{"line_number":284,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":285,"context_line":"* Tempest tests must be added to test the following cases:"},{"line_number":286,"context_line":""},{"line_number":287,"context_line":"* Get the list of conductors."},{"line_number":288,"context_line":""},{"line_number":289,"context_line":"* Get list of conductor for specific driver and hardware type."},{"line_number":290,"context_line":""}],"source_content_type":"text/x-rst","patch_set":34,"id":"3f79a3b5_a7a6b40e","line":287,"updated":"2018-08-22 13:17:05.000000000","message":"formatting nit: indent sublist","commit_id":"6fc1181aa9e60c442a94410ce15cae88dfe04cba"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"68416c0de1716770c683d168a48f5d1b259afc98","unresolved":false,"context_lines":[{"line_number":297,"context_line":"Upgrades and Backwards Compatibility"},{"line_number":298,"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":299,"context_line":"The conductors table should consider to be upgraded."},{"line_number":300,"context_line":"Backwards compatibility is retained because the new API endpoints SHOULD only"},{"line_number":301,"context_line":"be supported in new microversions."},{"line_number":302,"context_line":""},{"line_number":303,"context_line":"Documentation Impact"}],"source_content_type":"text/x-rst","patch_set":34,"id":"3f79a3b5_47afa0e2","line":300,"updated":"2018-08-22 13:17:05.000000000","message":"s/SHOULD/MUST/","commit_id":"6fc1181aa9e60c442a94410ce15cae88dfe04cba"}]}
