)]}'
{"specs/approved/agent-api.rst":[{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"be96ecef455bf2418dab9867a0f90526810e7fd5","unresolved":false,"context_lines":[{"line_number":54,"context_line":""},{"line_number":55,"context_line":"Two new endpoints are added. Note that both are **NOT** covered by the API"},{"line_number":56,"context_line":"microversion, because they are not part of the bare metal public API."},{"line_number":57,"context_line":"Both endpoints are **NOT** authenticated."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"* ``POST /v1/nodes/lookup``"},{"line_number":60,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"1a122d0e_321d5910","line":57,"updated":"2016-04-15 13:24:33.000000000","message":"Hmmm. I think that these should be versioned with the rest of our API. Even though humans won\u0027t use them, it enables us to change them and change the ramdisk accordingly.","commit_id":"2d337f3c373e32f7c4a34e232e9d387f70b9fb3b"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"be96ecef455bf2418dab9867a0f90526810e7fd5","unresolved":false,"context_lines":[{"line_number":67,"context_line":""},{"line_number":68,"context_line":"  * ``node_uuid`` optional node UUID, if known (e.g. by inspection);"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"  * ``version`` inventory version, should be \"2\" for IPA."},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"  Response: HTTP 200 with JSON body containing keys:"},{"line_number":73,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"1a122d0e_d2d22534","line":70,"updated":"2016-04-15 13:24:33.000000000","message":"s/should be/currently/ :)","commit_id":"2d337f3c373e32f7c4a34e232e9d387f70b9fb3b"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"be96ecef455bf2418dab9867a0f90526810e7fd5","unresolved":false,"context_lines":[{"line_number":89,"context_line":"  Body is a JSON with fields:"},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"  * ``agent_url`` - the IPA URL to call back. Note that for potential"},{"line_number":92,"context_line":"    non-IPA-based drivers it might have a different meaning (e.g. if we agree"},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"  Response: HTTP 202 with no body."},{"line_number":95,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"1a122d0e_92c8ad76","line":92,"updated":"2016-04-15 13:24:33.000000000","message":"I assume you\u0027ll finish this sentence at some point.","commit_id":"2d337f3c373e32f7c4a34e232e9d387f70b9fb3b"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"916ff6e697f8f00ea33a71e2a5d2e30f8dccc261","unresolved":false,"context_lines":[{"line_number":198,"context_line":"-----------"},{"line_number":199,"context_line":""},{"line_number":200,"context_line":"Primary assignee:"},{"line_number":201,"context_line":"  Dmitry Tantsur (lp: divius, irc: dtanstur)"},{"line_number":202,"context_line":""},{"line_number":203,"context_line":"Work Items"},{"line_number":204,"context_line":"----------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"1a122d0e_92770d02","line":201,"updated":"2016-04-15 13:26:04.000000000","message":"Feel free to add me here, happy to help","commit_id":"2d337f3c373e32f7c4a34e232e9d387f70b9fb3b"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"be96ecef455bf2418dab9867a0f90526810e7fd5","unresolved":false,"context_lines":[{"line_number":225,"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":226,"context_line":""},{"line_number":227,"context_line":"The ``BaseAgentVendor`` class will be deprecated, but stay for some time,"},{"line_number":228,"context_line":"following the usual deprecation policy."},{"line_number":229,"context_line":""},{"line_number":230,"context_line":"Documentation Impact"},{"line_number":231,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":1,"id":"1a122d0e_72efd1b0","line":228,"updated":"2016-04-15 13:24:33.000000000","message":"We should discuss the agent side of things here.\n\nI think the best route will be to try to hit this endpoint (with the new API version), and on 404 (406?) then hit the passthru method. We could remove this sometime in the O cycle, I think, but really it doesn\u0027t actually hurt to leave it until newton-eol.","commit_id":"2d337f3c373e32f7c4a34e232e9d387f70b9fb3b"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"f7036bfe0da648667351f45452d5dfcaf9d8d622","unresolved":false,"context_lines":[{"line_number":65,"context_line":""},{"line_number":66,"context_line":"  * ``node_uuid`` optional node UUID, if known (e.g. by inspection);"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"  * ``version`` inventory version, currently \"2\" for IPA."},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"  Response: HTTP 200 with JSON body containing keys:"},{"line_number":71,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"1a122d0e_25b510cd","line":68,"updated":"2016-04-15 14:53:19.000000000","message":"Optional (l129).","commit_id":"ff6d6bc462fa67e1ddd8dbb3d10e96b71aa50152"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"d5196e165507a189abec9e4b23de8ab0c2519a54","unresolved":false,"context_lines":[{"line_number":65,"context_line":""},{"line_number":66,"context_line":"  * ``node_uuid`` optional node UUID, if known (e.g. by inspection);"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"  * ``version`` inventory version, currently \"2\" for IPA."},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"  Response: HTTP 200 with JSON body containing keys:"},{"line_number":71,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"1a122d0e_e5679823","line":68,"in_reply_to":"1a122d0e_25b510cd","updated":"2016-04-15 14:55:56.000000000","message":"Done","commit_id":"ff6d6bc462fa67e1ddd8dbb3d10e96b71aa50152"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"f7036bfe0da648667351f45452d5dfcaf9d8d622","unresolved":false,"context_lines":[{"line_number":127,"context_line":"::"},{"line_number":128,"context_line":""},{"line_number":129,"context_line":"    def lookup(self, inventory, node_uuid\u003dNone, inventory_version\u003dNone,"},{"line_number":130,"context_line":"               **kwargs):"},{"line_number":131,"context_line":"        \"\"\"Lookup a node by inventory."},{"line_number":132,"context_line":""},{"line_number":133,"context_line":"        :param inventory: full inventory from the ramdisk"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1a122d0e_c5f25c9a","line":130,"updated":"2016-04-15 14:53:19.000000000","message":"What is **kwargs here?","commit_id":"ff6d6bc462fa67e1ddd8dbb3d10e96b71aa50152"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"d5196e165507a189abec9e4b23de8ab0c2519a54","unresolved":false,"context_lines":[{"line_number":127,"context_line":"::"},{"line_number":128,"context_line":""},{"line_number":129,"context_line":"    def lookup(self, inventory, node_uuid\u003dNone, inventory_version\u003dNone,"},{"line_number":130,"context_line":"               **kwargs):"},{"line_number":131,"context_line":"        \"\"\"Lookup a node by inventory."},{"line_number":132,"context_line":""},{"line_number":133,"context_line":"        :param inventory: full inventory from the ramdisk"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1a122d0e_c581bc91","line":130,"in_reply_to":"1a122d0e_c5f25c9a","updated":"2016-04-15 14:55:56.000000000","message":"In inspector we use such things to allow future extensions. Ironic does not seem to do it, will remove","commit_id":"ff6d6bc462fa67e1ddd8dbb3d10e96b71aa50152"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"f7036bfe0da648667351f45452d5dfcaf9d8d622","unresolved":false,"context_lines":[{"line_number":143,"context_line":""},{"line_number":144,"context_line":"::"},{"line_number":145,"context_line":""},{"line_number":146,"context_line":"    def heartbeat(self, task, ramdisk_url, **kwargs):"},{"line_number":147,"context_line":"        \"\"\"Record a heart beat for the node."},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"        :param task: a task manager task"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1a122d0e_253a3037","line":146,"updated":"2016-04-15 14:53:19.000000000","message":"ditto","commit_id":"ff6d6bc462fa67e1ddd8dbb3d10e96b71aa50152"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"d5196e165507a189abec9e4b23de8ab0c2519a54","unresolved":false,"context_lines":[{"line_number":143,"context_line":""},{"line_number":144,"context_line":"::"},{"line_number":145,"context_line":""},{"line_number":146,"context_line":"    def heartbeat(self, task, ramdisk_url, **kwargs):"},{"line_number":147,"context_line":"        \"\"\"Record a heart beat for the node."},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"        :param task: a task manager task"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1a122d0e_a57e40ac","line":146,"in_reply_to":"1a122d0e_253a3037","updated":"2016-04-15 14:55:56.000000000","message":"Done","commit_id":"ff6d6bc462fa67e1ddd8dbb3d10e96b71aa50152"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"a0105d1a1f397458e424c964457fa40fcde5341b","unresolved":false,"context_lines":[{"line_number":151,"context_line":"        :return: nothing"},{"line_number":152,"context_line":"        \"\"\""},{"line_number":153,"context_line":"        raise NotImplementedError()"},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"The ``BaseAgentVendor`` will be refactored in a mix-in class independent of"},{"line_number":156,"context_line":"the vendor passthru. The ``AgentDeploy`` class will use it and implement"},{"line_number":157,"context_line":"all the required calls. The ``BaseAgentVendor`` will stay for compatibility"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1a122d0e_e65de3ed","line":154,"updated":"2016-04-15 14:16:42.000000000","message":"During the deprecation period, these methods will need to remain not @abc.abstract_methods so that any out of tree deploy interfaces don\u0027t get affected for a cycle, but in Ocata we can make these @abc.abstract right?","commit_id":"ff6d6bc462fa67e1ddd8dbb3d10e96b71aa50152"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"93b2cc1e5b5d40ea2537f51151529a6aaa8a0582","unresolved":false,"context_lines":[{"line_number":151,"context_line":"        :return: nothing"},{"line_number":152,"context_line":"        \"\"\""},{"line_number":153,"context_line":"        raise NotImplementedError()"},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"The ``BaseAgentVendor`` will be refactored in a mix-in class independent of"},{"line_number":156,"context_line":"the vendor passthru. The ``AgentDeploy`` class will use it and implement"},{"line_number":157,"context_line":"all the required calls. The ``BaseAgentVendor`` will stay for compatibility"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1a122d0e_21122563","line":154,"in_reply_to":"1a122d0e_8173394d","updated":"2016-04-15 14:45:55.000000000","message":"Something like a boot from volume deploy interface wouldn\u0027t implement these I expect, makes sense.","commit_id":"ff6d6bc462fa67e1ddd8dbb3d10e96b71aa50152"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"f9e7888f39256e9e37777ec587a988152e88cf93","unresolved":false,"context_lines":[{"line_number":151,"context_line":"        :return: nothing"},{"line_number":152,"context_line":"        \"\"\""},{"line_number":153,"context_line":"        raise NotImplementedError()"},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"The ``BaseAgentVendor`` will be refactored in a mix-in class independent of"},{"line_number":156,"context_line":"the vendor passthru. The ``AgentDeploy`` class will use it and implement"},{"line_number":157,"context_line":"all the required calls. The ``BaseAgentVendor`` will stay for compatibility"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1a122d0e_8173394d","line":154,"in_reply_to":"1a122d0e_e65de3ed","updated":"2016-04-15 14:35:33.000000000","message":"No, not necessary. There might be deploy drivers not using heartbeat and/or lookup.","commit_id":"ff6d6bc462fa67e1ddd8dbb3d10e96b71aa50152"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"9a95a04b7e26c3af87bb934acfe5edcda081b9e0","unresolved":false,"context_lines":[{"line_number":10,"context_line":""},{"line_number":11,"context_line":"https://bugs.launchpad.net/ironic/+bug/1570841"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"This spec suggests making the current agent vendor passthru API\u0027s (lookup and"},{"line_number":14,"context_line":"heartbeat) a first class API endpoints and deprecate the agent vendor passthru"},{"line_number":15,"context_line":"interface."},{"line_number":16,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"1a122d0e_766e5730","line":13,"updated":"2016-04-18 15:47:29.000000000","message":"Nit: s/\u0027//","commit_id":"be52650daa25c062845c5375f02692c8ad008076"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"77aeaf8951ce4cfc850b06ec60e67a9beb936049","unresolved":false,"context_lines":[{"line_number":10,"context_line":""},{"line_number":11,"context_line":"https://bugs.launchpad.net/ironic/+bug/1570841"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"This spec suggests making the current agent vendor passthru API\u0027s (lookup and"},{"line_number":14,"context_line":"heartbeat) a first class API endpoints and deprecate the agent vendor passthru"},{"line_number":15,"context_line":"interface."},{"line_number":16,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"1a122d0e_57296c36","line":13,"in_reply_to":"1a122d0e_766e5730","updated":"2016-04-19 12:45:00.000000000","message":"Done","commit_id":"be52650daa25c062845c5375f02692c8ad008076"},{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"6079259ddf4ea9077c18efb69c31e6d9d4584f94","unresolved":false,"context_lines":[{"line_number":11,"context_line":"https://bugs.launchpad.net/ironic/+bug/1570841"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"This spec suggests making the current agent vendor passthru API\u0027s (lookup and"},{"line_number":14,"context_line":"heartbeat) a first class API endpoints and deprecate the agent vendor passthru"},{"line_number":15,"context_line":"interface."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Problem description"}],"source_content_type":"text/x-rst","patch_set":3,"id":"1a122d0e_6b74e59b","line":14,"updated":"2016-04-16 00:02:55.000000000","message":"grammar nit: s/a first/first/","commit_id":"be52650daa25c062845c5375f02692c8ad008076"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"77aeaf8951ce4cfc850b06ec60e67a9beb936049","unresolved":false,"context_lines":[{"line_number":11,"context_line":"https://bugs.launchpad.net/ironic/+bug/1570841"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"This spec suggests making the current agent vendor passthru API\u0027s (lookup and"},{"line_number":14,"context_line":"heartbeat) a first class API endpoints and deprecate the agent vendor passthru"},{"line_number":15,"context_line":"interface."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Problem description"}],"source_content_type":"text/x-rst","patch_set":3,"id":"1a122d0e_b7228050","line":14,"in_reply_to":"1a122d0e_6b74e59b","updated":"2016-04-19 12:45:00.000000000","message":"Done","commit_id":"be52650daa25c062845c5375f02692c8ad008076"},{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"6079259ddf4ea9077c18efb69c31e6d9d4584f94","unresolved":false,"context_lines":[{"line_number":20,"context_line":"The vendor passthru was designed for vendors to place their specific features"},{"line_number":21,"context_line":"before they get wider adoption in Ironic and get promoted to the core API."},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"By in the agent driver these two API endpoints play the critical role in"},{"line_number":24,"context_line":"both deployment and cleaning processes. Thus every driver must mix agent"},{"line_number":25,"context_line":"vendor passthru into its vendor passthru. There was a bug in the drac driver"},{"line_number":26,"context_line":"when it was not done, and the driver did not work with IPA."}],"source_content_type":"text/x-rst","patch_set":3,"id":"1a122d0e_4b792993","line":23,"updated":"2016-04-16 00:02:55.000000000","message":"By being used by the agent driver? Not sure what you\u0027re trying to say here.","commit_id":"be52650daa25c062845c5375f02692c8ad008076"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"9a95a04b7e26c3af87bb934acfe5edcda081b9e0","unresolved":false,"context_lines":[{"line_number":20,"context_line":"The vendor passthru was designed for vendors to place their specific features"},{"line_number":21,"context_line":"before they get wider adoption in Ironic and get promoted to the core API."},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"By in the agent driver these two API endpoints play the critical role in"},{"line_number":24,"context_line":"both deployment and cleaning processes. Thus every driver must mix agent"},{"line_number":25,"context_line":"vendor passthru into its vendor passthru. There was a bug in the drac driver"},{"line_number":26,"context_line":"when it was not done, and the driver did not work with IPA."}],"source_content_type":"text/x-rst","patch_set":3,"id":"1a122d0e_d6f12b6c","line":23,"in_reply_to":"1a122d0e_4b792993","updated":"2016-04-18 15:47:29.000000000","message":"Perhaps \"But in the agent driver\"?\n\nI think this could be more clear if you said \"However, when IPA is used (which is the only ramdisk available), these two API endpoints...\"","commit_id":"be52650daa25c062845c5375f02692c8ad008076"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"77aeaf8951ce4cfc850b06ec60e67a9beb936049","unresolved":false,"context_lines":[{"line_number":20,"context_line":"The vendor passthru was designed for vendors to place their specific features"},{"line_number":21,"context_line":"before they get wider adoption in Ironic and get promoted to the core API."},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"By in the agent driver these two API endpoints play the critical role in"},{"line_number":24,"context_line":"both deployment and cleaning processes. Thus every driver must mix agent"},{"line_number":25,"context_line":"vendor passthru into its vendor passthru. There was a bug in the drac driver"},{"line_number":26,"context_line":"when it was not done, and the driver did not work with IPA."}],"source_content_type":"text/x-rst","patch_set":3,"id":"1a122d0e_971f8407","line":23,"in_reply_to":"1a122d0e_d6f12b6c","updated":"2016-04-19 12:45:00.000000000","message":"Done","commit_id":"be52650daa25c062845c5375f02692c8ad008076"},{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"6079259ddf4ea9077c18efb69c31e6d9d4584f94","unresolved":false,"context_lines":[{"line_number":63,"context_line":"  * ``inventory`` the full inventory as defined by `the IPA documentation"},{"line_number":64,"context_line":"    \u003chttp://docs.openstack.org/developer/ironic-python-agent/#hardware-inventory\u003e`_;"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"  * ``node_uuid`` optional node UUID, if known (e.g. by inspection);"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"  * ``version`` optional inventory version, currently \"2\" for IPA."},{"line_number":69,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"1a122d0e_0b60d1cd","line":66,"updated":"2016-04-16 00:02:55.000000000","message":"Just an aside thought: should we consider passing node-uuid in with ramdisk_opts, so that for anyone !dhcp_provider\u003dNone, we could skip lookup altogether for the agent driver?","commit_id":"be52650daa25c062845c5375f02692c8ad008076"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"9a95a04b7e26c3af87bb934acfe5edcda081b9e0","unresolved":false,"context_lines":[{"line_number":63,"context_line":"  * ``inventory`` the full inventory as defined by `the IPA documentation"},{"line_number":64,"context_line":"    \u003chttp://docs.openstack.org/developer/ironic-python-agent/#hardware-inventory\u003e`_;"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"  * ``node_uuid`` optional node UUID, if known (e.g. by inspection);"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"  * ``version`` optional inventory version, currently \"2\" for IPA."},{"line_number":69,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"1a122d0e_d9295c8b","line":66,"in_reply_to":"1a122d0e_0b60d1cd","updated":"2016-04-18 15:47:29.000000000","message":"++","commit_id":"be52650daa25c062845c5375f02692c8ad008076"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"77aeaf8951ce4cfc850b06ec60e67a9beb936049","unresolved":false,"context_lines":[{"line_number":63,"context_line":"  * ``inventory`` the full inventory as defined by `the IPA documentation"},{"line_number":64,"context_line":"    \u003chttp://docs.openstack.org/developer/ironic-python-agent/#hardware-inventory\u003e`_;"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"  * ``node_uuid`` optional node UUID, if known (e.g. by inspection);"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"  * ``version`` optional inventory version, currently \"2\" for IPA."},{"line_number":69,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"1a122d0e_b7e9e0e8","line":66,"in_reply_to":"1a122d0e_d9295c8b","updated":"2016-04-19 12:45:00.000000000","message":"Yes, but in case of inspection + deployment, we will figure out node UUID during the ramdisk run, so this is still helpful. But yeah, we can do both.","commit_id":"be52650daa25c062845c5375f02692c8ad008076"},{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"6079259ddf4ea9077c18efb69c31e6d9d4584f94","unresolved":false,"context_lines":[{"line_number":67,"context_line":""},{"line_number":68,"context_line":"  * ``version`` optional inventory version, currently \"2\" for IPA."},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"  Response: HTTP 200 with JSON body containing keys:"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"  * ``heartbeat_timeout`` timeout between heart beats from the ramdisk,"},{"line_number":73,"context_line":"    expected by Ironic;"}],"source_content_type":"text/x-rst","patch_set":3,"id":"1a122d0e_8baa21d3","line":70,"updated":"2016-04-16 00:02:55.000000000","message":"IMO we should clean this up, in order to fit in with metrics spec w/r/t sending agent configs:\n\n``config``: set of config options for the agent to configure before heartbeating\n``config.heartbeat_timeout``: timeout between heart beats from the ramdisk, expected by Ironic\n\nThis way we already create the namespace for future pushing of configs via the conductor, i.e. like metrics will be doing.","commit_id":"be52650daa25c062845c5375f02692c8ad008076"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"9a95a04b7e26c3af87bb934acfe5edcda081b9e0","unresolved":false,"context_lines":[{"line_number":67,"context_line":""},{"line_number":68,"context_line":"  * ``version`` optional inventory version, currently \"2\" for IPA."},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"  Response: HTTP 200 with JSON body containing keys:"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"  * ``heartbeat_timeout`` timeout between heart beats from the ramdisk,"},{"line_number":73,"context_line":"    expected by Ironic;"}],"source_content_type":"text/x-rst","patch_set":3,"id":"1a122d0e_b93580db","line":70,"in_reply_to":"1a122d0e_8baa21d3","updated":"2016-04-18 15:47:29.000000000","message":"++","commit_id":"be52650daa25c062845c5375f02692c8ad008076"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"77aeaf8951ce4cfc850b06ec60e67a9beb936049","unresolved":false,"context_lines":[{"line_number":67,"context_line":""},{"line_number":68,"context_line":"  * ``version`` optional inventory version, currently \"2\" for IPA."},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"  Response: HTTP 200 with JSON body containing keys:"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"  * ``heartbeat_timeout`` timeout between heart beats from the ramdisk,"},{"line_number":73,"context_line":"    expected by Ironic;"}],"source_content_type":"text/x-rst","patch_set":3,"id":"1a122d0e_17c1b454","line":70,"in_reply_to":"1a122d0e_b93580db","updated":"2016-04-19 12:45:00.000000000","message":"Done","commit_id":"be52650daa25c062845c5375f02692c8ad008076"},{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"6079259ddf4ea9077c18efb69c31e6d9d4584f94","unresolved":false,"context_lines":[{"line_number":72,"context_line":"  * ``heartbeat_timeout`` timeout between heart beats from the ramdisk,"},{"line_number":73,"context_line":"    expected by Ironic;"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"  * ``node`` full node representation as a JSON object."},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"  Error codes:"},{"line_number":78,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"1a122d0e_ebaf55e1","line":75,"updated":"2016-04-16 00:02:55.000000000","message":"Given this endpoint is unauthenticated, I think we should consider (at least optionally) sending a node object sanitized of secrets, such as driver_info[\u0027ipmi_password\u0027].","commit_id":"be52650daa25c062845c5375f02692c8ad008076"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"77aeaf8951ce4cfc850b06ec60e67a9beb936049","unresolved":false,"context_lines":[{"line_number":72,"context_line":"  * ``heartbeat_timeout`` timeout between heart beats from the ramdisk,"},{"line_number":73,"context_line":"    expected by Ironic;"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"  * ``node`` full node representation as a JSON object."},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"  Error codes:"},{"line_number":78,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"1a122d0e_779d8809","line":75,"in_reply_to":"1a122d0e_d9779c9d","updated":"2016-04-19 12:45:00.000000000","message":"Done","commit_id":"be52650daa25c062845c5375f02692c8ad008076"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"9a95a04b7e26c3af87bb934acfe5edcda081b9e0","unresolved":false,"context_lines":[{"line_number":72,"context_line":"  * ``heartbeat_timeout`` timeout between heart beats from the ramdisk,"},{"line_number":73,"context_line":"    expected by Ironic;"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"  * ``node`` full node representation as a JSON object."},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"  Error codes:"},{"line_number":78,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"1a122d0e_d9779c9d","line":75,"in_reply_to":"1a122d0e_ebaf55e1","updated":"2016-04-18 15:47:29.000000000","message":"Well, I think we already do this (downside is that this is configurable by policy).\n\nMaybe we should look at IPA and see which bits of the node object are needed, and only send those.","commit_id":"be52650daa25c062845c5375f02692c8ad008076"},{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"6079259ddf4ea9077c18efb69c31e6d9d4584f94","unresolved":false,"context_lines":[{"line_number":74,"context_line":""},{"line_number":75,"context_line":"  * ``node`` full node representation as a JSON object."},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"  Error codes:"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"  * 400 - bad request,"},{"line_number":80,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"1a122d0e_cbac19f0","line":77,"updated":"2016-04-16 00:02:55.000000000","message":"This could also send a 409, couldn\u0027t it?","commit_id":"be52650daa25c062845c5375f02692c8ad008076"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"77aeaf8951ce4cfc850b06ec60e67a9beb936049","unresolved":false,"context_lines":[{"line_number":74,"context_line":""},{"line_number":75,"context_line":"  * ``node`` full node representation as a JSON object."},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"  Error codes:"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"  * 400 - bad request,"},{"line_number":80,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"1a122d0e_d701fc07","line":77,"in_reply_to":"1a122d0e_59642ce4","updated":"2016-04-19 12:45:00.000000000","message":"Done","commit_id":"be52650daa25c062845c5375f02692c8ad008076"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"9a95a04b7e26c3af87bb934acfe5edcda081b9e0","unresolved":false,"context_lines":[{"line_number":74,"context_line":""},{"line_number":75,"context_line":"  * ``node`` full node representation as a JSON object."},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"  Error codes:"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"  * 400 - bad request,"},{"line_number":80,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"1a122d0e_59642ce4","line":77,"in_reply_to":"1a122d0e_cbac19f0","updated":"2016-04-18 15:47:29.000000000","message":"Fairly certain lookup never raises 409, but heartbeat does.","commit_id":"be52650daa25c062845c5375f02692c8ad008076"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"9a95a04b7e26c3af87bb934acfe5edcda081b9e0","unresolved":false,"context_lines":[{"line_number":96,"context_line":""},{"line_number":97,"context_line":"  * 400 - bad request,"},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"  * 404 - a node was not found."},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"A new API version will be introduced to cover both endpoints."},{"line_number":102,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"1a122d0e_b963c0db","line":99,"updated":"2016-04-18 15:47:29.000000000","message":"Needs a 409 here.","commit_id":"be52650daa25c062845c5375f02692c8ad008076"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"77aeaf8951ce4cfc850b06ec60e67a9beb936049","unresolved":false,"context_lines":[{"line_number":96,"context_line":""},{"line_number":97,"context_line":"  * 400 - bad request,"},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"  * 404 - a node was not found."},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"A new API version will be introduced to cover both endpoints."},{"line_number":102,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"1a122d0e_b24d6e40","line":99,"in_reply_to":"1a122d0e_b963c0db","updated":"2016-04-19 12:45:00.000000000","message":"Done","commit_id":"be52650daa25c062845c5375f02692c8ad008076"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"9a95a04b7e26c3af87bb934acfe5edcda081b9e0","unresolved":false,"context_lines":[{"line_number":230,"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":231,"context_line":""},{"line_number":232,"context_line":"The ``BaseAgentVendor`` class will be deprecated, but stay for some time,"},{"line_number":233,"context_line":"following the usual deprecation policy."},{"line_number":234,"context_line":""},{"line_number":235,"context_line":"The IPA image will try to hit the new endpoints first, and will fall back"},{"line_number":236,"context_line":"to the old ones on getting HTTP 406 Not Acceptable (meaning, the API version"}],"source_content_type":"text/x-rst","patch_set":3,"id":"1a122d0e_f9d37836","line":233,"updated":"2016-04-18 15:47:29.000000000","message":"Do we want to leave this for an extra cycle, remove it at the beginning of P?","commit_id":"be52650daa25c062845c5375f02692c8ad008076"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"77aeaf8951ce4cfc850b06ec60e67a9beb936049","unresolved":false,"context_lines":[{"line_number":230,"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":231,"context_line":""},{"line_number":232,"context_line":"The ``BaseAgentVendor`` class will be deprecated, but stay for some time,"},{"line_number":233,"context_line":"following the usual deprecation policy."},{"line_number":234,"context_line":""},{"line_number":235,"context_line":"The IPA image will try to hit the new endpoints first, and will fall back"},{"line_number":236,"context_line":"to the old ones on getting HTTP 406 Not Acceptable (meaning, the API version"}],"source_content_type":"text/x-rst","patch_set":3,"id":"1a122d0e_d2674ab5","line":233,"in_reply_to":"1a122d0e_f9d37836","updated":"2016-04-19 12:45:00.000000000","message":"I\u0027m not sure, why would we?\n\nOr we can make it empty in O, then remove completely in P.","commit_id":"be52650daa25c062845c5375f02692c8ad008076"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"1a3ef84e1eee04ae5ef51e829f7c5773b6a024ab","unresolved":false,"context_lines":[{"line_number":55,"context_line":""},{"line_number":56,"context_line":"Two new endpoints are added. Both endpoints are **NOT** authenticated."},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"* ``POST /v1/nodes/lookup``"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"  Look up node details for further use in the ramdisk."},{"line_number":61,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"1a122d0e_915ab4f0","line":58,"updated":"2016-04-20 12:12:04.000000000","message":"Looks like you missing driver, should be ``POST /v1/nodes/lookup/\u003cdriver_name\u003e``, request should be routed to proper driver.","commit_id":"4c96ac0257c3e5094aaea380891f963a69d50631"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"c8888f3d1f664432f9a1592c24a9f4eaed95647e","unresolved":false,"context_lines":[{"line_number":55,"context_line":""},{"line_number":56,"context_line":"Two new endpoints are added. Both endpoints are **NOT** authenticated."},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"* ``POST /v1/nodes/lookup``"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"  Look up node details for further use in the ramdisk."},{"line_number":61,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"1a122d0e_913d94df","line":58,"in_reply_to":"1a122d0e_9100f467","updated":"2016-04-20 12:21:48.000000000","message":"Why do we need a driver here?","commit_id":"4c96ac0257c3e5094aaea380891f963a69d50631"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"5815d7883da28a758bac36ebb4104a30c2a6b13b","unresolved":false,"context_lines":[{"line_number":55,"context_line":""},{"line_number":56,"context_line":"Two new endpoints are added. Both endpoints are **NOT** authenticated."},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"* ``POST /v1/nodes/lookup``"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"  Look up node details for further use in the ramdisk."},{"line_number":61,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"1a122d0e_f444b64a","line":58,"in_reply_to":"1a122d0e_913d94df","updated":"2016-04-20 12:22:48.000000000","message":"Hmm, yeah, it\u0027s driver-specific. not sure if I like it or not, but will update.","commit_id":"4c96ac0257c3e5094aaea380891f963a69d50631"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"70b0b90d5db33e33533743e4f1ca920e58396471","unresolved":false,"context_lines":[{"line_number":55,"context_line":""},{"line_number":56,"context_line":"Two new endpoints are added. Both endpoints are **NOT** authenticated."},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"* ``POST /v1/nodes/lookup``"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"  Look up node details for further use in the ramdisk."},{"line_number":61,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"1a122d0e_9100f467","line":58,"in_reply_to":"1a122d0e_915ab4f0","updated":"2016-04-20 12:15:26.000000000","message":"Or ``POST /v1/drivers/lookup/\u003cdriver_name\u003e``","commit_id":"4c96ac0257c3e5094aaea380891f963a69d50631"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"1a3ef84e1eee04ae5ef51e829f7c5773b6a024ab","unresolved":false,"context_lines":[{"line_number":61,"context_line":""},{"line_number":62,"context_line":"  Body is a JSON with fields:"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"  * ``inventory`` the full inventory as defined by `the IPA documentation"},{"line_number":65,"context_line":"    \u003chttp://docs.openstack.org/developer/ironic-python-agent/#hardware-inventory\u003e`_;"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"  * ``node_uuid`` optional node UUID, if known (e.g. by inspection);"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1a122d0e_cb759dcb","line":64,"updated":"2016-04-20 12:12:04.000000000","message":"One suggestions: we should allow vendors to extend inventory. But different vendors can have different inventories. What about to make inventory version mandatory and use numeric for IPA?","commit_id":"4c96ac0257c3e5094aaea380891f963a69d50631"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"c8888f3d1f664432f9a1592c24a9f4eaed95647e","unresolved":false,"context_lines":[{"line_number":61,"context_line":""},{"line_number":62,"context_line":"  Body is a JSON with fields:"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"  * ``inventory`` the full inventory as defined by `the IPA documentation"},{"line_number":65,"context_line":"    \u003chttp://docs.openstack.org/developer/ironic-python-agent/#hardware-inventory\u003e`_;"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"  * ``node_uuid`` optional node UUID, if known (e.g. by inspection);"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1a122d0e_d10a6c25","line":64,"in_reply_to":"1a122d0e_cb759dcb","updated":"2016-04-20 12:21:48.000000000","message":"How will it help in your case? If we don\u0027t understand vendor\u0027s inventory, we would not understand the version","commit_id":"4c96ac0257c3e5094aaea380891f963a69d50631"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"1a3ef84e1eee04ae5ef51e829f7c5773b6a024ab","unresolved":false,"context_lines":[{"line_number":74,"context_line":"    to the ramdisk. For the IPA ramdisk only one is currently used:"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"    * ``heartbeat_timeout`` timeout between heart beats from the ramdisk,"},{"line_number":77,"context_line":"      expected by Ironic;"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"  * ``node`` partial node representation as a JSON object, with the following"},{"line_number":80,"context_line":"    fields sent:"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1a122d0e_0e67a3b7","line":77,"updated":"2016-04-20 12:12:04.000000000","message":"In seconds? Probably someone will want one-shot (until success) callback like bash ramdisk did. What value should be here for this case?","commit_id":"4c96ac0257c3e5094aaea380891f963a69d50631"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"c8888f3d1f664432f9a1592c24a9f4eaed95647e","unresolved":false,"context_lines":[{"line_number":74,"context_line":"    to the ramdisk. For the IPA ramdisk only one is currently used:"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"    * ``heartbeat_timeout`` timeout between heart beats from the ramdisk,"},{"line_number":77,"context_line":"      expected by Ironic;"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"  * ``node`` partial node representation as a JSON object, with the following"},{"line_number":80,"context_line":"    fields sent:"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1a122d0e_b4087e29","line":77,"in_reply_to":"1a122d0e_0e67a3b7","updated":"2016-04-20 12:21:48.000000000","message":"We don\u0027t support such case now, so it\u0027s a bit beyond this spec","commit_id":"4c96ac0257c3e5094aaea380891f963a69d50631"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"fcce0b27fa202ad73c0911a838d2600d0ba1a8f4","unresolved":false,"context_lines":[{"line_number":46,"context_line":"* Make the lookup call driver-dependent (as the passthru used to be)."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"  This looks like unnecessary complication (e.g. we have to pass a driver to"},{"line_number":49,"context_line":"  IPA from the conductor nowadays)."},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"Data model impact"},{"line_number":52,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1a122d0e_00ce4c62","line":49,"updated":"2016-04-20 13:37:00.000000000","message":"++ there\u0027s no way to know the driver in IPA, we kind of just fake it on the ironic side today.\n\nThis also means we don\u0027t need to RPC back to the conductor, which is a huge win.","commit_id":"4067057c24aa46e95b3a1b076ffebf76a805eeed"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"fcce0b27fa202ad73c0911a838d2600d0ba1a8f4","unresolved":false,"context_lines":[{"line_number":80,"context_line":""},{"line_number":81,"context_line":"    * ``heartbeat_timeout`` timeout (in seconds) between heart beats from"},{"line_number":82,"context_line":"      the ramdisk, expected by Ironic (optional for drivers not using heart"},{"line_number":83,"context_line":"      beating);"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"  * ``node`` partial node representation as a JSON object, with the following"},{"line_number":86,"context_line":"    fields sent:"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1a122d0e_e03d102c","line":83,"updated":"2016-04-20 13:37:00.000000000","message":"Well, it isn\u0027t optional in IPA today - if you plan to make this optional can you add some words about how you\u0027re going to make this optional?\n\n(I\u0027d prefer it just be mandatory, honestly.)","commit_id":"4067057c24aa46e95b3a1b076ffebf76a805eeed"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"eee9533654a66c60abd9f922fdb3edf38d780d23","unresolved":false,"context_lines":[{"line_number":69,"context_line":""},{"line_number":70,"context_line":"  Body is a JSON with fields:"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"  * ``macs`` list of MAC addresses from the node for lookup;"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"  * ``node_uuid`` optional node UUID, if known (e.g. by inspection)."},{"line_number":75,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a122d0e_d4b5357e","line":72,"updated":"2016-04-20 13:50:35.000000000","message":"Can we call it addresses (or port_addresses to be more specific). We see things like infiniband being proposed [0] which uses GUIDs, so, calling it addresses will match what is in the port object and also will be more generic.\n\n[0] https://review.openstack.org/#/c/265635/5/specs/approved/add-infiniband-support.rst","commit_id":"5905d8fd17ac416aea5148aa4a1f372cf4ab14b2"},{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"7f2567add0d2488a2372316ab2def164e907290e","unresolved":false,"context_lines":[{"line_number":20,"context_line":"The vendor passthru was designed for vendors to place their specific features"},{"line_number":21,"context_line":"before they get wider adoption in Ironic and get promoted to the core API."},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"However, when IPA is used (which is the only ramdisk available), these two API"},{"line_number":24,"context_line":"endpoints play the critical role in both deployment and cleaning processes."},{"line_number":25,"context_line":"Thus every driver must mix agent vendor passthru into its vendor passthru."},{"line_number":26,"context_line":"There was a bug in the drac driver when it was not done, and the driver"}],"source_content_type":"text/x-rst","patch_set":7,"id":"1a122d0e_7d435d6c","line":23,"updated":"2016-04-20 15:44:57.000000000","message":"no - it\u0027s the only one in tree right now. we have proposals for others (eg, ansible driver)","commit_id":"c18d484411effa7212a748b5540b8ce1f340e3c2"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"926ffc6c5e6b47949dfa7a49293350da59394b80","unresolved":false,"context_lines":[{"line_number":20,"context_line":"The vendor passthru was designed for vendors to place their specific features"},{"line_number":21,"context_line":"before they get wider adoption in Ironic and get promoted to the core API."},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"However, when IPA is used (which is the only ramdisk available), these two API"},{"line_number":24,"context_line":"endpoints play the critical role in both deployment and cleaning processes."},{"line_number":25,"context_line":"Thus every driver must mix agent vendor passthru into its vendor passthru."},{"line_number":26,"context_line":"There was a bug in the drac driver when it was not done, and the driver"}],"source_content_type":"text/x-rst","patch_set":7,"id":"1a122d0e_e04fc631","line":23,"in_reply_to":"1a122d0e_7d435d6c","updated":"2016-04-20 15:49:13.000000000","message":"bad wording, but does not change the essence.","commit_id":"c18d484411effa7212a748b5540b8ce1f340e3c2"},{"author":{"_account_id":5805,"name":"Chris Krelle","email":"nobodycam@gmail.com","username":"nobodycam"},"change_message_id":"f00e00b12a2a67bdf94cfd50d7f798b215cdfc0a","unresolved":false,"context_lines":[{"line_number":26,"context_line":"There was a bug in the drac driver when it was not done, and the driver"},{"line_number":27,"context_line":"did not work with IPA."},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"This proposal also tries to minimize the amount of data sent to and from"},{"line_number":30,"context_line":"unauthenticated endpoints."},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"Proposed change"},{"line_number":33,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":7,"id":"1a122d0e_80c9b2ae","line":30,"range":{"start_line":29,"start_character":0,"end_line":30,"end_character":26},"updated":"2016-04-20 15:49:15.000000000","message":"Just noting below its stated that the new endpoints are **NOT** authenticated. so I don\u0027t think anything is changing here.","commit_id":"c18d484411effa7212a748b5540b8ce1f340e3c2"},{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"7f2567add0d2488a2372316ab2def164e907290e","unresolved":false,"context_lines":[{"line_number":35,"context_line":"* Create new API endpoints for lookup and heartbeat - see `REST API impact`_"},{"line_number":36,"context_line":"  for details."},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"* Extend the deploy interface with a heartbeat method - see"},{"line_number":39,"context_line":"  `Driver API impact`_ for details."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":7,"id":"1a122d0e_dd00b104","line":38,"updated":"2016-04-20 15:44:57.000000000","message":"what about any out-of-tree deploy drivers that do not implement a heartbeat method? Or newly proposed ones that have no need for this method?","commit_id":"c18d484411effa7212a748b5540b8ce1f340e3c2"},{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"18a22a218b44644d1df26a48e67ddfe4a84669cc","unresolved":false,"context_lines":[{"line_number":35,"context_line":"* Create new API endpoints for lookup and heartbeat - see `REST API impact`_"},{"line_number":36,"context_line":"  for details."},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"* Extend the deploy interface with a heartbeat method - see"},{"line_number":39,"context_line":"  `Driver API impact`_ for details."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":7,"id":"1a122d0e_a05cae4b","line":38,"in_reply_to":"1a122d0e_200b7ed7","updated":"2016-04-20 16:48:40.000000000","message":"A core interface must have all its methods implemented. \n\nIf a Deploy driver does not implement this method, a user calling this endpoint on Node A will receive a heartbeat, but on Node B will receive a 500 error.\n\nThat\u0027s ... not great.","commit_id":"c18d484411effa7212a748b5540b8ce1f340e3c2"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"1155d058244621447cfc6afcf28d31e169d5ee23","unresolved":false,"context_lines":[{"line_number":35,"context_line":"* Create new API endpoints for lookup and heartbeat - see `REST API impact`_"},{"line_number":36,"context_line":"  for details."},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"* Extend the deploy interface with a heartbeat method - see"},{"line_number":39,"context_line":"  `Driver API impact`_ for details."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":7,"id":"1a122d0e_ba7a0e22","line":38,"in_reply_to":"1a122d0e_a05cae4b","updated":"2016-04-20 19:29:36.000000000","message":"A user is not supposed to call this endpoint, but yeah. I\u0027ll change it to logging a warning as suggested below.","commit_id":"c18d484411effa7212a748b5540b8ce1f340e3c2"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"926ffc6c5e6b47949dfa7a49293350da59394b80","unresolved":false,"context_lines":[{"line_number":35,"context_line":"* Create new API endpoints for lookup and heartbeat - see `REST API impact`_"},{"line_number":36,"context_line":"  for details."},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"* Extend the deploy interface with a heartbeat method - see"},{"line_number":39,"context_line":"  `Driver API impact`_ for details."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":7,"id":"1a122d0e_200b7ed7","line":38,"in_reply_to":"1a122d0e_dd00b104","updated":"2016-04-20 15:49:13.000000000","message":"Do nothing. This method is not abstract, so people are free to ignore it","commit_id":"c18d484411effa7212a748b5540b8ce1f340e3c2"},{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"7f2567add0d2488a2372316ab2def164e907290e","unresolved":false,"context_lines":[{"line_number":63,"context_line":""},{"line_number":64,"context_line":"Two new endpoints are added. Both endpoints are **NOT** authenticated."},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"* ``POST /v1/nodes/lookup``"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"  Look up node details for further use in the ramdisk."},{"line_number":69,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"1a122d0e_40503a0b","line":66,"updated":"2016-04-20 15:44:57.000000000","message":"\"lookup\" could be a Node name. This endpoint conflicts with that and violates REST principles","commit_id":"c18d484411effa7212a748b5540b8ce1f340e3c2"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"d2984bc1a6973c9c6383c9d137998a16c8e2ce39","unresolved":false,"context_lines":[{"line_number":63,"context_line":""},{"line_number":64,"context_line":"Two new endpoints are added. Both endpoints are **NOT** authenticated."},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"* ``POST /v1/nodes/lookup``"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"  Look up node details for further use in the ramdisk."},{"line_number":69,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"1a122d0e_e0c22652","line":66,"in_reply_to":"1a122d0e_40503a0b","updated":"2016-04-20 15:57:11.000000000","message":"Oh this is a great catch! +1","commit_id":"c18d484411effa7212a748b5540b8ce1f340e3c2"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"926ffc6c5e6b47949dfa7a49293350da59394b80","unresolved":false,"context_lines":[{"line_number":63,"context_line":""},{"line_number":64,"context_line":"Two new endpoints are added. Both endpoints are **NOT** authenticated."},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"* ``POST /v1/nodes/lookup``"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"  Look up node details for further use in the ramdisk."},{"line_number":69,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"1a122d0e_6011f603","line":66,"in_reply_to":"1a122d0e_40503a0b","updated":"2016-04-20 15:49:13.000000000","message":"good catch. any suggestions?","commit_id":"c18d484411effa7212a748b5540b8ce1f340e3c2"},{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"18a22a218b44644d1df26a48e67ddfe4a84669cc","unresolved":false,"context_lines":[{"line_number":63,"context_line":""},{"line_number":64,"context_line":"Two new endpoints are added. Both endpoints are **NOT** authenticated."},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"* ``POST /v1/nodes/lookup``"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"  Look up node details for further use in the ramdisk."},{"line_number":69,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"1a122d0e_d1eb7ada","line":66,"in_reply_to":"1a122d0e_6011f603","updated":"2016-04-20 16:48:40.000000000","message":"POST /v1/lookup {search_term: XXX}\n\nSince we\u0027re adding a new endpoint, why does this need to use the POST verb? Could we do:\n\nGET /v1/nodes?search_term\u003dXXX","commit_id":"c18d484411effa7212a748b5540b8ce1f340e3c2"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"1155d058244621447cfc6afcf28d31e169d5ee23","unresolved":false,"context_lines":[{"line_number":63,"context_line":""},{"line_number":64,"context_line":"Two new endpoints are added. Both endpoints are **NOT** authenticated."},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"* ``POST /v1/nodes/lookup``"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"  Look up node details for further use in the ramdisk."},{"line_number":69,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"1a122d0e_bac84e56","line":66,"in_reply_to":"1a122d0e_d1eb7ada","updated":"2016-04-20 19:29:36.000000000","message":"\u003e POST /v1/lookup {search_term: XXX}\n\n\u003e GET /v1/nodes?search_term\u003dXXX\n\nThis endpoint is authenticated, I\u0027d prefer we don\u0027t make it conditionally non-authenticated. What about:\n\n GET /v1/lookup?addresses\u003dmac1,mac2\n\n?","commit_id":"c18d484411effa7212a748b5540b8ce1f340e3c2"},{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"7f2567add0d2488a2372316ab2def164e907290e","unresolved":false,"context_lines":[{"line_number":98,"context_line":""},{"line_number":99,"context_line":"  * 404 - a node was not found."},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"* ``POST /v1/nodes/\u003cUUID\u003e/heartbeat``"},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"  Record a heart beat message from the ramdisk."},{"line_number":104,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"1a122d0e_bd57b556","line":101,"updated":"2016-04-20 15:44:57.000000000","message":"this violates REST principles. \"heartbeat\" is not a member of the nodes/\u003cUUID\u003e/ resource, and is not returned from a call to \"GET /v1/nodes/\u003cUUID/\" so therefor is not discoverable","commit_id":"c18d484411effa7212a748b5540b8ce1f340e3c2"},{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"18a22a218b44644d1df26a48e67ddfe4a84669cc","unresolved":false,"context_lines":[{"line_number":98,"context_line":""},{"line_number":99,"context_line":"  * 404 - a node was not found."},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"* ``POST /v1/nodes/\u003cUUID\u003e/heartbeat``"},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"  Record a heart beat message from the ramdisk."},{"line_number":104,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"1a122d0e_b1e07e2a","line":101,"in_reply_to":"1a122d0e_009f625f","updated":"2016-04-20 16:48:40.000000000","message":"Yes, our API has flaws. I\u0027m pointing out that this is a significant one and we shouldn\u0027t introduce it.\n\nThis spec does not describe a way to discover this new endpoint. Compare to the /v1/nodes/\u003cUUID\u003e/states endpoint, for which href\u0027s are returned on the response to \u0027GET /v1/nodes/\u003cUUID\u003e\u0027\n\nWhat about the following endpoint:\n\nPOST /v1/heartbeat?node\u003dXXX\u0026param\u003dYYY\u0026other_param\u003dZZZ","commit_id":"c18d484411effa7212a748b5540b8ce1f340e3c2"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"1155d058244621447cfc6afcf28d31e169d5ee23","unresolved":false,"context_lines":[{"line_number":98,"context_line":""},{"line_number":99,"context_line":"  * 404 - a node was not found."},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"* ``POST /v1/nodes/\u003cUUID\u003e/heartbeat``"},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"  Record a heart beat message from the ramdisk."},{"line_number":104,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"1a122d0e_fabe46ac","line":101,"in_reply_to":"1a122d0e_b1e07e2a","updated":"2016-04-20 19:29:36.000000000","message":"It\u0027s even less restful, otherwise I\u0027m fine with it :)","commit_id":"c18d484411effa7212a748b5540b8ce1f340e3c2"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"926ffc6c5e6b47949dfa7a49293350da59394b80","unresolved":false,"context_lines":[{"line_number":98,"context_line":""},{"line_number":99,"context_line":"  * 404 - a node was not found."},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"* ``POST /v1/nodes/\u003cUUID\u003e/heartbeat``"},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"  Record a heart beat message from the ramdisk."},{"line_number":104,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"1a122d0e_009f625f","line":101,"in_reply_to":"1a122d0e_bd57b556","updated":"2016-04-20 15:49:13.000000000","message":"I\u0027m not buying the \"violates REST\", as nearly everything meaningful violates REST. anyway, any suggestions here as well?","commit_id":"c18d484411effa7212a748b5540b8ce1f340e3c2"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"33e37a0cc46b11f0365452edf99647b1a3fcf252","unresolved":false,"context_lines":[{"line_number":98,"context_line":""},{"line_number":99,"context_line":"  * 404 - a node was not found."},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"* ``POST /v1/nodes/\u003cUUID\u003e/heartbeat``"},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"  Record a heart beat message from the ramdisk."},{"line_number":104,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"1a122d0e_0d6db2cb","line":101,"in_reply_to":"1a122d0e_fabe46ac","updated":"2016-04-21 10:07:34.000000000","message":"I\u0027m going to go with PUT /v1/heartbeat/\u003cUUID\u003e: 1. PUT because heartbeats are essentially idempotent; 2. include UUID in URL for more \"restfullness\".","commit_id":"c18d484411effa7212a748b5540b8ce1f340e3c2"},{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"18a22a218b44644d1df26a48e67ddfe4a84669cc","unresolved":false,"context_lines":[{"line_number":114,"context_line":""},{"line_number":115,"context_line":"  * 400 - bad request,"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"  * 404 - a node was not found,"},{"line_number":118,"context_line":""},{"line_number":119,"context_line":"  * 409 - node is locked (should be retried by the ramdisk)."},{"line_number":120,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"1a122d0e_51d3ead4","line":117,"updated":"2016-04-20 16:48:40.000000000","message":"this lookup will need to happen in the API tier, before RPC message has been routed to a conductor.\n\nTherefore there is a small concern.","commit_id":"c18d484411effa7212a748b5540b8ce1f340e3c2"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"1155d058244621447cfc6afcf28d31e169d5ee23","unresolved":false,"context_lines":[{"line_number":114,"context_line":""},{"line_number":115,"context_line":"  * 400 - bad request,"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"  * 404 - a node was not found,"},{"line_number":118,"context_line":""},{"line_number":119,"context_line":"  * 409 - node is locked (should be retried by the ramdisk)."},{"line_number":120,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"1a122d0e_7ae996b6","line":117,"in_reply_to":"1a122d0e_51d3ead4","updated":"2016-04-20 19:29:36.000000000","message":"Sorry, I don\u0027t quite get this comment. What concern are you referring to?","commit_id":"c18d484411effa7212a748b5540b8ce1f340e3c2"},{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"7f2567add0d2488a2372316ab2def164e907290e","unresolved":false,"context_lines":[{"line_number":123,"context_line":"Client (CLI) impact"},{"line_number":124,"context_line":"-------------------"},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"\"ironic\" CLI"},{"line_number":127,"context_line":"~~~~~~~~~~~~"},{"line_number":128,"context_line":""},{"line_number":129,"context_line":"None"}],"source_content_type":"text/x-rst","patch_set":7,"id":"1a122d0e_bdde95da","line":126,"updated":"2016-04-20 15:44:57.000000000","message":"why would we not add this to the CLI ?","commit_id":"c18d484411effa7212a748b5540b8ce1f340e3c2"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"1155d058244621447cfc6afcf28d31e169d5ee23","unresolved":false,"context_lines":[{"line_number":123,"context_line":"Client (CLI) impact"},{"line_number":124,"context_line":"-------------------"},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"\"ironic\" CLI"},{"line_number":127,"context_line":"~~~~~~~~~~~~"},{"line_number":128,"context_line":""},{"line_number":129,"context_line":"None"}],"source_content_type":"text/x-rst","patch_set":7,"id":"1a122d0e_9afd9270","line":126,"in_reply_to":"1a122d0e_31b90ecd","updated":"2016-04-20 19:29:36.000000000","message":"Ok, will suggest adding it to the lib, but not to the CLI (at least not before someone comes up with a sane use case)","commit_id":"c18d484411effa7212a748b5540b8ce1f340e3c2"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"d2984bc1a6973c9c6383c9d137998a16c8e2ce39","unresolved":false,"context_lines":[{"line_number":123,"context_line":"Client (CLI) impact"},{"line_number":124,"context_line":"-------------------"},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"\"ironic\" CLI"},{"line_number":127,"context_line":"~~~~~~~~~~~~"},{"line_number":128,"context_line":""},{"line_number":129,"context_line":"None"}],"source_content_type":"text/x-rst","patch_set":7,"id":"1a122d0e_e317d042","line":126,"in_reply_to":"1a122d0e_40bddad6","updated":"2016-04-20 15:57:11.000000000","message":"Interesting, that made me start thinking about it.... I don\u0027t have a use case in mind for this, but one thing is certain, since the previous methods were part of the [driver_]passthru they could be invoked via the ironic CLI.\n\nBut that said, we do not offer backward compatibility on vendor passthru methods. So I\u0027m indifferent, +0","commit_id":"c18d484411effa7212a748b5540b8ce1f340e3c2"},{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"18a22a218b44644d1df26a48e67ddfe4a84669cc","unresolved":false,"context_lines":[{"line_number":123,"context_line":"Client (CLI) impact"},{"line_number":124,"context_line":"-------------------"},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"\"ironic\" CLI"},{"line_number":127,"context_line":"~~~~~~~~~~~~"},{"line_number":128,"context_line":""},{"line_number":129,"context_line":"None"}],"source_content_type":"text/x-rst","patch_set":7,"id":"1a122d0e_31b90ecd","line":126,"in_reply_to":"1a122d0e_40bddad6","updated":"2016-04-20 16:48:40.000000000","message":"Someone writing a ramdisk in bash (oh wait, that\u0027s a terrible idea)\n\nActually, I don\u0027t think it\u0027s a good idea, but I think we should add support to the python client library, and then, if it\u0027s not in the CLI, we should call out why it\u0027s not being done. Last time I put a feature in the REST API and not in the CLI, some folks added later when they discovered it in the docs.","commit_id":"c18d484411effa7212a748b5540b8ce1f340e3c2"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"926ffc6c5e6b47949dfa7a49293350da59394b80","unresolved":false,"context_lines":[{"line_number":123,"context_line":"Client (CLI) impact"},{"line_number":124,"context_line":"-------------------"},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"\"ironic\" CLI"},{"line_number":127,"context_line":"~~~~~~~~~~~~"},{"line_number":128,"context_line":""},{"line_number":129,"context_line":"None"}],"source_content_type":"text/x-rst","patch_set":7,"id":"1a122d0e_40bddad6","line":126,"in_reply_to":"1a122d0e_bdde95da","updated":"2016-04-20 15:49:13.000000000","message":"Why would we do that? What\u0027s the use case?","commit_id":"c18d484411effa7212a748b5540b8ce1f340e3c2"},{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"18a22a218b44644d1df26a48e67ddfe4a84669cc","unresolved":false,"context_lines":[{"line_number":153,"context_line":"        :param callback_url: a URL to use to call to the ramdisk"},{"line_number":154,"context_line":"        :return: nothing"},{"line_number":155,"context_line":"        \"\"\""},{"line_number":156,"context_line":"        raise NotImplementedError()"},{"line_number":157,"context_line":""},{"line_number":158,"context_line":"The heartbeat method from ``BaseAgentVendor`` will be refactored to a separate"},{"line_number":159,"context_line":"mix-in class for reusing in both ``AgentDeploy`` and ``BaseAgentVendor``."}],"source_content_type":"text/x-rst","patch_set":7,"id":"1a122d0e_b1299ee8","line":156,"updated":"2016-04-20 16:48:40.000000000","message":"Rather than raising not implemented error for an async call that would, by default, merely generate exceptions in log files that never get percolated up to the API (because it\u0027s async).... I think the default behaviour should be \n\nLOG.debug(\"heartbeat received from NODE but driver does not support heartbeats\")","commit_id":"c18d484411effa7212a748b5540b8ce1f340e3c2"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"1155d058244621447cfc6afcf28d31e169d5ee23","unresolved":false,"context_lines":[{"line_number":153,"context_line":"        :param callback_url: a URL to use to call to the ramdisk"},{"line_number":154,"context_line":"        :return: nothing"},{"line_number":155,"context_line":"        \"\"\""},{"line_number":156,"context_line":"        raise NotImplementedError()"},{"line_number":157,"context_line":""},{"line_number":158,"context_line":"The heartbeat method from ``BaseAgentVendor`` will be refactored to a separate"},{"line_number":159,"context_line":"mix-in class for reusing in both ``AgentDeploy`` and ``BaseAgentVendor``."}],"source_content_type":"text/x-rst","patch_set":7,"id":"1a122d0e_7a007666","line":156,"in_reply_to":"1a122d0e_b1299ee8","updated":"2016-04-20 19:29:36.000000000","message":"Done","commit_id":"c18d484411effa7212a748b5540b8ce1f340e3c2"},{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"18a22a218b44644d1df26a48e67ddfe4a84669cc","unresolved":false,"context_lines":[{"line_number":170,"context_line":"Security impact"},{"line_number":171,"context_line":"---------------"},{"line_number":172,"context_line":""},{"line_number":173,"context_line":"None"},{"line_number":174,"context_line":""},{"line_number":175,"context_line":"Other end user impact"},{"line_number":176,"context_line":"---------------------"}],"source_content_type":"text/x-rst","patch_set":7,"id":"1a122d0e_3163ce43","line":173,"updated":"2016-04-20 16:48:40.000000000","message":"new unauthenticated endpoints allow unauthenticated users to discover node names and properties in the general case, rather than in the driver-specific case","commit_id":"c18d484411effa7212a748b5540b8ce1f340e3c2"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"1155d058244621447cfc6afcf28d31e169d5ee23","unresolved":false,"context_lines":[{"line_number":170,"context_line":"Security impact"},{"line_number":171,"context_line":"---------------"},{"line_number":172,"context_line":""},{"line_number":173,"context_line":"None"},{"line_number":174,"context_line":""},{"line_number":175,"context_line":"Other end user impact"},{"line_number":176,"context_line":"---------------------"}],"source_content_type":"text/x-rst","patch_set":7,"id":"1a122d0e_faec86bc","line":173,"in_reply_to":"1a122d0e_3163ce43","updated":"2016-04-20 19:29:36.000000000","message":"Fair. On the other hand, we reduce amount of data sent this way.\n\nWill update.","commit_id":"c18d484411effa7212a748b5540b8ce1f340e3c2"},{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"7f2567add0d2488a2372316ab2def164e907290e","unresolved":false,"context_lines":[{"line_number":236,"context_line":""},{"line_number":237,"context_line":"The IPA image will try to hit the new endpoints first, and will fall back"},{"line_number":238,"context_line":"to the old ones on getting HTTP 406 Not Acceptable (meaning, the API version"},{"line_number":239,"context_line":"is not supported)."},{"line_number":240,"context_line":""},{"line_number":241,"context_line":"Documentation Impact"},{"line_number":242,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":7,"id":"1a122d0e_c0e0ca2b","line":239,"updated":"2016-04-20 15:44:57.000000000","message":"We will need upgrade notes instructing people to upgrade IPA first.\n\nOr we will need Ironic to continue supporting the old REST endpoint to retain compatibility with existing IPA images.","commit_id":"c18d484411effa7212a748b5540b8ce1f340e3c2"},{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"18a22a218b44644d1df26a48e67ddfe4a84669cc","unresolved":false,"context_lines":[{"line_number":236,"context_line":""},{"line_number":237,"context_line":"The IPA image will try to hit the new endpoints first, and will fall back"},{"line_number":238,"context_line":"to the old ones on getting HTTP 406 Not Acceptable (meaning, the API version"},{"line_number":239,"context_line":"is not supported)."},{"line_number":240,"context_line":""},{"line_number":241,"context_line":"Documentation Impact"},{"line_number":242,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":7,"id":"1a122d0e_d1a41a4c","line":239,"in_reply_to":"1a122d0e_00ada287","updated":"2016-04-20 16:48:40.000000000","message":"you also didn\u0027t state that the current vendor_passthru methods would continue to be supported, for how long, or how they would be deprecated. I think that\u0027s an important part of this spec","commit_id":"c18d484411effa7212a748b5540b8ce1f340e3c2"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"926ffc6c5e6b47949dfa7a49293350da59394b80","unresolved":false,"context_lines":[{"line_number":236,"context_line":""},{"line_number":237,"context_line":"The IPA image will try to hit the new endpoints first, and will fall back"},{"line_number":238,"context_line":"to the old ones on getting HTTP 406 Not Acceptable (meaning, the API version"},{"line_number":239,"context_line":"is not supported)."},{"line_number":240,"context_line":""},{"line_number":241,"context_line":"Documentation Impact"},{"line_number":242,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":7,"id":"1a122d0e_00ada287","line":239,"in_reply_to":"1a122d0e_c0e0ca2b","updated":"2016-04-20 15:49:13.000000000","message":"I didn\u0027t say anything about removing endpoints, definitely not right away...","commit_id":"c18d484411effa7212a748b5540b8ce1f340e3c2"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"1155d058244621447cfc6afcf28d31e169d5ee23","unresolved":false,"context_lines":[{"line_number":236,"context_line":""},{"line_number":237,"context_line":"The IPA image will try to hit the new endpoints first, and will fall back"},{"line_number":238,"context_line":"to the old ones on getting HTTP 406 Not Acceptable (meaning, the API version"},{"line_number":239,"context_line":"is not supported)."},{"line_number":240,"context_line":""},{"line_number":241,"context_line":"Documentation Impact"},{"line_number":242,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":7,"id":"1a122d0e_3a18bed2","line":239,"in_reply_to":"1a122d0e_d1a41a4c","updated":"2016-04-20 19:29:36.000000000","message":"My assumption is usually that if something is not changed explicitly, it\u0027s not changed :) ok, will clarify","commit_id":"c18d484411effa7212a748b5540b8ce1f340e3c2"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"907841134d3555d584f466b7bf91f6c6ea798dae","unresolved":false,"context_lines":[{"line_number":55,"context_line":"  main API completely. This could be done by introducing a new API service,"},{"line_number":56,"context_line":"  say ``ironic-agent-api``, serving only these two endpoints. Then we will"},{"line_number":57,"context_line":"  recommend operators to make this service only listen on the provisioning"},{"line_number":58,"context_line":"  network, but not on the network accessible to users."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"  Arguably the same result can be achieved by configuring a WSGI container"},{"line_number":61,"context_line":"  (Apache mod_wsgi or similar), so it might not be worth complication."}],"source_content_type":"text/x-rst","patch_set":10,"id":"1a122d0e_f36bf0ef","line":58,"updated":"2016-04-21 12:45:03.000000000","message":"+1 to doing this, I think the fact that IPA/a deploying node talks to the Ironic API is a huge layer break, I would love to see us keep provisioning traffic and public API traffic separated e.g.\n\nNode(IPA) \u003c-http-\u003e Conductor Agent \u003c-RPC-\u003e Conductor \u003c-RPC-\u003e Ironic API \u003c-http-\u003e Users\n\nI think I would prefer if the service wasn\u0027t IPA specific but rather can be designed to provide any API the Node needs to deploy, regardless of what method/custom ramdisk you use.","commit_id":"1d6e7190663b9b148c49c39f617ef9a03d4a0d35"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"907841134d3555d584f466b7bf91f6c6ea798dae","unresolved":false,"context_lines":[{"line_number":79,"context_line":""},{"line_number":80,"context_line":"  Look up node details for further use in the ramdisk."},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"  No body; at least one of the following URL parameters must be present:"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"  * ``addresses`` comma-separated list of hardware addresses (e.g. MAC) from"},{"line_number":85,"context_line":"    the node for lookup;"}],"source_content_type":"text/x-rst","patch_set":10,"id":"1a122d0e_3671d678","line":82,"range":{"start_line":82,"start_character":2,"end_line":82,"end_character":10},"updated":"2016-04-21 12:45:03.000000000","message":"Its a GET so you can\u0027t pass a body anyway.","commit_id":"1d6e7190663b9b148c49c39f617ef9a03d4a0d35"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"26420db00dc6d317677989a6829bd75c09e1b109","unresolved":false,"context_lines":[{"line_number":79,"context_line":""},{"line_number":80,"context_line":"  Look up node details for further use in the ramdisk."},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"  No body; at least one of the following URL parameters must be present:"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"  * ``addresses`` comma-separated list of hardware addresses (e.g. MAC) from"},{"line_number":85,"context_line":"    the node for lookup;"}],"source_content_type":"text/x-rst","patch_set":10,"id":"1a122d0e_9c50c90c","line":82,"range":{"start_line":82,"start_character":2,"end_line":82,"end_character":10},"in_reply_to":"1a122d0e_3671d678","updated":"2016-04-21 12:52:09.000000000","message":"Well, it\u0027s not impossible at all :) it\u0027s just very uncommon.","commit_id":"1d6e7190663b9b148c49c39f617ef9a03d4a0d35"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"907841134d3555d584f466b7bf91f6c6ea798dae","unresolved":false,"context_lines":[{"line_number":81,"context_line":""},{"line_number":82,"context_line":"  No body; at least one of the following URL parameters must be present:"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"  * ``addresses`` comma-separated list of hardware addresses (e.g. MAC) from"},{"line_number":85,"context_line":"    the node for lookup;"},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"  * ``node_uuid`` node UUID, if known (e.g. by inspection)."},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"  If ``node_uuid`` is present, ``addresses`` are ignored."},{"line_number":90,"context_line":""}],"source_content_type":"text/x-rst","patch_set":10,"id":"1a122d0e_366c3636","line":87,"range":{"start_line":84,"start_character":0,"end_line":87,"end_character":59},"updated":"2016-04-21 12:45:03.000000000","message":"Can we not make this work using the same logic as the search API https://review.openstack.org/#/c/306092/6/specs/approved/node-search-api.rst, so it operates exactly the same and can share the same code path minus the authentication and perhaps it could have an extra check at the end for if found nodes \u003e 1 then 404. Then it could be possible to use it for some say custom vendor specific ramdisk that wants to do, GET /v1/lookup?properties.mobo_serial_number\u003d\u003cserial number\u003e or something like that.","commit_id":"1d6e7190663b9b148c49c39f617ef9a03d4a0d35"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"26420db00dc6d317677989a6829bd75c09e1b109","unresolved":false,"context_lines":[{"line_number":81,"context_line":""},{"line_number":82,"context_line":"  No body; at least one of the following URL parameters must be present:"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"  * ``addresses`` comma-separated list of hardware addresses (e.g. MAC) from"},{"line_number":85,"context_line":"    the node for lookup;"},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"  * ``node_uuid`` node UUID, if known (e.g. by inspection)."},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"  If ``node_uuid`` is present, ``addresses`` are ignored."},{"line_number":90,"context_line":""}],"source_content_type":"text/x-rst","patch_set":10,"id":"1a122d0e_fc6c5dd2","line":87,"range":{"start_line":84,"start_character":0,"end_line":87,"end_character":59},"in_reply_to":"1a122d0e_366c3636","updated":"2016-04-21 12:52:09.000000000","message":"My point here is to minimize what an unauthenticated endpoint can do. Ports were chosen because we always require them. Unless serial number, which is something vendor-specific.","commit_id":"1d6e7190663b9b148c49c39f617ef9a03d4a0d35"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"907841134d3555d584f466b7bf91f6c6ea798dae","unresolved":false,"context_lines":[{"line_number":143,"context_line":"    ironic.node.heartbeat(node_uuid, callback_url)"},{"line_number":144,"context_line":""},{"line_number":145,"context_line":"However, as they are not intended for end users, they will not be exposed in"},{"line_number":146,"context_line":"both CLI."},{"line_number":147,"context_line":""},{"line_number":148,"context_line":"\"ironic\" CLI"},{"line_number":149,"context_line":"~~~~~~~~~~~~"}],"source_content_type":"text/x-rst","patch_set":10,"id":"1a122d0e_d90c133e","line":146,"updated":"2016-04-21 12:45:03.000000000","message":"If we were to implement a separate service/API for node to conductor communication, then I would suggest that we also have a separate ironic conductor agent client, which could have both python hooks and CLI commands for being used inside a deployment ramdisk.","commit_id":"1d6e7190663b9b148c49c39f617ef9a03d4a0d35"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"907841134d3555d584f466b7bf91f6c6ea798dae","unresolved":false,"context_lines":[{"line_number":186,"context_line":"approach (e.g. which do not have a ramdisk at all). The default implementation"},{"line_number":187,"context_line":"will do nothing to account for deploy drivers which do not need heart beats."},{"line_number":188,"context_line":""},{"line_number":189,"context_line":"The new method will require an exclusive node lock."},{"line_number":190,"context_line":""},{"line_number":191,"context_line":"Nova driver impact"},{"line_number":192,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":10,"id":"1a122d0e_998bbb1e","line":189,"updated":"2016-04-21 12:45:03.000000000","message":"For a service/API specifically for this communication, I would suggest that we perhaps, add a concept that deploy drivers can use to indicate endpoints that deploying nodes can talk to e.g:\n\n@conductor_agent_api(\u0027heartbeat\u0027)\ndef heartbeat(self, task, *args, **kwargs):\n....\n\nand this wouldn\u0027t have to exist in the core deploy interface, only in the AgentDeploy class, and only if a AgentDeploy interface is loaded into the will the heartbeat function get loaded into the conductor agent api service that calls this function. \n\nThen if I had a custom deploy interface that did somethng different, I could have: \n\n@conductor_agent_api(\u0027my_custom_function\u0027)\ndef my_custom_function(self, task, *args, **kwargs):\n....\n\nand then /my_custom_function would become an available API endpoint in the conductor agent.","commit_id":"1d6e7190663b9b148c49c39f617ef9a03d4a0d35"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"26420db00dc6d317677989a6829bd75c09e1b109","unresolved":false,"context_lines":[{"line_number":186,"context_line":"approach (e.g. which do not have a ramdisk at all). The default implementation"},{"line_number":187,"context_line":"will do nothing to account for deploy drivers which do not need heart beats."},{"line_number":188,"context_line":""},{"line_number":189,"context_line":"The new method will require an exclusive node lock."},{"line_number":190,"context_line":""},{"line_number":191,"context_line":"Nova driver impact"},{"line_number":192,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":10,"id":"1a122d0e_3caed5e7","line":189,"in_reply_to":"1a122d0e_998bbb1e","updated":"2016-04-21 12:52:09.000000000","message":"I don\u0027t propose a separate API yet :) I\u0027m not sure doing it right now (or ever) will get a buy-in from other folks.","commit_id":"1d6e7190663b9b148c49c39f617ef9a03d4a0d35"},{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"5ae0b03727e6a4212ad4d87cfd7d8c9a497571dd","unresolved":false,"context_lines":[{"line_number":186,"context_line":"approach (e.g. which do not have a ramdisk at all). The default implementation"},{"line_number":187,"context_line":"will do nothing to account for deploy drivers which do not need heart beats."},{"line_number":188,"context_line":""},{"line_number":189,"context_line":"The new method will require an exclusive node lock."},{"line_number":190,"context_line":""},{"line_number":191,"context_line":"Nova driver impact"},{"line_number":192,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":10,"id":"1a122d0e_ce3399f5","line":189,"in_reply_to":"1a122d0e_998bbb1e","updated":"2016-04-21 17:13:07.000000000","message":"Vendor or driver specific endpoints already have a place reserved for them, namely, /driver/NNN/vendor_passthru and /node/NNN/vendor_passthru\n\nWe should not add top level URI which will vary between deployments.","commit_id":"1d6e7190663b9b148c49c39f617ef9a03d4a0d35"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"907841134d3555d584f466b7bf91f6c6ea798dae","unresolved":false,"context_lines":[{"line_number":198,"context_line":""},{"line_number":199,"context_line":"* This change will expose unauthenticated API to lookup a node by its MAC"},{"line_number":200,"context_line":"  addresses. It does not have any impact on most deployments, as both in-tree"},{"line_number":201,"context_line":"  deploy methods (iscsi and http) already expose such API."},{"line_number":202,"context_line":""},{"line_number":203,"context_line":"* After the complete switch to the new API endpoints is finished, it will no"},{"line_number":204,"context_line":"  longer be possible to fetch the whole node knowing its MAC address without"}],"source_content_type":"text/x-rst","patch_set":10,"id":"1a122d0e_193b2b3a","line":201,"updated":"2016-04-21 12:45:03.000000000","message":"A conductor agent API would help operators lock these API endpoint onto a specific network interface, and allow these to only be accessed from isolated networks and preventing us having to expose unauthed endpoints in our public API URL.","commit_id":"1d6e7190663b9b148c49c39f617ef9a03d4a0d35"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"26420db00dc6d317677989a6829bd75c09e1b109","unresolved":false,"context_lines":[{"line_number":198,"context_line":""},{"line_number":199,"context_line":"* This change will expose unauthenticated API to lookup a node by its MAC"},{"line_number":200,"context_line":"  addresses. It does not have any impact on most deployments, as both in-tree"},{"line_number":201,"context_line":"  deploy methods (iscsi and http) already expose such API."},{"line_number":202,"context_line":""},{"line_number":203,"context_line":"* After the complete switch to the new API endpoints is finished, it will no"},{"line_number":204,"context_line":"  longer be possible to fetch the whole node knowing its MAC address without"}],"source_content_type":"text/x-rst","patch_set":10,"id":"1a122d0e_bc80254b","line":201,"in_reply_to":"1a122d0e_193b2b3a","updated":"2016-04-21 12:52:09.000000000","message":"As I said above, it\u0027s likely to be possible even without a separate service, by configuring a WSGI container.","commit_id":"1d6e7190663b9b148c49c39f617ef9a03d4a0d35"},{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"5ae0b03727e6a4212ad4d87cfd7d8c9a497571dd","unresolved":false,"context_lines":[{"line_number":198,"context_line":""},{"line_number":199,"context_line":"* This change will expose unauthenticated API to lookup a node by its MAC"},{"line_number":200,"context_line":"  addresses. It does not have any impact on most deployments, as both in-tree"},{"line_number":201,"context_line":"  deploy methods (iscsi and http) already expose such API."},{"line_number":202,"context_line":""},{"line_number":203,"context_line":"* After the complete switch to the new API endpoints is finished, it will no"},{"line_number":204,"context_line":"  longer be possible to fetch the whole node knowing its MAC address without"}],"source_content_type":"text/x-rst","patch_set":10,"id":"1a122d0e_4e7b097c","line":201,"in_reply_to":"1a122d0e_bc80254b","updated":"2016-04-21 17:13:07.000000000","message":"I think that will be necessary -- putting an unauthenticated endpoint which exposes node information on the primary API surface (whether truly-public or company-internal-public) is not going to be acceptable in many environments.\n\nThese endpoints should be exposed only to the provisioning and cleaning networks, and no where else, and this should be documented.","commit_id":"1d6e7190663b9b148c49c39f617ef9a03d4a0d35"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"3412c375ffc84554c8aba6aa0900dfd2c02d6f1d","unresolved":false,"context_lines":[{"line_number":91,"context_line":"  By default only return a node if it\u0027s in one of transient states:"},{"line_number":92,"context_line":"  ``deploying``, ``deploy wait``, ``cleaning``, ``clean wait``,"},{"line_number":93,"context_line":"  ``inspecting``, ``inspect wait``. Deployers who need lookup to always work"},{"line_number":94,"context_line":"  will be able to set a new option ``[api]restrict_lookup`` to ``False``."},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"  Response: HTTP 200 with JSON body containing keys:"},{"line_number":97,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"7aa08908_d4b5a6ed","line":94,"updated":"2016-06-16 13:35:19.000000000","message":"We don\u0027t move the node from the \u0027wait\u0027 states to the \u0027*ing\u0027 states until the first heartbeat, at which point lookup is complete. Why do we need the *ing states in this list?","commit_id":"ebfa1bd9556a7b8bee75627a6fbbbbf6c5b34dfb"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"01bde163a81b81234b751b31caf265a2011ffccb","unresolved":false,"context_lines":[{"line_number":91,"context_line":"  By default only return a node if it\u0027s in one of transient states:"},{"line_number":92,"context_line":"  ``deploying``, ``deploy wait``, ``cleaning``, ``clean wait``,"},{"line_number":93,"context_line":"  ``inspecting``, ``inspect wait``. Deployers who need lookup to always work"},{"line_number":94,"context_line":"  will be able to set a new option ``[api]restrict_lookup`` to ``False``."},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"  Response: HTTP 200 with JSON body containing keys:"},{"line_number":97,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"7aa08908_f7a9c491","line":94,"in_reply_to":"7aa08908_d4b5a6ed","updated":"2016-06-16 13:48:56.000000000","message":"At least CLEANING is required, as we don\u0027t move node back to CLEAN WAIT when we need a reboot. I\u0027d leave all of them here just in case.","commit_id":"ebfa1bd9556a7b8bee75627a6fbbbbf6c5b34dfb"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"3412c375ffc84554c8aba6aa0900dfd2c02d6f1d","unresolved":false,"context_lines":[{"line_number":119,"context_line":""},{"line_number":120,"context_line":"* ``POST /v1/heartbeat/\u003cUUID\u003e``"},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"  Record a heart beat message from the ramdisk."},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"  Body is a JSON with fields:"},{"line_number":125,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"7aa08908_b49f3a64","line":122,"updated":"2016-06-16 13:35:19.000000000","message":"nit: s/heart beat/heartbeat/","commit_id":"ebfa1bd9556a7b8bee75627a6fbbbbf6c5b34dfb"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"01bde163a81b81234b751b31caf265a2011ffccb","unresolved":false,"context_lines":[{"line_number":119,"context_line":""},{"line_number":120,"context_line":"* ``POST /v1/heartbeat/\u003cUUID\u003e``"},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"  Record a heart beat message from the ramdisk."},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"  Body is a JSON with fields:"},{"line_number":125,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"7aa08908_d7ac88a1","line":122,"in_reply_to":"7aa08908_b49f3a64","updated":"2016-06-16 13:48:56.000000000","message":"Done","commit_id":"ebfa1bd9556a7b8bee75627a6fbbbbf6c5b34dfb"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"edb80e981204bc07f9d2b8e96ee3afb2bb777f8f","unresolved":false,"context_lines":[{"line_number":178,"context_line":""},{"line_number":179,"context_line":"        :param task: a task manager task"},{"line_number":180,"context_line":"        :param callback_url: a URL to use to call to the ramdisk"},{"line_number":181,"context_line":"        :return: nothing"},{"line_number":182,"context_line":"        \"\"\""},{"line_number":183,"context_line":"        LOG.warning(\u0027Got hearbeat message from node %(node)s, but the driver \u0027"},{"line_number":184,"context_line":"                    \u0027%(driver)s does not support heartbeating\u0027,"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7aa08908_a7be6d62","line":181,"updated":"2016-06-14 11:53:56.000000000","message":":returns: None","commit_id":"ebfa1bd9556a7b8bee75627a6fbbbbf6c5b34dfb"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"01bde163a81b81234b751b31caf265a2011ffccb","unresolved":false,"context_lines":[{"line_number":178,"context_line":""},{"line_number":179,"context_line":"        :param task: a task manager task"},{"line_number":180,"context_line":"        :param callback_url: a URL to use to call to the ramdisk"},{"line_number":181,"context_line":"        :return: nothing"},{"line_number":182,"context_line":"        \"\"\""},{"line_number":183,"context_line":"        LOG.warning(\u0027Got hearbeat message from node %(node)s, but the driver \u0027"},{"line_number":184,"context_line":"                    \u0027%(driver)s does not support heartbeating\u0027,"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7aa08908_178f302f","line":181,"in_reply_to":"7aa08908_a7be6d62","updated":"2016-06-16 13:48:56.000000000","message":"Done","commit_id":"ebfa1bd9556a7b8bee75627a6fbbbbf6c5b34dfb"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"3412c375ffc84554c8aba6aa0900dfd2c02d6f1d","unresolved":false,"context_lines":[{"line_number":191,"context_line":"approach (e.g. which do not have a ramdisk at all). The default implementation"},{"line_number":192,"context_line":"will do nothing to account for deploy drivers which do not need heart beats."},{"line_number":193,"context_line":""},{"line_number":194,"context_line":"The new method will require an exclusive node lock."},{"line_number":195,"context_line":""},{"line_number":196,"context_line":"Nova driver impact"},{"line_number":197,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7aa08908_f4338260","line":194,"updated":"2016-06-16 13:35:19.000000000","message":"I\u0027d honestly like to reconsider this, but maybe now isn\u0027t the time...\n\nI\u0027d prefer a simple heartbeat to not need a lock (it only updates a single db field), but rather the methods that it calls lock if needed.","commit_id":"ebfa1bd9556a7b8bee75627a6fbbbbf6c5b34dfb"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"01bde163a81b81234b751b31caf265a2011ffccb","unresolved":false,"context_lines":[{"line_number":191,"context_line":"approach (e.g. which do not have a ramdisk at all). The default implementation"},{"line_number":192,"context_line":"will do nothing to account for deploy drivers which do not need heart beats."},{"line_number":193,"context_line":""},{"line_number":194,"context_line":"The new method will require an exclusive node lock."},{"line_number":195,"context_line":""},{"line_number":196,"context_line":"Nova driver impact"},{"line_number":197,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7aa08908_b729fcf4","line":194,"in_reply_to":"7aa08908_f4338260","updated":"2016-06-16 13:48:56.000000000","message":"Done","commit_id":"ebfa1bd9556a7b8bee75627a6fbbbbf6c5b34dfb"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"3412c375ffc84554c8aba6aa0900dfd2c02d6f1d","unresolved":false,"context_lines":[{"line_number":229,"context_line":"------------------"},{"line_number":230,"context_line":""},{"line_number":231,"context_line":"* Unlike the old lookup passthru, the new lookup endpoint will not use RPC,"},{"line_number":232,"context_line":"  lowering load on the message queue and the conductor."},{"line_number":233,"context_line":""},{"line_number":234,"context_line":"Other deployer impact"},{"line_number":235,"context_line":"---------------------"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7aa08908_741f92b7","line":232,"updated":"2016-06-16 13:35:19.000000000","message":"++","commit_id":"ebfa1bd9556a7b8bee75627a6fbbbbf6c5b34dfb"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"3412c375ffc84554c8aba6aa0900dfd2c02d6f1d","unresolved":false,"context_lines":[{"line_number":234,"context_line":"Other deployer impact"},{"line_number":235,"context_line":"---------------------"},{"line_number":236,"context_line":""},{"line_number":237,"context_line":"* An update of the IPA image will be recommended to make it use the new API."},{"line_number":238,"context_line":""},{"line_number":239,"context_line":"* New option ``restrict_lookup`` in the ``api`` section (boolean, defaults to"},{"line_number":240,"context_line":"  ``True``) - whether to restrict the new lookup API to only certain states in"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7aa08908_34534a6e","line":237,"updated":"2016-06-16 13:35:19.000000000","message":"Well, eventually it will be needed.\n\nCan we add something about deprecating the vendor passthru versions of these endpoints?\n\nAh, I see it\u0027s below. :)","commit_id":"ebfa1bd9556a7b8bee75627a6fbbbbf6c5b34dfb"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"edb80e981204bc07f9d2b8e96ee3afb2bb777f8f","unresolved":false,"context_lines":[{"line_number":245,"context_line":""},{"line_number":246,"context_line":"3rd party driver developers should stop using the ``BaseAgentVendor`` class"},{"line_number":247,"context_line":"in their drivers and just use the ``AgentDeploy`` class."},{"line_number":248,"context_line":""},{"line_number":249,"context_line":"Implementation"},{"line_number":250,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":251,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"7aa08908_42d5f7e2","line":248,"updated":"2016-06-14 11:53:56.000000000","message":"And should document if ``restrict_lookup`` needed to be set to False for 3rd party driver.","commit_id":"ebfa1bd9556a7b8bee75627a6fbbbbf6c5b34dfb"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"01bde163a81b81234b751b31caf265a2011ffccb","unresolved":false,"context_lines":[{"line_number":245,"context_line":""},{"line_number":246,"context_line":"3rd party driver developers should stop using the ``BaseAgentVendor`` class"},{"line_number":247,"context_line":"in their drivers and just use the ``AgentDeploy`` class."},{"line_number":248,"context_line":""},{"line_number":249,"context_line":"Implementation"},{"line_number":250,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":251,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"7aa08908_774834cd","line":248,"in_reply_to":"7aa08908_144e0ec2","updated":"2016-06-16 13:48:56.000000000","message":"Done","commit_id":"ebfa1bd9556a7b8bee75627a6fbbbbf6c5b34dfb"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"3412c375ffc84554c8aba6aa0900dfd2c02d6f1d","unresolved":false,"context_lines":[{"line_number":245,"context_line":""},{"line_number":246,"context_line":"3rd party driver developers should stop using the ``BaseAgentVendor`` class"},{"line_number":247,"context_line":"in their drivers and just use the ``AgentDeploy`` class."},{"line_number":248,"context_line":""},{"line_number":249,"context_line":"Implementation"},{"line_number":250,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":251,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"7aa08908_144e0ec2","line":248,"in_reply_to":"7aa08908_42d5f7e2","updated":"2016-06-16 13:35:19.000000000","message":"++","commit_id":"ebfa1bd9556a7b8bee75627a6fbbbbf6c5b34dfb"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"f40e0dc7f7c4e042290cf05a0b70ad27d9515d41","unresolved":false,"context_lines":[{"line_number":97,"context_line":"     In theory, we don\u0027t need ``-ing`` states here either. But when we reboot"},{"line_number":98,"context_line":"     during cleaning, we don\u0027t currently reset the state to ``clean wait``."},{"line_number":99,"context_line":"     The other ``-ing`` states are supported in case 3rd party drivers have"},{"line_number":100,"context_line":"     similar restrictions."},{"line_number":101,"context_line":""},{"line_number":102,"context_line":"  Response: HTTP 200 with JSON body containing keys:"},{"line_number":103,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"7aa08908_1a76373f","line":100,"updated":"2016-06-16 13:59:47.000000000","message":"s/restrictions/bugs/ :D","commit_id":"b528dc918991bba5ac7d6c39c8ed982039ce6124"},{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"f2e1e490fb47a3c7de59770f42b11f9946598150","unresolved":false,"context_lines":[{"line_number":97,"context_line":"     In theory, we don\u0027t need ``-ing`` states here either. But when we reboot"},{"line_number":98,"context_line":"     during cleaning, we don\u0027t currently reset the state to ``clean wait``."},{"line_number":99,"context_line":"     The other ``-ing`` states are supported in case 3rd party drivers have"},{"line_number":100,"context_line":"     similar restrictions."},{"line_number":101,"context_line":""},{"line_number":102,"context_line":"  Response: HTTP 200 with JSON body containing keys:"},{"line_number":103,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"7aa08908_2a20f6f7","line":100,"in_reply_to":"7aa08908_1a76373f","updated":"2016-06-16 17:07:14.000000000","message":"+1 we should file a bug against the cleaning reboot stuff (who wrote that \u003c.\u003c \u003e.\u003e) so we fix those states.","commit_id":"b528dc918991bba5ac7d6c39c8ed982039ce6124"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"9d230f66de16be8a6c992e8f477481306f0755a9","unresolved":false,"context_lines":[{"line_number":97,"context_line":"     In theory, we don\u0027t need ``-ing`` states here either. But when we reboot"},{"line_number":98,"context_line":"     during cleaning, we don\u0027t currently reset the state to ``clean wait``."},{"line_number":99,"context_line":"     The other ``-ing`` states are supported in case 3rd party drivers have"},{"line_number":100,"context_line":"     similar restrictions."},{"line_number":101,"context_line":""},{"line_number":102,"context_line":"  Response: HTTP 200 with JSON body containing keys:"},{"line_number":103,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"7aa08908_3e9bf9ca","line":100,"in_reply_to":"7aa08908_2a20f6f7","updated":"2016-06-17 09:05:09.000000000","message":"+1","commit_id":"b528dc918991bba5ac7d6c39c8ed982039ce6124"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"04fc09690ec829e3295079726f5365a2d691f35a","unresolved":false,"context_lines":[{"line_number":123,"context_line":""},{"line_number":124,"context_line":"  * 404 - a node was not found."},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"* ``POST /v1/heartbeat/\u003cUUID\u003e``"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"  Record a heartbeat message from the ramdisk."},{"line_number":129,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"3aaa91ec_307d0e1d","line":126,"updated":"2016-06-22 21:54:20.000000000","message":"that\u0027s a node UUID, right?","commit_id":"b528dc918991bba5ac7d6c39c8ed982039ce6124"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"04fc09690ec829e3295079726f5365a2d691f35a","unresolved":false,"context_lines":[{"line_number":129,"context_line":""},{"line_number":130,"context_line":"  Body is a JSON with fields:"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"  * ``callback_url`` - the IPA URL to call back. Note that for potential"},{"line_number":133,"context_line":"    non-IPA-based drivers it might have a different meaning (e.g. if we agree"},{"line_number":134,"context_line":"    on the ansible driver, this can be an SSH \"URL\" for it)."},{"line_number":135,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"3aaa91ec_70a036a0","line":132,"updated":"2016-06-22 21:54:20.000000000","message":"maybe \u0027callback\u0027 would be sufficient then, since it isn\u0027t necessarily a URL.","commit_id":"b528dc918991bba5ac7d6c39c8ed982039ce6124"},{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"f2e1e490fb47a3c7de59770f42b11f9946598150","unresolved":false,"context_lines":[{"line_number":294,"context_line":""},{"line_number":295,"context_line":"The ``BaseAgentVendor`` class will be deprecated, but stay for some time,"},{"line_number":296,"context_line":"following the usual deprecation policy. Old IPA images will be able to run by"},{"line_number":297,"context_line":"using the old passthru API."},{"line_number":298,"context_line":""},{"line_number":299,"context_line":"The new IPA image will try to hit the new endpoints first, and will fall back"},{"line_number":300,"context_line":"to the old ones on getting HTTP 406 Not Acceptable (meaning, the API version"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7aa08908_c5168357","line":297,"updated":"2016-06-16 17:07:14.000000000","message":"I presume this is assumed, but the old passthru API would be deprecated over time? If you push another patchset I\u0027d like to make this explicit.","commit_id":"b528dc918991bba5ac7d6c39c8ed982039ce6124"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"28c33e6ddcea7b686d0f6e5b254b5e88878328b8","unresolved":false,"context_lines":[{"line_number":294,"context_line":""},{"line_number":295,"context_line":"The ``BaseAgentVendor`` class will be deprecated, but stay for some time,"},{"line_number":296,"context_line":"following the usual deprecation policy. Old IPA images will be able to run by"},{"line_number":297,"context_line":"using the old passthru API."},{"line_number":298,"context_line":""},{"line_number":299,"context_line":"The new IPA image will try to hit the new endpoints first, and will fall back"},{"line_number":300,"context_line":"to the old ones on getting HTTP 406 Not Acceptable (meaning, the API version"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7aa08908_e0a0cd44","line":297,"in_reply_to":"7aa08908_c5168357","updated":"2016-06-16 17:18:34.000000000","message":"Yeah, it\u0027s assumed that API will follow the deprecation of ``BaseAgentVendor`` itself","commit_id":"b528dc918991bba5ac7d6c39c8ed982039ce6124"}]}
