)]}'
{"specs/liberty/ipxe-dynamic-config.rst":[{"author":{"_account_id":5805,"name":"Chris Krelle","email":"nobodycam@gmail.com","username":"nobodycam"},"change_message_id":"4781aab62620f11f194b7044fba0746e528d5b79","unresolved":false,"context_lines":[{"line_number":43,"context_line":"``provision_state`` is ACTIVE, we then return an iPXE configuration to"},{"line_number":44,"context_line":"boot from the image ramdisk and kernel (If local boot and/or full disk"},{"line_number":45,"context_line":"image is not specified). For unknown ``provision_state`` we just return an"},{"line_number":46,"context_line":"iPXE configuration file that prints out an error explaining the problem."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"This work can get even more powerful when the images are set to boot from"},{"line_number":49,"context_line":"``http`` [#]_, then the iPXE drive won\u0027t need to save any state in the"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3acd31a7_8fc72645","line":46,"updated":"2015-04-29 18:08:47.000000000","message":"is it provision_state or target_provision_state that we need to look at. As an example if I have a node in ACTIVE state and issue a rebuild we would need the config to point to deploy and not boot? \n\nAnother question is where will the error be seen if the current state is UNKNOWN?","commit_id":"57e90c8a3f434c311ef8dfadf0b66244018654d9"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"65abab77ffa8f72ffe94a8032eb321af26c01ce0","unresolved":false,"context_lines":[{"line_number":43,"context_line":"``provision_state`` is ACTIVE, we then return an iPXE configuration to"},{"line_number":44,"context_line":"boot from the image ramdisk and kernel (If local boot and/or full disk"},{"line_number":45,"context_line":"image is not specified). For unknown ``provision_state`` we just return an"},{"line_number":46,"context_line":"iPXE configuration file that prints out an error explaining the problem."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"This work can get even more powerful when the images are set to boot from"},{"line_number":49,"context_line":"``http`` [#]_, then the iPXE drive won\u0027t need to save any state in the"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3acd31a7_8c7a0276","line":46,"in_reply_to":"3acd31a7_4a44d519","updated":"2015-05-05 14:45:27.000000000","message":"Rebuild puts it back to deploying, see http://paste.openstack.org/show/214989/","commit_id":"57e90c8a3f434c311ef8dfadf0b66244018654d9"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"57b39e3f46beb3ee7b458fbe17e20bf489477d73","unresolved":false,"context_lines":[{"line_number":43,"context_line":"``provision_state`` is ACTIVE, we then return an iPXE configuration to"},{"line_number":44,"context_line":"boot from the image ramdisk and kernel (If local boot and/or full disk"},{"line_number":45,"context_line":"image is not specified). For unknown ``provision_state`` we just return an"},{"line_number":46,"context_line":"iPXE configuration file that prints out an error explaining the problem."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"This work can get even more powerful when the images are set to boot from"},{"line_number":49,"context_line":"``http`` [#]_, then the iPXE drive won\u0027t need to save any state in the"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3acd31a7_4a44d519","line":46,"in_reply_to":"3acd31a7_8fc72645","updated":"2015-05-05 11:03:42.000000000","message":"It\u0027s \"provision_state\", when the node is being provisioned the provision_state is DEPLOYING and target_provision_state is ACTIVE.\n\nRebuild should also moved it back to DEPLOYING no? If not I can update the spec to look at both provision_state and target_provision_state to determine what needs to be booted\n\n...\n\nFor the error it will be printed out on the node\u0027s console. There\u0027s a couple of things we can do here, reboot the node, shut it down, give the user a prompt etc... We can discuss what would be best. Cause to be honest, to have an unknown provision state and yet have the DHCP server configured to boot from the node is a very odd error.","commit_id":"57e90c8a3f434c311ef8dfadf0b66244018654d9"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"d2493c3a06dd3fca76372b1d16c96658b8539aba","unresolved":false,"context_lines":[{"line_number":141,"context_line":"Work Items"},{"line_number":142,"context_line":"----------"},{"line_number":143,"context_line":""},{"line_number":144,"context_line":"* Create the new ``ipxe_config`` method for the PXEVendorPassthru interface."},{"line_number":145,"context_line":""},{"line_number":146,"context_line":"* Extend the ``vendor_passthru`` and ``driver_vendor_passthru`` RPC"},{"line_number":147,"context_line":"  methods to return a flag indicating whether the return value should"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_5ffe476c","line":144,"updated":"2015-04-29 10:46:23.000000000","message":"It also involves changing how we configure DHCP, right? could you describe it in a bit more details?","commit_id":"57e90c8a3f434c311ef8dfadf0b66244018654d9"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"57b39e3f46beb3ee7b458fbe17e20bf489477d73","unresolved":false,"context_lines":[{"line_number":141,"context_line":"Work Items"},{"line_number":142,"context_line":"----------"},{"line_number":143,"context_line":""},{"line_number":144,"context_line":"* Create the new ``ipxe_config`` method for the PXEVendorPassthru interface."},{"line_number":145,"context_line":""},{"line_number":146,"context_line":"* Extend the ``vendor_passthru`` and ``driver_vendor_passthru`` RPC"},{"line_number":147,"context_line":"  methods to return a flag indicating whether the return value should"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3acd31a7_cac34556","line":144,"in_reply_to":"5ad0253b_5ffe476c","updated":"2015-05-05 11:03:42.000000000","message":"It does yes, instead of pointing to the static iboot.ipxe script we are now going to update the DHCP server to point to the vendor passthru URL.\n\nI will update the spec to say it. Thanks!","commit_id":"57e90c8a3f434c311ef8dfadf0b66244018654d9"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"7ec0cc4adc382056a98d2839126760851499a9fd","unresolved":false,"context_lines":[{"line_number":16,"context_line":"Problem description"},{"line_number":17,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"The current iPXE support depends on configuration files to be cached in"},{"line_number":20,"context_line":"the disk. This creates a dependency between a given ``ironic-conductor``"},{"line_number":21,"context_line":"and a given node (even without a conductor lock on a node) because that"},{"line_number":22,"context_line":"``ironic-conductor`` is the only one able to boot that node. This also"}],"source_content_type":"text/x-rst","patch_set":3,"id":"1aca2d91_0e6f282c","line":19,"updated":"2015-05-08 16:30:48.000000000","message":"s/cached in/cached on/","commit_id":"a7773fb09592e94968dccac3111d8eca8aa64187"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"349550d81a1097b2a70a6926fbca9b94a83cef12","unresolved":false,"context_lines":[{"line_number":16,"context_line":"Problem description"},{"line_number":17,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"The current iPXE support depends on configuration files to be cached in"},{"line_number":20,"context_line":"the disk. This creates a dependency between a given ``ironic-conductor``"},{"line_number":21,"context_line":"and a given node (even without a conductor lock on a node) because that"},{"line_number":22,"context_line":"``ironic-conductor`` is the only one able to boot that node. This also"}],"source_content_type":"text/x-rst","patch_set":3,"id":"1aca2d91_0e0e083b","line":19,"in_reply_to":"1aca2d91_0e6f282c","updated":"2015-05-08 16:35:54.000000000","message":"Done","commit_id":"a7773fb09592e94968dccac3111d8eca8aa64187"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"7ec0cc4adc382056a98d2839126760851499a9fd","unresolved":false,"context_lines":[{"line_number":27,"context_line":"Proposed change"},{"line_number":28,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"The proposed implementation consists in creating a new ``Vendor Passthru``"},{"line_number":31,"context_line":"method called ``ipxe_config`` that will dynamically generate the iPXE"},{"line_number":32,"context_line":"configuration files for a given node depending on it\u0027s provision state."},{"line_number":33,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"1aca2d91_ce4ff0bb","line":30,"updated":"2015-05-08 16:30:48.000000000","message":"s/consists in/consists of/","commit_id":"a7773fb09592e94968dccac3111d8eca8aa64187"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"349550d81a1097b2a70a6926fbca9b94a83cef12","unresolved":false,"context_lines":[{"line_number":27,"context_line":"Proposed change"},{"line_number":28,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"The proposed implementation consists in creating a new ``Vendor Passthru``"},{"line_number":31,"context_line":"method called ``ipxe_config`` that will dynamically generate the iPXE"},{"line_number":32,"context_line":"configuration files for a given node depending on it\u0027s provision state."},{"line_number":33,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"1aca2d91_ee086c2f","line":30,"in_reply_to":"1aca2d91_ce4ff0bb","updated":"2015-05-08 16:35:54.000000000","message":"Done","commit_id":"a7773fb09592e94968dccac3111d8eca8aa64187"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"7ec0cc4adc382056a98d2839126760851499a9fd","unresolved":false,"context_lines":[{"line_number":42,"context_line":"configuration to boot the deploy ramdisk and kernel. If the node"},{"line_number":43,"context_line":"``provision_state`` is ACTIVE, we then return an iPXE configuration to"},{"line_number":44,"context_line":"boot from the image ramdisk and kernel (If local boot and/or full disk"},{"line_number":45,"context_line":"image is not specified). For unknown ``provision_state`` we just return an"},{"line_number":46,"context_line":"iPXE configuration file that prints out an error explaining the problem on"},{"line_number":47,"context_line":"the node\u0027s console log a warning message in the Ironic log."},{"line_number":48,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"1aca2d91_6ef21c71","line":45,"updated":"2015-05-08 16:30:48.000000000","message":"s/For unknown/For an unknown/","commit_id":"a7773fb09592e94968dccac3111d8eca8aa64187"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"349550d81a1097b2a70a6926fbca9b94a83cef12","unresolved":false,"context_lines":[{"line_number":42,"context_line":"configuration to boot the deploy ramdisk and kernel. If the node"},{"line_number":43,"context_line":"``provision_state`` is ACTIVE, we then return an iPXE configuration to"},{"line_number":44,"context_line":"boot from the image ramdisk and kernel (If local boot and/or full disk"},{"line_number":45,"context_line":"image is not specified). For unknown ``provision_state`` we just return an"},{"line_number":46,"context_line":"iPXE configuration file that prints out an error explaining the problem on"},{"line_number":47,"context_line":"the node\u0027s console log a warning message in the Ironic log."},{"line_number":48,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"1aca2d91_ce07f01a","line":45,"in_reply_to":"1aca2d91_6ef21c71","updated":"2015-05-08 16:35:54.000000000","message":"Done","commit_id":"a7773fb09592e94968dccac3111d8eca8aa64187"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"7ec0cc4adc382056a98d2839126760851499a9fd","unresolved":false,"context_lines":[{"line_number":44,"context_line":"boot from the image ramdisk and kernel (If local boot and/or full disk"},{"line_number":45,"context_line":"image is not specified). For unknown ``provision_state`` we just return an"},{"line_number":46,"context_line":"iPXE configuration file that prints out an error explaining the problem on"},{"line_number":47,"context_line":"the node\u0027s console log a warning message in the Ironic log."},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"This work can get even more powerful when the images are set to boot from"},{"line_number":50,"context_line":"``http`` [#]_, then the iPXE drive won\u0027t need to save any state in the"}],"source_content_type":"text/x-rst","patch_set":3,"id":"1aca2d91_0e04c847","line":47,"updated":"2015-05-08 16:30:48.000000000","message":"s/console log/console log and/","commit_id":"a7773fb09592e94968dccac3111d8eca8aa64187"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"349550d81a1097b2a70a6926fbca9b94a83cef12","unresolved":false,"context_lines":[{"line_number":44,"context_line":"boot from the image ramdisk and kernel (If local boot and/or full disk"},{"line_number":45,"context_line":"image is not specified). For unknown ``provision_state`` we just return an"},{"line_number":46,"context_line":"iPXE configuration file that prints out an error explaining the problem on"},{"line_number":47,"context_line":"the node\u0027s console log a warning message in the Ironic log."},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"This work can get even more powerful when the images are set to boot from"},{"line_number":50,"context_line":"``http`` [#]_, then the iPXE drive won\u0027t need to save any state in the"}],"source_content_type":"text/x-rst","patch_set":3,"id":"1aca2d91_ae027409","line":47,"in_reply_to":"1aca2d91_0e04c847","updated":"2015-05-08 16:35:54.000000000","message":"Done","commit_id":"a7773fb09592e94968dccac3111d8eca8aa64187"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"7ec0cc4adc382056a98d2839126760851499a9fd","unresolved":false,"context_lines":[{"line_number":47,"context_line":"the node\u0027s console log a warning message in the Ironic log."},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"This work can get even more powerful when the images are set to boot from"},{"line_number":50,"context_line":"``http`` [#]_, then the iPXE drive won\u0027t need to save any state in the"},{"line_number":51,"context_line":"disk. As a future work, it would be also possible to add support for"},{"line_number":52,"context_line":"creating a ``Swift Temporary URL`` when booting images being served by"},{"line_number":53,"context_line":"``Glance`` with a ``Swift`` storage backend."}],"source_content_type":"text/x-rst","patch_set":3,"id":"1aca2d91_ce9490e3","line":50,"updated":"2015-05-08 16:30:48.000000000","message":"s/then the/as then the/\n\ns/state in the/state on the/","commit_id":"a7773fb09592e94968dccac3111d8eca8aa64187"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"349550d81a1097b2a70a6926fbca9b94a83cef12","unresolved":false,"context_lines":[{"line_number":47,"context_line":"the node\u0027s console log a warning message in the Ironic log."},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"This work can get even more powerful when the images are set to boot from"},{"line_number":50,"context_line":"``http`` [#]_, then the iPXE drive won\u0027t need to save any state in the"},{"line_number":51,"context_line":"disk. As a future work, it would be also possible to add support for"},{"line_number":52,"context_line":"creating a ``Swift Temporary URL`` when booting images being served by"},{"line_number":53,"context_line":"``Glance`` with a ``Swift`` storage backend."}],"source_content_type":"text/x-rst","patch_set":3,"id":"1aca2d91_8900d202","line":50,"in_reply_to":"1aca2d91_ce9490e3","updated":"2015-05-08 16:35:54.000000000","message":"Done","commit_id":"a7773fb09592e94968dccac3111d8eca8aa64187"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"7ec0cc4adc382056a98d2839126760851499a9fd","unresolved":false,"context_lines":[{"line_number":56,"context_line":"------------"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"Continue doing what we are doing, generate the configuration files and"},{"line_number":59,"context_line":"saving it in the disk."},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"Data model impact"},{"line_number":62,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"1aca2d91_0eb28894","line":59,"updated":"2015-05-08 16:30:48.000000000","message":"s/in the disk/to the disk/","commit_id":"a7773fb09592e94968dccac3111d8eca8aa64187"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"349550d81a1097b2a70a6926fbca9b94a83cef12","unresolved":false,"context_lines":[{"line_number":56,"context_line":"------------"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"Continue doing what we are doing, generate the configuration files and"},{"line_number":59,"context_line":"saving it in the disk."},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"Data model impact"},{"line_number":62,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"1aca2d91_e90f462c","line":59,"in_reply_to":"1aca2d91_0eb28894","updated":"2015-05-08 16:35:54.000000000","message":"Done","commit_id":"a7773fb09592e94968dccac3111d8eca8aa64187"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"7ec0cc4adc382056a98d2839126760851499a9fd","unresolved":false,"context_lines":[{"line_number":109,"context_line":"Scalability impact"},{"line_number":110,"context_line":"------------------"},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"A stateless driver can scale much nicer since it won\u0027t depend on any"},{"line_number":113,"context_line":"information to be saved in the local conductor."},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"Performance Impact"}],"source_content_type":"text/x-rst","patch_set":3,"id":"1aca2d91_ae54b420","line":112,"updated":"2015-05-08 16:30:48.000000000","message":"s/can scale much nicer/will scale better/","commit_id":"a7773fb09592e94968dccac3111d8eca8aa64187"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"349550d81a1097b2a70a6926fbca9b94a83cef12","unresolved":false,"context_lines":[{"line_number":109,"context_line":"Scalability impact"},{"line_number":110,"context_line":"------------------"},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"A stateless driver can scale much nicer since it won\u0027t depend on any"},{"line_number":113,"context_line":"information to be saved in the local conductor."},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"Performance Impact"}],"source_content_type":"text/x-rst","patch_set":3,"id":"1aca2d91_8927b2b5","line":112,"in_reply_to":"1aca2d91_ae54b420","updated":"2015-05-08 16:35:54.000000000","message":"Done","commit_id":"a7773fb09592e94968dccac3111d8eca8aa64187"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"7ec0cc4adc382056a98d2839126760851499a9fd","unresolved":false,"context_lines":[{"line_number":110,"context_line":"------------------"},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"A stateless driver can scale much nicer since it won\u0027t depend on any"},{"line_number":113,"context_line":"information to be saved in the local conductor."},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"Performance Impact"},{"line_number":116,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"1aca2d91_ae7dd4b2","line":113,"updated":"2015-05-08 16:30:48.000000000","message":"s/in the local/on the local/","commit_id":"a7773fb09592e94968dccac3111d8eca8aa64187"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"349550d81a1097b2a70a6926fbca9b94a83cef12","unresolved":false,"context_lines":[{"line_number":110,"context_line":"------------------"},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"A stateless driver can scale much nicer since it won\u0027t depend on any"},{"line_number":113,"context_line":"information to be saved in the local conductor."},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"Performance Impact"},{"line_number":116,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"1aca2d91_692a1680","line":113,"in_reply_to":"1aca2d91_ae7dd4b2","updated":"2015-05-08 16:35:54.000000000","message":"Done","commit_id":"a7773fb09592e94968dccac3111d8eca8aa64187"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"ac421dd106be683378d62b35b612b6c8b263aebc","unresolved":false,"context_lines":[{"line_number":34,"context_line":"When iPXE is enabled, it will configure the DHCP server to make a request"},{"line_number":35,"context_line":"to the ``Vendor Passthru`` endpoint when booting the node, e.g::"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"  http://\u003cIronic API Address\u003e:6385/v1/nodes/\u003cuuid\u003e/vendor_passthru/ipxe_config"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"Ironic will then check the ``provision_state`` of the node and"},{"line_number":40,"context_line":"generate the iPXE configuration file for that state. Say, the node"}],"source_content_type":"text/x-rst","patch_set":4,"id":"7a016987_8677ffd3","line":37,"updated":"2015-05-14 08:36:28.000000000","message":"I want to offer a way to generate this configuration via MAC address as well. Doing it by node UUID or mac address (and finding the node that the address belongs to) allows people to plug an external DHCP server to work with iPXE and still have Ironic to dynamically generate the configuration files :-) which is pretty slick!","commit_id":"09499ef4243e2c2e18ca50fba234f690bc0aabdb"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"df10cbb72e9e63c1a11b488937056c2ce569a6f0","unresolved":false,"context_lines":[{"line_number":79,"context_line":""},{"line_number":80,"context_line":"Currently the RPC method for ``vendor_passthru`` and"},{"line_number":81,"context_line":"``driver_vendor_passthru`` returns a tuple with the return value and a"},{"line_number":82,"context_line":"boolean indicating if the method is asynchronous. We will need another"},{"line_number":83,"context_line":"flag to indicate if the value should be returned as a static file that"},{"line_number":84,"context_line":"will be served by the Ironic API instead of a response body message."},{"line_number":85,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"1aca2d91_09dde2df","line":82,"updated":"2015-05-08 16:58:19.000000000","message":"Will returning this flag be optional, or will it always be present with value True or False?","commit_id":"09499ef4243e2c2e18ca50fba234f690bc0aabdb"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"bd74b7fc94dfbb63d6b8d00ab598adf31663c4d5","unresolved":false,"context_lines":[{"line_number":79,"context_line":""},{"line_number":80,"context_line":"Currently the RPC method for ``vendor_passthru`` and"},{"line_number":81,"context_line":"``driver_vendor_passthru`` returns a tuple with the return value and a"},{"line_number":82,"context_line":"boolean indicating if the method is asynchronous. We will need another"},{"line_number":83,"context_line":"flag to indicate if the value should be returned as a static file that"},{"line_number":84,"context_line":"will be served by the Ironic API instead of a response body message."},{"line_number":85,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"9af37de9_e187c8d5","line":82,"in_reply_to":"1aca2d91_09dde2df","updated":"2015-05-11 08:26:48.000000000","message":"Hi Mario,\n\nOh maybe it\u0027s not well worded. The flag for sync and async is already being returned. But not returned as part of the body message or anything, the RPC layer returns it so the API layer knows if the method run in async or sync mode and so the API layer can return the right return code (200 and 202 respectively).\n\nTake a look here: https://github.com/openstack/ironic/blob/4b789d2081db5e4b8054779b7eb6e9a060bbec48/ironic/drivers/base.py#L476-L530\n\nFor the static file I was thinking about another flag that will indicate to the API whether return the response from the method as a response body or attach it as a file to the response object.","commit_id":"09499ef4243e2c2e18ca50fba234f690bc0aabdb"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"dbf3251d2f02bf1a0441edd7910327df3608afbd","unresolved":false,"context_lines":[{"line_number":79,"context_line":""},{"line_number":80,"context_line":"Currently the RPC method for ``vendor_passthru`` and"},{"line_number":81,"context_line":"``driver_vendor_passthru`` returns a tuple with the return value and a"},{"line_number":82,"context_line":"boolean indicating if the method is asynchronous. We will need another"},{"line_number":83,"context_line":"flag to indicate if the value should be returned as a static file that"},{"line_number":84,"context_line":"will be served by the Ironic API instead of a response body message."},{"line_number":85,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"7a016987_7fa445a5","line":82,"in_reply_to":"9af37de9_e187c8d5","updated":"2015-05-15 18:56:05.000000000","message":"Thanks - understood. My question about defaults isn\u0027t that important if this isn\u0027t exposed by the Ironic API directly.\n\nThis sounds like it would a lot be more convenient than just returning the config as part of the response body, so I definitely see the need for it.","commit_id":"09499ef4243e2c2e18ca50fba234f690bc0aabdb"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"5fa0848f8af91d13adf7ce4e97acf5a1bd14a59c","unresolved":false,"context_lines":[{"line_number":28,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"The proposed implementation consists of creating a new ``Driver Vendor"},{"line_number":31,"context_line":"Passthru`` method called ``ipxe_config`` that will dynamically generate"},{"line_number":32,"context_line":"the iPXE configuration files for a given node UUID or mac address"},{"line_number":33,"context_line":"depending on the node\u0027s provision state."},{"line_number":34,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"7a016987_e03ed0b6","line":31,"updated":"2015-06-01 09:37:02.000000000","message":"On the summit we agreed to promote lookup/heartbeat/etc to proper API. I wonder if it affects this change...","commit_id":"0ed181a23bc5dd0ab7fe276cb8b5c251df94e926"},{"author":{"_account_id":13362,"name":"Tan Lin","email":"lin.tan@intel.com","username":"zero"},"change_message_id":"87faf168bfd3c8ac700c017846161f31e200edf7","unresolved":false,"context_lines":[{"line_number":28,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"The proposed implementation consists of creating a new ``Driver Vendor"},{"line_number":31,"context_line":"Passthru`` method called ``ipxe_config`` that will dynamically generate"},{"line_number":32,"context_line":"the iPXE configuration files for a given node UUID or mac address"},{"line_number":33,"context_line":"depending on the node\u0027s provision state."},{"line_number":34,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"7a016987_b7b347e9","line":31,"updated":"2015-05-26 07:24:23.000000000","message":"why driver vendor passthru? This is not related to vendor, right? It\u0027s a generic method and it\u0027s kind of misuse.","commit_id":"0ed181a23bc5dd0ab7fe276cb8b5c251df94e926"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"300fb16f5e08a237238071f3f8d7c3277ae50ced","unresolved":false,"context_lines":[{"line_number":28,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"The proposed implementation consists of creating a new ``Driver Vendor"},{"line_number":31,"context_line":"Passthru`` method called ``ipxe_config`` that will dynamically generate"},{"line_number":32,"context_line":"the iPXE configuration files for a given node UUID or mac address"},{"line_number":33,"context_line":"depending on the node\u0027s provision state."},{"line_number":34,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"7a016987_b7c3448a","line":31,"in_reply_to":"7a016987_b7b347e9","updated":"2015-05-26 08:32:25.000000000","message":"Unfortunately this is the only extensible endpoint in our API for driver specifics. (ipxe_config only works for iPXE so it\u0027s not part of the common API)\n\nThat\u0027s the reason why the agent_* drivers have driver vendor passthrus for things like \"lookup\" or \"heartbeat\" and the pxe_* drivers have node vendor passthrus for \"pass_deploy_info\" and \"pass_bootloader_install_info\". None are \"vendor\" related per si, but they are driver specifics.","commit_id":"0ed181a23bc5dd0ab7fe276cb8b5c251df94e926"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"d9ce7027c96bb9db1e70e901c5b9f150db93c88b","unresolved":false,"context_lines":[{"line_number":28,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"The proposed implementation consists of creating a new ``Driver Vendor"},{"line_number":31,"context_line":"Passthru`` method called ``ipxe_config`` that will dynamically generate"},{"line_number":32,"context_line":"the iPXE configuration files for a given node UUID or mac address"},{"line_number":33,"context_line":"depending on the node\u0027s provision state."},{"line_number":34,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_4160bf35","line":31,"in_reply_to":"7a016987_e03ed0b6","updated":"2015-06-02 09:38:38.000000000","message":"We will still have to maintain the endpoint for a while at the same place right?","commit_id":"0ed181a23bc5dd0ab7fe276cb8b5c251df94e926"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"5fa0848f8af91d13adf7ce4e97acf5a1bd14a59c","unresolved":false,"context_lines":[{"line_number":177,"context_line":"  methods to return a flag indicating whether the return value should"},{"line_number":178,"context_line":"  be attached to the response object as a file or returned as a response"},{"line_number":179,"context_line":"  message."},{"line_number":180,"context_line":""},{"line_number":181,"context_line":"Dependencies"},{"line_number":182,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":183,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"7a016987_c0499461","line":180,"updated":"2015-06-01 09:37:02.000000000","message":"++","commit_id":"0ed181a23bc5dd0ab7fe276cb8b5c251df94e926"},{"author":{"_account_id":5805,"name":"Chris Krelle","email":"nobodycam@gmail.com","username":"nobodycam"},"change_message_id":"e066423aa684dca8c0f99f9aca5ee58aa324407d","unresolved":false,"context_lines":[{"line_number":177,"context_line":"  methods to return a flag indicating whether the return value should"},{"line_number":178,"context_line":"  be attached to the response object as a file or returned as a response"},{"line_number":179,"context_line":"  message."},{"line_number":180,"context_line":""},{"line_number":181,"context_line":"Dependencies"},{"line_number":182,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":183,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"7a016987_25889370","line":180,"updated":"2015-05-29 22:53:08.000000000","message":"would take_over() functions need to updated along with this?","commit_id":"0ed181a23bc5dd0ab7fe276cb8b5c251df94e926"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"d9ce7027c96bb9db1e70e901c5b9f150db93c88b","unresolved":false,"context_lines":[{"line_number":177,"context_line":"  methods to return a flag indicating whether the return value should"},{"line_number":178,"context_line":"  be attached to the response object as a file or returned as a response"},{"line_number":179,"context_line":"  message."},{"line_number":180,"context_line":""},{"line_number":181,"context_line":"Dependencies"},{"line_number":182,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":183,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_4179dffb","line":180,"in_reply_to":"7a016987_c0499461","updated":"2015-06-02 09:38:38.000000000","message":"yes","commit_id":"0ed181a23bc5dd0ab7fe276cb8b5c251df94e926"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"5fa0848f8af91d13adf7ce4e97acf5a1bd14a59c","unresolved":false,"context_lines":[{"line_number":182,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":183,"context_line":""},{"line_number":184,"context_line":"* Not a hard dependency, but the split of the boot and deploy interface"},{"line_number":185,"context_line":"  will facilitate this work"},{"line_number":186,"context_line":""},{"line_number":187,"context_line":"Testing"},{"line_number":188,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7a016987_a0445846","line":185,"updated":"2015-06-01 09:37:02.000000000","message":"I\u0027ve approved this split spec today, so we may call it dependency.","commit_id":"0ed181a23bc5dd0ab7fe276cb8b5c251df94e926"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"d9ce7027c96bb9db1e70e901c5b9f150db93c88b","unresolved":false,"context_lines":[{"line_number":182,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":183,"context_line":""},{"line_number":184,"context_line":"* Not a hard dependency, but the split of the boot and deploy interface"},{"line_number":185,"context_line":"  will facilitate this work"},{"line_number":186,"context_line":""},{"line_number":187,"context_line":"Testing"},{"line_number":188,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_8120f7f8","line":185,"in_reply_to":"7a016987_a0445846","updated":"2015-06-02 09:38:38.000000000","message":"+1","commit_id":"0ed181a23bc5dd0ab7fe276cb8b5c251df94e926"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"41d64d2f2b12f7a32bd228cfccaeeb39ad38e24a","unresolved":false,"context_lines":[{"line_number":61,"context_line":"create a single iPXE script pointing to the Ironic API (and expanding"},{"line_number":62,"context_line":"the ``${mac}`` variable) when configuring their external DHCP server"},{"line_number":63,"context_line":"allowing them to have dynamically generated iPXE configuration for their"},{"line_number":64,"context_line":"environment even when Neutron is not used."},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"This work can get even more powerful when the images are set to boot from"},{"line_number":67,"context_line":"``http`` [#]_, as then the iPXE drive won\u0027t need to save any state on"}],"source_content_type":"text/x-rst","patch_set":7,"id":"3afb71cf_64945b42","line":64,"updated":"2015-06-10 00:11:15.000000000","message":"These bits personally make me really excited :D","commit_id":"e6e4a04b109904060cdcd5abf9985224094097ae"}]}
