)]}'
{"specs/approved/inspection-abort.rst":[{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"4d4b776ad464b64807d30fae7468859c0668b8a9","unresolved":false,"context_lines":[{"line_number":10,"context_line":""},{"line_number":11,"context_line":"https://bugs.launchpad.net/ironic/+bug/1703089"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"This spec aims to support aborting during node inspection from ironic api."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"Problem description"}],"source_content_type":"text/x-rst","patch_set":7,"id":"9f436f4f_9c9d49bd","line":13,"range":{"start_line":13,"start_character":70,"end_line":13,"end_character":73},"updated":"2017-08-21 07:16:26.000000000","message":"nit: s/ api / API /","commit_id":"f9111c05e84fae51e3a7d6a7524d74893ff046a8"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"4d4b776ad464b64807d30fae7468859c0668b8a9","unresolved":false,"context_lines":[{"line_number":10,"context_line":""},{"line_number":11,"context_line":"https://bugs.launchpad.net/ironic/+bug/1703089"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"This spec aims to support aborting during node inspection from ironic api."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"Problem description"}],"source_content_type":"text/x-rst","patch_set":7,"id":"9f436f4f_3c69bdbd","line":13,"range":{"start_line":13,"start_character":35,"end_line":13,"end_character":41},"updated":"2017-08-21 07:16:26.000000000","message":"s/ during //","commit_id":"f9111c05e84fae51e3a7d6a7524d74893ff046a8"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"1f31adba060fc1a53c5654241beec00f3b383760","unresolved":false,"context_lines":[{"line_number":10,"context_line":""},{"line_number":11,"context_line":"https://bugs.launchpad.net/ironic/+bug/1703089"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"This spec aims to support aborting during node inspection from ironic api."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"Problem description"}],"source_content_type":"text/x-rst","patch_set":7,"id":"9f436f4f_264f5493","line":13,"range":{"start_line":13,"start_character":35,"end_line":13,"end_character":41},"in_reply_to":"9f436f4f_3c69bdbd","updated":"2017-08-22 03:23:42.000000000","message":"Done","commit_id":"f9111c05e84fae51e3a7d6a7524d74893ff046a8"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"1f31adba060fc1a53c5654241beec00f3b383760","unresolved":false,"context_lines":[{"line_number":10,"context_line":""},{"line_number":11,"context_line":"https://bugs.launchpad.net/ironic/+bug/1703089"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"This spec aims to support aborting during node inspection from ironic api."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"Problem description"}],"source_content_type":"text/x-rst","patch_set":7,"id":"9f436f4f_0646907d","line":13,"range":{"start_line":13,"start_character":70,"end_line":13,"end_character":73},"in_reply_to":"9f436f4f_9c9d49bd","updated":"2017-08-22 03:23:42.000000000","message":"Done","commit_id":"f9111c05e84fae51e3a7d6a7524d74893ff046a8"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"4d4b776ad464b64807d30fae7468859c0668b8a9","unresolved":false,"context_lines":[{"line_number":34,"context_line":""},{"line_number":35,"context_line":"Add state transition of ``inspecting`` to ``inspect failed`` in state machine."},{"line_number":36,"context_line":"Allow ironic processes ``abort`` request when node provisioning state is"},{"line_number":37,"context_line":"``inspecting``, when an abort operation is requested, ironic sends abort"},{"line_number":38,"context_line":"request to ironic inspector via inspector client, and move node state to"},{"line_number":39,"context_line":"``inspect failed``."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"The ironic inspector client has implemented the abort api request but the"},{"line_number":42,"context_line":"abort interface is not exposed in client library, this spec will also expose"}],"source_content_type":"text/x-rst","patch_set":7,"id":"9f436f4f_7c406508","line":39,"range":{"start_line":37,"start_character":16,"end_line":39,"end_character":19},"updated":"2017-08-21 07:16:26.000000000","message":"The proposed change assumes that the \u0027inspector\u0027 is the only mechanism to inspect. Solution needs to take are of OOB mechanisms as well. In case of OOB inspection better to return \u0027Operation not supported\u0027 kind of error.","commit_id":"f9111c05e84fae51e3a7d6a7524d74893ff046a8"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"1f31adba060fc1a53c5654241beec00f3b383760","unresolved":false,"context_lines":[{"line_number":34,"context_line":""},{"line_number":35,"context_line":"Add state transition of ``inspecting`` to ``inspect failed`` in state machine."},{"line_number":36,"context_line":"Allow ironic processes ``abort`` request when node provisioning state is"},{"line_number":37,"context_line":"``inspecting``, when an abort operation is requested, ironic sends abort"},{"line_number":38,"context_line":"request to ironic inspector via inspector client, and move node state to"},{"line_number":39,"context_line":"``inspect failed``."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"The ironic inspector client has implemented the abort api request but the"},{"line_number":42,"context_line":"abort interface is not exposed in client library, this spec will also expose"}],"source_content_type":"text/x-rst","patch_set":7,"id":"9f436f4f_ec5c8bee","line":39,"range":{"start_line":37,"start_character":16,"end_line":39,"end_character":19},"in_reply_to":"9f436f4f_7c406508","updated":"2017-08-22 03:23:42.000000000","message":"Done","commit_id":"f9111c05e84fae51e3a7d6a7524d74893ff046a8"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"4d4b776ad464b64807d30fae7468859c0668b8a9","unresolved":false,"context_lines":[{"line_number":44,"context_line":""},{"line_number":45,"context_line":"Involved changes are:"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"* Implement the logic for ironic handling the verb ``abort`` when provisioning"},{"line_number":48,"context_line":"  state is ``inspecting``."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"* Expose the abort interface in ironic-inspector-client."},{"line_number":51,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"9f436f4f_dcc3d156","line":48,"range":{"start_line":47,"start_character":0,"end_line":48,"end_character":26},"updated":"2017-08-21 07:16:26.000000000","message":"I think this should be exposed as part of inspect interface (https://github.com/openstack/ironic/blob/master/ironic/drivers/base.py#L830) and individual inspect interfaces related to hardware types could implement appropriately. Even for inspector better to integrate through \u0027Inspector\u0027 interface class https://github.com/openstack/ironic/blob/master/ironic/drivers/modules/inspector.py#L60","commit_id":"f9111c05e84fae51e3a7d6a7524d74893ff046a8"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"1f31adba060fc1a53c5654241beec00f3b383760","unresolved":false,"context_lines":[{"line_number":44,"context_line":""},{"line_number":45,"context_line":"Involved changes are:"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"* Implement the logic for ironic handling the verb ``abort`` when provisioning"},{"line_number":48,"context_line":"  state is ``inspecting``."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"* Expose the abort interface in ironic-inspector-client."},{"line_number":51,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"9f436f4f_698d2dd2","line":48,"range":{"start_line":47,"start_character":0,"end_line":48,"end_character":26},"in_reply_to":"9f436f4f_dcc3d156","updated":"2017-08-22 03:23:42.000000000","message":"Done","commit_id":"f9111c05e84fae51e3a7d6a7524d74893ff046a8"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"4d4b776ad464b64807d30fae7468859c0668b8a9","unresolved":false,"context_lines":[{"line_number":122,"context_line":"Driver API impact"},{"line_number":123,"context_line":"-----------------"},{"line_number":124,"context_line":""},{"line_number":125,"context_line":"None"},{"line_number":126,"context_line":""},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"Nova driver impact"}],"source_content_type":"text/x-rst","patch_set":7,"id":"9f436f4f_1ccb994a","line":125,"updated":"2017-08-21 07:16:26.000000000","message":"INspect interface could be impacted.","commit_id":"f9111c05e84fae51e3a7d6a7524d74893ff046a8"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"1f31adba060fc1a53c5654241beec00f3b383760","unresolved":false,"context_lines":[{"line_number":122,"context_line":"Driver API impact"},{"line_number":123,"context_line":"-----------------"},{"line_number":124,"context_line":""},{"line_number":125,"context_line":"None"},{"line_number":126,"context_line":""},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"Nova driver impact"}],"source_content_type":"text/x-rst","patch_set":7,"id":"9f436f4f_a9ac3535","line":125,"in_reply_to":"9f436f4f_1ccb994a","updated":"2017-08-22 03:23:42.000000000","message":"Done","commit_id":"f9111c05e84fae51e3a7d6a7524d74893ff046a8"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"a6479e35875a91320bbb916c78d059dd0ddfc33c","unresolved":false,"context_lines":[{"line_number":66,"context_line":"* Wait for ``inspect fail`` after specified timout value."},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"* Request through ironic-inspector api or"},{"line_number":69,"context_line":"  ``openstack baremetal introspection abort`` command."},{"line_number":70,"context_line":""},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"Data model impact"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7f287b81_78c4b191","line":69,"updated":"2017-08-26 12:42:59.000000000","message":"We should note this is not viable for drivers using out of band inspection.","commit_id":"cb9fe0d35d805ec9fc481b6eea4089476b8f23b2"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"783df53d80289dcae5d55048ccb205e9d70acfda","unresolved":false,"context_lines":[{"line_number":66,"context_line":"* Wait for ``inspect fail`` after specified timout value."},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"* Request through ironic-inspector api or"},{"line_number":69,"context_line":"  ``openstack baremetal introspection abort`` command."},{"line_number":70,"context_line":""},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"Data model impact"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7f287b81_2c326160","line":69,"in_reply_to":"7f287b81_78c4b191","updated":"2017-08-28 06:05:18.000000000","message":"Done","commit_id":"cb9fe0d35d805ec9fc481b6eea4089476b8f23b2"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"a6479e35875a91320bbb916c78d059dd0ddfc33c","unresolved":false,"context_lines":[{"line_number":88,"context_line":""},{"line_number":89,"context_line":"Modify provision state API to support the transition described in"},{"line_number":90,"context_line":"this spec. API microversion will be bumped. Nodes in state INSPECTING would"},{"line_number":91,"context_line":"not be able to changed to INSPECTFAIL by client using earlier microversion."},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"* PUT /v1/nodes/{node_ident}/states/provision"},{"line_number":94,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"7f287b81_384f4935","line":91,"updated":"2017-08-26 12:42:59.000000000","message":"nit: you should likely just detail that the client will not be able to use the ``abort`` verb when using an older micro version.","commit_id":"cb9fe0d35d805ec9fc481b6eea4089476b8f23b2"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"783df53d80289dcae5d55048ccb205e9d70acfda","unresolved":false,"context_lines":[{"line_number":88,"context_line":""},{"line_number":89,"context_line":"Modify provision state API to support the transition described in"},{"line_number":90,"context_line":"this spec. API microversion will be bumped. Nodes in state INSPECTING would"},{"line_number":91,"context_line":"not be able to changed to INSPECTFAIL by client using earlier microversion."},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"* PUT /v1/nodes/{node_ident}/states/provision"},{"line_number":94,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"7f287b81_ac3d312c","line":91,"in_reply_to":"7f287b81_384f4935","updated":"2017-08-28 06:05:18.000000000","message":"Done","commit_id":"cb9fe0d35d805ec9fc481b6eea4089476b8f23b2"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"a6479e35875a91320bbb916c78d059dd0ddfc33c","unresolved":false,"context_lines":[{"line_number":111,"context_line":"Client (CLI) impact"},{"line_number":112,"context_line":"-------------------"},{"line_number":113,"context_line":""},{"line_number":114,"context_line":"The api will be exposed to client library, but not sensible to end users."},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"\"ironic\" CLI"},{"line_number":117,"context_line":"~~~~~~~~~~~~"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7f287b81_38686985","line":114,"range":{"start_line":114,"start_character":51,"end_line":114,"end_character":73},"updated":"2017-08-26 12:42:59.000000000","message":"Operators, it actually does make sense, but we already list abort as a possible verb, so no update is actually required. :)","commit_id":"cb9fe0d35d805ec9fc481b6eea4089476b8f23b2"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"783df53d80289dcae5d55048ccb205e9d70acfda","unresolved":false,"context_lines":[{"line_number":111,"context_line":"Client (CLI) impact"},{"line_number":112,"context_line":"-------------------"},{"line_number":113,"context_line":""},{"line_number":114,"context_line":"The api will be exposed to client library, but not sensible to end users."},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"\"ironic\" CLI"},{"line_number":117,"context_line":"~~~~~~~~~~~~"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7f287b81_4c7b6df4","line":114,"range":{"start_line":114,"start_character":51,"end_line":114,"end_character":73},"in_reply_to":"7f287b81_38686985","updated":"2017-08-28 06:05:18.000000000","message":"I found client.introspection of ironic inspector is undergoing a deprecation, ClientV1 will be used thereafter.\nSo there is no need to touch inspector client code, i have removed this work item from spec.","commit_id":"cb9fe0d35d805ec9fc481b6eea4089476b8f23b2"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"a6479e35875a91320bbb916c78d059dd0ddfc33c","unresolved":false,"context_lines":[{"line_number":133,"context_line":"-----------------"},{"line_number":134,"context_line":""},{"line_number":135,"context_line":"A new method ``abort`` will be added to inspect interface, which may affect"},{"line_number":136,"context_line":"out of tree drivers."},{"line_number":137,"context_line":""},{"line_number":138,"context_line":""},{"line_number":139,"context_line":"Nova driver impact"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7f287b81_38baa909","line":136,"updated":"2017-08-26 12:42:59.000000000","message":"Please detail expectations of of behavior if not present. Will it just be handled in the abstract class instead?","commit_id":"cb9fe0d35d805ec9fc481b6eea4089476b8f23b2"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"783df53d80289dcae5d55048ccb205e9d70acfda","unresolved":false,"context_lines":[{"line_number":133,"context_line":"-----------------"},{"line_number":134,"context_line":""},{"line_number":135,"context_line":"A new method ``abort`` will be added to inspect interface, which may affect"},{"line_number":136,"context_line":"out of tree drivers."},{"line_number":137,"context_line":""},{"line_number":138,"context_line":""},{"line_number":139,"context_line":"Nova driver impact"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7f287b81_0ccfa529","line":136,"in_reply_to":"7f287b81_38baa909","updated":"2017-08-28 06:05:18.000000000","message":"The least impact one would be providing a default implementation, suggestions are welcome :)","commit_id":"cb9fe0d35d805ec9fc481b6eea4089476b8f23b2"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"f8d98cddf9ba362ea63cc09ae6c94fefaf949f20","unresolved":false,"context_lines":[{"line_number":33,"context_line":"Proposed change"},{"line_number":34,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"Add state transition of ``inspecting`` to ``inspect failed`` in state machine,"},{"line_number":37,"context_line":"allow ironic processes ``abort`` request when node provisioning state is"},{"line_number":38,"context_line":"``inspecting``."},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"Add a method named ``abort`` into ``InspectInterface``, the default behavior"},{"line_number":41,"context_line":"is raising an ``OperationNotSupported`` exception. Implement the abort"}],"source_content_type":"text/x-rst","patch_set":10,"id":"7f287b81_537f85df","line":38,"range":{"start_line":36,"start_character":0,"end_line":38,"end_character":15},"updated":"2017-09-07 10:19:01.000000000","message":"This sentence looks bit confusing. may be you mean:-\n\u0027Add state transition of ``inspecting`` to ``inspect failed`` when ``abort`` request is made to a node when its provisioning state is ``inspecting``.\u0027","commit_id":"a9da4c3ee0f6543f42fe885b519369ad7c4862e2"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"4e1bb24d697439a61dbf8c2159b7841506a964ed","unresolved":false,"context_lines":[{"line_number":33,"context_line":"Proposed change"},{"line_number":34,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"Add state transition of ``inspecting`` to ``inspect failed`` in state machine,"},{"line_number":37,"context_line":"allow ironic processes ``abort`` request when node provisioning state is"},{"line_number":38,"context_line":"``inspecting``."},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"Add a method named ``abort`` into ``InspectInterface``, the default behavior"},{"line_number":41,"context_line":"is raising an ``OperationNotSupported`` exception. Implement the abort"}],"source_content_type":"text/x-rst","patch_set":10,"id":"7f287b81_87b24348","line":38,"range":{"start_line":36,"start_character":0,"end_line":38,"end_character":15},"in_reply_to":"7f287b81_537f85df","updated":"2017-09-07 12:49:07.000000000","message":"Ah, i mixed two things here, will separate to see if it would look better.","commit_id":"a9da4c3ee0f6543f42fe885b519369ad7c4862e2"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"f8d98cddf9ba362ea63cc09ae6c94fefaf949f20","unresolved":false,"context_lines":[{"line_number":39,"context_line":""},{"line_number":40,"context_line":"Add a method named ``abort`` into ``InspectInterface``, the default behavior"},{"line_number":41,"context_line":"is raising an ``OperationNotSupported`` exception. Implement the abort"},{"line_number":42,"context_line":"operation for ironic inspector."},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"When an abort operation is requested, ironic calls abort method from inspect"},{"line_number":45,"context_line":"interface of driver API, and moves node state to ``inspect failed`` if"}],"source_content_type":"text/x-rst","patch_set":10,"id":"7f287b81_33e759af","line":42,"range":{"start_line":42,"start_character":14,"end_line":42,"end_character":30},"updated":"2017-09-07 10:19:01.000000000","message":"s/\"ironic inspector\"/ \"``inspector`` inspect interface.\"","commit_id":"a9da4c3ee0f6543f42fe885b519369ad7c4862e2"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"4e1bb24d697439a61dbf8c2159b7841506a964ed","unresolved":false,"context_lines":[{"line_number":39,"context_line":""},{"line_number":40,"context_line":"Add a method named ``abort`` into ``InspectInterface``, the default behavior"},{"line_number":41,"context_line":"is raising an ``OperationNotSupported`` exception. Implement the abort"},{"line_number":42,"context_line":"operation for ironic inspector."},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"When an abort operation is requested, ironic calls abort method from inspect"},{"line_number":45,"context_line":"interface of driver API, and moves node state to ``inspect failed`` if"}],"source_content_type":"text/x-rst","patch_set":10,"id":"7f287b81_277b8f7b","line":42,"range":{"start_line":42,"start_character":14,"end_line":42,"end_character":30},"in_reply_to":"7f287b81_33e759af","updated":"2017-09-07 12:49:07.000000000","message":"Done","commit_id":"a9da4c3ee0f6543f42fe885b519369ad7c4862e2"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"f8d98cddf9ba362ea63cc09ae6c94fefaf949f20","unresolved":false,"context_lines":[{"line_number":49,"context_line":""},{"line_number":50,"context_line":"* Add a method named abort to inspect interface"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"* Implement abort for ironic inspector"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"* Implement the logic for ironic handling the verb ``abort`` when provisioning"},{"line_number":55,"context_line":"  state is ``inspecting``."}],"source_content_type":"text/x-rst","patch_set":10,"id":"7f287b81_938ccdd7","line":52,"range":{"start_line":52,"start_character":22,"end_line":52,"end_character":38},"updated":"2017-09-07 10:19:01.000000000","message":"ditto\ns/\"ironic inspector\"/ \"``inspector`` inspect interface.\"","commit_id":"a9da4c3ee0f6543f42fe885b519369ad7c4862e2"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"4e1bb24d697439a61dbf8c2159b7841506a964ed","unresolved":false,"context_lines":[{"line_number":49,"context_line":""},{"line_number":50,"context_line":"* Add a method named abort to inspect interface"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"* Implement abort for ironic inspector"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"* Implement the logic for ironic handling the verb ``abort`` when provisioning"},{"line_number":55,"context_line":"  state is ``inspecting``."}],"source_content_type":"text/x-rst","patch_set":10,"id":"7f287b81_878b6366","line":52,"range":{"start_line":52,"start_character":22,"end_line":52,"end_character":38},"in_reply_to":"7f287b81_938ccdd7","updated":"2017-09-07 12:49:07.000000000","message":"Done","commit_id":"a9da4c3ee0f6543f42fe885b519369ad7c4862e2"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"a68d13b9b58548ffec852180ecb9c57032f9ce30","unresolved":false,"context_lines":[{"line_number":94,"context_line":"    INSPECTING, ``abort`` will return 400 before this spec is implemented."},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"  * Client with earlier microversion before this spec is implemented will"},{"line_number":97,"context_line":"    receive 400."},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"  * Client with new microversion after this spec is implemented will receive"},{"line_number":100,"context_line":"    202."}],"source_content_type":"text/x-rst","patch_set":10,"id":"7f287b81_7d012a06","line":97,"updated":"2017-09-07 13:48:55.000000000","message":"well, we usually use HTTP NOT ACCEPTED (406?) in this situation. It\u0027s sad, but I guess we should do it for consistency..","commit_id":"a9da4c3ee0f6543f42fe885b519369ad7c4862e2"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"075a279918f798a189e65e13bd227c91479091e1","unresolved":false,"context_lines":[{"line_number":94,"context_line":"    INSPECTING, ``abort`` will return 400 before this spec is implemented."},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"  * Client with earlier microversion before this spec is implemented will"},{"line_number":97,"context_line":"    receive 400."},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"  * Client with new microversion after this spec is implemented will receive"},{"line_number":100,"context_line":"    202."}],"source_content_type":"text/x-rst","patch_set":10,"id":"7f287b81_8a58f130","line":97,"in_reply_to":"7f287b81_7d012a06","updated":"2017-09-08 08:25:28.000000000","message":"Done\ncurrently, aborting a node in inspecting state will return 400, this is an exception raised from state machine.\nclient will get 400 or 406 from different ironic version with  same api microversion, i\u0027m not sure if this behavior is allowed.","commit_id":"a9da4c3ee0f6543f42fe885b519369ad7c4862e2"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"7b5ca01ead57548f53f213394667e677dc5a0276","unresolved":false,"context_lines":[{"line_number":94,"context_line":"    INSPECTING, ``abort`` will return 400 before this spec is implemented."},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"  * Client with earlier microversion before this spec is implemented will"},{"line_number":97,"context_line":"    receive 400."},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"  * Client with new microversion after this spec is implemented will receive"},{"line_number":100,"context_line":"    202."}],"source_content_type":"text/x-rst","patch_set":10,"id":"7f287b81_880a4fcf","line":97,"in_reply_to":"7f287b81_7d012a06","updated":"2017-09-07 15:24:32.000000000","message":"will update","commit_id":"a9da4c3ee0f6543f42fe885b519369ad7c4862e2"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"a68d13b9b58548ffec852180ecb9c57032f9ce30","unresolved":false,"context_lines":[{"line_number":104,"context_line":"      {"},{"line_number":105,"context_line":"        \"target\": \"abort\""},{"line_number":106,"context_line":"      }"},{"line_number":107,"context_line":""},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"Client (CLI) impact"},{"line_number":110,"context_line":"-------------------"}],"source_content_type":"text/x-rst","patch_set":10,"id":"7f287b81_5800bc01","line":107,"updated":"2017-09-07 13:48:55.000000000","message":"what will we return on OperationNotSupported?","commit_id":"a9da4c3ee0f6543f42fe885b519369ad7c4862e2"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"7b5ca01ead57548f53f213394667e677dc5a0276","unresolved":false,"context_lines":[{"line_number":104,"context_line":"      {"},{"line_number":105,"context_line":"        \"target\": \"abort\""},{"line_number":106,"context_line":"      }"},{"line_number":107,"context_line":""},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"Client (CLI) impact"},{"line_number":110,"context_line":"-------------------"}],"source_content_type":"text/x-rst","patch_set":10,"id":"7f287b81_e869d38b","line":107,"in_reply_to":"7f287b81_5800bc01","updated":"2017-09-07 15:24:32.000000000","message":"from sematics, 405 (Method Not Allowed) is the suitable code, if no historical reasons, wdyt?","commit_id":"a9da4c3ee0f6543f42fe885b519369ad7c4862e2"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"d22e3647122c8e307c0a8d58e501a3d5b2fb3ad5","unresolved":false,"context_lines":[{"line_number":104,"context_line":"      {"},{"line_number":105,"context_line":"        \"target\": \"abort\""},{"line_number":106,"context_line":"      }"},{"line_number":107,"context_line":""},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"Client (CLI) impact"},{"line_number":110,"context_line":"-------------------"}],"source_content_type":"text/x-rst","patch_set":10,"id":"7f287b81_b6b8ccc7","line":107,"in_reply_to":"7f287b81_cbb17146","updated":"2017-09-07 16:30:27.000000000","message":"Aye, that \"in the request-line\" defined everything..\nwill update.","commit_id":"a9da4c3ee0f6543f42fe885b519369ad7c4862e2"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"075a279918f798a189e65e13bd227c91479091e1","unresolved":false,"context_lines":[{"line_number":104,"context_line":"      {"},{"line_number":105,"context_line":"        \"target\": \"abort\""},{"line_number":106,"context_line":"      }"},{"line_number":107,"context_line":""},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"Client (CLI) impact"},{"line_number":110,"context_line":"-------------------"}],"source_content_type":"text/x-rst","patch_set":10,"id":"7f287b81_2a47bd4e","line":107,"in_reply_to":"7f287b81_cbb17146","updated":"2017-09-08 08:25:28.000000000","message":"Done","commit_id":"a9da4c3ee0f6543f42fe885b519369ad7c4862e2"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"7ea19333c2db0d447af9ad064736d54c4f13fac2","unresolved":false,"context_lines":[{"line_number":104,"context_line":"      {"},{"line_number":105,"context_line":"        \"target\": \"abort\""},{"line_number":106,"context_line":"      }"},{"line_number":107,"context_line":""},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"Client (CLI) impact"},{"line_number":110,"context_line":"-------------------"}],"source_content_type":"text/x-rst","patch_set":10,"id":"7f287b81_cbb17146","line":107,"in_reply_to":"7f287b81_e869d38b","updated":"2017-09-07 15:45:52.000000000","message":"HTTP 405 seems to be specifically about HTTP verbs (GET, POST). I see that we use UnsupportedDriverExtension with HTTP 400, so I think this should use it too","commit_id":"a9da4c3ee0f6543f42fe885b519369ad7c4862e2"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"f8d98cddf9ba362ea63cc09ae6c94fefaf949f20","unresolved":false,"context_lines":[{"line_number":128,"context_line":"Driver API impact"},{"line_number":129,"context_line":"-----------------"},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"A new method ``abort`` will be added to inspect interface, the default"},{"line_number":132,"context_line":"behavior is to raise exception ``OperationNotSupported``."},{"line_number":133,"context_line":""},{"line_number":134,"context_line":""}],"source_content_type":"text/x-rst","patch_set":10,"id":"7f287b81_d63ec3b6","line":131,"range":{"start_line":131,"start_character":40,"end_line":131,"end_character":57},"updated":"2017-09-07 10:19:01.000000000","message":"s/ inspect interface / ``InspectInterface`` in base.py","commit_id":"a9da4c3ee0f6543f42fe885b519369ad7c4862e2"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"4e1bb24d697439a61dbf8c2159b7841506a964ed","unresolved":false,"context_lines":[{"line_number":128,"context_line":"Driver API impact"},{"line_number":129,"context_line":"-----------------"},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"A new method ``abort`` will be added to inspect interface, the default"},{"line_number":132,"context_line":"behavior is to raise exception ``OperationNotSupported``."},{"line_number":133,"context_line":""},{"line_number":134,"context_line":""}],"source_content_type":"text/x-rst","patch_set":10,"id":"7f287b81_273eef8a","line":131,"range":{"start_line":131,"start_character":40,"end_line":131,"end_character":57},"in_reply_to":"7f287b81_d63ec3b6","updated":"2017-09-07 12:49:07.000000000","message":"Done\nHmm, not sure if base.py is required, didn\u0027t see much direct file referencing, changed anyway.","commit_id":"a9da4c3ee0f6543f42fe885b519369ad7c4862e2"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"f8d98cddf9ba362ea63cc09ae6c94fefaf949f20","unresolved":false,"context_lines":[{"line_number":172,"context_line":"Other deployer impact"},{"line_number":173,"context_line":"---------------------"},{"line_number":174,"context_line":""},{"line_number":175,"context_line":"None"},{"line_number":176,"context_line":""},{"line_number":177,"context_line":""},{"line_number":178,"context_line":"Developer impact"}],"source_content_type":"text/x-rst","patch_set":10,"id":"7f287b81_16720bae","line":175,"range":{"start_line":175,"start_character":0,"end_line":175,"end_character":4},"updated":"2017-09-07 10:19:01.000000000","message":"Deployers would be able to abort Ironic Inspector based in-band inspection.","commit_id":"a9da4c3ee0f6543f42fe885b519369ad7c4862e2"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"4e1bb24d697439a61dbf8c2159b7841506a964ed","unresolved":false,"context_lines":[{"line_number":172,"context_line":"Other deployer impact"},{"line_number":173,"context_line":"---------------------"},{"line_number":174,"context_line":""},{"line_number":175,"context_line":"None"},{"line_number":176,"context_line":""},{"line_number":177,"context_line":""},{"line_number":178,"context_line":"Developer impact"}],"source_content_type":"text/x-rst","patch_set":10,"id":"7f287b81_e704674c","line":175,"range":{"start_line":175,"start_character":0,"end_line":175,"end_character":4},"in_reply_to":"7f287b81_16720bae","updated":"2017-09-07 12:49:07.000000000","message":"Done\nActually deployers can abort ironic inspector based inspection by ironic inspector client, as described above. this spec provides a way to abort the inspection from ironic.","commit_id":"a9da4c3ee0f6543f42fe885b519369ad7c4862e2"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"f8d98cddf9ba362ea63cc09ae6c94fefaf949f20","unresolved":false,"context_lines":[{"line_number":190,"context_line":"Primary assignee:"},{"line_number":191,"context_line":"  kaifeng"},{"line_number":192,"context_line":""},{"line_number":193,"context_line":"Other contributors:"},{"line_number":194,"context_line":"  \u003cNone\u003e"},{"line_number":195,"context_line":""},{"line_number":196,"context_line":"Work Items"},{"line_number":197,"context_line":"----------"}],"source_content_type":"text/x-rst","patch_set":10,"id":"7f287b81_96b27b48","line":194,"range":{"start_line":193,"start_character":0,"end_line":194,"end_character":8},"updated":"2017-09-07 10:19:01.000000000","message":"nit: You can remove this.","commit_id":"a9da4c3ee0f6543f42fe885b519369ad7c4862e2"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"4e1bb24d697439a61dbf8c2159b7841506a964ed","unresolved":false,"context_lines":[{"line_number":190,"context_line":"Primary assignee:"},{"line_number":191,"context_line":"  kaifeng"},{"line_number":192,"context_line":""},{"line_number":193,"context_line":"Other contributors:"},{"line_number":194,"context_line":"  \u003cNone\u003e"},{"line_number":195,"context_line":""},{"line_number":196,"context_line":"Work Items"},{"line_number":197,"context_line":"----------"}],"source_content_type":"text/x-rst","patch_set":10,"id":"7f287b81_47c21b5b","line":194,"range":{"start_line":193,"start_character":0,"end_line":194,"end_character":8},"in_reply_to":"7f287b81_96b27b48","updated":"2017-09-07 12:49:07.000000000","message":"Done","commit_id":"a9da4c3ee0f6543f42fe885b519369ad7c4862e2"},{"author":{"_account_id":18653,"name":"Milan Kováčik","email":"mkovacik@redhat.com","username":"dparalen"},"change_message_id":"aeef48b31e10d8a24684aa7d9e150b74342c7593","unresolved":false,"context_lines":[{"line_number":63,"context_line":"* Request through ironic-inspector api or"},{"line_number":64,"context_line":"  ``openstack baremetal introspection abort`` command. Be aware that it\u0027s only"},{"line_number":65,"context_line":"  viable when using ironic inspector as inspect interface. Other inspect"},{"line_number":66,"context_line":"  interface like out of band inspection may have different approach to achieve"},{"line_number":67,"context_line":"  the same goal, that is beyond the scope of this spec."},{"line_number":68,"context_line":""},{"line_number":69,"context_line":""}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f2577a7_c659ad5a","line":66,"range":{"start_line":66,"start_character":17,"end_line":66,"end_character":28},"updated":"2017-09-13 09:44:57.000000000","message":"nit: out-of-band","commit_id":"57aca60e24544517cb65575ba873e8d915eebc67"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"c7acc7fcaf7515f9aac02cdbbcbf60109668e896","unresolved":false,"context_lines":[{"line_number":63,"context_line":"* Request through ironic-inspector api or"},{"line_number":64,"context_line":"  ``openstack baremetal introspection abort`` command. Be aware that it\u0027s only"},{"line_number":65,"context_line":"  viable when using ironic inspector as inspect interface. Other inspect"},{"line_number":66,"context_line":"  interface like out of band inspection may have different approach to achieve"},{"line_number":67,"context_line":"  the same goal, that is beyond the scope of this spec."},{"line_number":68,"context_line":""},{"line_number":69,"context_line":""}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f2577a7_ccb2d5e6","line":66,"range":{"start_line":66,"start_character":17,"end_line":66,"end_character":28},"in_reply_to":"5f2577a7_c659ad5a","updated":"2017-09-14 02:13:13.000000000","message":"Done","commit_id":"57aca60e24544517cb65575ba873e8d915eebc67"},{"author":{"_account_id":18653,"name":"Milan Kováčik","email":"mkovacik@redhat.com","username":"dparalen"},"change_message_id":"aeef48b31e10d8a24684aa7d9e150b74342c7593","unresolved":false,"context_lines":[{"line_number":170,"context_line":"Other deployer impact"},{"line_number":171,"context_line":"---------------------"},{"line_number":172,"context_line":""},{"line_number":173,"context_line":"Deployers can abort hardware introspection from ironic API or CLI for nodes"},{"line_number":174,"context_line":"using ironic inspector as in-band inspection."},{"line_number":175,"context_line":""},{"line_number":176,"context_line":""}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f2577a7_861a857a","line":173,"range":{"start_line":173,"start_character":43,"end_line":173,"end_character":47},"updated":"2017-09-13 09:44:57.000000000","message":"nit: ...introspection, besides the inspector API/CLI, through ironic API or CLI...","commit_id":"57aca60e24544517cb65575ba873e8d915eebc67"},{"author":{"_account_id":18653,"name":"Milan Kováčik","email":"mkovacik@redhat.com","username":"dparalen"},"change_message_id":"f41bbed765e0fe11de02fb8c5c6d357f4786f975","unresolved":false,"context_lines":[{"line_number":170,"context_line":"Other deployer impact"},{"line_number":171,"context_line":"---------------------"},{"line_number":172,"context_line":""},{"line_number":173,"context_line":"Deployers can abort hardware introspection from ironic API or CLI for nodes"},{"line_number":174,"context_line":"using ironic inspector as in-band inspection."},{"line_number":175,"context_line":""},{"line_number":176,"context_line":""}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f2577a7_a02424b0","line":173,"range":{"start_line":173,"start_character":43,"end_line":173,"end_character":47},"in_reply_to":"5f2577a7_2c44b9b6","updated":"2017-10-18 12:29:13.000000000","message":"Yup, thanks!","commit_id":"57aca60e24544517cb65575ba873e8d915eebc67"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"c7acc7fcaf7515f9aac02cdbbcbf60109668e896","unresolved":false,"context_lines":[{"line_number":170,"context_line":"Other deployer impact"},{"line_number":171,"context_line":"---------------------"},{"line_number":172,"context_line":""},{"line_number":173,"context_line":"Deployers can abort hardware introspection from ironic API or CLI for nodes"},{"line_number":174,"context_line":"using ironic inspector as in-band inspection."},{"line_number":175,"context_line":""},{"line_number":176,"context_line":""}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f2577a7_2c44b9b6","line":173,"range":{"start_line":173,"start_character":43,"end_line":173,"end_character":47},"in_reply_to":"5f2577a7_861a857a","updated":"2017-09-14 02:13:13.000000000","message":"Done\nI swapped two part, so the ironic part is emphasized. does it look good?","commit_id":"57aca60e24544517cb65575ba873e8d915eebc67"},{"author":{"_account_id":18653,"name":"Milan Kováčik","email":"mkovacik@redhat.com","username":"dparalen"},"change_message_id":"aeef48b31e10d8a24684aa7d9e150b74342c7593","unresolved":false,"context_lines":[{"line_number":171,"context_line":"---------------------"},{"line_number":172,"context_line":""},{"line_number":173,"context_line":"Deployers can abort hardware introspection from ironic API or CLI for nodes"},{"line_number":174,"context_line":"using ironic inspector as in-band inspection."},{"line_number":175,"context_line":""},{"line_number":176,"context_line":""},{"line_number":177,"context_line":"Developer impact"}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f2577a7_e136d3e7","line":174,"range":{"start_line":174,"start_character":0,"end_line":174,"end_character":45},"updated":"2017-09-13 09:44:57.000000000","message":"nit: when using inspector as the (in-band) inspection interface","commit_id":"57aca60e24544517cb65575ba873e8d915eebc67"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"c7acc7fcaf7515f9aac02cdbbcbf60109668e896","unresolved":false,"context_lines":[{"line_number":171,"context_line":"---------------------"},{"line_number":172,"context_line":""},{"line_number":173,"context_line":"Deployers can abort hardware introspection from ironic API or CLI for nodes"},{"line_number":174,"context_line":"using ironic inspector as in-band inspection."},{"line_number":175,"context_line":""},{"line_number":176,"context_line":""},{"line_number":177,"context_line":"Developer impact"}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f2577a7_4c4945ce","line":174,"range":{"start_line":174,"start_character":0,"end_line":174,"end_character":45},"in_reply_to":"5f2577a7_e136d3e7","updated":"2017-09-14 02:13:13.000000000","message":"Done","commit_id":"57aca60e24544517cb65575ba873e8d915eebc67"},{"author":{"_account_id":18653,"name":"Milan Kováčik","email":"mkovacik@redhat.com","username":"dparalen"},"change_message_id":"aeef48b31e10d8a24684aa7d9e150b74342c7593","unresolved":false,"context_lines":[{"line_number":194,"context_line":"----------"},{"line_number":195,"context_line":""},{"line_number":196,"context_line":"* Add a new method ``abort`` to the inspect interface."},{"line_number":197,"context_line":"* Add abort implementation to ironic inspector.Inspector."},{"line_number":198,"context_line":"* Add new state transition (inspecting -\u003e inspect failed) and implement the"},{"line_number":199,"context_line":"  logic in ironic."},{"line_number":200,"context_line":""}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f2577a7_a1456b45","line":197,"range":{"start_line":197,"start_character":6,"end_line":197,"end_character":11},"updated":"2017-09-13 09:44:57.000000000","message":"the abort","commit_id":"57aca60e24544517cb65575ba873e8d915eebc67"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"c7acc7fcaf7515f9aac02cdbbcbf60109668e896","unresolved":false,"context_lines":[{"line_number":194,"context_line":"----------"},{"line_number":195,"context_line":""},{"line_number":196,"context_line":"* Add a new method ``abort`` to the inspect interface."},{"line_number":197,"context_line":"* Add abort implementation to ironic inspector.Inspector."},{"line_number":198,"context_line":"* Add new state transition (inspecting -\u003e inspect failed) and implement the"},{"line_number":199,"context_line":"  logic in ironic."},{"line_number":200,"context_line":""}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f2577a7_ec659146","line":197,"range":{"start_line":197,"start_character":6,"end_line":197,"end_character":11},"in_reply_to":"5f2577a7_a1456b45","updated":"2017-09-14 02:13:13.000000000","message":"Done","commit_id":"57aca60e24544517cb65575ba873e8d915eebc67"},{"author":{"_account_id":18653,"name":"Milan Kováčik","email":"mkovacik@redhat.com","username":"dparalen"},"change_message_id":"aeef48b31e10d8a24684aa7d9e150b74342c7593","unresolved":false,"context_lines":[{"line_number":215,"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":216,"context_line":""},{"line_number":217,"context_line":"API will be bumped for backward compatibility. Client request with"},{"line_number":218,"context_line":"microversion before this spec will be treated identically."},{"line_number":219,"context_line":""},{"line_number":220,"context_line":""},{"line_number":221,"context_line":"Documentation Impact"}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f2577a7_2173bbb3","line":218,"range":{"start_line":218,"start_character":25,"end_line":218,"end_character":29},"updated":"2017-09-13 09:44:57.000000000","message":"nit: feature?","commit_id":"57aca60e24544517cb65575ba873e8d915eebc67"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"c7acc7fcaf7515f9aac02cdbbcbf60109668e896","unresolved":false,"context_lines":[{"line_number":215,"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":216,"context_line":""},{"line_number":217,"context_line":"API will be bumped for backward compatibility. Client request with"},{"line_number":218,"context_line":"microversion before this spec will be treated identically."},{"line_number":219,"context_line":""},{"line_number":220,"context_line":""},{"line_number":221,"context_line":"Documentation Impact"}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f2577a7_8cdbadeb","line":218,"range":{"start_line":218,"start_character":25,"end_line":218,"end_character":29},"in_reply_to":"5f2577a7_2173bbb3","updated":"2017-09-14 02:13:13.000000000","message":"Done\nYeah, that make sense. spec only refers to this document.","commit_id":"57aca60e24544517cb65575ba873e8d915eebc67"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"b696fe6f14657b656ec20007b62016e5cdd775c2","unresolved":false,"context_lines":[{"line_number":39,"context_line":""},{"line_number":40,"context_line":"Add a method named ``abort`` into ``InspectInterface``, the default behavior"},{"line_number":41,"context_line":"is raising an ``OperationNotSupported`` exception. Implement the abort"},{"line_number":42,"context_line":"operation for inspect interface."},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"When an abort operation is requested, ironic calls abort method from inspect"},{"line_number":45,"context_line":"interface of driver API, and moves node state to ``inspect failed`` if"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f2577a7_00d41847","line":42,"range":{"start_line":42,"start_character":14,"end_line":42,"end_character":21},"updated":"2017-09-14 11:56:47.000000000","message":"I think you mean \u0027inspector\u0027 inspect interface here.","commit_id":"04cfcf04fb8e9368938c3eb55dd813202057cd1f"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"257895136ce304aaa9d2badb0db3609145239735","unresolved":false,"context_lines":[{"line_number":39,"context_line":""},{"line_number":40,"context_line":"Add a method named ``abort`` into ``InspectInterface``, the default behavior"},{"line_number":41,"context_line":"is raising an ``OperationNotSupported`` exception. Implement the abort"},{"line_number":42,"context_line":"operation for inspect interface."},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"When an abort operation is requested, ironic calls abort method from inspect"},{"line_number":45,"context_line":"interface of driver API, and moves node state to ``inspect failed`` if"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5f2577a7_4030ca9f","line":42,"range":{"start_line":42,"start_character":14,"end_line":42,"end_character":21},"in_reply_to":"5f2577a7_00d41847","updated":"2017-09-15 03:16:00.000000000","message":"Done","commit_id":"04cfcf04fb8e9368938c3eb55dd813202057cd1f"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"c3fe837bb54151e274057c6126b5420dfa689bd6","unresolved":false,"context_lines":[{"line_number":39,"context_line":""},{"line_number":40,"context_line":"Add a method named ``abort`` into ``InspectInterface``, so that inspect"},{"line_number":41,"context_line":"interface can provide implementation to support inspection abort. The default"},{"line_number":42,"context_line":"behavior is to raise an ``OperationNotSupported`` exception. Implement the"},{"line_number":43,"context_line":"abort operation for ``inspector`` inspect interface."},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"When an abort operation is requested, ironic calls abort method from inspect"}],"source_content_type":"text/x-rst","patch_set":15,"id":"5f4e5783_c0941147","line":42,"range":{"start_line":42,"start_character":26,"end_line":42,"end_character":47},"updated":"2017-10-11 11:21:26.000000000","message":"It should be UnsupportedDriverExtension","commit_id":"7814ff48048205653852b69c4a8b84cd7f22dfe8"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"9b138fed839e2013f30427d5ea7f7c097f36520d","unresolved":false,"context_lines":[{"line_number":39,"context_line":""},{"line_number":40,"context_line":"Add a method named ``abort`` into ``InspectInterface``, so that inspect"},{"line_number":41,"context_line":"interface can provide implementation to support inspection abort. The default"},{"line_number":42,"context_line":"behavior is to raise an ``OperationNotSupported`` exception. Implement the"},{"line_number":43,"context_line":"abort operation for ``inspector`` inspect interface."},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"When an abort operation is requested, ironic calls abort method from inspect"}],"source_content_type":"text/x-rst","patch_set":15,"id":"5f4e5783_6d59698c","line":42,"range":{"start_line":42,"start_character":26,"end_line":42,"end_character":47},"in_reply_to":"5f4e5783_c0941147","updated":"2017-10-16 01:35:21.000000000","message":"Done","commit_id":"7814ff48048205653852b69c4a8b84cd7f22dfe8"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"7d81358f7d275bb3eb71f8a6e6f976bdaa805e0b","unresolved":false,"context_lines":[{"line_number":59,"context_line":"Alternatives"},{"line_number":60,"context_line":"------------"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"* Wait for ``inspect fail`` after specified timout value."},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"* Request through ironic-inspector api or"},{"line_number":65,"context_line":"  ``openstack baremetal introspection abort`` command. Be aware that it\u0027s only"}],"source_content_type":"text/x-rst","patch_set":15,"id":"5f4e5783_b5e607e8","line":62,"range":{"start_line":62,"start_character":44,"end_line":62,"end_character":50},"updated":"2017-10-11 01:34:53.000000000","message":"nit: timeout","commit_id":"7814ff48048205653852b69c4a8b84cd7f22dfe8"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"9b138fed839e2013f30427d5ea7f7c097f36520d","unresolved":false,"context_lines":[{"line_number":59,"context_line":"Alternatives"},{"line_number":60,"context_line":"------------"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"* Wait for ``inspect fail`` after specified timout value."},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"* Request through ironic-inspector api or"},{"line_number":65,"context_line":"  ``openstack baremetal introspection abort`` command. Be aware that it\u0027s only"}],"source_content_type":"text/x-rst","patch_set":15,"id":"5f4e5783_4d5ead76","line":62,"range":{"start_line":62,"start_character":44,"end_line":62,"end_character":50},"in_reply_to":"5f4e5783_b5e607e8","updated":"2017-10-16 01:35:21.000000000","message":"Done","commit_id":"7814ff48048205653852b69c4a8b84cd7f22dfe8"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"08fde8ff0e2aacb0861de3c5723f76dac023aff7","unresolved":false,"context_lines":[{"line_number":79,"context_line":""},{"line_number":80,"context_line":"Add transition to ironic state machine:"},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"  * INSPECTING -\u003e INSPECTFAIL (via abort)"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"REST API impact"}],"source_content_type":"text/x-rst","patch_set":15,"id":"5f4e5783_35ab371e","line":82,"range":{"start_line":82,"start_character":4,"end_line":82,"end_character":41},"updated":"2017-10-11 01:49:13.000000000","message":"since no new state is introduced, i think we can just use the ``fail`` event to move state.","commit_id":"7814ff48048205653852b69c4a8b84cd7f22dfe8"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"7d81358f7d275bb3eb71f8a6e6f976bdaa805e0b","unresolved":false,"context_lines":[{"line_number":128,"context_line":"-----------------"},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"A new method ``abort`` will be added to ``InspectInterface`` in base.py, the"},{"line_number":131,"context_line":"default behavior is to raise exception ``OperationNotSupported``."},{"line_number":132,"context_line":""},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"Nova driver impact"}],"source_content_type":"text/x-rst","patch_set":15,"id":"5f4e5783_d5e183d2","line":131,"range":{"start_line":131,"start_character":41,"end_line":131,"end_character":62},"updated":"2017-10-11 01:34:53.000000000","message":"it looks like we can use the existing exception UnsupportedDriverExtension","commit_id":"7814ff48048205653852b69c4a8b84cd7f22dfe8"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"9b138fed839e2013f30427d5ea7f7c097f36520d","unresolved":false,"context_lines":[{"line_number":128,"context_line":"-----------------"},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"A new method ``abort`` will be added to ``InspectInterface`` in base.py, the"},{"line_number":131,"context_line":"default behavior is to raise exception ``OperationNotSupported``."},{"line_number":132,"context_line":""},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"Nova driver impact"}],"source_content_type":"text/x-rst","patch_set":15,"id":"5f4e5783_ed4c39c9","line":131,"range":{"start_line":131,"start_character":41,"end_line":131,"end_character":62},"in_reply_to":"5f4e5783_800299b3","updated":"2017-10-16 01:35:21.000000000","message":"Done","commit_id":"7814ff48048205653852b69c4a8b84cd7f22dfe8"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"c3fe837bb54151e274057c6126b5420dfa689bd6","unresolved":false,"context_lines":[{"line_number":128,"context_line":"-----------------"},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"A new method ``abort`` will be added to ``InspectInterface`` in base.py, the"},{"line_number":131,"context_line":"default behavior is to raise exception ``OperationNotSupported``."},{"line_number":132,"context_line":""},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"Nova driver impact"}],"source_content_type":"text/x-rst","patch_set":15,"id":"5f4e5783_800299b3","line":131,"range":{"start_line":131,"start_character":41,"end_line":131,"end_character":62},"in_reply_to":"5f4e5783_d5e183d2","updated":"2017-10-11 11:21:26.000000000","message":"+1","commit_id":"7814ff48048205653852b69c4a8b84cd7f22dfe8"},{"author":{"_account_id":18653,"name":"Milan Kováčik","email":"mkovacik@redhat.com","username":"dparalen"},"change_message_id":"f41bbed765e0fe11de02fb8c5c6d357f4786f975","unresolved":false,"context_lines":[{"line_number":33,"context_line":"Proposed change"},{"line_number":34,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"Add state transition of ``inspecting`` to ``inspect failed`` to state machine,"},{"line_number":37,"context_line":"add support to ironic to allow the verb ``abort`` can be requested when node in"},{"line_number":38,"context_line":"``inspecting`` state."},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"Add a method named ``abort`` into ``InspectInterface``, so that inspect"},{"line_number":41,"context_line":"interface can provide implementation to support inspection abort. The default"}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f4b6375_fe2361bd","line":38,"range":{"start_line":36,"start_character":0,"end_line":38,"end_character":21},"updated":"2017-10-18 12:29:13.000000000","message":"I think the issue is more generic: it applies to any state transitions performed by an \"in-band\" interface implementation (such as an in-band cleaning?) while at the same time, it might not make sense for (some? all?) out-of-band interface(s). I\u0027m not sure how to address my own concern here though O:-)","commit_id":"f4bf0b275ba62f2f819aaddff565a6817c37febd"},{"author":{"_account_id":18653,"name":"Milan Kováčik","email":"mkovacik@redhat.com","username":"dparalen"},"change_message_id":"319c2ea0d5c49b7913f9b35f45210e847f5c4579","unresolved":false,"context_lines":[{"line_number":33,"context_line":"Proposed change"},{"line_number":34,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"Add state transition of ``inspecting`` to ``inspect failed`` to state machine,"},{"line_number":37,"context_line":"add support to ironic to allow the verb ``abort`` can be requested when node in"},{"line_number":38,"context_line":"``inspecting`` state."},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"Add a method named ``abort`` into ``InspectInterface``, so that inspect"},{"line_number":41,"context_line":"interface can provide implementation to support inspection abort. The default"}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f4b6375_b6d5cd45","line":38,"range":{"start_line":36,"start_character":0,"end_line":38,"end_character":21},"in_reply_to":"3f4b6375_622c5d47","updated":"2017-10-20 11:59:53.000000000","message":"yeah, I think essentially that\u0027s my point: the inspection, although being async, isn\u0027t handled the same way as the rest of the async things.\nLet\u0027s have the inspect-wait state indeed[1].\n\n[1]  https://bugs.launchpad.net/ironic/+bug/1725211","commit_id":"f4bf0b275ba62f2f819aaddff565a6817c37febd"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"7e3b06dbd63d8952db90c425fa5a2235622c2720","unresolved":false,"context_lines":[{"line_number":33,"context_line":"Proposed change"},{"line_number":34,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"Add state transition of ``inspecting`` to ``inspect failed`` to state machine,"},{"line_number":37,"context_line":"add support to ironic to allow the verb ``abort`` can be requested when node in"},{"line_number":38,"context_line":"``inspecting`` state."},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"Add a method named ``abort`` into ``InspectInterface``, so that inspect"},{"line_number":41,"context_line":"interface can provide implementation to support inspection abort. The default"}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f4b6375_622c5d47","line":38,"range":{"start_line":36,"start_character":0,"end_line":38,"end_character":21},"in_reply_to":"3f4b6375_fe2361bd","updated":"2017-10-19 03:43:57.000000000","message":"Ah, I may not get your concern, but I think it\u0027s not an issue of in-band vs out-of-band, ironic talks to driver interface, and drivers decide which way to do.\nIf you are referring cleaning, I think you are talking about something generic to ironic, it seems a consideration of sync and async, for async requests, ironic use transient states to track the result, like clean wait, deploy wait, so the concern is if we need an inspecting wait here?","commit_id":"f4bf0b275ba62f2f819aaddff565a6817c37febd"},{"author":{"_account_id":18653,"name":"Milan Kováčik","email":"mkovacik@redhat.com","username":"dparalen"},"change_message_id":"f41bbed765e0fe11de02fb8c5c6d357f4786f975","unresolved":false,"context_lines":[{"line_number":64,"context_line":"* Request through ironic-inspector api or"},{"line_number":65,"context_line":"  ``openstack baremetal introspection abort`` command. Be aware that it\u0027s only"},{"line_number":66,"context_line":"  viable when using ironic inspector as inspect interface. Other inspect"},{"line_number":67,"context_line":"  interface like out-of-band inspection may have different approach to achieve"},{"line_number":68,"context_line":"  the same goal, that is beyond the scope of this spec."},{"line_number":69,"context_line":""},{"line_number":70,"context_line":""}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f4b6375_fee5a10b","line":67,"range":{"start_line":67,"start_character":2,"end_line":67,"end_character":12},"updated":"2017-10-18 12:29:13.000000000","message":"nit: interfaces","commit_id":"f4bf0b275ba62f2f819aaddff565a6817c37febd"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"1d7fb213b0616e29a6eb1ba16aae268edbdd0b55","unresolved":false,"context_lines":[{"line_number":64,"context_line":"* Request through ironic-inspector api or"},{"line_number":65,"context_line":"  ``openstack baremetal introspection abort`` command. Be aware that it\u0027s only"},{"line_number":66,"context_line":"  viable when using ironic inspector as inspect interface. Other inspect"},{"line_number":67,"context_line":"  interface like out-of-band inspection may have different approach to achieve"},{"line_number":68,"context_line":"  the same goal, that is beyond the scope of this spec."},{"line_number":69,"context_line":""},{"line_number":70,"context_line":""}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f4b6375_90687521","line":67,"range":{"start_line":67,"start_character":2,"end_line":67,"end_character":12},"in_reply_to":"3f4b6375_fee5a10b","updated":"2017-10-23 06:27:20.000000000","message":"Done","commit_id":"f4bf0b275ba62f2f819aaddff565a6817c37febd"},{"author":{"_account_id":18653,"name":"Milan Kováčik","email":"mkovacik@redhat.com","username":"dparalen"},"change_message_id":"f41bbed765e0fe11de02fb8c5c6d357f4786f975","unresolved":false,"context_lines":[{"line_number":64,"context_line":"* Request through ironic-inspector api or"},{"line_number":65,"context_line":"  ``openstack baremetal introspection abort`` command. Be aware that it\u0027s only"},{"line_number":66,"context_line":"  viable when using ironic inspector as inspect interface. Other inspect"},{"line_number":67,"context_line":"  interface like out-of-band inspection may have different approach to achieve"},{"line_number":68,"context_line":"  the same goal, that is beyond the scope of this spec."},{"line_number":69,"context_line":""},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"Data model impact"}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f4b6375_decb0570","line":68,"range":{"start_line":67,"start_character":17,"end_line":68,"end_character":55},"updated":"2017-10-18 12:29:13.000000000","message":"I\u0027m not sure aborting applies to oob inspection at all; it\u0027s out of band.","commit_id":"f4bf0b275ba62f2f819aaddff565a6817c37febd"},{"author":{"_account_id":18653,"name":"Milan Kováčik","email":"mkovacik@redhat.com","username":"dparalen"},"change_message_id":"319c2ea0d5c49b7913f9b35f45210e847f5c4579","unresolved":false,"context_lines":[{"line_number":64,"context_line":"* Request through ironic-inspector api or"},{"line_number":65,"context_line":"  ``openstack baremetal introspection abort`` command. Be aware that it\u0027s only"},{"line_number":66,"context_line":"  viable when using ironic inspector as inspect interface. Other inspect"},{"line_number":67,"context_line":"  interface like out-of-band inspection may have different approach to achieve"},{"line_number":68,"context_line":"  the same goal, that is beyond the scope of this spec."},{"line_number":69,"context_line":""},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"Data model impact"}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f4b6375_36f43dcf","line":68,"range":{"start_line":67,"start_character":17,"end_line":68,"end_character":55},"in_reply_to":"3f4b6375_a28ed52b","updated":"2017-10-20 11:59:53.000000000","message":"I was thinking about that inspect-wait state actually: I was concerned an \"async\" state wouldn\u0027t make sense for an out of band introspection. But I guess majority of the BMC are REST API based so won\u0027t hurt to have that state for OOB inspection.","commit_id":"f4bf0b275ba62f2f819aaddff565a6817c37febd"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"7e3b06dbd63d8952db90c425fa5a2235622c2720","unresolved":false,"context_lines":[{"line_number":64,"context_line":"* Request through ironic-inspector api or"},{"line_number":65,"context_line":"  ``openstack baremetal introspection abort`` command. Be aware that it\u0027s only"},{"line_number":66,"context_line":"  viable when using ironic inspector as inspect interface. Other inspect"},{"line_number":67,"context_line":"  interface like out-of-band inspection may have different approach to achieve"},{"line_number":68,"context_line":"  the same goal, that is beyond the scope of this spec."},{"line_number":69,"context_line":""},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"Data model impact"}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f4b6375_a28ed52b","line":68,"range":{"start_line":67,"start_character":17,"end_line":68,"end_character":55},"in_reply_to":"3f4b6375_decb0570","updated":"2017-10-19 03:43:57.000000000","message":"Sure, as said above, ironic only talks to driver via interface, we have several oob inspect interface in the tree, for example, the IloInspect.","commit_id":"f4bf0b275ba62f2f819aaddff565a6817c37febd"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"008c5c473a2c93965b9f8b9ffcd3437c3d3c894b","unresolved":false,"context_lines":[{"line_number":98,"context_line":""},{"line_number":99,"context_line":"  * For client with supported microversion"},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"    * 202 (Accepted) is returned if request accepted"},{"line_number":102,"context_line":"    * 400 (Bad Request) is returned if inspect interface does not support abort"},{"line_number":103,"context_line":""},{"line_number":104,"context_line":""}],"source_content_type":"text/x-rst","patch_set":16,"id":"5f4e5783_ed778b9f","line":101,"range":{"start_line":101,"start_character":6,"end_line":101,"end_character":52},"updated":"2017-10-16 13:34:56.000000000","message":"Since this is an asynchronous request. How would the user find out if the inspection abort request is completed from Inspector side? \nDo we need to run some periodic task making call to \u0027get instrospection status\u0027 to Ironic Inspector?\nDo we need the intermediate state of \u0027inspect aborting\u0027 till the request completion status is received from the Inspector?\nMay be we need to add more details related to the same.","commit_id":"f4bf0b275ba62f2f819aaddff565a6817c37febd"},{"author":{"_account_id":18653,"name":"Milan Kováčik","email":"mkovacik@redhat.com","username":"dparalen"},"change_message_id":"319c2ea0d5c49b7913f9b35f45210e847f5c4579","unresolved":false,"context_lines":[{"line_number":98,"context_line":""},{"line_number":99,"context_line":"  * For client with supported microversion"},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"    * 202 (Accepted) is returned if request accepted"},{"line_number":102,"context_line":"    * 400 (Bad Request) is returned if inspect interface does not support abort"},{"line_number":103,"context_line":""},{"line_number":104,"context_line":""}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f4b6375_f6fd85b1","line":101,"range":{"start_line":101,"start_character":6,"end_line":101,"end_character":52},"in_reply_to":"3f4b6375_62d57db9","updated":"2017-10-20 11:59:53.000000000","message":"yes please, I\u0027ve just reported that as an RFE (see above) so let\u0027s base this spec on it?","commit_id":"f4bf0b275ba62f2f819aaddff565a6817c37febd"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"7e3b06dbd63d8952db90c425fa5a2235622c2720","unresolved":false,"context_lines":[{"line_number":98,"context_line":""},{"line_number":99,"context_line":"  * For client with supported microversion"},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"    * 202 (Accepted) is returned if request accepted"},{"line_number":102,"context_line":"    * 400 (Bad Request) is returned if inspect interface does not support abort"},{"line_number":103,"context_line":""},{"line_number":104,"context_line":""}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f4b6375_62d57db9","line":101,"range":{"start_line":101,"start_character":6,"end_line":101,"end_character":52},"in_reply_to":"3f4b6375_8e62fc15","updated":"2017-10-19 03:43:57.000000000","message":"Yes, assuming 202 as 200 is tricky, and may not apply to other inspect interfaces.\nIdeally we need a transient state, if it happened there is a planned work on this, I can hold off this spec before we have a wait state, and provide help if I can.","commit_id":"f4bf0b275ba62f2f819aaddff565a6817c37febd"},{"author":{"_account_id":18653,"name":"Milan Kováčik","email":"mkovacik@redhat.com","username":"dparalen"},"change_message_id":"f41bbed765e0fe11de02fb8c5c6d357f4786f975","unresolved":false,"context_lines":[{"line_number":98,"context_line":""},{"line_number":99,"context_line":"  * For client with supported microversion"},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"    * 202 (Accepted) is returned if request accepted"},{"line_number":102,"context_line":"    * 400 (Bad Request) is returned if inspect interface does not support abort"},{"line_number":103,"context_line":""},{"line_number":104,"context_line":""}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f4b6375_8e62fc15","line":101,"range":{"start_line":101,"start_character":6,"end_line":101,"end_character":52},"in_reply_to":"5f4e5783_ed778b9f","updated":"2017-10-18 12:29:13.000000000","message":"I guess we can\u0027t make promises on inspector\u0027s behalf; a 202 should be propagated as a 202.\n\nThe way forward might be what was agreed on during the virtual inspector PTG: to introduce an ironic-side inspect-wait state[1] (guarded by a timeout), absence of which some folks consider a bug.\n\nThat said, I\u0027m not sure this spec should be approved without  the other bug/spec triaged/approved, especially because this spec is an enhancement of current user experience.\n\n[1] line 27, https://etherpad.openstack.org/p/inspector-queens-virtual-ptg","commit_id":"f4bf0b275ba62f2f819aaddff565a6817c37febd"},{"author":{"_account_id":18653,"name":"Milan Kováčik","email":"mkovacik@redhat.com","username":"dparalen"},"change_message_id":"f41bbed765e0fe11de02fb8c5c6d357f4786f975","unresolved":false,"context_lines":[{"line_number":193,"context_line":"----------"},{"line_number":194,"context_line":""},{"line_number":195,"context_line":"* Add a new method ``abort`` to the inspect interface."},{"line_number":196,"context_line":"* Add the abort implementation to ironic inspector.Inspector."},{"line_number":197,"context_line":"* Implement the abort logic in ironic conductor."},{"line_number":198,"context_line":""},{"line_number":199,"context_line":""}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f4b6375_be0169b2","line":196,"range":{"start_line":196,"start_character":41,"end_line":196,"end_character":60},"updated":"2017-10-18 12:29:13.000000000","message":"nit: ``inspector.Inspect``","commit_id":"f4bf0b275ba62f2f819aaddff565a6817c37febd"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"1d7fb213b0616e29a6eb1ba16aae268edbdd0b55","unresolved":false,"context_lines":[{"line_number":193,"context_line":"----------"},{"line_number":194,"context_line":""},{"line_number":195,"context_line":"* Add a new method ``abort`` to the inspect interface."},{"line_number":196,"context_line":"* Add the abort implementation to ironic inspector.Inspector."},{"line_number":197,"context_line":"* Implement the abort logic in ironic conductor."},{"line_number":198,"context_line":""},{"line_number":199,"context_line":""}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f4b6375_9023d505","line":196,"range":{"start_line":196,"start_character":41,"end_line":196,"end_character":60},"in_reply_to":"3f4b6375_361d5d0f","updated":"2017-10-23 06:27:20.000000000","message":"sorry, i don\u0027t get it, is ``inspector.Inspector`` wrong?","commit_id":"f4bf0b275ba62f2f819aaddff565a6817c37febd"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"38bfe8766325d28bb5f97c712b8f0ddd073eb6cb","unresolved":false,"context_lines":[{"line_number":193,"context_line":"----------"},{"line_number":194,"context_line":""},{"line_number":195,"context_line":"* Add a new method ``abort`` to the inspect interface."},{"line_number":196,"context_line":"* Add the abort implementation to ironic inspector.Inspector."},{"line_number":197,"context_line":"* Implement the abort logic in ironic conductor."},{"line_number":198,"context_line":""},{"line_number":199,"context_line":""}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f4b6375_8bb96a2f","line":196,"range":{"start_line":196,"start_character":41,"end_line":196,"end_character":60},"in_reply_to":"3f4b6375_9023d505","updated":"2017-10-23 07:08:52.000000000","message":"Oh, you mean formatting, Done.","commit_id":"f4bf0b275ba62f2f819aaddff565a6817c37febd"},{"author":{"_account_id":18653,"name":"Milan Kováčik","email":"mkovacik@redhat.com","username":"dparalen"},"change_message_id":"319c2ea0d5c49b7913f9b35f45210e847f5c4579","unresolved":false,"context_lines":[{"line_number":193,"context_line":"----------"},{"line_number":194,"context_line":""},{"line_number":195,"context_line":"* Add a new method ``abort`` to the inspect interface."},{"line_number":196,"context_line":"* Add the abort implementation to ironic inspector.Inspector."},{"line_number":197,"context_line":"* Implement the abort logic in ironic conductor."},{"line_number":198,"context_line":""},{"line_number":199,"context_line":""}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f4b6375_361d5d0f","line":196,"range":{"start_line":196,"start_character":41,"end_line":196,"end_character":60},"in_reply_to":"3f4b6375_be0169b2","updated":"2017-10-20 11:59:53.000000000","message":"nit: ``inspector.Inspector`` I meant","commit_id":"f4bf0b275ba62f2f819aaddff565a6817c37febd"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"166bd1182c9adb038b098567a2f8199e26560cc4","unresolved":false,"context_lines":[{"line_number":26,"context_line":"it\u0027s not consistent for an operation started from ironic, then stopped by"},{"line_number":27,"context_line":"inspector, furthermore, it creates a little delay of time. Node state is"},{"line_number":28,"context_line":"inconsistent between ironic and inspector until next state synchronization."},{"line_number":29,"context_line":"The default time interval is 60 seconds, but may vary depending on user"},{"line_number":30,"context_line":"configuration."},{"line_number":31,"context_line":""},{"line_number":32,"context_line":""}],"source_content_type":"text/x-rst","patch_set":18,"id":"df7087c5_522f763e","line":29,"range":{"start_line":29,"start_character":17,"end_line":29,"end_character":25},"updated":"2018-03-12 05:02:58.000000000","message":"s/ interval / interval for ironic-inspector state synchronization /","commit_id":"d3bfc61f7808d8c8acbbe70c843c3383b6bc2ace"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"66e4cf5b9ae92653063ca8756f01a30e26808a94","unresolved":false,"context_lines":[{"line_number":26,"context_line":"it\u0027s not consistent for an operation started from ironic, then stopped by"},{"line_number":27,"context_line":"inspector, furthermore, it creates a little delay of time. Node state is"},{"line_number":28,"context_line":"inconsistent between ironic and inspector until next state synchronization."},{"line_number":29,"context_line":"The default time interval is 60 seconds, but may vary depending on user"},{"line_number":30,"context_line":"configuration."},{"line_number":31,"context_line":""},{"line_number":32,"context_line":""}],"source_content_type":"text/x-rst","patch_set":18,"id":"df7087c5_c837324d","line":29,"range":{"start_line":29,"start_character":17,"end_line":29,"end_character":25},"in_reply_to":"df7087c5_522f763e","updated":"2018-03-13 08:57:45.000000000","message":"Done","commit_id":"d3bfc61f7808d8c8acbbe70c843c3383b6bc2ace"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"02f898b60ff1598c88581809afb42debd9934591","unresolved":false,"context_lines":[{"line_number":33,"context_line":"Proposed change"},{"line_number":34,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"Add state transition of ``inspecting`` to ``inspect failed`` to state machine,"},{"line_number":37,"context_line":"add support to ironic to allow the verb ``abort`` can be requested when node in"},{"line_number":38,"context_line":"``inspecting`` state."},{"line_number":39,"context_line":""}],"source_content_type":"text/x-rst","patch_set":18,"id":"1f9dbf25_2c6ae87f","line":36,"range":{"start_line":36,"start_character":26,"end_line":36,"end_character":37},"updated":"2018-02-28 15:04:49.000000000","message":"s/inspecting/inspect wait/","commit_id":"d3bfc61f7808d8c8acbbe70c843c3383b6bc2ace"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"1d44e6eaee97e2935178a7853d7eca9d326e772d","unresolved":false,"context_lines":[{"line_number":33,"context_line":"Proposed change"},{"line_number":34,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"Add state transition of ``inspecting`` to ``inspect failed`` to state machine,"},{"line_number":37,"context_line":"add support to ironic to allow the verb ``abort`` can be requested when node in"},{"line_number":38,"context_line":"``inspecting`` state."},{"line_number":39,"context_line":""}],"source_content_type":"text/x-rst","patch_set":18,"id":"df7087c5_7b217b4d","line":36,"range":{"start_line":36,"start_character":26,"end_line":36,"end_character":37},"in_reply_to":"1f9dbf25_2c6ae87f","updated":"2018-03-08 05:05:20.000000000","message":"Hi Dimitry, I have a question here, abort is an asynchronous request, if we can move inspect wait to inspect failed via abort, then why we can\u0027t move inspecting to inspect failed? I don\u0027t see a difference here.\nI have updated the inspect wait spec, based on my understanding, it seems that we should move inspect wait to inspecting when the abort is issued, then the periodic task checks the inspection state and move node to inspect failed if ironic-inspector has aborted the node.\nPlease correct me if I\u0027m wrong.","commit_id":"d3bfc61f7808d8c8acbbe70c843c3383b6bc2ace"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"d12da9f46cf0e6ab1e0f46584e4ad714ddcf63d8","unresolved":false,"context_lines":[{"line_number":33,"context_line":"Proposed change"},{"line_number":34,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"Add state transition of ``inspecting`` to ``inspect failed`` to state machine,"},{"line_number":37,"context_line":"add support to ironic to allow the verb ``abort`` can be requested when node in"},{"line_number":38,"context_line":"``inspecting`` state."},{"line_number":39,"context_line":""}],"source_content_type":"text/x-rst","patch_set":18,"id":"df7087c5_ead04f53","line":36,"range":{"start_line":36,"start_character":26,"end_line":36,"end_character":37},"in_reply_to":"df7087c5_7b217b4d","updated":"2018-03-08 10:03:59.000000000","message":"Because in INSPECTING the driver is doing something to the node with a lock held. Currently we use INSPECTING incorrectly in the ironic-inspector implementation, it really should be INSPECT WAIT.\n\n\u003e it seems that we should move inspect wait to inspecting when the abort is issued, then the periodic task checks the inspection state and move node to inspect failed if ironic-inspector has aborted the node.\n\nNo, you need to use \"abort\" state machine action to move INSPECT WAIT directly to INSPECT FAIL. You don\u0027t have to wait for ironic-inspector to do the same, I think.","commit_id":"d3bfc61f7808d8c8acbbe70c843c3383b6bc2ace"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"66e4cf5b9ae92653063ca8756f01a30e26808a94","unresolved":false,"context_lines":[{"line_number":33,"context_line":"Proposed change"},{"line_number":34,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"Add state transition of ``inspecting`` to ``inspect failed`` to state machine,"},{"line_number":37,"context_line":"add support to ironic to allow the verb ``abort`` can be requested when node in"},{"line_number":38,"context_line":"``inspecting`` state."},{"line_number":39,"context_line":""}],"source_content_type":"text/x-rst","patch_set":18,"id":"df7087c5_8b261415","line":36,"range":{"start_line":36,"start_character":26,"end_line":36,"end_character":37},"in_reply_to":"df7087c5_ead04f53","updated":"2018-03-13 08:57:45.000000000","message":"So it means once we get 202 from ironic inspector, ironic moves node to inspect failed, despite of if inspector successfully proceeds with abort.\nAnyway, next inspect request will trigger ironic inspector updates node cache, or by timeout clean up in ironic inspector (btw, the default value of 1 hour seems quite long).","commit_id":"d3bfc61f7808d8c8acbbe70c843c3383b6bc2ace"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"166bd1182c9adb038b098567a2f8199e26560cc4","unresolved":false,"context_lines":[{"line_number":35,"context_line":""},{"line_number":36,"context_line":"Add state transition of ``inspecting`` to ``inspect failed`` to state machine,"},{"line_number":37,"context_line":"add support to ironic to allow the verb ``abort`` can be requested when node in"},{"line_number":38,"context_line":"``inspecting`` state."},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"Add a method named ``abort`` into ``InspectInterface``, so that inspect"},{"line_number":41,"context_line":"interface can provide implementation to support inspection abort. The default"}],"source_content_type":"text/x-rst","patch_set":18,"id":"df7087c5_322c4246","line":38,"range":{"start_line":38,"start_character":2,"end_line":38,"end_character":12},"updated":"2018-03-12 05:02:58.000000000","message":"s/ \u0027inspecting\u0027 / \u0027inspect wait\u0027 /","commit_id":"d3bfc61f7808d8c8acbbe70c843c3383b6bc2ace"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"66e4cf5b9ae92653063ca8756f01a30e26808a94","unresolved":false,"context_lines":[{"line_number":35,"context_line":""},{"line_number":36,"context_line":"Add state transition of ``inspecting`` to ``inspect failed`` to state machine,"},{"line_number":37,"context_line":"add support to ironic to allow the verb ``abort`` can be requested when node in"},{"line_number":38,"context_line":"``inspecting`` state."},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"Add a method named ``abort`` into ``InspectInterface``, so that inspect"},{"line_number":41,"context_line":"interface can provide implementation to support inspection abort. The default"}],"source_content_type":"text/x-rst","patch_set":18,"id":"df7087c5_88261a15","line":38,"range":{"start_line":38,"start_character":2,"end_line":38,"end_character":12},"in_reply_to":"df7087c5_322c4246","updated":"2018-03-13 08:57:45.000000000","message":"Done","commit_id":"d3bfc61f7808d8c8acbbe70c843c3383b6bc2ace"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"166bd1182c9adb038b098567a2f8199e26560cc4","unresolved":false,"context_lines":[{"line_number":42,"context_line":"behavior is to raise an ``UnsupportedDriverExtension`` exception. Implement the"},{"line_number":43,"context_line":"abort operation for ``inspector`` inspect interface."},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"When an abort operation is requested, ironic calls abort method from inspect"},{"line_number":46,"context_line":"interface of driver API, and moves node state to ``inspect failed`` if"},{"line_number":47,"context_line":"succeeded."},{"line_number":48,"context_line":""}],"source_content_type":"text/x-rst","patch_set":18,"id":"df7087c5_d2e70612","line":45,"range":{"start_line":45,"start_character":38,"end_line":45,"end_character":63},"updated":"2018-03-12 05:02:58.000000000","message":"s/ \u0027ironic calls abort method \u0027 / \u0027if node is in inspect wait state, ironic calls abort method\u0027","commit_id":"d3bfc61f7808d8c8acbbe70c843c3383b6bc2ace"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"66e4cf5b9ae92653063ca8756f01a30e26808a94","unresolved":false,"context_lines":[{"line_number":42,"context_line":"behavior is to raise an ``UnsupportedDriverExtension`` exception. Implement the"},{"line_number":43,"context_line":"abort operation for ``inspector`` inspect interface."},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"When an abort operation is requested, ironic calls abort method from inspect"},{"line_number":46,"context_line":"interface of driver API, and moves node state to ``inspect failed`` if"},{"line_number":47,"context_line":"succeeded."},{"line_number":48,"context_line":""}],"source_content_type":"text/x-rst","patch_set":18,"id":"df7087c5_2b4d88c3","line":45,"range":{"start_line":45,"start_character":38,"end_line":45,"end_character":63},"in_reply_to":"df7087c5_d2e70612","updated":"2018-03-13 08:57:45.000000000","message":"Done","commit_id":"d3bfc61f7808d8c8acbbe70c843c3383b6bc2ace"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"166bd1182c9adb038b098567a2f8199e26560cc4","unresolved":false,"context_lines":[{"line_number":48,"context_line":""},{"line_number":49,"context_line":"Involved changes are:"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"* Add a method named abort to inspect interface."},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"* Implement abort for ``inspector`` inspect interface."},{"line_number":54,"context_line":""}],"source_content_type":"text/x-rst","patch_set":18,"id":"df7087c5_b2ecd2f3","line":51,"range":{"start_line":51,"start_character":30,"end_line":51,"end_character":47},"updated":"2018-03-12 05:02:58.000000000","message":"s/ \u0027inspect interface\u0027 / base inspect interface (InspectInterface)\u0027/","commit_id":"d3bfc61f7808d8c8acbbe70c843c3383b6bc2ace"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"166bd1182c9adb038b098567a2f8199e26560cc4","unresolved":false,"context_lines":[{"line_number":48,"context_line":""},{"line_number":49,"context_line":"Involved changes are:"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"* Add a method named abort to inspect interface."},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"* Implement abort for ``inspector`` inspect interface."},{"line_number":54,"context_line":""}],"source_content_type":"text/x-rst","patch_set":18,"id":"df7087c5_52bd36d6","line":51,"range":{"start_line":51,"start_character":21,"end_line":51,"end_character":26},"updated":"2018-03-12 05:02:58.000000000","message":"s/ abort / abort()","commit_id":"d3bfc61f7808d8c8acbbe70c843c3383b6bc2ace"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"66e4cf5b9ae92653063ca8756f01a30e26808a94","unresolved":false,"context_lines":[{"line_number":48,"context_line":""},{"line_number":49,"context_line":"Involved changes are:"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"* Add a method named abort to inspect interface."},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"* Implement abort for ``inspector`` inspect interface."},{"line_number":54,"context_line":""}],"source_content_type":"text/x-rst","patch_set":18,"id":"df7087c5_4b4a3cac","line":51,"range":{"start_line":51,"start_character":21,"end_line":51,"end_character":26},"in_reply_to":"df7087c5_52bd36d6","updated":"2018-03-13 08:57:45.000000000","message":"Done","commit_id":"d3bfc61f7808d8c8acbbe70c843c3383b6bc2ace"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"66e4cf5b9ae92653063ca8756f01a30e26808a94","unresolved":false,"context_lines":[{"line_number":48,"context_line":""},{"line_number":49,"context_line":"Involved changes are:"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"* Add a method named abort to inspect interface."},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"* Implement abort for ``inspector`` inspect interface."},{"line_number":54,"context_line":""}],"source_content_type":"text/x-rst","patch_set":18,"id":"df7087c5_2bfb4847","line":51,"range":{"start_line":51,"start_character":30,"end_line":51,"end_character":47},"in_reply_to":"df7087c5_b2ecd2f3","updated":"2018-03-13 08:57:45.000000000","message":"Done","commit_id":"d3bfc61f7808d8c8acbbe70c843c3383b6bc2ace"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"166bd1182c9adb038b098567a2f8199e26560cc4","unresolved":false,"context_lines":[{"line_number":50,"context_line":""},{"line_number":51,"context_line":"* Add a method named abort to inspect interface."},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"* Implement abort for ``inspector`` inspect interface."},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"* Implement the logic for ironic handling the verb ``abort`` when provisioning"},{"line_number":56,"context_line":"  state is ``inspecting``."}],"source_content_type":"text/x-rst","patch_set":18,"id":"df7087c5_72c07a51","line":53,"range":{"start_line":53,"start_character":12,"end_line":53,"end_character":17},"updated":"2018-03-12 05:02:58.000000000","message":"s/ abort / abort() /","commit_id":"d3bfc61f7808d8c8acbbe70c843c3383b6bc2ace"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"66e4cf5b9ae92653063ca8756f01a30e26808a94","unresolved":false,"context_lines":[{"line_number":50,"context_line":""},{"line_number":51,"context_line":"* Add a method named abort to inspect interface."},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"* Implement abort for ``inspector`` inspect interface."},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"* Implement the logic for ironic handling the verb ``abort`` when provisioning"},{"line_number":56,"context_line":"  state is ``inspecting``."}],"source_content_type":"text/x-rst","patch_set":18,"id":"df7087c5_8b87f4b5","line":53,"range":{"start_line":53,"start_character":12,"end_line":53,"end_character":17},"in_reply_to":"df7087c5_72c07a51","updated":"2018-03-13 08:57:45.000000000","message":"Done","commit_id":"d3bfc61f7808d8c8acbbe70c843c3383b6bc2ace"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"166bd1182c9adb038b098567a2f8199e26560cc4","unresolved":false,"context_lines":[{"line_number":53,"context_line":"* Implement abort for ``inspector`` inspect interface."},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"* Implement the logic for ironic handling the verb ``abort`` when provisioning"},{"line_number":56,"context_line":"  state is ``inspecting``."},{"line_number":57,"context_line":""},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":18,"id":"df7087c5_32ba02de","line":56,"range":{"start_line":56,"start_character":13,"end_line":56,"end_character":23},"updated":"2018-03-12 05:02:58.000000000","message":"s/ \u0027inspecting\u0027 / \u0027inspect wait\u0027/","commit_id":"d3bfc61f7808d8c8acbbe70c843c3383b6bc2ace"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"66e4cf5b9ae92653063ca8756f01a30e26808a94","unresolved":false,"context_lines":[{"line_number":53,"context_line":"* Implement abort for ``inspector`` inspect interface."},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"* Implement the logic for ironic handling the verb ``abort`` when provisioning"},{"line_number":56,"context_line":"  state is ``inspecting``."},{"line_number":57,"context_line":""},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":18,"id":"df7087c5_abb51880","line":56,"range":{"start_line":56,"start_character":13,"end_line":56,"end_character":23},"in_reply_to":"df7087c5_32ba02de","updated":"2018-03-13 08:57:45.000000000","message":"Done","commit_id":"d3bfc61f7808d8c8acbbe70c843c3383b6bc2ace"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"166bd1182c9adb038b098567a2f8199e26560cc4","unresolved":false,"context_lines":[{"line_number":77,"context_line":"State Machine Impact"},{"line_number":78,"context_line":"--------------------"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"None"},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"REST API impact"},{"line_number":83,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":18,"id":"df7087c5_f2cb2a6f","line":80,"range":{"start_line":80,"start_character":0,"end_line":80,"end_character":4},"updated":"2018-03-12 05:02:58.000000000","message":"Need to update this. Also this has dependency on change wherein \u0027inspect wait\u0027 state being proposed. https://review.openstack.org/#/c/515657/","commit_id":"d3bfc61f7808d8c8acbbe70c843c3383b6bc2ace"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"66e4cf5b9ae92653063ca8756f01a30e26808a94","unresolved":false,"context_lines":[{"line_number":77,"context_line":"State Machine Impact"},{"line_number":78,"context_line":"--------------------"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"None"},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"REST API impact"},{"line_number":83,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":18,"id":"df7087c5_266a9fed","line":80,"range":{"start_line":80,"start_character":0,"end_line":80,"end_character":4},"in_reply_to":"df7087c5_f2cb2a6f","updated":"2018-03-13 08:57:45.000000000","message":"Done\nI have put a reference at the beginning of the spec.","commit_id":"d3bfc61f7808d8c8acbbe70c843c3383b6bc2ace"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"166bd1182c9adb038b098567a2f8199e26560cc4","unresolved":false,"context_lines":[{"line_number":124,"context_line":"Driver API impact"},{"line_number":125,"context_line":"-----------------"},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"A new method ``abort`` will be added to ``InspectInterface`` in base.py, the"},{"line_number":128,"context_line":"default behavior is to raise the exception ``UnsupportedDriverExtension``."},{"line_number":129,"context_line":""},{"line_number":130,"context_line":""}],"source_content_type":"text/x-rst","patch_set":18,"id":"df7087c5_b29a926b","line":127,"range":{"start_line":127,"start_character":0,"end_line":127,"end_character":71},"updated":"2018-03-12 05:02:58.000000000","message":"Please add the proposed signature for abort() method here.","commit_id":"d3bfc61f7808d8c8acbbe70c843c3383b6bc2ace"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"66e4cf5b9ae92653063ca8756f01a30e26808a94","unresolved":false,"context_lines":[{"line_number":124,"context_line":"Driver API impact"},{"line_number":125,"context_line":"-----------------"},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"A new method ``abort`` will be added to ``InspectInterface`` in base.py, the"},{"line_number":128,"context_line":"default behavior is to raise the exception ``UnsupportedDriverExtension``."},{"line_number":129,"context_line":""},{"line_number":130,"context_line":""}],"source_content_type":"text/x-rst","patch_set":18,"id":"df7087c5_26805fc0","line":127,"range":{"start_line":127,"start_character":0,"end_line":127,"end_character":71},"in_reply_to":"df7087c5_b29a926b","updated":"2018-03-13 08:57:45.000000000","message":"Done","commit_id":"d3bfc61f7808d8c8acbbe70c843c3383b6bc2ace"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"9f4e3da36205f88ae1a89092403ab7e6179c6230","unresolved":false,"context_lines":[{"line_number":200,"context_line":"----------"},{"line_number":201,"context_line":""},{"line_number":202,"context_line":"* Add a new method ``abort()`` to the base inspect interface."},{"line_number":203,"context_line":"* Add the abort implementation to ironic ``inspector.Inspector``."},{"line_number":204,"context_line":"* Implement the abort logic in ironic conductor."},{"line_number":205,"context_line":""},{"line_number":206,"context_line":""}],"source_content_type":"text/x-rst","patch_set":19,"id":"df7087c5_9abf04a9","line":203,"range":{"start_line":203,"start_character":2,"end_line":203,"end_character":65},"updated":"2018-03-15 05:25:50.000000000","message":"Can you please elaborate on how this would work for inspector. I suppose, upon receiving \u0027abort\u0027 request, it would initiate \u0027abort\u0027 for ironic-inspector. And then it would have to wait for ironic-inspector to complete abort operation. I think ironic would need to wait for inspector side abort completion to move into \u0027inspect-failed\u0027 state. Will ironic till then remain in \u0027inspect-wait\u0027 state or will it need something like \u0027abort-wait\u0027 state?","commit_id":"babf8b584b8136b382441fbb2454be5729684f6f"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"63f0f98eba83a600e92f1d8a3b7647684160a14a","unresolved":false,"context_lines":[{"line_number":200,"context_line":"----------"},{"line_number":201,"context_line":""},{"line_number":202,"context_line":"* Add a new method ``abort()`` to the base inspect interface."},{"line_number":203,"context_line":"* Add the abort implementation to ironic ``inspector.Inspector``."},{"line_number":204,"context_line":"* Implement the abort logic in ironic conductor."},{"line_number":205,"context_line":""},{"line_number":206,"context_line":""}],"source_content_type":"text/x-rst","patch_set":19,"id":"df7087c5_af306457","line":203,"range":{"start_line":203,"start_character":2,"end_line":203,"end_character":65},"in_reply_to":"df7087c5_4963e4b2","updated":"2018-03-16 05:51:36.000000000","message":"Done","commit_id":"babf8b584b8136b382441fbb2454be5729684f6f"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"50fba972947386df2bec2f7c2c19d0df6ec2aa29","unresolved":false,"context_lines":[{"line_number":200,"context_line":"----------"},{"line_number":201,"context_line":""},{"line_number":202,"context_line":"* Add a new method ``abort()`` to the base inspect interface."},{"line_number":203,"context_line":"* Add the abort implementation to ironic ``inspector.Inspector``."},{"line_number":204,"context_line":"* Implement the abort logic in ironic conductor."},{"line_number":205,"context_line":""},{"line_number":206,"context_line":""}],"source_content_type":"text/x-rst","patch_set":19,"id":"df7087c5_4963e4b2","line":203,"range":{"start_line":203,"start_character":2,"end_line":203,"end_character":65},"in_reply_to":"df7087c5_90712547","updated":"2018-03-15 08:16:16.000000000","message":"Ok. I think better to capture that in the spec for everyones benefit.","commit_id":"babf8b584b8136b382441fbb2454be5729684f6f"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"4bb4dc34c43c6b216e645c785fffb339d10686b5","unresolved":false,"context_lines":[{"line_number":200,"context_line":"----------"},{"line_number":201,"context_line":""},{"line_number":202,"context_line":"* Add a new method ``abort()`` to the base inspect interface."},{"line_number":203,"context_line":"* Add the abort implementation to ironic ``inspector.Inspector``."},{"line_number":204,"context_line":"* Implement the abort logic in ironic conductor."},{"line_number":205,"context_line":""},{"line_number":206,"context_line":""}],"source_content_type":"text/x-rst","patch_set":19,"id":"df7087c5_90712547","line":203,"range":{"start_line":203,"start_character":2,"end_line":203,"end_character":65},"in_reply_to":"df7087c5_9abf04a9","updated":"2018-03-15 07:19:17.000000000","message":"um, I asked the same question at PS18, Dimitry thinks we don\u0027t need to wait for inspector result, just pushing state machine ahead.\nThough ironic-inspector keeps a node cache, it will be refreshed if upcoming inspection is requested, that means ironic always holds the right provision state, so I\u0027m good with it.","commit_id":"babf8b584b8136b382441fbb2454be5729684f6f"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"c25dbc2789dc413789d87ffe80ab3ee2c6abb2bc","unresolved":false,"context_lines":[{"line_number":249,"context_line":"References"},{"line_number":250,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":251,"context_line":""},{"line_number":252,"context_line":".. [#] https://bugs.launchpad.net/ironic/+bug/1725211"}],"source_content_type":"text/x-rst","patch_set":21,"id":"bf659307_87bfb75f","line":252,"range":{"start_line":252,"start_character":7,"end_line":252,"end_character":53},"updated":"2018-04-01 12:30:22.000000000","message":"Since the inspect wait related spec is merged. Better to have this link point to [1].\n[1] https://specs.openstack.org/openstack/ironic-specs/specs/approved/inspect-wait-state.html","commit_id":"76bdb005eaaf913fc68c4aa8824600959b5006a7"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"be43781c3467f2fdef50ff12f84540a1b59a3cdb","unresolved":false,"context_lines":[{"line_number":249,"context_line":"References"},{"line_number":250,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":251,"context_line":""},{"line_number":252,"context_line":".. [#] https://bugs.launchpad.net/ironic/+bug/1725211"}],"source_content_type":"text/x-rst","patch_set":21,"id":"bf659307_f015084a","line":252,"range":{"start_line":252,"start_character":7,"end_line":252,"end_character":53},"in_reply_to":"bf659307_87bfb75f","updated":"2018-04-02 01:10:05.000000000","message":"Done\nNice suggestion :)","commit_id":"76bdb005eaaf913fc68c4aa8824600959b5006a7"}]}
