)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"3335a1237d97b05e8a4b2716ca3b94788fa02ef1","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"No IPA to conductor communication"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Co-Authored-By: Mario Villaplana \u003cmario.villaplana@gmail.com\u003e"},{"line_number":10,"context_line":"Co-Authored-By: Josh Gachnang \u003cjosh@pcsforeducation.com\u003e"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Allowing a target node to contact the Ironic API as part of the boot"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":7,"id":"fa1b9901_d34003a8","line":9,"updated":"2015-08-18 17:45:20.000000000","message":"These are usually put at the bottom where the Change-Id line is.","commit_id":"0e18cc77244b1e82f535b31f02ee4e96a576fa13"},{"author":{"_account_id":9452,"name":"James Penick","email":"penick@verizonmedia.com","username":"epim"},"change_message_id":"fcbe2ceb26305935d5c44c41a88c13a3d99d9917","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"No IPA to conductor communication"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Co-Authored-By: Mario Villaplana \u003cmario.villaplana@gmail.com\u003e"},{"line_number":10,"context_line":"Co-Authored-By: Josh Gachnang \u003cjosh@pcsforeducation.com\u003e"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Allowing a target node to contact the Ironic API as part of the boot"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":7,"id":"fa1b9901_0e5970fe","line":9,"in_reply_to":"fa1b9901_d34003a8","updated":"2015-08-19 00:38:12.000000000","message":"I\u0027ll move \u0027em","commit_id":"0e18cc77244b1e82f535b31f02ee4e96a576fa13"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"7dfed5b71017e05e1b187e9723a6bb5f2cd4fc4b","unresolved":false,"context_lines":[{"line_number":10,"context_line":"process carries the implication that an attacker could then launch an"},{"line_number":11,"context_line":"attack on the control plane via the Ironic API."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"In this spec we provide a means to push the node ID to a target node,"},{"line_number":14,"context_line":"and poll the target node for completed build state. Thus all network"},{"line_number":15,"context_line":"traffic egresses from conductor to IPA, and never the other way around"},{"line_number":16,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":16,"id":"3f79a3b5_8d19ab7b","line":13,"updated":"2018-09-12 04:44:10.000000000","message":"need to update this cuz we\u0027re not pushing the node ID.\n\nalthough penick made a good comment in ps 14, about how we might want to push the node ID to avoid the lookup API call. But now that I think about it, maybe in 2015 the lookup only returned the node ID; it returns a lot more stuff now, so just pushing the node ID isn\u0027t enuf anyway.","commit_id":"9691c8308e9cd74ba93ef31b147afc5ec18c3660"}],"specs/approved/no-ipa-to-conductor.rst":[{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"cd8dcb3125c06f95491f4e3007df356c35d3f055","unresolved":false,"context_lines":[{"line_number":10,"context_line":""},{"line_number":11,"context_line":"Include the URL of your launchpad blueprint:"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"https://blueprints.launchpad.net/ironic/+spec/no-ipa-to-conductor"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Pass the node ID to the target node as a kernel parameter rather than"},{"line_number":16,"context_line":"requiring (or allowing) the target to have any API access to the ironic API."}],"source_content_type":"text/x-rst","patch_set":7,"id":"fa1b9901_14469323","line":13,"updated":"2015-08-17 22:12:22.000000000","message":"guess you mean https://blueprints.launchpad.net/ironic/+spec/no-ipa-conductor-communication","commit_id":"0e18cc77244b1e82f535b31f02ee4e96a576fa13"},{"author":{"_account_id":9452,"name":"James Penick","email":"penick@verizonmedia.com","username":"epim"},"change_message_id":"fcbe2ceb26305935d5c44c41a88c13a3d99d9917","unresolved":false,"context_lines":[{"line_number":10,"context_line":""},{"line_number":11,"context_line":"Include the URL of your launchpad blueprint:"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"https://blueprints.launchpad.net/ironic/+spec/no-ipa-to-conductor"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Pass the node ID to the target node as a kernel parameter rather than"},{"line_number":16,"context_line":"requiring (or allowing) the target to have any API access to the ironic API."}],"source_content_type":"text/x-rst","patch_set":7,"id":"fa1b9901_6645a5b1","line":13,"in_reply_to":"fa1b9901_14469323","updated":"2015-08-19 00:38:12.000000000","message":"I just renamed it to no-ipa-to-conductor, thanks for catching that","commit_id":"0e18cc77244b1e82f535b31f02ee4e96a576fa13"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"cd8dcb3125c06f95491f4e3007df356c35d3f055","unresolved":false,"context_lines":[{"line_number":40,"context_line":""},{"line_number":41,"context_line":"Proposed change"},{"line_number":42,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":43,"context_line":"We will add a config option to put IPA communications into a \u0027ipa_poll_only\u0027"},{"line_number":44,"context_line":"mode."},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"If \u0027ipa_poll_only\u0027 is enabled, we pass the \u0027standalone\u0027 kernel command line"}],"source_content_type":"text/x-rst","patch_set":7,"id":"fa1b9901_7626f4bb","line":43,"updated":"2015-08-17 22:12:22.000000000","message":"as mentioned by Dmitry, this will live in the \u0027agent\u0027 group, so maybe s/a/a [agent]/\n\nOh, or s/option/option (in [agent] group)/","commit_id":"0e18cc77244b1e82f535b31f02ee4e96a576fa13"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"cd8dcb3125c06f95491f4e3007df356c35d3f055","unresolved":false,"context_lines":[{"line_number":103,"context_line":""},{"line_number":104,"context_line":"Changes which affect the driver API have a direct effect on all drivers, and"},{"line_number":105,"context_line":"often have a wider impact on the system. There are several things to consider"},{"line_number":106,"context_line":"in this section."},{"line_number":107,"context_line":""},{"line_number":108,"context_line":"Nova driver impact"},{"line_number":109,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":7,"id":"fa1b9901_14877310","line":106,"updated":"2015-08-17 22:12:22.000000000","message":"such as ?","commit_id":"0e18cc77244b1e82f535b31f02ee4e96a576fa13"},{"author":{"_account_id":9452,"name":"James Penick","email":"penick@verizonmedia.com","username":"epim"},"change_message_id":"fcbe2ceb26305935d5c44c41a88c13a3d99d9917","unresolved":false,"context_lines":[{"line_number":103,"context_line":""},{"line_number":104,"context_line":"Changes which affect the driver API have a direct effect on all drivers, and"},{"line_number":105,"context_line":"often have a wider impact on the system. There are several things to consider"},{"line_number":106,"context_line":"in this section."},{"line_number":107,"context_line":""},{"line_number":108,"context_line":"Nova driver impact"},{"line_number":109,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":7,"id":"fa1b9901_4678a1f2","line":106,"in_reply_to":"fa1b9901_14877310","updated":"2015-08-19 00:38:12.000000000","message":"stub paragraph, corrected in latest rev","commit_id":"0e18cc77244b1e82f535b31f02ee4e96a576fa13"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"cd8dcb3125c06f95491f4e3007df356c35d3f055","unresolved":false,"context_lines":[{"line_number":156,"context_line":""},{"line_number":157,"context_line":"If more than one person is working on the implementation, please designate the"},{"line_number":158,"context_line":"primary author and contact."},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"Primary assignee:"},{"line_number":161,"context_line":"  \u003cjoshnang\u003e"},{"line_number":162,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"fa1b9901_149e9356","line":159,"updated":"2015-08-17 22:12:22.000000000","message":"You can probably delete the above :)","commit_id":"0e18cc77244b1e82f535b31f02ee4e96a576fa13"},{"author":{"_account_id":9452,"name":"James Penick","email":"penick@verizonmedia.com","username":"epim"},"change_message_id":"fcbe2ceb26305935d5c44c41a88c13a3d99d9917","unresolved":false,"context_lines":[{"line_number":156,"context_line":""},{"line_number":157,"context_line":"If more than one person is working on the implementation, please designate the"},{"line_number":158,"context_line":"primary author and contact."},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"Primary assignee:"},{"line_number":161,"context_line":"  \u003cjoshnang\u003e"},{"line_number":162,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"fa1b9901_66736516","line":159,"in_reply_to":"fa1b9901_149e9356","updated":"2015-08-19 00:38:12.000000000","message":"done","commit_id":"0e18cc77244b1e82f535b31f02ee4e96a576fa13"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"cd8dcb3125c06f95491f4e3007df356c35d3f055","unresolved":false,"context_lines":[{"line_number":172,"context_line":"Dependencies"},{"line_number":173,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":174,"context_line":""},{"line_number":175,"context_line":"None"},{"line_number":176,"context_line":""},{"line_number":177,"context_line":"Testing"},{"line_number":178,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":7,"id":"fa1b9901_14bbf373","line":175,"updated":"2015-08-17 22:12:22.000000000","message":"Dmitry mentioned switch to Futurist. There\u0027s a spec to do that: http://specs.openstack.org/openstack/ironic-specs/specs/approved/futurist.html","commit_id":"0e18cc77244b1e82f535b31f02ee4e96a576fa13"},{"author":{"_account_id":9452,"name":"James Penick","email":"penick@verizonmedia.com","username":"epim"},"change_message_id":"fcbe2ceb26305935d5c44c41a88c13a3d99d9917","unresolved":false,"context_lines":[{"line_number":172,"context_line":"Dependencies"},{"line_number":173,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":174,"context_line":""},{"line_number":175,"context_line":"None"},{"line_number":176,"context_line":""},{"line_number":177,"context_line":"Testing"},{"line_number":178,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":7,"id":"fa1b9901_c65a7183","line":175,"in_reply_to":"fa1b9901_14bbf373","updated":"2015-08-19 00:38:12.000000000","message":"i\u0027ve added that to the latest patch, thanks!","commit_id":"0e18cc77244b1e82f535b31f02ee4e96a576fa13"},{"author":{"_account_id":13997,"name":"SHIGEMATSU Mitsuhiro","email":"shigematsu.mitsuhiro@lab.ntt.co.jp","username":"pshige"},"change_message_id":"453ce3552482e2dc9d90490e3c6341450d1e715e","unresolved":false,"context_lines":[{"line_number":34,"context_line":"  hosts, but cannot contact the Ironic API."},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"However, this doesn\u0027t scale with medium to mega scale deployers who leverage"},{"line_number":37,"context_line":"layer 3 network toplogies. In L3 networks a subnet is constrained to a single"},{"line_number":38,"context_line":"rack. This means that to leverage two networks to image hosts one would need"},{"line_number":39,"context_line":"to provision a second subnet for every single rack."},{"line_number":40,"context_line":""}],"source_content_type":"text/x-rst","patch_set":10,"id":"fa1b9901_a1c64747","line":37,"updated":"2015-08-19 01:06:25.000000000","message":"s/toplogies/topologies/","commit_id":"8fbd11c50c86e9638b12ff28e0736a01481168ca"},{"author":{"_account_id":9452,"name":"James Penick","email":"penick@verizonmedia.com","username":"epim"},"change_message_id":"38d7b94e0a2d8cc52931b511ffda95cc86b75431","unresolved":false,"context_lines":[{"line_number":34,"context_line":"  hosts, but cannot contact the Ironic API."},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"However, this doesn\u0027t scale with medium to mega scale deployers who leverage"},{"line_number":37,"context_line":"layer 3 network toplogies. In L3 networks a subnet is constrained to a single"},{"line_number":38,"context_line":"rack. This means that to leverage two networks to image hosts one would need"},{"line_number":39,"context_line":"to provision a second subnet for every single rack."},{"line_number":40,"context_line":""}],"source_content_type":"text/x-rst","patch_set":10,"id":"fa1b9901_24f1be01","line":37,"in_reply_to":"fa1b9901_a1c64747","updated":"2015-08-19 17:08:30.000000000","message":"fixed in the next patch. thanks for catching that","commit_id":"8fbd11c50c86e9638b12ff28e0736a01481168ca"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"2ddb50478cd071fc761688598522609fb9dd5414","unresolved":false,"context_lines":[{"line_number":36,"context_line":"However, this doesn\u0027t scale with medium to mega scale deployers who leverage"},{"line_number":37,"context_line":"layer 3 network toplogies. In L3 networks a subnet is constrained to a single"},{"line_number":38,"context_line":"rack. This means that to leverage two networks to image hosts one would need"},{"line_number":39,"context_line":"to provision a second subnet for every single rack."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"Compounding the issue further, different networks with different fundamental"},{"line_number":42,"context_line":"security policies implies that these disparate policies must be enforced."}],"source_content_type":"text/x-rst","patch_set":10,"id":"fa1b9901_e5f201d2","line":39,"updated":"2015-08-19 07:42:52.000000000","message":"I\u0027m not a network guru, but seems like it\u0027s not a big deal. At least I haven\u0027t heard this concern from neutron folks working on network separation right now.","commit_id":"8fbd11c50c86e9638b12ff28e0736a01481168ca"},{"author":{"_account_id":9452,"name":"James Penick","email":"penick@verizonmedia.com","username":"epim"},"change_message_id":"38d7b94e0a2d8cc52931b511ffda95cc86b75431","unresolved":false,"context_lines":[{"line_number":36,"context_line":"However, this doesn\u0027t scale with medium to mega scale deployers who leverage"},{"line_number":37,"context_line":"layer 3 network toplogies. In L3 networks a subnet is constrained to a single"},{"line_number":38,"context_line":"rack. This means that to leverage two networks to image hosts one would need"},{"line_number":39,"context_line":"to provision a second subnet for every single rack."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"Compounding the issue further, different networks with different fundamental"},{"line_number":42,"context_line":"security policies implies that these disparate policies must be enforced."}],"source_content_type":"text/x-rst","patch_set":10,"id":"fa1b9901_e44d063f","line":39,"in_reply_to":"fa1b9901_e5f201d2","updated":"2015-08-19 17:08:30.000000000","message":"for a small environment it\u0027s not that big of a deal. But when you\u0027re dealing with hundreds of thousands of servers, then that means carving out thousands of additional subnets. It\u0027s huge complexity that can be obviated with relatively minor change.","commit_id":"8fbd11c50c86e9638b12ff28e0736a01481168ca"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"2ddb50478cd071fc761688598522609fb9dd5414","unresolved":false,"context_lines":[{"line_number":55,"context_line":""},{"line_number":56,"context_line":"To remediate this we\u0027ll pass the node ID to the instance as a kernel"},{"line_number":57,"context_line":"parameter in the PXE data. In this case, even though Mallory has compromised"},{"line_number":58,"context_line":"the target node, there is no intrinsic network access between the target node"},{"line_number":59,"context_line":"and the control plane, thus she is no longer able to attack the provisioning"},{"line_number":60,"context_line":"infrastructure."},{"line_number":61,"context_line":""}],"source_content_type":"text/x-rst","patch_set":10,"id":"fa1b9901_65acb1a0","line":58,"updated":"2015-08-19 07:42:52.000000000","message":"That\u0027s simply not true. You need network access between a node and conductor to do anything... Maybe you meant something else, please elaborate.","commit_id":"8fbd11c50c86e9638b12ff28e0736a01481168ca"},{"author":{"_account_id":9452,"name":"James Penick","email":"penick@verizonmedia.com","username":"epim"},"change_message_id":"38d7b94e0a2d8cc52931b511ffda95cc86b75431","unresolved":false,"context_lines":[{"line_number":55,"context_line":""},{"line_number":56,"context_line":"To remediate this we\u0027ll pass the node ID to the instance as a kernel"},{"line_number":57,"context_line":"parameter in the PXE data. In this case, even though Mallory has compromised"},{"line_number":58,"context_line":"the target node, there is no intrinsic network access between the target node"},{"line_number":59,"context_line":"and the control plane, thus she is no longer able to attack the provisioning"},{"line_number":60,"context_line":"infrastructure."},{"line_number":61,"context_line":""}],"source_content_type":"text/x-rst","patch_set":10,"id":"fa1b9901_8433eaaa","line":58,"in_reply_to":"fa1b9901_65acb1a0","updated":"2015-08-19 17:08:30.000000000","message":"Sorry, I was unclear. There is no egress FROM the target node TO the control plane. Thus Mallory cannot attempt to open a connection to the control plane and compromise it.","commit_id":"8fbd11c50c86e9638b12ff28e0736a01481168ca"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"27f0286779eb1e0d7b7dd90dfcd427609bacb4bc","unresolved":false,"context_lines":[{"line_number":80,"context_line":"4. Target node boots, uses DHCP to get IP."},{"line_number":81,"context_line":"5. Target node runs PXE/iPXE, pulls data from ipxe host."},{"line_number":82,"context_line":"6. Target boots, runs IPA, gleans Node ID from kernel param."},{"line_number":83,"context_line":"7. Conductor calls IPA on target node to walk it through the provisioning"},{"line_number":84,"context_line":"   process."},{"line_number":85,"context_line":"8. Target is complete. Conductor reboots target node."},{"line_number":86,"context_line":"9. Conductor cleans up ipxe data."}],"source_content_type":"text/x-rst","patch_set":10,"id":"fa1b9901_4cf746f5","line":83,"updated":"2015-08-19 14:19:23.000000000","message":"So the node doesn\u0027t talk to Ironic but Ironic talks to the node?\n\nOr is it about isolating only the Ironic API but the node still have network access to the Ironic Conductor?\n\nI\u0027m a bit confused, I don\u0027t see how it would be more secure.","commit_id":"8fbd11c50c86e9638b12ff28e0736a01481168ca"},{"author":{"_account_id":9452,"name":"James Penick","email":"penick@verizonmedia.com","username":"epim"},"change_message_id":"38d7b94e0a2d8cc52931b511ffda95cc86b75431","unresolved":false,"context_lines":[{"line_number":80,"context_line":"4. Target node boots, uses DHCP to get IP."},{"line_number":81,"context_line":"5. Target node runs PXE/iPXE, pulls data from ipxe host."},{"line_number":82,"context_line":"6. Target boots, runs IPA, gleans Node ID from kernel param."},{"line_number":83,"context_line":"7. Conductor calls IPA on target node to walk it through the provisioning"},{"line_number":84,"context_line":"   process."},{"line_number":85,"context_line":"8. Target is complete. Conductor reboots target node."},{"line_number":86,"context_line":"9. Conductor cleans up ipxe data."}],"source_content_type":"text/x-rst","patch_set":10,"id":"fa1b9901_648a561d","line":83,"in_reply_to":"fa1b9901_4cf746f5","updated":"2015-08-19 17:08:30.000000000","message":"Correct. The conductor can open connections to the target node and make calls to IPA as necessary.  However, the target node cannot try to open a connection to conductor.","commit_id":"8fbd11c50c86e9638b12ff28e0736a01481168ca"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"2ddb50478cd071fc761688598522609fb9dd5414","unresolved":false,"context_lines":[{"line_number":81,"context_line":"5. Target node runs PXE/iPXE, pulls data from ipxe host."},{"line_number":82,"context_line":"6. Target boots, runs IPA, gleans Node ID from kernel param."},{"line_number":83,"context_line":"7. Conductor calls IPA on target node to walk it through the provisioning"},{"line_number":84,"context_line":"   process."},{"line_number":85,"context_line":"8. Target is complete. Conductor reboots target node."},{"line_number":86,"context_line":"9. Conductor cleans up ipxe data."},{"line_number":87,"context_line":"10. Complete."}],"source_content_type":"text/x-rst","patch_set":10,"id":"fa1b9901_e5ae8184","line":84,"updated":"2015-08-19 07:42:52.000000000","message":"Conductor does not know node ID, if neutron is not used. To implement this flow, this spec must specify how this is going to work. You can\u0027t just leave it out..","commit_id":"8fbd11c50c86e9638b12ff28e0736a01481168ca"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"27f0286779eb1e0d7b7dd90dfcd427609bacb4bc","unresolved":false,"context_lines":[{"line_number":84,"context_line":"   process."},{"line_number":85,"context_line":"8. Target is complete. Conductor reboots target node."},{"line_number":86,"context_line":"9. Conductor cleans up ipxe data."},{"line_number":87,"context_line":"10. Complete."},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"Proposed change"},{"line_number":90,"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":10,"id":"fa1b9901_4ce186fd","line":87,"updated":"2015-08-19 14:19:23.000000000","message":"I thought that IPA was \"dumb\" by design. It was just an agent that sits there and wait for commands to run.\n\nNow IPA runs more than one command when deploying a node. I.e when deploying using the iSCSI methodology Ironic will tell IPA to \"start_iscsi_target\" and then if local boot is enabled it will ask for \"install_bootloader\" after the image has been written onto the disk. So these sequence of commands will need to be passed in the kernel command line so the agent running knows what needs to be executed, right?","commit_id":"8fbd11c50c86e9638b12ff28e0736a01481168ca"},{"author":{"_account_id":9452,"name":"James Penick","email":"penick@verizonmedia.com","username":"epim"},"change_message_id":"38d7b94e0a2d8cc52931b511ffda95cc86b75431","unresolved":false,"context_lines":[{"line_number":84,"context_line":"   process."},{"line_number":85,"context_line":"8. Target is complete. Conductor reboots target node."},{"line_number":86,"context_line":"9. Conductor cleans up ipxe data."},{"line_number":87,"context_line":"10. Complete."},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"Proposed change"},{"line_number":90,"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":10,"id":"fa1b9901_9fe57739","line":87,"in_reply_to":"fa1b9901_4ce186fd","updated":"2015-08-19 17:08:30.000000000","message":"This flow should still work as it does right now, the host boots into the installer environment, loads IPA, and then waits to receive calls from Ironic. Ironic then calls IPA and sends the same iscsi commands as it does now.","commit_id":"8fbd11c50c86e9638b12ff28e0736a01481168ca"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"27f0286779eb1e0d7b7dd90dfcd427609bacb4bc","unresolved":false,"context_lines":[{"line_number":85,"context_line":"8. Target is complete. Conductor reboots target node."},{"line_number":86,"context_line":"9. Conductor cleans up ipxe data."},{"line_number":87,"context_line":"10. Complete."},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"Proposed change"},{"line_number":90,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":91,"context_line":""}],"source_content_type":"text/x-rst","patch_set":10,"id":"fa1b9901_0cce2e5a","line":88,"updated":"2015-08-19 14:19:23.000000000","message":"How does this flow works with CLEANING?\n\nFor cleaning we have a sequence of clean steps that needs to run in a certain order so we consider the node to be cleaned. This order may consist of some in-band (tasks that is ran by the IPA agent booted on the node) and out-of-band tasks which is the ironic-conductor that execute.","commit_id":"8fbd11c50c86e9638b12ff28e0736a01481168ca"},{"author":{"_account_id":9452,"name":"James Penick","email":"penick@verizonmedia.com","username":"epim"},"change_message_id":"38d7b94e0a2d8cc52931b511ffda95cc86b75431","unresolved":false,"context_lines":[{"line_number":85,"context_line":"8. Target is complete. Conductor reboots target node."},{"line_number":86,"context_line":"9. Conductor cleans up ipxe data."},{"line_number":87,"context_line":"10. Complete."},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"Proposed change"},{"line_number":90,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":91,"context_line":""}],"source_content_type":"text/x-rst","patch_set":10,"id":"fa1b9901_c4a8027a","line":88,"in_reply_to":"fa1b9901_0cce2e5a","updated":"2015-08-19 17:08:30.000000000","message":"It should be functionally the same.\n\nHost boots, stands up IPA, then conductor initiates calls to IPA to walk the host through the cleaning process","commit_id":"8fbd11c50c86e9638b12ff28e0736a01481168ca"},{"author":{"_account_id":13997,"name":"SHIGEMATSU Mitsuhiro","email":"shigematsu.mitsuhiro@lab.ntt.co.jp","username":"pshige"},"change_message_id":"453ce3552482e2dc9d90490e3c6341450d1e715e","unresolved":false,"context_lines":[{"line_number":89,"context_line":"Proposed change"},{"line_number":90,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"We will add a config option to the [agent] catagory for \u0027poll_only\u0027."},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"If \u0027poll_only\u0027 is enabled, we pass the \u0027standalone\u0027 kernel command line"},{"line_number":95,"context_line":"parameter to IPA to disable heartbeating and lookup. The conductor will pass"}],"source_content_type":"text/x-rst","patch_set":10,"id":"fa1b9901_a19f274f","line":92,"updated":"2015-08-19 01:06:25.000000000","message":"s/catagory/category/","commit_id":"8fbd11c50c86e9638b12ff28e0736a01481168ca"},{"author":{"_account_id":9452,"name":"James Penick","email":"penick@verizonmedia.com","username":"epim"},"change_message_id":"38d7b94e0a2d8cc52931b511ffda95cc86b75431","unresolved":false,"context_lines":[{"line_number":89,"context_line":"Proposed change"},{"line_number":90,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"We will add a config option to the [agent] catagory for \u0027poll_only\u0027."},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"If \u0027poll_only\u0027 is enabled, we pass the \u0027standalone\u0027 kernel command line"},{"line_number":95,"context_line":"parameter to IPA to disable heartbeating and lookup. The conductor will pass"}],"source_content_type":"text/x-rst","patch_set":10,"id":"fa1b9901_e47e6618","line":92,"in_reply_to":"fa1b9901_a19f274f","updated":"2015-08-19 17:08:30.000000000","message":"fixed in the next patch, thanks","commit_id":"8fbd11c50c86e9638b12ff28e0736a01481168ca"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"2ddb50478cd071fc761688598522609fb9dd5414","unresolved":false,"context_lines":[{"line_number":92,"context_line":"We will add a config option to the [agent] catagory for \u0027poll_only\u0027."},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"If \u0027poll_only\u0027 is enabled, we pass the \u0027standalone\u0027 kernel command line"},{"line_number":95,"context_line":"parameter to IPA to disable heartbeating and lookup. The conductor will pass"},{"line_number":96,"context_line":"the node UUID as a kernel command line parameter when IPA boots, and IPA will"},{"line_number":97,"context_line":"use that instead of doing a lookup call to Ironic."},{"line_number":98,"context_line":""}],"source_content_type":"text/x-rst","patch_set":10,"id":"fa1b9901_e5dc4114","line":95,"updated":"2015-08-19 07:42:52.000000000","message":"Disabling lookup and heartbeat are 2 different tasks, the former being non-controversial at all. You can disable lookup if node ID and required configuration options are provided in the command line, even if standalone is not used.","commit_id":"8fbd11c50c86e9638b12ff28e0736a01481168ca"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"2ddb50478cd071fc761688598522609fb9dd5414","unresolved":false,"context_lines":[{"line_number":112,"context_line":""},{"line_number":113,"context_line":"* In cases where Neutron is not used, the IP of the target node must be"},{"line_number":114,"context_line":"  derived via another source, such as querying a default hostname in DNS, or"},{"line_number":115,"context_line":"  looking up the value in the DHCP config."},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"* The ironic-inspector assumes it can post data back to the Ironic API. This"},{"line_number":118,"context_line":"  spec breaks that assumption. We need to propose another spec to fix that."}],"source_content_type":"text/x-rst","patch_set":10,"id":"fa1b9901_2541d9a9","line":115,"updated":"2015-08-19 07:42:52.000000000","message":"You must specify it in this spec, not leave for someone to fix what is broken... alternatively you can say that working without neutron won\u0027t be supported.","commit_id":"8fbd11c50c86e9638b12ff28e0736a01481168ca"},{"author":{"_account_id":9452,"name":"James Penick","email":"penick@verizonmedia.com","username":"epim"},"change_message_id":"38d7b94e0a2d8cc52931b511ffda95cc86b75431","unresolved":false,"context_lines":[{"line_number":112,"context_line":""},{"line_number":113,"context_line":"* In cases where Neutron is not used, the IP of the target node must be"},{"line_number":114,"context_line":"  derived via another source, such as querying a default hostname in DNS, or"},{"line_number":115,"context_line":"  looking up the value in the DHCP config."},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"* The ironic-inspector assumes it can post data back to the Ironic API. This"},{"line_number":118,"context_line":"  spec breaks that assumption. We need to propose another spec to fix that."}],"source_content_type":"text/x-rst","patch_set":10,"id":"fa1b9901_1fdba750","line":115,"in_reply_to":"fa1b9901_2541d9a9","updated":"2015-08-19 17:08:30.000000000","message":"I\u0027ll update this in the next patch to indicate that deploying without Neutron is not supported as part of this spec.","commit_id":"8fbd11c50c86e9638b12ff28e0736a01481168ca"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"2ddb50478cd071fc761688598522609fb9dd5414","unresolved":false,"context_lines":[{"line_number":115,"context_line":"  looking up the value in the DHCP config."},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"* The ironic-inspector assumes it can post data back to the Ironic API. This"},{"line_number":118,"context_line":"  spec breaks that assumption. We need to propose another spec to fix that."},{"line_number":119,"context_line":""},{"line_number":120,"context_line":"Alternatives"},{"line_number":121,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":10,"id":"fa1b9901_054615bf","line":118,"updated":"2015-08-19 07:42:52.000000000","message":"I assume in this case inspection just won\u0027t work, so you can state that you need poll_only\u003dFalse for inspection.","commit_id":"8fbd11c50c86e9638b12ff28e0736a01481168ca"},{"author":{"_account_id":9452,"name":"James Penick","email":"penick@verizonmedia.com","username":"epim"},"change_message_id":"38d7b94e0a2d8cc52931b511ffda95cc86b75431","unresolved":false,"context_lines":[{"line_number":115,"context_line":"  looking up the value in the DHCP config."},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"* The ironic-inspector assumes it can post data back to the Ironic API. This"},{"line_number":118,"context_line":"  spec breaks that assumption. We need to propose another spec to fix that."},{"line_number":119,"context_line":""},{"line_number":120,"context_line":"Alternatives"},{"line_number":121,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":10,"id":"fa1b9901_5fa35fb2","line":118,"in_reply_to":"fa1b9901_054615bf","updated":"2015-08-19 17:08:30.000000000","message":"ok, I\u0027ll call out that it needs to be that way for now.","commit_id":"8fbd11c50c86e9638b12ff28e0736a01481168ca"},{"author":{"_account_id":10380,"name":"Josh Gachnang","email":"josh@pcsforeducation.com","username":"JoshNang"},"change_message_id":"135d3f116fd51c4e6d58a6867b3ee454c91f8e12","unresolved":false,"context_lines":[{"line_number":62,"context_line":"If the deployer runs DHCPD and serves PXE/iPXE from the control plane, then"},{"line_number":63,"context_line":"there is still logical network access between the target node and the control"},{"line_number":64,"context_line":"plane. However, this is easily fixed by running those services on dedicated"},{"line_number":65,"context_line":"intermediary hosts."},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"In this context the network flow is:"},{"line_number":68,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"fa1b9901_1a649247","line":65,"updated":"2015-08-21 20:12:06.000000000","message":"I don\u0027t know Neutron very well, but I\u0027m pretty sure Neutron can\u0027t work on a remote host like this, which means you either need run Neutron on the iPXE host or modify Neutron. Unless we\u0027re statically setting things up on the iPXE host and not using the Neutron network driver (fwiw, this is how our separated DHCP/iPXE works).","commit_id":"92c9460f9a55eb36edbb494409309a998807efc1"},{"author":{"_account_id":10380,"name":"Josh Gachnang","email":"josh@pcsforeducation.com","username":"JoshNang"},"change_message_id":"135d3f116fd51c4e6d58a6867b3ee454c91f8e12","unresolved":false,"context_lines":[{"line_number":96,"context_line":"  the Ironic API. The connection times out. She gives up and attacks the iPXE"},{"line_number":97,"context_line":"  host. She succeeds and compromises the iPXE host. She then attempts to"},{"line_number":98,"context_line":"  attack the ironic API. The connection fails. Mallory, disappointed, gives"},{"line_number":99,"context_line":"  up and puts her life of crime behind her."},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"In this case, even though Mallory has compromised the target node, there is no"},{"line_number":102,"context_line":"intrinsic network access between the target node and the control plane. Thus"}],"source_content_type":"text/x-rst","patch_set":12,"id":"fa1b9901_9ae3c205","line":99,"updated":"2015-08-21 20:12:06.000000000","message":"Seems like if she gets to this point, she can own every machine booted using this iPXE host. More limited sure, but she\u0027s probably fairly happy. But this beats owning a datacenter, so yay!","commit_id":"92c9460f9a55eb36edbb494409309a998807efc1"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"037da32a6e2ec7dad803e6681ff62afe98ba1698","unresolved":false,"context_lines":[{"line_number":130,"context_line":"Notes:"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"* This spec depends on the assumption that Ironic can look up the node IP in"},{"line_number":133,"context_line":"  Neutron. Deployments without Neutron are not supported."},{"line_number":134,"context_line":""},{"line_number":135,"context_line":"* The ironic-inspector assumes it can post data back to the Ironic API. This"},{"line_number":136,"context_line":"  spec breaks that assumption. Until that\u0027s fixed deployers who wish to use"}],"source_content_type":"text/x-rst","patch_set":12,"id":"fa1b9901_1a30129e","line":133,"updated":"2015-08-21 20:00:41.000000000","message":"I might not have enough context here without reading the previous patch sets, but you mean that \"deployments without Neutron are not supported when poll_only\u003dTrue\", right?","commit_id":"92c9460f9a55eb36edbb494409309a998807efc1"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"3e626c683b00364695daec70c912bf1fb3da1aac","unresolved":false,"context_lines":[{"line_number":173,"context_line":"Driver API impact"},{"line_number":174,"context_line":"-----------------"},{"line_number":175,"context_line":""},{"line_number":176,"context_line":"All the agent_* vendor passthru interfaces will need to be refactor to allow"},{"line_number":177,"context_line":"either a heartbeat call or a periodic task to drive the states."},{"line_number":178,"context_line":""},{"line_number":179,"context_line":"Nova driver impact"}],"source_content_type":"text/x-rst","patch_set":12,"id":"fa1b9901_ba97a639","line":176,"updated":"2015-08-21 20:04:53.000000000","message":"nit: s/refactor/refactored","commit_id":"92c9460f9a55eb36edbb494409309a998807efc1"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"037da32a6e2ec7dad803e6681ff62afe98ba1698","unresolved":false,"context_lines":[{"line_number":253,"context_line":""},{"line_number":254,"context_line":"Documentation Impact"},{"line_number":255,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":256,"context_line":""},{"line_number":257,"context_line":"This feature needs to be documented as a deployment option."},{"line_number":258,"context_line":""},{"line_number":259,"context_line":"References"}],"source_content_type":"text/x-rst","patch_set":12,"id":"fa1b9901_1a86d265","line":256,"updated":"2015-08-21 20:00:41.000000000","message":"It might be good to have a special note here to update the ironic-inspector README indicating that inspector won\u0027t work with poll_only\u003dTrue: https://github.com/openstack/ironic-inspector/blob/master/README.rst","commit_id":"92c9460f9a55eb36edbb494409309a998807efc1"},{"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":"efba730f9233b29a59f4fb20bd7da933525ed855","unresolved":false,"context_lines":[{"line_number":18,"context_line":"Problem description"},{"line_number":19,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"As part of the boot process IPA must call the ironic API to query its node"},{"line_number":22,"context_line":"ID, and notify ironic when it\u0027s completed the boot process."},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"This implies that a target node has network access to the Ironic API, which"}],"source_content_type":"text/x-rst","patch_set":13,"id":"9a1a9d01_0f3f6bd7","line":21,"updated":"2015-10-01 18:12:10.000000000","message":"nit: Ironic","commit_id":"ebb9c6af5b4d360af002fe26a9323fe73dfcf21f"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"94505e97b713170aa49a0d192851a5cf8d8ec755","unresolved":false,"context_lines":[{"line_number":18,"context_line":"Problem description"},{"line_number":19,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"As part of the boot process IPA must call the ironic API to query its node"},{"line_number":22,"context_line":"ID, and notify ironic when it\u0027s completed the boot process."},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"This implies that a target node has network access to the Ironic API, which"}],"source_content_type":"text/x-rst","patch_set":13,"id":"7a2fa921_3b8a111c","line":21,"in_reply_to":"9a1a9d01_0f3f6bd7","updated":"2015-10-08 20:25:42.000000000","message":"I think \"they\" prefer \u0027ironic\u0027 [1]\n\n[1] https://wiki.openstack.org/wiki/Documentation/Conventions#Service_and_project_names","commit_id":"ebb9c6af5b4d360af002fe26a9323fe73dfcf21f"},{"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":"efba730f9233b29a59f4fb20bd7da933525ed855","unresolved":false,"context_lines":[{"line_number":35,"context_line":"* A tenant network, which can communicate with the outside world, and other"},{"line_number":36,"context_line":"  hosts, but cannot contact the Ironic API."},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"However, this doesn\u0027t scale with medium to mega scale deployers who leverage"},{"line_number":39,"context_line":"layer 3 network topolgies. In L3 networks a subnet is constrained to a single"},{"line_number":40,"context_line":"rack. This means that to leverage two networks to image hosts one would need"},{"line_number":41,"context_line":"to provision a second subnet for every single rack."}],"source_content_type":"text/x-rst","patch_set":13,"id":"9a1a9d01_cf089330","line":38,"updated":"2015-10-01 18:12:10.000000000","message":"I don\u0027t think you need to justify why you can\u0027t/don\u0027t want to switch networks. It\u0027s just a different set of use cases. I think being able to do this could be valuable even if you had a dedicated provisioning network.","commit_id":"ebb9c6af5b4d360af002fe26a9323fe73dfcf21f"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"94505e97b713170aa49a0d192851a5cf8d8ec755","unresolved":false,"context_lines":[{"line_number":35,"context_line":"* A tenant network, which can communicate with the outside world, and other"},{"line_number":36,"context_line":"  hosts, but cannot contact the Ironic API."},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"However, this doesn\u0027t scale with medium to mega scale deployers who leverage"},{"line_number":39,"context_line":"layer 3 network topolgies. In L3 networks a subnet is constrained to a single"},{"line_number":40,"context_line":"rack. This means that to leverage two networks to image hosts one would need"},{"line_number":41,"context_line":"to provision a second subnet for every single rack."}],"source_content_type":"text/x-rst","patch_set":13,"id":"7a2fa921_bb4141ab","line":38,"in_reply_to":"9a1a9d01_cf089330","updated":"2015-10-08 20:25:42.000000000","message":"I think it is useful to know the use case. (whether it is needed or not kind of depends on the reader. People have been known to ask \"why do you want this\" or \"why don\u0027t you use the widget we provide\")","commit_id":"ebb9c6af5b4d360af002fe26a9323fe73dfcf21f"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"94505e97b713170aa49a0d192851a5cf8d8ec755","unresolved":false,"context_lines":[{"line_number":36,"context_line":"  hosts, but cannot contact the Ironic API."},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"However, this doesn\u0027t scale with medium to mega scale deployers who leverage"},{"line_number":39,"context_line":"layer 3 network topolgies. In L3 networks a subnet is constrained to a single"},{"line_number":40,"context_line":"rack. This means that to leverage two networks to image hosts one would need"},{"line_number":41,"context_line":"to provision a second subnet for every single rack."},{"line_number":42,"context_line":""}],"source_content_type":"text/x-rst","patch_set":13,"id":"7a2fa921_1b0f1589","line":39,"updated":"2015-10-08 20:25:42.000000000","message":"nit s/topolgies/topologies/","commit_id":"ebb9c6af5b4d360af002fe26a9323fe73dfcf21f"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"94505e97b713170aa49a0d192851a5cf8d8ec755","unresolved":false,"context_lines":[{"line_number":53,"context_line":"  internet. Mallory finds and compromises this host. She then attacks the"},{"line_number":54,"context_line":"  ironic API from this host. Once she compromises the Ironic API, she then"},{"line_number":55,"context_line":"  starts booting other hosts in the datacenter with a compromised disk image."},{"line_number":56,"context_line":"  If the Bob uses Ironic to manage every host in the datacenter, then Mallory"},{"line_number":57,"context_line":"  has now effectively owned an entire datacenter."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"To remediate this we\u0027ll pass the node ID to the instance as a kernel"}],"source_content_type":"text/x-rst","patch_set":13,"id":"7a2fa921_5bceed2e","line":56,"updated":"2015-10-08 20:25:42.000000000","message":"s/If the/If/\n\ns/Mallory/Ruby/ whahahahaha. (You know I\u0027m just joking).","commit_id":"ebb9c6af5b4d360af002fe26a9323fe73dfcf21f"},{"author":{"_account_id":9452,"name":"James Penick","email":"penick@verizonmedia.com","username":"epim"},"change_message_id":"afc32cfaabbda2310c3ec88e373e1334843d8739","unresolved":false,"context_lines":[{"line_number":53,"context_line":"  internet. Mallory finds and compromises this host. She then attacks the"},{"line_number":54,"context_line":"  ironic API from this host. Once she compromises the Ironic API, she then"},{"line_number":55,"context_line":"  starts booting other hosts in the datacenter with a compromised disk image."},{"line_number":56,"context_line":"  If the Bob uses Ironic to manage every host in the datacenter, then Mallory"},{"line_number":57,"context_line":"  has now effectively owned an entire datacenter."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"To remediate this we\u0027ll pass the node ID to the instance as a kernel"}],"source_content_type":"text/x-rst","patch_set":13,"id":"3a29b11f_2d12050a","line":56,"in_reply_to":"7a2fa921_5bceed2e","updated":"2015-10-20 23:56:19.000000000","message":"Too late, changed it!\n\n\n...or did I?","commit_id":"ebb9c6af5b4d360af002fe26a9323fe73dfcf21f"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"61c909a2cb50486b5beaccd4785cdfee031e646e","unresolved":false,"context_lines":[{"line_number":82,"context_line":"3. Conductor sends ipmi call to power target node on."},{"line_number":83,"context_line":"4. Target node boots, uses DHCP to get IP."},{"line_number":84,"context_line":"5. Target node runs PXE/iPXE, pulls data from ipxe host."},{"line_number":85,"context_line":"6. Target boots, runs IPA, gleans Node ID from kernel param."},{"line_number":86,"context_line":"7. Conductor calls IPA on target node to walk it through the provisioning"},{"line_number":87,"context_line":"   process."},{"line_number":88,"context_line":"8. Target is complete. Conductor reboots target node."}],"source_content_type":"text/x-rst","patch_set":13,"id":"9a1a9d01_86e4d40d","line":85,"updated":"2015-09-24 15:24:59.000000000","message":"Missing step polling wait.","commit_id":"ebb9c6af5b4d360af002fe26a9323fe73dfcf21f"},{"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":"efba730f9233b29a59f4fb20bd7da933525ed855","unresolved":false,"context_lines":[{"line_number":91,"context_line":""},{"line_number":92,"context_line":"An example of this as a fix to the security problem:"},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"* Bob boots a host with ironic, this host is publicly routable to the"},{"line_number":95,"context_line":"  internet. Mallory finds and compromises this host. She attempts to attack"},{"line_number":96,"context_line":"  the Ironic API. The connection times out. She gives up and attacks the iPXE"},{"line_number":97,"context_line":"  host. She succeeds and compromises the iPXE host. She then attempts to"}],"source_content_type":"text/x-rst","patch_set":13,"id":"9a1a9d01_721ccc6a","line":94,"updated":"2015-10-01 18:12:10.000000000","message":"nit: Ironic","commit_id":"ebb9c6af5b4d360af002fe26a9323fe73dfcf21f"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"1f028d08d1ca03d9d07fcbf93036e190d715475c","unresolved":false,"context_lines":[{"line_number":96,"context_line":"  the Ironic API. The connection times out. She gives up and attacks the iPXE"},{"line_number":97,"context_line":"  host. She succeeds and compromises the iPXE host. She then attempts to"},{"line_number":98,"context_line":"  attack the ironic API. The connection fails. Mallory, disappointed, gives"},{"line_number":99,"context_line":"  up and puts her life of crime behind her."},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"In this case, even though Mallory has compromised the target node, there is no"},{"line_number":102,"context_line":"intrinsic network access between the target node and the control plane. Thus"}],"source_content_type":"text/x-rst","patch_set":13,"id":"5a2ca52d_bb55461e","line":99,"updated":"2015-10-14 02:26:04.000000000","message":"I\u0027m curious, if Mallory can compromise the iPXE host, she can serve whatever she likes to the hardware, right? So perhaps she could serve an agent that would always write an evil image, rather than the requested image, right?\n\nI may be missing something here...","commit_id":"ebb9c6af5b4d360af002fe26a9323fe73dfcf21f"},{"author":{"_account_id":26340,"name":"Ilya Etingof","email":"etingof@gmail.com","username":"etingof"},"change_message_id":"ee6a562f24aa76528e41b46680834dabad4a6725","unresolved":false,"context_lines":[{"line_number":96,"context_line":"  the Ironic API. The connection times out. She gives up and attacks the iPXE"},{"line_number":97,"context_line":"  host. She succeeds and compromises the iPXE host. She then attempts to"},{"line_number":98,"context_line":"  attack the ironic API. The connection fails. Mallory, disappointed, gives"},{"line_number":99,"context_line":"  up and puts her life of crime behind her."},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"In this case, even though Mallory has compromised the target node, there is no"},{"line_number":102,"context_line":"intrinsic network access between the target node and the control plane. Thus"}],"source_content_type":"text/x-rst","patch_set":13,"id":"5f7c97a3_7bed178c","line":99,"in_reply_to":"3a29b11f_2dea05ad","updated":"2018-08-02 15:06:41.000000000","message":"At least she could reimage hosts opportunistically e.g. compromising the images being served whenever conductor decides to reimage some.","commit_id":"ebb9c6af5b4d360af002fe26a9323fe73dfcf21f"},{"author":{"_account_id":9452,"name":"James Penick","email":"penick@verizonmedia.com","username":"epim"},"change_message_id":"afc32cfaabbda2310c3ec88e373e1334843d8739","unresolved":false,"context_lines":[{"line_number":96,"context_line":"  the Ironic API. The connection times out. She gives up and attacks the iPXE"},{"line_number":97,"context_line":"  host. She succeeds and compromises the iPXE host. She then attempts to"},{"line_number":98,"context_line":"  attack the ironic API. The connection fails. Mallory, disappointed, gives"},{"line_number":99,"context_line":"  up and puts her life of crime behind her."},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"In this case, even though Mallory has compromised the target node, there is no"},{"line_number":102,"context_line":"intrinsic network access between the target node and the control plane. Thus"}],"source_content_type":"text/x-rst","patch_set":13,"id":"3a29b11f_2dea05ad","line":99,"in_reply_to":"5a2ca52d_bb55461e","updated":"2015-10-20 23:56:19.000000000","message":"You are correct in that she can serve up bad images to any newly booting hosts. but what she does /not/ gain is the ability to start reimaging hosts, or compromising other elements in the control plane. \n\nI have some thoughts on signed communication between the client and conductor, but felt it was best addressed in another spec.","commit_id":"ebb9c6af5b4d360af002fe26a9323fe73dfcf21f"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"61c909a2cb50486b5beaccd4785cdfee031e646e","unresolved":false,"context_lines":[{"line_number":108,"context_line":"Proposed change"},{"line_number":109,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"We will add a config option to the [agent] category for \u0027poll_only\u0027."},{"line_number":112,"context_line":""},{"line_number":113,"context_line":"If \u0027poll_only\u0027 is enabled, we pass the \u0027standalone\u0027 kernel command line"},{"line_number":114,"context_line":"parameter to IPA to disable heartbeating and lookup. The conductor will pass"}],"source_content_type":"text/x-rst","patch_set":13,"id":"9a1a9d01_2676283f","line":111,"updated":"2015-09-24 15:24:59.000000000","message":"BoolOpt","commit_id":"ebb9c6af5b4d360af002fe26a9323fe73dfcf21f"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"61c909a2cb50486b5beaccd4785cdfee031e646e","unresolved":false,"context_lines":[{"line_number":110,"context_line":""},{"line_number":111,"context_line":"We will add a config option to the [agent] category for \u0027poll_only\u0027."},{"line_number":112,"context_line":""},{"line_number":113,"context_line":"If \u0027poll_only\u0027 is enabled, we pass the \u0027standalone\u0027 kernel command line"},{"line_number":114,"context_line":"parameter to IPA to disable heartbeating and lookup. The conductor will pass"},{"line_number":115,"context_line":"the node UUID as a kernel command line parameter when IPA boots, and IPA will"},{"line_number":116,"context_line":"use that instead of doing a lookup call to Ironic."}],"source_content_type":"text/x-rst","patch_set":13,"id":"9a1a9d01_46ef9cb0","line":113,"updated":"2015-09-24 15:24:59.000000000","message":"Not sure that \u0027standalone\u0027 is proper name for this parameter. How about \u0027passive\u0027 or \u0027passive_mode\u0027? And agent can check presence of node UUID in the kernel cmdline instead.","commit_id":"ebb9c6af5b4d360af002fe26a9323fe73dfcf21f"},{"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":"9c81358930a6a2cddcd2cebd3c131ac308573990","unresolved":false,"context_lines":[{"line_number":110,"context_line":""},{"line_number":111,"context_line":"We will add a config option to the [agent] category for \u0027poll_only\u0027."},{"line_number":112,"context_line":""},{"line_number":113,"context_line":"If \u0027poll_only\u0027 is enabled, we pass the \u0027standalone\u0027 kernel command line"},{"line_number":114,"context_line":"parameter to IPA to disable heartbeating and lookup. The conductor will pass"},{"line_number":115,"context_line":"the node UUID as a kernel command line parameter when IPA boots, and IPA will"},{"line_number":116,"context_line":"use that instead of doing a lookup call to Ironic."}],"source_content_type":"text/x-rst","patch_set":13,"id":"7a2fa921_f2248c60","line":113,"in_reply_to":"7a2fa921_23c890a5","updated":"2015-10-09 16:13:49.000000000","message":"Very -1 to eventually dropping lookup.\n\nFWIW, I believe standalone mode /does/ make it work without Ironic. I know this because we use it today extensively in our hardware lab to test new hardware managers and clean steps by calling the IPA API directly. It\u0027s an incredibly important debugging tool.","commit_id":"ebb9c6af5b4d360af002fe26a9323fe73dfcf21f"},{"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":"9da8e511c7c990c7dd15969708b3fe4f13b13322","unresolved":false,"context_lines":[{"line_number":110,"context_line":""},{"line_number":111,"context_line":"We will add a config option to the [agent] category for \u0027poll_only\u0027."},{"line_number":112,"context_line":""},{"line_number":113,"context_line":"If \u0027poll_only\u0027 is enabled, we pass the \u0027standalone\u0027 kernel command line"},{"line_number":114,"context_line":"parameter to IPA to disable heartbeating and lookup. The conductor will pass"},{"line_number":115,"context_line":"the node UUID as a kernel command line parameter when IPA boots, and IPA will"},{"line_number":116,"context_line":"use that instead of doing a lookup call to Ironic."}],"source_content_type":"text/x-rst","patch_set":13,"id":"7a2fa921_2ca7030c","line":113,"in_reply_to":"7a2fa921_61ef441e","updated":"2015-10-09 18:14:39.000000000","message":"+1 I think that makes a little more sense, b/c otherwise agent+dhcp provider of none is useless.","commit_id":"ebb9c6af5b4d360af002fe26a9323fe73dfcf21f"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"b5ffc2ec0e1d93f486dbdaaa59d8cfa7e9d3fe3a","unresolved":false,"context_lines":[{"line_number":110,"context_line":""},{"line_number":111,"context_line":"We will add a config option to the [agent] category for \u0027poll_only\u0027."},{"line_number":112,"context_line":""},{"line_number":113,"context_line":"If \u0027poll_only\u0027 is enabled, we pass the \u0027standalone\u0027 kernel command line"},{"line_number":114,"context_line":"parameter to IPA to disable heartbeating and lookup. The conductor will pass"},{"line_number":115,"context_line":"the node UUID as a kernel command line parameter when IPA boots, and IPA will"},{"line_number":116,"context_line":"use that instead of doing a lookup call to Ironic."}],"source_content_type":"text/x-rst","patch_set":13,"id":"7a2fa921_61ef441e","line":113,"in_reply_to":"7a2fa921_f2248c60","updated":"2015-10-09 17:53:48.000000000","message":"\u003e Very -1 to eventually dropping lookup.\n\nWell, I realize we can\u0027t drop it completely, but with the default DHCP implementation it looks redundant, so we can leave it for non-managed DHCP only, wdyt?","commit_id":"ebb9c6af5b4d360af002fe26a9323fe73dfcf21f"},{"author":{"_account_id":9452,"name":"James Penick","email":"penick@verizonmedia.com","username":"epim"},"change_message_id":"afc32cfaabbda2310c3ec88e373e1334843d8739","unresolved":false,"context_lines":[{"line_number":110,"context_line":""},{"line_number":111,"context_line":"We will add a config option to the [agent] category for \u0027poll_only\u0027."},{"line_number":112,"context_line":""},{"line_number":113,"context_line":"If \u0027poll_only\u0027 is enabled, we pass the \u0027standalone\u0027 kernel command line"},{"line_number":114,"context_line":"parameter to IPA to disable heartbeating and lookup. The conductor will pass"},{"line_number":115,"context_line":"the node UUID as a kernel command line parameter when IPA boots, and IPA will"},{"line_number":116,"context_line":"use that instead of doing a lookup call to Ironic."}],"source_content_type":"text/x-rst","patch_set":13,"id":"9a1a9d01_74b3854d","line":113,"in_reply_to":"9a1a9d01_46ef9cb0","updated":"2015-10-20 23:56:19.000000000","message":"I like \"passive_mode\". I\u0027ll update the spec accordingly.","commit_id":"ebb9c6af5b4d360af002fe26a9323fe73dfcf21f"},{"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":"efba730f9233b29a59f4fb20bd7da933525ed855","unresolved":false,"context_lines":[{"line_number":110,"context_line":""},{"line_number":111,"context_line":"We will add a config option to the [agent] category for \u0027poll_only\u0027."},{"line_number":112,"context_line":""},{"line_number":113,"context_line":"If \u0027poll_only\u0027 is enabled, we pass the \u0027standalone\u0027 kernel command line"},{"line_number":114,"context_line":"parameter to IPA to disable heartbeating and lookup. The conductor will pass"},{"line_number":115,"context_line":"the node UUID as a kernel command line parameter when IPA boots, and IPA will"},{"line_number":116,"context_line":"use that instead of doing a lookup call to Ironic."}],"source_content_type":"text/x-rst","patch_set":13,"id":"9a1a9d01_b2402437","line":113,"in_reply_to":"9a1a9d01_46ef9cb0","updated":"2015-10-01 18:12:10.000000000","message":"While we can clearly reuse the code; I wouldn\u0027t explicitly use the \"standalone\" parameter here. I\u0027d instead have the agent standalone \"automatically\" if it\u0027s passed a node uuid.","commit_id":"ebb9c6af5b4d360af002fe26a9323fe73dfcf21f"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"94c0b95e760b24640921cbb5a40c53a5ca3e63fc","unresolved":false,"context_lines":[{"line_number":110,"context_line":""},{"line_number":111,"context_line":"We will add a config option to the [agent] category for \u0027poll_only\u0027."},{"line_number":112,"context_line":""},{"line_number":113,"context_line":"If \u0027poll_only\u0027 is enabled, we pass the \u0027standalone\u0027 kernel command line"},{"line_number":114,"context_line":"parameter to IPA to disable heartbeating and lookup. The conductor will pass"},{"line_number":115,"context_line":"the node UUID as a kernel command line parameter when IPA boots, and IPA will"},{"line_number":116,"context_line":"use that instead of doing a lookup call to Ironic."}],"source_content_type":"text/x-rst","patch_set":13,"id":"7a2fa921_23c890a5","line":113,"in_reply_to":"9a1a9d01_b2402437","updated":"2015-10-09 08:04:05.000000000","message":"I think we should always pass node UUID and drop lookup eventually. That said, I also dislike \u0027standalone\u0027. For me \u0027standalone\u0027 means it works without ironic at all, which is not really true. I like \u0027passive_mode\u0027, \u0027quiet_mode\u0027 or whatever that clearly indicates that IPA does not issue requests.","commit_id":"ebb9c6af5b4d360af002fe26a9323fe73dfcf21f"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"94c0b95e760b24640921cbb5a40c53a5ca3e63fc","unresolved":false,"context_lines":[{"line_number":113,"context_line":"If \u0027poll_only\u0027 is enabled, we pass the \u0027standalone\u0027 kernel command line"},{"line_number":114,"context_line":"parameter to IPA to disable heartbeating and lookup. The conductor will pass"},{"line_number":115,"context_line":"the node UUID as a kernel command line parameter when IPA boots, and IPA will"},{"line_number":116,"context_line":"use that instead of doing a lookup call to Ironic."},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"If \u0027poll_only\u0027 is enabled, the conductor will use a periodic task to query"},{"line_number":119,"context_line":"each agent at a set interval, instead of querying the agent after a heartbeat"}],"source_content_type":"text/x-rst","patch_set":13,"id":"7a2fa921_038b1469","line":116,"updated":"2015-10-09 08:04:05.000000000","message":"As I said numerous times here, lookup must be disabled by the fact that UUID is provided, no matter what is in \"standalone\". Also required configuration options must be always accepted (currently it\u0027s only heartbeat period). \u0027standalone\u0027 itself should only disabled heartbeats.","commit_id":"ebb9c6af5b4d360af002fe26a9323fe73dfcf21f"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"61c909a2cb50486b5beaccd4785cdfee031e646e","unresolved":false,"context_lines":[{"line_number":116,"context_line":"use that instead of doing a lookup call to Ironic."},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"If \u0027poll_only\u0027 is enabled, the conductor will use a periodic task to query"},{"line_number":119,"context_line":"each agent at a set interval, instead of querying the agent after a heartbeat"},{"line_number":120,"context_line":"is received. This periodic task will only query nodes in states IPA would"},{"line_number":121,"context_line":"normally be heartbeating in: (DEPLOY*, DELETE*, CLEAN*, ZAP*)."},{"line_number":122,"context_line":""}],"source_content_type":"text/x-rst","patch_set":13,"id":"9a1a9d01_d124c4b0","line":119,"updated":"2015-09-24 15:24:59.000000000","message":"If this interval is configurable (it should be IMO) please mention name in \"Other deployer impact\" section together with \u0027poll_only\u0027.","commit_id":"ebb9c6af5b4d360af002fe26a9323fe73dfcf21f"},{"author":{"_account_id":9452,"name":"James Penick","email":"penick@verizonmedia.com","username":"epim"},"change_message_id":"afc32cfaabbda2310c3ec88e373e1334843d8739","unresolved":false,"context_lines":[{"line_number":116,"context_line":"use that instead of doing a lookup call to Ironic."},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"If \u0027poll_only\u0027 is enabled, the conductor will use a periodic task to query"},{"line_number":119,"context_line":"each agent at a set interval, instead of querying the agent after a heartbeat"},{"line_number":120,"context_line":"is received. This periodic task will only query nodes in states IPA would"},{"line_number":121,"context_line":"normally be heartbeating in: (DEPLOY*, DELETE*, CLEAN*, ZAP*)."},{"line_number":122,"context_line":""}],"source_content_type":"text/x-rst","patch_set":13,"id":"9a1a9d01_f8443b1c","line":119,"in_reply_to":"9a1a9d01_d124c4b0","updated":"2015-10-20 23:56:19.000000000","message":"Point taken. But, since the impact to poll_only is fairly large, I think it would be better to call it out explicitly rather than rely on poll_frequency.","commit_id":"ebb9c6af5b4d360af002fe26a9323fe73dfcf21f"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"94505e97b713170aa49a0d192851a5cf8d8ec755","unresolved":false,"context_lines":[{"line_number":116,"context_line":"use that instead of doing a lookup call to Ironic."},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"If \u0027poll_only\u0027 is enabled, the conductor will use a periodic task to query"},{"line_number":119,"context_line":"each agent at a set interval, instead of querying the agent after a heartbeat"},{"line_number":120,"context_line":"is received. This periodic task will only query nodes in states IPA would"},{"line_number":121,"context_line":"normally be heartbeating in: (DEPLOY*, DELETE*, CLEAN*, ZAP*)."},{"line_number":122,"context_line":""}],"source_content_type":"text/x-rst","patch_set":13,"id":"7a2fa921_be7e0f17","line":119,"in_reply_to":"9a1a9d01_d124c4b0","updated":"2015-10-08 20:25:42.000000000","message":"What do you think about having \u0027poll_only\u0027 take an integer value, the interval (number of seconds) to wait between polling.\n\nor \u0027poll_interval\u0027? Default is 0 \u003d\u003d no polling.\n\nI like to reduce the number of configs but if folks think it is clearer to have more than one config that is fine.","commit_id":"ebb9c6af5b4d360af002fe26a9323fe73dfcf21f"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"1f028d08d1ca03d9d07fcbf93036e190d715475c","unresolved":false,"context_lines":[{"line_number":121,"context_line":"normally be heartbeating in: (DEPLOY*, DELETE*, CLEAN*, ZAP*)."},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"For this mode, we will also need to remove the ipa_url being passed as kernel"},{"line_number":124,"context_line":"parameter to the agent."},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"If \u0027poll_only\u0027 is True, the heartbeat endpoint for nodes should ignore any"},{"line_number":127,"context_line":"requests. This will ensure that when the conductor is restarted to change this"}],"source_content_type":"text/x-rst","patch_set":13,"id":"5a2ca52d_1638d1d2","line":124,"updated":"2015-10-14 02:26:04.000000000","message":"Is there a reason for the word \"need\" here? I\u0027m not sure passing it harms anything.","commit_id":"ebb9c6af5b4d360af002fe26a9323fe73dfcf21f"},{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"2fa3e420bc14f6e588fe738e499056ddfb0edfd6","unresolved":false,"context_lines":[{"line_number":125,"context_line":""},{"line_number":126,"context_line":"If \u0027poll_only\u0027 is True, the heartbeat endpoint for nodes should ignore any"},{"line_number":127,"context_line":"requests. This will ensure that when the conductor is restarted to change this"},{"line_number":128,"context_line":"option, from False to True, there won\u0027t be duplicated heartbeats."},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"Notes:"},{"line_number":131,"context_line":""}],"source_content_type":"text/x-rst","patch_set":13,"id":"9a1a9d01_1fdfc73a","line":128,"updated":"2015-09-30 19:04:07.000000000","message":"The API endpoint here can\u0027t interpret this config option, so it will still route the request over RPC to the conductor. However, the conductor which has poll_only\u003dTrue should then disregard the request and return a response of None.","commit_id":"ebb9c6af5b4d360af002fe26a9323fe73dfcf21f"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"1f028d08d1ca03d9d07fcbf93036e190d715475c","unresolved":false,"context_lines":[{"line_number":125,"context_line":""},{"line_number":126,"context_line":"If \u0027poll_only\u0027 is True, the heartbeat endpoint for nodes should ignore any"},{"line_number":127,"context_line":"requests. This will ensure that when the conductor is restarted to change this"},{"line_number":128,"context_line":"option, from False to True, there won\u0027t be duplicated heartbeats."},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"Notes:"},{"line_number":131,"context_line":""}],"source_content_type":"text/x-rst","patch_set":13,"id":"5a2ca52d_5625e9a8","line":128,"in_reply_to":"9a1a9d01_127230ae","updated":"2015-10-14 02:26:04.000000000","message":"Jay: Meh, I don\u0027t like the agent just silently ignoring a 403 response. I think continuing to route the request over RPC is fine.\n\nIf we decide we need to optimize it, we can mark the node a \"poll_only\" somehow in the DB, and the API can recognize that. It\u0027s more complicated in practice, but I think the general idea works here.","commit_id":"ebb9c6af5b4d360af002fe26a9323fe73dfcf21f"},{"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":"efba730f9233b29a59f4fb20bd7da933525ed855","unresolved":false,"context_lines":[{"line_number":125,"context_line":""},{"line_number":126,"context_line":"If \u0027poll_only\u0027 is True, the heartbeat endpoint for nodes should ignore any"},{"line_number":127,"context_line":"requests. This will ensure that when the conductor is restarted to change this"},{"line_number":128,"context_line":"option, from False to True, there won\u0027t be duplicated heartbeats."},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"Notes:"},{"line_number":131,"context_line":""}],"source_content_type":"text/x-rst","patch_set":13,"id":"9a1a9d01_127230ae","line":128,"in_reply_to":"9a1a9d01_1fdfc73a","updated":"2015-10-01 18:12:10.000000000","message":"An even better idea: Deployers using this strategy can re-enable auth for lookup and heartbeat endpoints, effectively disabling them at their option.","commit_id":"ebb9c6af5b4d360af002fe26a9323fe73dfcf21f"},{"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":"efba730f9233b29a59f4fb20bd7da933525ed855","unresolved":false,"context_lines":[{"line_number":130,"context_line":"Notes:"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"* This spec depends on the assumption that Ironic can look up the node IP in"},{"line_number":133,"context_line":"  Neutron. Deployments without Neutron are not supported with poll_only\u003dTrue."},{"line_number":134,"context_line":""},{"line_number":135,"context_line":"* The ironic-inspector assumes it can post data back to the Ironic API. This"},{"line_number":136,"context_line":"  spec breaks that assumption. Until that\u0027s fixed deployers who wish to use"}],"source_content_type":"text/x-rst","patch_set":13,"id":"9a1a9d01_72b84c2b","line":133,"updated":"2015-10-01 18:12:10.000000000","message":"Couldn\u0027t agent_url be populated manually onto the node in this case? I don\u0027t see a good reason to exclude people using external, static DHCP.","commit_id":"ebb9c6af5b4d360af002fe26a9323fe73dfcf21f"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"1f028d08d1ca03d9d07fcbf93036e190d715475c","unresolved":false,"context_lines":[{"line_number":130,"context_line":"Notes:"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"* This spec depends on the assumption that Ironic can look up the node IP in"},{"line_number":133,"context_line":"  Neutron. Deployments without Neutron are not supported with poll_only\u003dTrue."},{"line_number":134,"context_line":""},{"line_number":135,"context_line":"* The ironic-inspector assumes it can post data back to the Ironic API. This"},{"line_number":136,"context_line":"  spec breaks that assumption. Until that\u0027s fixed deployers who wish to use"}],"source_content_type":"text/x-rst","patch_set":13,"id":"5a2ca52d_f641953a","line":133,"in_reply_to":"9a1a9d01_72b84c2b","updated":"2015-10-14 02:26:04.000000000","message":"++","commit_id":"ebb9c6af5b4d360af002fe26a9323fe73dfcf21f"},{"author":{"_account_id":9452,"name":"James Penick","email":"penick@verizonmedia.com","username":"epim"},"change_message_id":"afc32cfaabbda2310c3ec88e373e1334843d8739","unresolved":false,"context_lines":[{"line_number":130,"context_line":"Notes:"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"* This spec depends on the assumption that Ironic can look up the node IP in"},{"line_number":133,"context_line":"  Neutron. Deployments without Neutron are not supported with poll_only\u003dTrue."},{"line_number":134,"context_line":""},{"line_number":135,"context_line":"* The ironic-inspector assumes it can post data back to the Ironic API. This"},{"line_number":136,"context_line":"  spec breaks that assumption. Until that\u0027s fixed deployers who wish to use"}],"source_content_type":"text/x-rst","patch_set":13,"id":"3a29b11f_2429c237","line":133,"in_reply_to":"9a1a9d01_72b84c2b","updated":"2015-10-20 23:56:19.000000000","message":"I\u0027m not sure I understand. What good would agent_url be on the node, if the node isn\u0027t allowed to call up to the conductor?","commit_id":"ebb9c6af5b4d360af002fe26a9323fe73dfcf21f"},{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"2fa3e420bc14f6e588fe738e499056ddfb0edfd6","unresolved":false,"context_lines":[{"line_number":202,"context_line":"------------------"},{"line_number":203,"context_line":""},{"line_number":204,"context_line":"If the polling is not implemented in a sufficiently parallel way, it could"},{"line_number":205,"context_line":"introduce a serious delay in periodic processes."},{"line_number":206,"context_line":""},{"line_number":207,"context_line":"Other deployer impact"},{"line_number":208,"context_line":"---------------------"}],"source_content_type":"text/x-rst","patch_set":13,"id":"9a1a9d01_bfea5bd9","line":205,"updated":"2015-09-30 19:04:07.000000000","message":"I would like this to be expanded upon. The purpose of this proposal is to mitigate security risks which arise at large scale, but to do so requires more parallel processing than I believe the conductor is capable of today.\n\nSome hard data of the impact this change has would be good.","commit_id":"ebb9c6af5b4d360af002fe26a9323fe73dfcf21f"},{"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":"efba730f9233b29a59f4fb20bd7da933525ed855","unresolved":false,"context_lines":[{"line_number":202,"context_line":"------------------"},{"line_number":203,"context_line":""},{"line_number":204,"context_line":"If the polling is not implemented in a sufficiently parallel way, it could"},{"line_number":205,"context_line":"introduce a serious delay in periodic processes."},{"line_number":206,"context_line":""},{"line_number":207,"context_line":"Other deployer impact"},{"line_number":208,"context_line":"---------------------"}],"source_content_type":"text/x-rst","patch_set":13,"id":"9a1a9d01_928c0081","line":205,"in_reply_to":"9a1a9d01_bfea5bd9","updated":"2015-10-01 18:12:10.000000000","message":"+1 agree with Deva","commit_id":"ebb9c6af5b4d360af002fe26a9323fe73dfcf21f"},{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"2fa3e420bc14f6e588fe738e499056ddfb0edfd6","unresolved":false,"context_lines":[{"line_number":223,"context_line":"-----------"},{"line_number":224,"context_line":""},{"line_number":225,"context_line":"Primary assignee:"},{"line_number":226,"context_line":"  \u003cjoshnang\u003e"},{"line_number":227,"context_line":""},{"line_number":228,"context_line":"Other contributors:"},{"line_number":229,"context_line":"  \u003cpenick\u003e"}],"source_content_type":"text/x-rst","patch_set":13,"id":"9a1a9d01_dfe5cf08","line":226,"updated":"2015-09-30 19:04:07.000000000","message":"Josh has indicated he won\u0027t be as involved in Mitaka as he was previously. Perhaps he shouldn\u0027t be the primary assignee?","commit_id":"ebb9c6af5b4d360af002fe26a9323fe73dfcf21f"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"08c4c3a303f49ea35136f80b827aa65b7591e0f8","unresolved":false,"context_lines":[{"line_number":223,"context_line":"-----------"},{"line_number":224,"context_line":""},{"line_number":225,"context_line":"Primary assignee:"},{"line_number":226,"context_line":"  \u003cjoshnang\u003e"},{"line_number":227,"context_line":""},{"line_number":228,"context_line":"Other contributors:"},{"line_number":229,"context_line":"  \u003cpenick\u003e"}],"source_content_type":"text/x-rst","patch_set":13,"id":"9a1a9d01_e0d914f4","line":226,"in_reply_to":"9a1a9d01_dfe5cf08","updated":"2015-09-30 20:32:09.000000000","message":"++","commit_id":"ebb9c6af5b4d360af002fe26a9323fe73dfcf21f"},{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"2fa3e420bc14f6e588fe738e499056ddfb0edfd6","unresolved":false,"context_lines":[{"line_number":232,"context_line":"----------"},{"line_number":233,"context_line":""},{"line_number":234,"context_line":"* write the code"},{"line_number":235,"context_line":""},{"line_number":236,"context_line":""},{"line_number":237,"context_line":"Dependencies"},{"line_number":238,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":13,"id":"9a1a9d01_7ff043c9","line":235,"updated":"2015-09-30 19:04:07.000000000","message":"test scale/performance impact on periodic tasks","commit_id":"ebb9c6af5b4d360af002fe26a9323fe73dfcf21f"},{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"2fa3e420bc14f6e588fe738e499056ddfb0edfd6","unresolved":false,"context_lines":[{"line_number":249,"context_line":"Upgrades and Backwards Compatibility"},{"line_number":250,"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":251,"context_line":""},{"line_number":252,"context_line":"None"},{"line_number":253,"context_line":""},{"line_number":254,"context_line":"Documentation Impact"},{"line_number":255,"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":13,"id":"9a1a9d01_9febd7db","line":252,"updated":"2015-09-30 19:04:07.000000000","message":"enabling this option will require also upgrading the IPA image used\nSo there\u0027s an upgrade-compatibility issue -- a deployer must update IPA before enabling this feature onthe conductors.","commit_id":"ebb9c6af5b4d360af002fe26a9323fe73dfcf21f"},{"author":{"_account_id":9452,"name":"James Penick","email":"penick@verizonmedia.com","username":"epim"},"change_message_id":"afc32cfaabbda2310c3ec88e373e1334843d8739","unresolved":false,"context_lines":[{"line_number":249,"context_line":"Upgrades and Backwards Compatibility"},{"line_number":250,"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":251,"context_line":""},{"line_number":252,"context_line":"None"},{"line_number":253,"context_line":""},{"line_number":254,"context_line":"Documentation Impact"},{"line_number":255,"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":13,"id":"9a1a9d01_3830739e","line":252,"in_reply_to":"9a1a9d01_9febd7db","updated":"2015-10-20 23:56:19.000000000","message":"good catch, i\u0027ll add that","commit_id":"ebb9c6af5b4d360af002fe26a9323fe73dfcf21f"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"81f63a1d6a7837b31ee447e429f7688d5eb58df4","unresolved":false,"context_lines":[{"line_number":10,"context_line":""},{"line_number":11,"context_line":"Include the URL of your launchpad blueprint:"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"https://blueprints.launchpad.net/ironic/+spec/no-ipa-to-conductor"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Pass the node ID to the target node as a kernel parameter rather than"},{"line_number":16,"context_line":"requiring (or allowing) the target to have any API access to the ironic API."}],"source_content_type":"text/x-rst","patch_set":14,"id":"3a7e1126_fc588358","line":13,"updated":"2015-12-17 12:01:09.000000000","message":"Hi, when you\u0027re going to update this, please change this link to RFE bug 1526486 and use it to track progress.","commit_id":"3e6140191a305a232c60834ecc3e8550b58c72bd"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"126fe8a3352fa8aa89b4dda567ec970f7a4f763a","unresolved":false,"context_lines":[{"line_number":10,"context_line":""},{"line_number":11,"context_line":"Include the URL of your launchpad blueprint:"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"https://blueprints.launchpad.net/ironic/+spec/no-ipa-to-conductor"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Pass the node ID to the target node as a kernel parameter rather than"},{"line_number":16,"context_line":"requiring (or allowing) the target to have any API access to the ironic API."}],"source_content_type":"text/x-rst","patch_set":14,"id":"df87a7cf_b3b26b05","line":13,"in_reply_to":"3a7e1126_fc588358","updated":"2017-12-18 16:00:05.000000000","message":"Done","commit_id":"3e6140191a305a232c60834ecc3e8550b58c72bd"},{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"0d83c9cc5406fd71809231c126f58fd16761b39f","unresolved":false,"context_lines":[{"line_number":112,"context_line":""},{"line_number":113,"context_line":"We will add two options to the [agent] category."},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"* \u0027poll_only\u0027: BoolOpt to enable passive mode."},{"line_number":116,"context_line":"* \u0027poll_frequency\u0027: IntOpt, poll interval in Seconds."},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"If \u0027poll_only\u0027 is enabled, we pass the \u0027passive\u0027 kernel command line parameter"}],"source_content_type":"text/x-rst","patch_set":14,"id":"3a29b11f_0c968b94","line":115,"updated":"2015-10-26 04:41:32.000000000","message":"@Dmitry, @Jay, I think the proposed flow could work for inspection as well:\n* conductor passes node_id in kernel parameters to iPXE host, along with inspection ramdisk\n* node boots from iPXE host and waits passively\n* conductor and/or inspector initiate connections to the inspection agent, as appropriate\n* when complete, conductor powers down the node and moves it to AVAILABLE state\n\nFrom a security and policy POV, I would much rather this be a config option.","commit_id":"3e6140191a305a232c60834ecc3e8550b58c72bd"},{"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":"08b9bca59ef8a2a14c1052989f2e37a12287500a","unresolved":false,"context_lines":[{"line_number":112,"context_line":""},{"line_number":113,"context_line":"We will add two options to the [agent] category."},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"* \u0027poll_only\u0027: BoolOpt to enable passive mode."},{"line_number":116,"context_line":"* \u0027poll_frequency\u0027: IntOpt, poll interval in Seconds."},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"If \u0027poll_only\u0027 is enabled, we pass the \u0027passive\u0027 kernel command line parameter"}],"source_content_type":"text/x-rst","patch_set":14,"id":"3a29b11f_8a7b7429","line":115,"updated":"2015-10-23 20:19:39.000000000","message":"Should this be a per-node option rather than something global?\n\nLet me map out a use case (not my use case, but just thinking \"out loud\"):\n\nI\u0027m a deployer, and I want to use Inspector for my newly added nodes, but not once they\u0027ve been discovered. I could enroll the node as \"normal\", inspect it, then update the node to enable polling. This way I\u0027d get the benefits of lookup for bootstrapping servers in, but keep the security benefits of polling once it\u0027s discovered.\n\nI don\u0027t feel strongly about this, it just seems like this could be something folks could want to change per node.","commit_id":"3e6140191a305a232c60834ecc3e8550b58c72bd"},{"author":{"_account_id":9452,"name":"James Penick","email":"penick@verizonmedia.com","username":"epim"},"change_message_id":"44361cb16441d0fc1cfd323bffc274a59fc127fe","unresolved":false,"context_lines":[{"line_number":112,"context_line":""},{"line_number":113,"context_line":"We will add two options to the [agent] category."},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"* \u0027poll_only\u0027: BoolOpt to enable passive mode."},{"line_number":116,"context_line":"* \u0027poll_frequency\u0027: IntOpt, poll interval in Seconds."},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"If \u0027poll_only\u0027 is enabled, we pass the \u0027passive\u0027 kernel command line parameter"}],"source_content_type":"text/x-rst","patch_set":14,"id":"1a26ad4f_c5ea6a0f","line":115,"in_reply_to":"3a29b11f_0c968b94","updated":"2015-10-30 02:17:25.000000000","message":"I can imagine some scenarios where a deployer would want this. Off the hip I see a couple different ways to do this.\n\n1: per-node explicit config:\n * Add a \"conductor_mode\" value for each node in the DB . Then the conductor will only poll hosts where conductor_mode\u003dpassive. By using \"mode\" rather than a boolean, we leave the door open for any other modes that come along in the future. \n * On the heartbeat API, make the assumption that if a heartbeating node is set as passive, return a 403. \n * UUID should still be provided as a kernel parameter. \n * if a host is marked as passive in the DB, it should But passive-mode hosts will have a passive flag provided as well.\n\n2: Inferral:\n * By default the conductor will try to poll everything. However, when selecting nodes to poll from the DB, it will only grab those nodes which have not successfully managed to heartbeat. If a host heartbeats, the conductor will no longer try to poll.\n * if a deployer doesn\u0027t want a node to heartbeat, they need only block those nodes from egressing.\n\n#2 is a lot easier. I prefer #1. It\u0027s more work now, but it offers more extensibility in the future. I can forsee some other options that a deployer may need \u0027passive_ssl\u0027, etc.","commit_id":"3e6140191a305a232c60834ecc3e8550b58c72bd"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"994fbb728e3548d73b96672f7d1b4de097fe8ff3","unresolved":false,"context_lines":[{"line_number":112,"context_line":""},{"line_number":113,"context_line":"We will add two options to the [agent] category."},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"* \u0027poll_only\u0027: BoolOpt to enable passive mode."},{"line_number":116,"context_line":"* \u0027poll_frequency\u0027: IntOpt, poll interval in Seconds."},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"If \u0027poll_only\u0027 is enabled, we pass the \u0027passive\u0027 kernel command line parameter"}],"source_content_type":"text/x-rst","patch_set":14,"id":"3a29b11f_65f8894a","line":115,"in_reply_to":"3a29b11f_8a7b7429","updated":"2015-10-23 21:25:32.000000000","message":"Good use case, +1","commit_id":"3e6140191a305a232c60834ecc3e8550b58c72bd"},{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"0d83c9cc5406fd71809231c126f58fd16761b39f","unresolved":false,"context_lines":[{"line_number":113,"context_line":"We will add two options to the [agent] category."},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"* \u0027poll_only\u0027: BoolOpt to enable passive mode."},{"line_number":116,"context_line":"* \u0027poll_frequency\u0027: IntOpt, poll interval in Seconds."},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"If \u0027poll_only\u0027 is enabled, we pass the \u0027passive\u0027 kernel command line parameter"},{"line_number":119,"context_line":"to IPA to disable heartbeating. The conductor will pass the node UUID as a"}],"source_content_type":"text/x-rst","patch_set":14,"id":"3a29b11f_2c9347a5","line":116,"updated":"2015-10-26 04:41:32.000000000","message":"also +1 to \"poll_interval\"","commit_id":"3e6140191a305a232c60834ecc3e8550b58c72bd"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"b65370fa241def2c04eee397d61b6cad2d137107","unresolved":false,"context_lines":[{"line_number":113,"context_line":"We will add two options to the [agent] category."},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"* \u0027poll_only\u0027: BoolOpt to enable passive mode."},{"line_number":116,"context_line":"* \u0027poll_frequency\u0027: IntOpt, poll interval in Seconds."},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"If \u0027poll_only\u0027 is enabled, we pass the \u0027passive\u0027 kernel command line parameter"},{"line_number":119,"context_line":"to IPA to disable heartbeating. The conductor will pass the node UUID as a"}],"source_content_type":"text/x-rst","patch_set":14,"id":"3a29b11f_57f0c7c8","line":116,"updated":"2015-10-22 21:55:27.000000000","message":"better to be \u0027poll_interval\u0027.","commit_id":"3e6140191a305a232c60834ecc3e8550b58c72bd"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"126fe8a3352fa8aa89b4dda567ec970f7a4f763a","unresolved":false,"context_lines":[{"line_number":113,"context_line":"We will add two options to the [agent] category."},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"* \u0027poll_only\u0027: BoolOpt to enable passive mode."},{"line_number":116,"context_line":"* \u0027poll_frequency\u0027: IntOpt, poll interval in Seconds."},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"If \u0027poll_only\u0027 is enabled, we pass the \u0027passive\u0027 kernel command line parameter"},{"line_number":119,"context_line":"to IPA to disable heartbeating. The conductor will pass the node UUID as a"}],"source_content_type":"text/x-rst","patch_set":14,"id":"df87a7cf_73d06320","line":116,"in_reply_to":"1a26ad4f_05e94214","updated":"2017-12-18 16:00:05.000000000","message":"Done","commit_id":"3e6140191a305a232c60834ecc3e8550b58c72bd"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"effd812216f7f5aa40d7e0559a74f836e8110400","unresolved":false,"context_lines":[{"line_number":113,"context_line":"We will add two options to the [agent] category."},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"* \u0027poll_only\u0027: BoolOpt to enable passive mode."},{"line_number":116,"context_line":"* \u0027poll_frequency\u0027: IntOpt, poll interval in Seconds."},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"If \u0027poll_only\u0027 is enabled, we pass the \u0027passive\u0027 kernel command line parameter"},{"line_number":119,"context_line":"to IPA to disable heartbeating. The conductor will pass the node UUID as a"}],"source_content_type":"text/x-rst","patch_set":14,"id":"3a29b11f_965c164c","line":116,"in_reply_to":"3a29b11f_57f0c7c8","updated":"2015-10-23 08:57:15.000000000","message":"+1","commit_id":"3e6140191a305a232c60834ecc3e8550b58c72bd"},{"author":{"_account_id":9452,"name":"James Penick","email":"penick@verizonmedia.com","username":"epim"},"change_message_id":"44361cb16441d0fc1cfd323bffc274a59fc127fe","unresolved":false,"context_lines":[{"line_number":113,"context_line":"We will add two options to the [agent] category."},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"* \u0027poll_only\u0027: BoolOpt to enable passive mode."},{"line_number":116,"context_line":"* \u0027poll_frequency\u0027: IntOpt, poll interval in Seconds."},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"If \u0027poll_only\u0027 is enabled, we pass the \u0027passive\u0027 kernel command line parameter"},{"line_number":119,"context_line":"to IPA to disable heartbeating. The conductor will pass the node UUID as a"}],"source_content_type":"text/x-rst","patch_set":14,"id":"1a26ad4f_05e94214","line":116,"in_reply_to":"3a29b11f_57f0c7c8","updated":"2015-10-30 02:17:25.000000000","message":"Will do","commit_id":"3e6140191a305a232c60834ecc3e8550b58c72bd"},{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"0d83c9cc5406fd71809231c126f58fd16761b39f","unresolved":false,"context_lines":[{"line_number":118,"context_line":"If \u0027poll_only\u0027 is enabled, we pass the \u0027passive\u0027 kernel command line parameter"},{"line_number":119,"context_line":"to IPA to disable heartbeating. The conductor will pass the node UUID as a"},{"line_number":120,"context_line":"kernel command line parameter. If IPA sees the UUID as a kernel parameter, it"},{"line_number":121,"context_line":"will not call conductor to discover its\u0027 UUID."},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"If \u0027poll_only\u0027 is enabled, the conductor will use a periodic task to query"},{"line_number":124,"context_line":"each agent at an interval as defined in \u0027poll_interval\u0027 instead of querying"}],"source_content_type":"text/x-rst","patch_set":14,"id":"3a29b11f_cc8f3374","line":121,"updated":"2015-10-26 04:41:32.000000000","message":"I would think that passing a UUID should result in IPA skipping the lookup request, since it already knows its UUID, whereas passing \"passive\" should result in neither the lookup nor the heartbeat.\n\nAs long as we\u0027re talking about dynamic DHCP, is there ever a reason *not* to pass the node UUID as a kernel parameter?f","commit_id":"3e6140191a305a232c60834ecc3e8550b58c72bd"},{"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":"08b9bca59ef8a2a14c1052989f2e37a12287500a","unresolved":false,"context_lines":[{"line_number":118,"context_line":"If \u0027poll_only\u0027 is enabled, we pass the \u0027passive\u0027 kernel command line parameter"},{"line_number":119,"context_line":"to IPA to disable heartbeating. The conductor will pass the node UUID as a"},{"line_number":120,"context_line":"kernel command line parameter. If IPA sees the UUID as a kernel parameter, it"},{"line_number":121,"context_line":"will not call conductor to discover its\u0027 UUID."},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"If \u0027poll_only\u0027 is enabled, the conductor will use a periodic task to query"},{"line_number":124,"context_line":"each agent at an interval as defined in \u0027poll_interval\u0027 instead of querying"}],"source_content_type":"text/x-rst","patch_set":14,"id":"3a29b11f_6aedb8ee","line":121,"updated":"2015-10-23 20:19:39.000000000","message":"So if I pass a UUID but not \u0027passive\u0027, my machine won\u0027t do a lookup, but will heartbeat? That\u0027s the behavior described here.\n\nShould passing a UUID just imply passive instead?","commit_id":"3e6140191a305a232c60834ecc3e8550b58c72bd"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"994fbb728e3548d73b96672f7d1b4de097fe8ff3","unresolved":false,"context_lines":[{"line_number":118,"context_line":"If \u0027poll_only\u0027 is enabled, we pass the \u0027passive\u0027 kernel command line parameter"},{"line_number":119,"context_line":"to IPA to disable heartbeating. The conductor will pass the node UUID as a"},{"line_number":120,"context_line":"kernel command line parameter. If IPA sees the UUID as a kernel parameter, it"},{"line_number":121,"context_line":"will not call conductor to discover its\u0027 UUID."},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"If \u0027poll_only\u0027 is enabled, the conductor will use a periodic task to query"},{"line_number":124,"context_line":"each agent at an interval as defined in \u0027poll_interval\u0027 instead of querying"}],"source_content_type":"text/x-rst","patch_set":14,"id":"3a29b11f_a5fea136","line":121,"in_reply_to":"3a29b11f_6aedb8ee","updated":"2015-10-23 21:25:32.000000000","message":"\u003e Should passing a UUID just imply passive instead?\n\nNo please. It was my request to do so, and here\u0027s the reason: I think for neutron DHCP driver passing a UUID should eventually become the default, so that we stop sending inventory over unprotected connection. This is something we can do without e.g. disabling inspection.","commit_id":"3e6140191a305a232c60834ecc3e8550b58c72bd"},{"author":{"_account_id":9452,"name":"James Penick","email":"penick@verizonmedia.com","username":"epim"},"change_message_id":"44361cb16441d0fc1cfd323bffc274a59fc127fe","unresolved":false,"context_lines":[{"line_number":118,"context_line":"If \u0027poll_only\u0027 is enabled, we pass the \u0027passive\u0027 kernel command line parameter"},{"line_number":119,"context_line":"to IPA to disable heartbeating. The conductor will pass the node UUID as a"},{"line_number":120,"context_line":"kernel command line parameter. If IPA sees the UUID as a kernel parameter, it"},{"line_number":121,"context_line":"will not call conductor to discover its\u0027 UUID."},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"If \u0027poll_only\u0027 is enabled, the conductor will use a periodic task to query"},{"line_number":124,"context_line":"each agent at an interval as defined in \u0027poll_interval\u0027 instead of querying"}],"source_content_type":"text/x-rst","patch_set":14,"id":"1a26ad4f_4522da53","line":121,"in_reply_to":"3a29b11f_cc8f3374","updated":"2015-10-30 02:17:25.000000000","message":"I think we should always pass UUID, regardless of passive vs active. Might as well save an unnecessary step.","commit_id":"3e6140191a305a232c60834ecc3e8550b58c72bd"},{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"0d83c9cc5406fd71809231c126f58fd16761b39f","unresolved":false,"context_lines":[{"line_number":120,"context_line":"kernel command line parameter. If IPA sees the UUID as a kernel parameter, it"},{"line_number":121,"context_line":"will not call conductor to discover its\u0027 UUID."},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"If \u0027poll_only\u0027 is enabled, the conductor will use a periodic task to query"},{"line_number":124,"context_line":"each agent at an interval as defined in \u0027poll_interval\u0027 instead of querying"},{"line_number":125,"context_line":"the agent after a heartbeat is received. This periodic task will only query"},{"line_number":126,"context_line":"nodes in states IPA would normally be heartbeating in: (DEPLOY*, DELETE*,"}],"source_content_type":"text/x-rst","patch_set":14,"id":"3a29b11f_ec8c6f81","line":123,"updated":"2015-10-26 04:41:32.000000000","message":"what about using consul to maintain state awareness, rather than\neither a heartbeat or periodic polling?\n\nUse the out-of-band channel to securely pass a token that identifies that machine\nand allows it to connect to cluster. then conductor polls that for the membership list.","commit_id":"3e6140191a305a232c60834ecc3e8550b58c72bd"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"b65370fa241def2c04eee397d61b6cad2d137107","unresolved":false,"context_lines":[{"line_number":121,"context_line":"will not call conductor to discover its\u0027 UUID."},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"If \u0027poll_only\u0027 is enabled, the conductor will use a periodic task to query"},{"line_number":124,"context_line":"each agent at an interval as defined in \u0027poll_interval\u0027 instead of querying"},{"line_number":125,"context_line":"the agent after a heartbeat is received. This periodic task will only query"},{"line_number":126,"context_line":"nodes in states IPA would normally be heartbeating in: (DEPLOY*, DELETE*,"},{"line_number":127,"context_line":"CLEAN*, ZAP*)."}],"source_content_type":"text/x-rst","patch_set":14,"id":"3a29b11f_f7deb33c","line":124,"updated":"2015-10-22 21:55:27.000000000","message":"you have \u0027poll_frequency\u0027 above. Actually, I think \u0027poll_interval\u0027 is more accurate.","commit_id":"3e6140191a305a232c60834ecc3e8550b58c72bd"},{"author":{"_account_id":1297,"name":"Joshua Harlow","email":"jxharlow@godaddy.com","username":"harlowja"},"change_message_id":"085284c63647bc08ac00cbf38956efc233370a10","unresolved":false,"context_lines":[{"line_number":124,"context_line":"each agent at an interval as defined in \u0027poll_interval\u0027 instead of querying"},{"line_number":125,"context_line":"the agent after a heartbeat is received. This periodic task will only query"},{"line_number":126,"context_line":"nodes in states IPA would normally be heartbeating in: (DEPLOY*, DELETE*,"},{"line_number":127,"context_line":"CLEAN*, ZAP*)."},{"line_number":128,"context_line":""},{"line_number":129,"context_line":"It is assumed that the deployer should disallow communication between the"},{"line_number":130,"context_line":"target node and the ironic API. However, if an API call does come through"}],"source_content_type":"text/x-rst","patch_set":14,"id":"3a29b11f_853e0528","line":127,"updated":"2015-10-23 21:15:29.000000000","message":"Just a question, how does the polling know what states IPA is in without polling it in the first place? Seems like a chicken and egg problem here, might not matter but it did seem sorta weird (maybe better wording would help)...","commit_id":"3e6140191a305a232c60834ecc3e8550b58c72bd"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"b65370fa241def2c04eee397d61b6cad2d137107","unresolved":false,"context_lines":[{"line_number":124,"context_line":"each agent at an interval as defined in \u0027poll_interval\u0027 instead of querying"},{"line_number":125,"context_line":"the agent after a heartbeat is received. This periodic task will only query"},{"line_number":126,"context_line":"nodes in states IPA would normally be heartbeating in: (DEPLOY*, DELETE*,"},{"line_number":127,"context_line":"CLEAN*, ZAP*)."},{"line_number":128,"context_line":""},{"line_number":129,"context_line":"It is assumed that the deployer should disallow communication between the"},{"line_number":130,"context_line":"target node and the ironic API. However, if an API call does come through"}],"source_content_type":"text/x-rst","patch_set":14,"id":"3a29b11f_d7b29705","line":127,"updated":"2015-10-22 21:55:27.000000000","message":"nit: If/when I get my way, there won\u0027t be anymore ZAP*. (So it is fine to have it here for now.)","commit_id":"3e6140191a305a232c60834ecc3e8550b58c72bd"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"126fe8a3352fa8aa89b4dda567ec970f7a4f763a","unresolved":false,"context_lines":[{"line_number":124,"context_line":"each agent at an interval as defined in \u0027poll_interval\u0027 instead of querying"},{"line_number":125,"context_line":"the agent after a heartbeat is received. This periodic task will only query"},{"line_number":126,"context_line":"nodes in states IPA would normally be heartbeating in: (DEPLOY*, DELETE*,"},{"line_number":127,"context_line":"CLEAN*, ZAP*)."},{"line_number":128,"context_line":""},{"line_number":129,"context_line":"It is assumed that the deployer should disallow communication between the"},{"line_number":130,"context_line":"target node and the ironic API. However, if an API call does come through"}],"source_content_type":"text/x-rst","patch_set":14,"id":"df87a7cf_ee580632","line":127,"in_reply_to":"3a29b11f_2604d8c4","updated":"2017-12-18 16:00:05.000000000","message":"Done","commit_id":"3e6140191a305a232c60834ecc3e8550b58c72bd"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"994fbb728e3548d73b96672f7d1b4de097fe8ff3","unresolved":false,"context_lines":[{"line_number":124,"context_line":"each agent at an interval as defined in \u0027poll_interval\u0027 instead of querying"},{"line_number":125,"context_line":"the agent after a heartbeat is received. This periodic task will only query"},{"line_number":126,"context_line":"nodes in states IPA would normally be heartbeating in: (DEPLOY*, DELETE*,"},{"line_number":127,"context_line":"CLEAN*, ZAP*)."},{"line_number":128,"context_line":""},{"line_number":129,"context_line":"It is assumed that the deployer should disallow communication between the"},{"line_number":130,"context_line":"target node and the ironic API. However, if an API call does come through"}],"source_content_type":"text/x-rst","patch_set":14,"id":"3a29b11f_a58541ae","line":127,"in_reply_to":"3a29b11f_853e0528","updated":"2015-10-23 21:25:32.000000000","message":"It\u0027s about node state, not IPA state, i.e. something know to ironic :)","commit_id":"3e6140191a305a232c60834ecc3e8550b58c72bd"},{"author":{"_account_id":1297,"name":"Joshua Harlow","email":"jxharlow@godaddy.com","username":"harlowja"},"change_message_id":"6304bc969d609aae9c51ccb2966ba9f66992db2e","unresolved":false,"context_lines":[{"line_number":124,"context_line":"each agent at an interval as defined in \u0027poll_interval\u0027 instead of querying"},{"line_number":125,"context_line":"the agent after a heartbeat is received. This periodic task will only query"},{"line_number":126,"context_line":"nodes in states IPA would normally be heartbeating in: (DEPLOY*, DELETE*,"},{"line_number":127,"context_line":"CLEAN*, ZAP*)."},{"line_number":128,"context_line":""},{"line_number":129,"context_line":"It is assumed that the deployer should disallow communication between the"},{"line_number":130,"context_line":"target node and the ironic API. However, if an API call does come through"}],"source_content_type":"text/x-rst","patch_set":14,"id":"3a29b11f_2604d8c4","line":127,"in_reply_to":"3a29b11f_a58541ae","updated":"2015-10-23 23:08:32.000000000","message":"Thanks, makes sense then :-P","commit_id":"3e6140191a305a232c60834ecc3e8550b58c72bd"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"b65370fa241def2c04eee397d61b6cad2d137107","unresolved":false,"context_lines":[{"line_number":128,"context_line":""},{"line_number":129,"context_line":"It is assumed that the deployer should disallow communication between the"},{"line_number":130,"context_line":"target node and the ironic API. However, if an API call does come through"},{"line_number":131,"context_line":"when \u0027poll_only\u0027 is True. Then the conductor should ignore the request and"},{"line_number":132,"context_line":"return None."},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"For this mode, we will also need to remove the ipa_url being passed as kernel"}],"source_content_type":"text/x-rst","patch_set":14,"id":"3a29b11f_97d17f25","line":131,"updated":"2015-10-22 21:55:27.000000000","message":"s/. Then/,/","commit_id":"3e6140191a305a232c60834ecc3e8550b58c72bd"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"b65370fa241def2c04eee397d61b6cad2d137107","unresolved":false,"context_lines":[{"line_number":129,"context_line":"It is assumed that the deployer should disallow communication between the"},{"line_number":130,"context_line":"target node and the ironic API. However, if an API call does come through"},{"line_number":131,"context_line":"when \u0027poll_only\u0027 is True. Then the conductor should ignore the request and"},{"line_number":132,"context_line":"return None."},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"For this mode, we will also need to remove the ipa_url being passed as kernel"},{"line_number":135,"context_line":"parameter to the agent."}],"source_content_type":"text/x-rst","patch_set":14,"id":"3a29b11f_b7935b5a","line":132,"updated":"2015-10-22 21:55:27.000000000","message":"maybe HTTP status 400 (Bad Request) or 403 (Forbidden)","commit_id":"3e6140191a305a232c60834ecc3e8550b58c72bd"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"126fe8a3352fa8aa89b4dda567ec970f7a4f763a","unresolved":false,"context_lines":[{"line_number":129,"context_line":"It is assumed that the deployer should disallow communication between the"},{"line_number":130,"context_line":"target node and the ironic API. However, if an API call does come through"},{"line_number":131,"context_line":"when \u0027poll_only\u0027 is True. Then the conductor should ignore the request and"},{"line_number":132,"context_line":"return None."},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"For this mode, we will also need to remove the ipa_url being passed as kernel"},{"line_number":135,"context_line":"parameter to the agent."}],"source_content_type":"text/x-rst","patch_set":14,"id":"df87a7cf_3345fbb4","line":132,"in_reply_to":"1a26ad4f_05c62248","updated":"2017-12-18 16:00:05.000000000","message":"Done","commit_id":"3e6140191a305a232c60834ecc3e8550b58c72bd"},{"author":{"_account_id":9452,"name":"James Penick","email":"penick@verizonmedia.com","username":"epim"},"change_message_id":"44361cb16441d0fc1cfd323bffc274a59fc127fe","unresolved":false,"context_lines":[{"line_number":129,"context_line":"It is assumed that the deployer should disallow communication between the"},{"line_number":130,"context_line":"target node and the ironic API. However, if an API call does come through"},{"line_number":131,"context_line":"when \u0027poll_only\u0027 is True. Then the conductor should ignore the request and"},{"line_number":132,"context_line":"return None."},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"For this mode, we will also need to remove the ipa_url being passed as kernel"},{"line_number":135,"context_line":"parameter to the agent."}],"source_content_type":"text/x-rst","patch_set":14,"id":"1a26ad4f_05c62248","line":132,"in_reply_to":"3a29b11f_76285a9a","updated":"2015-10-30 02:17:25.000000000","message":"updated in the next patch","commit_id":"3e6140191a305a232c60834ecc3e8550b58c72bd"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"effd812216f7f5aa40d7e0559a74f836e8110400","unresolved":false,"context_lines":[{"line_number":129,"context_line":"It is assumed that the deployer should disallow communication between the"},{"line_number":130,"context_line":"target node and the ironic API. However, if an API call does come through"},{"line_number":131,"context_line":"when \u0027poll_only\u0027 is True. Then the conductor should ignore the request and"},{"line_number":132,"context_line":"return None."},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"For this mode, we will also need to remove the ipa_url being passed as kernel"},{"line_number":135,"context_line":"parameter to the agent."}],"source_content_type":"text/x-rst","patch_set":14,"id":"3a29b11f_76285a9a","line":132,"in_reply_to":"3a29b11f_b7935b5a","updated":"2015-10-23 08:57:15.000000000","message":"Good call. I think we should be explicit, because it probably means, that an old image is used, and deploy might fail.","commit_id":"3e6140191a305a232c60834ecc3e8550b58c72bd"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"effd812216f7f5aa40d7e0559a74f836e8110400","unresolved":false,"context_lines":[{"line_number":254,"context_line":"Work Items"},{"line_number":255,"context_line":"----------"},{"line_number":256,"context_line":""},{"line_number":257,"context_line":"* write the code"},{"line_number":258,"context_line":"* Test scale and performance impact on periodic tasks"},{"line_number":259,"context_line":""},{"line_number":260,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"3a29b11f_161ec66f","line":257,"updated":"2015-10-23 08:57:15.000000000","message":"please expand it :) at least you have 2 changes to IPA (accepting UUID and accepting passive mode) and a couple of changes to ironic","commit_id":"3e6140191a305a232c60834ecc3e8550b58c72bd"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"126fe8a3352fa8aa89b4dda567ec970f7a4f763a","unresolved":false,"context_lines":[{"line_number":254,"context_line":"Work Items"},{"line_number":255,"context_line":"----------"},{"line_number":256,"context_line":""},{"line_number":257,"context_line":"* write the code"},{"line_number":258,"context_line":"* Test scale and performance impact on periodic tasks"},{"line_number":259,"context_line":""},{"line_number":260,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"df87a7cf_ceef421b","line":257,"in_reply_to":"3a29b11f_161ec66f","updated":"2017-12-18 16:00:05.000000000","message":"Done","commit_id":"3e6140191a305a232c60834ecc3e8550b58c72bd"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"effd812216f7f5aa40d7e0559a74f836e8110400","unresolved":false,"context_lines":[{"line_number":263,"context_line":""},{"line_number":264,"context_line":"Futurist has been called out as a dependency to manage the polling steps in a"},{"line_number":265,"context_line":"sane fashion:"},{"line_number":266,"context_line":"http://specs.openstack.org/openstack/ironic-specs/specs/approved/futurist.html"},{"line_number":267,"context_line":""},{"line_number":268,"context_line":"Testing"},{"line_number":269,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":14,"id":"3a29b11f_b11efc5c","line":266,"updated":"2015-10-23 08:57:15.000000000","message":"I would say that SSL support for IPA is also a soft requirement. I mean, we can land this spec, and it will probably be an improvement, but it won\u0027t solve security problems IMO","commit_id":"3e6140191a305a232c60834ecc3e8550b58c72bd"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"126fe8a3352fa8aa89b4dda567ec970f7a4f763a","unresolved":false,"context_lines":[{"line_number":263,"context_line":""},{"line_number":264,"context_line":"Futurist has been called out as a dependency to manage the polling steps in a"},{"line_number":265,"context_line":"sane fashion:"},{"line_number":266,"context_line":"http://specs.openstack.org/openstack/ironic-specs/specs/approved/futurist.html"},{"line_number":267,"context_line":""},{"line_number":268,"context_line":"Testing"},{"line_number":269,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":14,"id":"df87a7cf_8e74da69","line":266,"in_reply_to":"1a26ad4f_c8d4bf21","updated":"2017-12-18 16:00:05.000000000","message":"Done","commit_id":"3e6140191a305a232c60834ecc3e8550b58c72bd"},{"author":{"_account_id":9452,"name":"James Penick","email":"penick@verizonmedia.com","username":"epim"},"change_message_id":"44361cb16441d0fc1cfd323bffc274a59fc127fe","unresolved":false,"context_lines":[{"line_number":263,"context_line":""},{"line_number":264,"context_line":"Futurist has been called out as a dependency to manage the polling steps in a"},{"line_number":265,"context_line":"sane fashion:"},{"line_number":266,"context_line":"http://specs.openstack.org/openstack/ironic-specs/specs/approved/futurist.html"},{"line_number":267,"context_line":""},{"line_number":268,"context_line":"Testing"},{"line_number":269,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":14,"id":"1a26ad4f_c8d4bf21","line":266,"in_reply_to":"3a29b11f_b11efc5c","updated":"2015-10-30 02:17:25.000000000","message":"I\u0027ll call that out as a known gap, since it\u0027s definitely important for actually securing things.","commit_id":"3e6140191a305a232c60834ecc3e8550b58c72bd"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"11ba0a41a63a78bd1e7bdffa734e064cfc1226f5","unresolved":false,"context_lines":[{"line_number":11,"context_line":"https://bugs.launchpad.net/ironic/+bug/1526486"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Pass the node ID to the target node as a kernel parameter rather than"},{"line_number":14,"context_line":"requiring (or allowing) the target to have any API access to the ironic API."},{"line_number":15,"context_line":""},{"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"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_192fd6f6","line":14,"updated":"2018-08-09 20:27:54.000000000","message":"Question: how does passing the node ID on the kernel command line help beyond the initial lookup to heartbeat? If the conductor knows the IP address to reach out to, then wouldn\u0027t heartbeating just be a conductor process at that point?","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"73727dfb73968f374163dc70192db860d5514eba","unresolved":false,"context_lines":[{"line_number":11,"context_line":"https://bugs.launchpad.net/ironic/+bug/1526486"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Pass the node ID to the target node as a kernel parameter rather than"},{"line_number":14,"context_line":"requiring (or allowing) the target to have any API access to the ironic API."},{"line_number":15,"context_line":""},{"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"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_e8f7c98b","line":14,"in_reply_to":"3f79a3b5_192fd6f6","updated":"2018-08-31 13:36:35.000000000","message":"Good question, maybe we don\u0027t need it. I need to poke through the code again.","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"11ba0a41a63a78bd1e7bdffa734e064cfc1226f5","unresolved":false,"context_lines":[{"line_number":77,"context_line":""},{"line_number":78,"context_line":"1. Conductor receives call to boot node."},{"line_number":79,"context_line":"2. Conductor creates ipxe data, including node-id as kernel parameter."},{"line_number":80,"context_line":"3. Conductor sends ipmi call to power target node on."},{"line_number":81,"context_line":"4. Target node boots, uses DHCP to get IP."},{"line_number":82,"context_line":"5. Target node runs PXE/iPXE, pulls data from ipxe host."},{"line_number":83,"context_line":"6. Target boots, runs IPA, gleans Node ID from kernel param."}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_39773205","line":80,"range":{"start_line":80,"start_character":19,"end_line":80,"end_character":24},"updated":"2018-08-09 20:27:54.000000000","message":"nit: s/ipmi // since this is not an ipmi problem and we have support for multiple power interfaces.","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"73727dfb73968f374163dc70192db860d5514eba","unresolved":false,"context_lines":[{"line_number":77,"context_line":""},{"line_number":78,"context_line":"1. Conductor receives call to boot node."},{"line_number":79,"context_line":"2. Conductor creates ipxe data, including node-id as kernel parameter."},{"line_number":80,"context_line":"3. Conductor sends ipmi call to power target node on."},{"line_number":81,"context_line":"4. Target node boots, uses DHCP to get IP."},{"line_number":82,"context_line":"5. Target node runs PXE/iPXE, pulls data from ipxe host."},{"line_number":83,"context_line":"6. Target boots, runs IPA, gleans Node ID from kernel param."}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_a8f1d197","line":80,"range":{"start_line":80,"start_character":19,"end_line":80,"end_character":24},"in_reply_to":"3f79a3b5_39773205","updated":"2018-08-31 13:36:35.000000000","message":"++, this is just an example process but I can drop it.","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"11ba0a41a63a78bd1e7bdffa734e064cfc1226f5","unresolved":false,"context_lines":[{"line_number":86,"context_line":"8. Conductor polls instance at a configurable interval to check on state,"},{"line_number":87,"context_line":"   gather information, etc."},{"line_number":88,"context_line":"9. Target is complete. Conductor reboots target node."},{"line_number":89,"context_line":"10. Conductor cleans up ipxe data."},{"line_number":90,"context_line":"11. Complete."},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"An example of this as a fix to the security problem:"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_f9be9a63","line":89,"updated":"2018-08-09 20:27:54.000000000","message":"It occurs to me that this is similar to the dhcp-less spec in that IP addressing needs to be known by the conductor. I guess I\u0027m missing the purpose of the node id beyond possibly something that could be considered authentication... but in this case is the node uuid matching anything used or validated against?","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"73727dfb73968f374163dc70192db860d5514eba","unresolved":false,"context_lines":[{"line_number":86,"context_line":"8. Conductor polls instance at a configurable interval to check on state,"},{"line_number":87,"context_line":"   gather information, etc."},{"line_number":88,"context_line":"9. Target is complete. Conductor reboots target node."},{"line_number":89,"context_line":"10. Conductor cleans up ipxe data."},{"line_number":90,"context_line":"11. Complete."},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"An example of this as a fix to the security problem:"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_882c1502","line":89,"in_reply_to":"3f79a3b5_f9be9a63","updated":"2018-08-31 13:36:35.000000000","message":"Ditto as above","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":26340,"name":"Ilya Etingof","email":"etingof@gmail.com","username":"etingof"},"change_message_id":"ee6a562f24aa76528e41b46680834dabad4a6725","unresolved":false,"context_lines":[{"line_number":94,"context_line":"* Bob boots a host with ironic, this host is publicly routable to the"},{"line_number":95,"context_line":"  internet. Mallory finds and compromises this host. She attempts to attack"},{"line_number":96,"context_line":"  the ironic API. The connection times out. She gives up and attacks the iPXE"},{"line_number":97,"context_line":"  host. She succeeds and compromises the iPXE host. She then attempts to"},{"line_number":98,"context_line":"  attack the ironic API. The connection fails. Mallory, disappointed, gives"},{"line_number":99,"context_line":"  up and puts her life of crime behind her."},{"line_number":100,"context_line":""}],"source_content_type":"text/x-rst","patch_set":15,"id":"5f7c97a3_b8d975f2","line":97,"range":{"start_line":97,"start_character":8,"end_line":97,"end_character":51},"updated":"2018-08-02 15:06:41.000000000","message":"May be worth mentioning that iPXE host theoretically has \nsmaller attack surface (as conductor API is not present there) what hardens overall security.","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"73727dfb73968f374163dc70192db860d5514eba","unresolved":false,"context_lines":[{"line_number":94,"context_line":"* Bob boots a host with ironic, this host is publicly routable to the"},{"line_number":95,"context_line":"  internet. Mallory finds and compromises this host. She attempts to attack"},{"line_number":96,"context_line":"  the ironic API. The connection times out. She gives up and attacks the iPXE"},{"line_number":97,"context_line":"  host. She succeeds and compromises the iPXE host. She then attempts to"},{"line_number":98,"context_line":"  attack the ironic API. The connection fails. Mallory, disappointed, gives"},{"line_number":99,"context_line":"  up and puts her life of crime behind her."},{"line_number":100,"context_line":""}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_4847dd78","line":97,"range":{"start_line":97,"start_character":8,"end_line":97,"end_character":51},"in_reply_to":"5f7c97a3_b8d975f2","updated":"2018-08-31 13:36:35.000000000","message":"I can try to clarify","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"126fe8a3352fa8aa89b4dda567ec970f7a4f763a","unresolved":false,"context_lines":[{"line_number":110,"context_line":""},{"line_number":111,"context_line":"We will add two options to the [agent] category."},{"line_number":112,"context_line":""},{"line_number":113,"context_line":"* \u0027poll_only\u0027: BoolOpt to enable passive mode."},{"line_number":114,"context_line":"* \u0027poll_interval\u0027: IntOpt, poll interval in Seconds."},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"If \u0027poll_only\u0027 is enabled, we pass the \u0027passive\u0027 kernel command line parameter"}],"source_content_type":"text/x-rst","patch_set":15,"id":"df87a7cf_ee36c651","line":113,"updated":"2017-12-18 16:00:05.000000000","message":"Discussion on the previous patchset talked about making this a per-node option. That seems useful at a glance to me, but curious if other folks still think it\u0027s useful.","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"038d71f5fc52dbfd6096e2148a02ecd83bfac1aa","unresolved":false,"context_lines":[{"line_number":110,"context_line":""},{"line_number":111,"context_line":"We will add two options to the [agent] category."},{"line_number":112,"context_line":""},{"line_number":113,"context_line":"* \u0027poll_only\u0027: BoolOpt to enable passive mode."},{"line_number":114,"context_line":"* \u0027poll_interval\u0027: IntOpt, poll interval in Seconds."},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"If \u0027poll_only\u0027 is enabled, we pass the \u0027passive\u0027 kernel command line parameter"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_b4b60e3e","line":113,"updated":"2018-08-31 10:44:19.000000000","message":"I\u0027m not sure. The only reason to disable polling is deployments without neutron, right? And this is not per node.","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"73727dfb73968f374163dc70192db860d5514eba","unresolved":false,"context_lines":[{"line_number":110,"context_line":""},{"line_number":111,"context_line":"We will add two options to the [agent] category."},{"line_number":112,"context_line":""},{"line_number":113,"context_line":"* \u0027poll_only\u0027: BoolOpt to enable passive mode."},{"line_number":114,"context_line":"* \u0027poll_interval\u0027: IntOpt, poll interval in Seconds."},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"If \u0027poll_only\u0027 is enabled, we pass the \u0027passive\u0027 kernel command line parameter"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_63743a9d","line":113,"in_reply_to":"3f79a3b5_b4b60e3e","updated":"2018-08-31 13:36:35.000000000","message":"Why? Ironic can get the IP of the node from neutron. And it\u0027s technically possible to have a mix of neutron and not-neutron nodes (thanks network interface!)\n\nThat said, I\u0027m okay either way. See also API concerns below.","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"11ba0a41a63a78bd1e7bdffa734e064cfc1226f5","unresolved":false,"context_lines":[{"line_number":110,"context_line":""},{"line_number":111,"context_line":"We will add two options to the [agent] category."},{"line_number":112,"context_line":""},{"line_number":113,"context_line":"* \u0027poll_only\u0027: BoolOpt to enable passive mode."},{"line_number":114,"context_line":"* \u0027poll_interval\u0027: IntOpt, poll interval in Seconds."},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"If \u0027poll_only\u0027 is enabled, we pass the \u0027passive\u0027 kernel command line parameter"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_592a2e90","line":113,"in_reply_to":"df87a7cf_ee36c651","updated":"2018-08-09 20:27:54.000000000","message":"That seems useful because there will surely be mixed deployments. Simillarlly there might need to be an API setting turning off the ability to perform a lookup which if present in the config might also force poll_only.","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"038d71f5fc52dbfd6096e2148a02ecd83bfac1aa","unresolved":false,"context_lines":[{"line_number":111,"context_line":"We will add two options to the [agent] category."},{"line_number":112,"context_line":""},{"line_number":113,"context_line":"* \u0027poll_only\u0027: BoolOpt to enable passive mode."},{"line_number":114,"context_line":"* \u0027poll_interval\u0027: IntOpt, poll interval in Seconds."},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"If \u0027poll_only\u0027 is enabled, we pass the \u0027passive\u0027 kernel command line parameter"},{"line_number":117,"context_line":"to IPA to disable heartbeating. The conductor will pass the node UUID as a"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_d4b14a46","line":114,"updated":"2018-08-31 10:44:19.000000000","message":"what\u0027s the default? the current heartbeat interval?\n\nalso we need something like poll_delay to configure when to start polling (no point in polling right after power on). the default can be 1 minute, but the actual deployments may raise it even further.","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"038d71f5fc52dbfd6096e2148a02ecd83bfac1aa","unresolved":false,"context_lines":[{"line_number":113,"context_line":"* \u0027poll_only\u0027: BoolOpt to enable passive mode."},{"line_number":114,"context_line":"* \u0027poll_interval\u0027: IntOpt, poll interval in Seconds."},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"If \u0027poll_only\u0027 is enabled, we pass the \u0027passive\u0027 kernel command line parameter"},{"line_number":117,"context_line":"to IPA to disable heartbeating. The conductor will pass the node UUID as a"},{"line_number":118,"context_line":"kernel command line parameter. If IPA sees the UUID as a kernel parameter, it"},{"line_number":119,"context_line":"will not call conductor to discover its\u0027 UUID."}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_7482b654","line":116,"updated":"2018-08-31 10:44:19.000000000","message":"can we use missing ironic URL as an indication of the passive mode? I think we already have code in place to not heartbeat in this case.","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"9c482225621e8f841ec0b8a56fbb8955695a3560","unresolved":false,"context_lines":[{"line_number":113,"context_line":"* \u0027poll_only\u0027: BoolOpt to enable passive mode."},{"line_number":114,"context_line":"* \u0027poll_interval\u0027: IntOpt, poll interval in Seconds."},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"If \u0027poll_only\u0027 is enabled, we pass the \u0027passive\u0027 kernel command line parameter"},{"line_number":117,"context_line":"to IPA to disable heartbeating. The conductor will pass the node UUID as a"},{"line_number":118,"context_line":"kernel command line parameter. If IPA sees the UUID as a kernel parameter, it"},{"line_number":119,"context_line":"will not call conductor to discover its\u0027 UUID."}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_0902443f","line":116,"in_reply_to":"3f79a3b5_23a3a202","updated":"2018-08-31 16:39:51.000000000","message":"I think that is an awesome idea!","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"73727dfb73968f374163dc70192db860d5514eba","unresolved":false,"context_lines":[{"line_number":113,"context_line":"* \u0027poll_only\u0027: BoolOpt to enable passive mode."},{"line_number":114,"context_line":"* \u0027poll_interval\u0027: IntOpt, poll interval in Seconds."},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"If \u0027poll_only\u0027 is enabled, we pass the \u0027passive\u0027 kernel command line parameter"},{"line_number":117,"context_line":"to IPA to disable heartbeating. The conductor will pass the node UUID as a"},{"line_number":118,"context_line":"kernel command line parameter. If IPA sees the UUID as a kernel parameter, it"},{"line_number":119,"context_line":"will not call conductor to discover its\u0027 UUID."}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_23a3a202","line":116,"in_reply_to":"3f79a3b5_7482b654","updated":"2018-08-31 13:36:35.000000000","message":"Good idea.","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"11ba0a41a63a78bd1e7bdffa734e064cfc1226f5","unresolved":false,"context_lines":[{"line_number":113,"context_line":"* \u0027poll_only\u0027: BoolOpt to enable passive mode."},{"line_number":114,"context_line":"* \u0027poll_interval\u0027: IntOpt, poll interval in Seconds."},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"If \u0027poll_only\u0027 is enabled, we pass the \u0027passive\u0027 kernel command line parameter"},{"line_number":117,"context_line":"to IPA to disable heartbeating. The conductor will pass the node UUID as a"},{"line_number":118,"context_line":"kernel command line parameter. If IPA sees the UUID as a kernel parameter, it"},{"line_number":119,"context_line":"will not call conductor to discover its\u0027 UUID."},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"If \u0027poll_only\u0027 is enabled, the conductor will use a periodic task to query"},{"line_number":122,"context_line":"each agent at an interval as defined in \u0027poll_interval\u0027 instead of querying"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_bc09f02c","line":119,"range":{"start_line":116,"start_character":0,"end_line":119,"end_character":46},"updated":"2018-08-09 20:27:54.000000000","message":"So... this seems like two things to achieve the same goal?","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"73727dfb73968f374163dc70192db860d5514eba","unresolved":false,"context_lines":[{"line_number":113,"context_line":"* \u0027poll_only\u0027: BoolOpt to enable passive mode."},{"line_number":114,"context_line":"* \u0027poll_interval\u0027: IntOpt, poll interval in Seconds."},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"If \u0027poll_only\u0027 is enabled, we pass the \u0027passive\u0027 kernel command line parameter"},{"line_number":117,"context_line":"to IPA to disable heartbeating. The conductor will pass the node UUID as a"},{"line_number":118,"context_line":"kernel command line parameter. If IPA sees the UUID as a kernel parameter, it"},{"line_number":119,"context_line":"will not call conductor to discover its\u0027 UUID."},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"If \u0027poll_only\u0027 is enabled, the conductor will use a periodic task to query"},{"line_number":122,"context_line":"each agent at an interval as defined in \u0027poll_interval\u0027 instead of querying"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_c35c2e1b","line":119,"range":{"start_line":116,"start_character":0,"end_line":119,"end_character":46},"in_reply_to":"3f79a3b5_bc09f02c","updated":"2018-08-31 13:36:35.000000000","message":"Yeah, that\u0027s weird to me, going to investigate if we need to pass the UUID.","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"038d71f5fc52dbfd6096e2148a02ecd83bfac1aa","unresolved":false,"context_lines":[{"line_number":121,"context_line":"If \u0027poll_only\u0027 is enabled, the conductor will use a periodic task to query"},{"line_number":122,"context_line":"each agent at an interval as defined in \u0027poll_interval\u0027 instead of querying"},{"line_number":123,"context_line":"the agent after a heartbeat is received. This periodic task will only query"},{"line_number":124,"context_line":"nodes in states IPA would normally be heartbeating in: (DEPLOY*, DELETE*,"},{"line_number":125,"context_line":"CLEAN*)."},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"It is assumed that the deployer should disallow communication between the"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_9485125c","line":124,"updated":"2018-08-31 10:44:19.000000000","message":"I don\u0027t think IPA heartbeats in deleting. What about rescue?","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"73727dfb73968f374163dc70192db860d5514eba","unresolved":false,"context_lines":[{"line_number":121,"context_line":"If \u0027poll_only\u0027 is enabled, the conductor will use a periodic task to query"},{"line_number":122,"context_line":"each agent at an interval as defined in \u0027poll_interval\u0027 instead of querying"},{"line_number":123,"context_line":"the agent after a heartbeat is received. This periodic task will only query"},{"line_number":124,"context_line":"nodes in states IPA would normally be heartbeating in: (DEPLOY*, DELETE*,"},{"line_number":125,"context_line":"CLEAN*)."},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"It is assumed that the deployer should disallow communication between the"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_a361f2d5","line":124,"in_reply_to":"3f79a3b5_9485125c","updated":"2018-08-31 13:36:35.000000000","message":"This is true. Will add rescue (this spec is oooooold).","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"11ba0a41a63a78bd1e7bdffa734e064cfc1226f5","unresolved":false,"context_lines":[{"line_number":125,"context_line":"CLEAN*)."},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"It is assumed that the deployer should disallow communication between the"},{"line_number":128,"context_line":"target node and the ironic API. However, if an API call does come through"},{"line_number":129,"context_line":"when \u0027poll_only\u0027 is True, then Ironic should return a 403."},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"For this mode, we will also need to remove the ipa_url being passed as kernel"},{"line_number":132,"context_line":"parameter to the agent."}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_1c2ca497","line":129,"range":{"start_line":128,"start_character":31,"end_line":129,"end_character":58},"updated":"2018-08-09 20:27:54.000000000","message":"Maybe a purely separate api config, since agent options should influence api behavior. Besides, these are likely running with separate unique config files on separate systems or containers in many cases.","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"9c482225621e8f841ec0b8a56fbb8955695a3560","unresolved":false,"context_lines":[{"line_number":125,"context_line":"CLEAN*)."},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"It is assumed that the deployer should disallow communication between the"},{"line_number":128,"context_line":"target node and the ironic API. However, if an API call does come through"},{"line_number":129,"context_line":"when \u0027poll_only\u0027 is True, then Ironic should return a 403."},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"For this mode, we will also need to remove the ipa_url being passed as kernel"},{"line_number":132,"context_line":"parameter to the agent."}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_a94d509a","line":129,"range":{"start_line":128,"start_character":31,"end_line":129,"end_character":58},"in_reply_to":"3f79a3b5_036306df","updated":"2018-08-31 16:39:51.000000000","message":"FootGuns as a Service? In the grand scheme of the universe global for the operating config seems less footgun-ish than at the node level. I\u0027m trying to think of a case where an operator would want to mix and match with the same conductors/apis, and I\u0027m not finding it, but we\u0027ve had discussions about split horizon API surfaces in cases. I know one of the NFV product that was being developed wanted to offer admin access to the ironic API, so they filtered in-line the endpoints out via the proxy in between... which is not the best solution in my mind and still brings risk. I dunno.","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"73727dfb73968f374163dc70192db860d5514eba","unresolved":false,"context_lines":[{"line_number":125,"context_line":"CLEAN*)."},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"It is assumed that the deployer should disallow communication between the"},{"line_number":128,"context_line":"target node and the ironic API. However, if an API call does come through"},{"line_number":129,"context_line":"when \u0027poll_only\u0027 is True, then Ironic should return a 403."},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"For this mode, we will also need to remove the ipa_url being passed as kernel"},{"line_number":132,"context_line":"parameter to the agent."}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_036306df","line":129,"range":{"start_line":128,"start_character":31,"end_line":129,"end_character":58},"in_reply_to":"3f79a3b5_1c2ca497","updated":"2018-08-31 13:36:35.000000000","message":"Well now I\u0027m thinking... I guess this depends on if this is per-node or global.\n\nPer-node: we\u0027ll need to use the mark on the node to determine what the API should do, as the behavior will be different per node.\n\nGlobal: separate API config is fine (though this leaves a footgun). We could also just recommend turning off the heartbeat/lookup endpoints in policy (similar footgun). Or, we could leave a mark on the nodes somehow, similar to the per-node option (no footgun).","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"11ba0a41a63a78bd1e7bdffa734e064cfc1226f5","unresolved":false,"context_lines":[{"line_number":131,"context_line":"For this mode, we will also need to remove the ipa_url being passed as kernel"},{"line_number":132,"context_line":"parameter to the agent."},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"If \u0027poll_only\u0027 is True, the heartbeat endpoint for nodes should ignore any"},{"line_number":135,"context_line":"requests. This will ensure that when the conductor is restarted to change this"},{"line_number":136,"context_line":"option, from False to True, there won\u0027t be duplicated heartbeats."},{"line_number":137,"context_line":""},{"line_number":138,"context_line":"Notes:"},{"line_number":139,"context_line":""}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_9c3c34c0","line":136,"range":{"start_line":134,"start_character":0,"end_line":136,"end_character":65},"updated":"2018-08-09 20:27:54.000000000","message":"This seems like i is duplicating the statement of line 128, and my comment there still applies.","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"73727dfb73968f374163dc70192db860d5514eba","unresolved":false,"context_lines":[{"line_number":131,"context_line":"For this mode, we will also need to remove the ipa_url being passed as kernel"},{"line_number":132,"context_line":"parameter to the agent."},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"If \u0027poll_only\u0027 is True, the heartbeat endpoint for nodes should ignore any"},{"line_number":135,"context_line":"requests. This will ensure that when the conductor is restarted to change this"},{"line_number":136,"context_line":"option, from False to True, there won\u0027t be duplicated heartbeats."},{"line_number":137,"context_line":""},{"line_number":138,"context_line":"Notes:"},{"line_number":139,"context_line":""}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_03a8e6d6","line":136,"range":{"start_line":134,"start_character":0,"end_line":136,"end_character":65},"in_reply_to":"3f79a3b5_9c3c34c0","updated":"2018-08-31 13:36:35.000000000","message":"Yep, will remove.","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"11ba0a41a63a78bd1e7bdffa734e064cfc1226f5","unresolved":false,"context_lines":[{"line_number":138,"context_line":"Notes:"},{"line_number":139,"context_line":""},{"line_number":140,"context_line":"* This spec depends on the assumption that ironic can look up the node IP in"},{"line_number":141,"context_line":"  Neutron. Deployments without Neutron are not supported with poll_only\u003dTrue."},{"line_number":142,"context_line":""},{"line_number":143,"context_line":"* The ironic-inspector assumes it can post data back to the ironic API. This"},{"line_number":144,"context_line":"  spec breaks that assumption. Until that\u0027s fixed deployers who wish to use"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_dca86cdc","line":141,"updated":"2018-08-09 20:27:54.000000000","message":"Alternatively if we have the l3 dhcp-less config option, we would then have the ip.","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"4aaf86f5c828780b784c76f6cc716cb76c58cf79","unresolved":false,"context_lines":[{"line_number":138,"context_line":"Notes:"},{"line_number":139,"context_line":""},{"line_number":140,"context_line":"* This spec depends on the assumption that ironic can look up the node IP in"},{"line_number":141,"context_line":"  Neutron. Deployments without Neutron are not supported with poll_only\u003dTrue."},{"line_number":142,"context_line":""},{"line_number":143,"context_line":"* The ironic-inspector assumes it can post data back to the ironic API. This"},{"line_number":144,"context_line":"  spec breaks that assumption. Until that\u0027s fixed deployers who wish to use"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_ae5528c4","line":141,"in_reply_to":"3f79a3b5_2463a5df","updated":"2018-09-04 11:41:10.000000000","message":"Hm, driver_internal_info won\u0027t work for the not-neutron case, though, right? I know it isn\u0027t intended for the operator to set things in that field, but can\u0027t recall if we specifically block it.","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"366d3093ff82431322ce22b94af5b04e772b56ed","unresolved":false,"context_lines":[{"line_number":138,"context_line":"Notes:"},{"line_number":139,"context_line":""},{"line_number":140,"context_line":"* This spec depends on the assumption that ironic can look up the node IP in"},{"line_number":141,"context_line":"  Neutron. Deployments without Neutron are not supported with poll_only\u003dTrue."},{"line_number":142,"context_line":""},{"line_number":143,"context_line":"* The ironic-inspector assumes it can post data back to the ironic API. This"},{"line_number":144,"context_line":"  spec breaks that assumption. Until that\u0027s fixed deployers who wish to use"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_a8586e56","line":141,"in_reply_to":"3f79a3b5_ae5528c4","updated":"2018-10-15 19:23:27.000000000","message":"AFAIK we do block it, but we came to addressing consensus for ip storage with the vmedia spec from nokia, so I think we just need to point to that in the grand scheme of the universe.","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"73727dfb73968f374163dc70192db860d5514eba","unresolved":false,"context_lines":[{"line_number":138,"context_line":"Notes:"},{"line_number":139,"context_line":""},{"line_number":140,"context_line":"* This spec depends on the assumption that ironic can look up the node IP in"},{"line_number":141,"context_line":"  Neutron. Deployments without Neutron are not supported with poll_only\u003dTrue."},{"line_number":142,"context_line":""},{"line_number":143,"context_line":"* The ironic-inspector assumes it can post data back to the ironic API. This"},{"line_number":144,"context_line":"  spec breaks that assumption. Until that\u0027s fixed deployers who wish to use"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_e395aa89","line":141,"in_reply_to":"3f79a3b5_dca86cdc","updated":"2018-08-31 13:36:35.000000000","message":"Let\u0027s support both!\n\nThis makes me think about earlier comments - we\u0027ll need to stuff the IP in the node object so we don\u0027t look it up every time. Maybe we allow using this without Neutron if the deployer puts it in the right place?","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"9c482225621e8f841ec0b8a56fbb8955695a3560","unresolved":false,"context_lines":[{"line_number":138,"context_line":"Notes:"},{"line_number":139,"context_line":""},{"line_number":140,"context_line":"* This spec depends on the assumption that ironic can look up the node IP in"},{"line_number":141,"context_line":"  Neutron. Deployments without Neutron are not supported with poll_only\u003dTrue."},{"line_number":142,"context_line":""},{"line_number":143,"context_line":"* The ironic-inspector assumes it can post data back to the ironic API. This"},{"line_number":144,"context_line":"  spec breaks that assumption. Until that\u0027s fixed deployers who wish to use"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_2463a5df","line":141,"in_reply_to":"3f79a3b5_e395aa89","updated":"2018-08-31 16:39:51.000000000","message":"+++++ I think inside driver_internal_info works since we do tend to rip data out of that field at the end of deployments. It suddenly occurs to me that all of this work is getting really intertwined. On a plus side, we need things like polling for things like federation.","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"038d71f5fc52dbfd6096e2148a02ecd83bfac1aa","unresolved":false,"context_lines":[{"line_number":142,"context_line":""},{"line_number":143,"context_line":"* The ironic-inspector assumes it can post data back to the ironic API. This"},{"line_number":144,"context_line":"  spec breaks that assumption. Until that\u0027s fixed deployers who wish to use"},{"line_number":145,"context_line":"  inspection will need to run with poll_only\u003dFalse."},{"line_number":146,"context_line":"  (TODO(jroll) is this still true?)"},{"line_number":147,"context_line":""},{"line_number":148,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_347c3e71","line":145,"updated":"2018-08-31 10:44:19.000000000","message":"This is not quite right, ironic-inspector has its own kernel parameters, so it\u0027s completely unaffected by poll_only.","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"73727dfb73968f374163dc70192db860d5514eba","unresolved":false,"context_lines":[{"line_number":142,"context_line":""},{"line_number":143,"context_line":"* The ironic-inspector assumes it can post data back to the ironic API. This"},{"line_number":144,"context_line":"  spec breaks that assumption. Until that\u0027s fixed deployers who wish to use"},{"line_number":145,"context_line":"  inspection will need to run with poll_only\u003dFalse."},{"line_number":146,"context_line":"  (TODO(jroll) is this still true?)"},{"line_number":147,"context_line":""},{"line_number":148,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_83eab60b","line":145,"in_reply_to":"3f79a3b5_347c3e71","updated":"2018-08-31 13:36:35.000000000","message":"Okay, cool, will update. Do we want to try and support this for inspector? I personally don\u0027t need it right now, but am open to doing the work.","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"8dc6d4d5f8bb5120549e11276758a9ab3201eec8","unresolved":false,"context_lines":[{"line_number":142,"context_line":""},{"line_number":143,"context_line":"* The ironic-inspector assumes it can post data back to the ironic API. This"},{"line_number":144,"context_line":"  spec breaks that assumption. Until that\u0027s fixed deployers who wish to use"},{"line_number":145,"context_line":"  inspection will need to run with poll_only\u003dFalse."},{"line_number":146,"context_line":"  (TODO(jroll) is this still true?)"},{"line_number":147,"context_line":""},{"line_number":148,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_8315d69d","line":145,"in_reply_to":"3f79a3b5_63043a7f","updated":"2018-08-31 13:47:01.000000000","message":"Fair point, I\u0027ll leave it out.","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"d01c9a9d4afec53b221cbcd832b00be15cd69d98","unresolved":false,"context_lines":[{"line_number":142,"context_line":""},{"line_number":143,"context_line":"* The ironic-inspector assumes it can post data back to the ironic API. This"},{"line_number":144,"context_line":"  spec breaks that assumption. Until that\u0027s fixed deployers who wish to use"},{"line_number":145,"context_line":"  inspection will need to run with poll_only\u003dFalse."},{"line_number":146,"context_line":"  (TODO(jroll) is this still true?)"},{"line_number":147,"context_line":""},{"line_number":148,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_63043a7f","line":145,"in_reply_to":"3f79a3b5_83eab60b","updated":"2018-08-31 13:43:57.000000000","message":"It would be great, but I\u0027m not sure how to get the IP address, since ironic-inspector does not use Neutron.","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"11ba0a41a63a78bd1e7bdffa734e064cfc1226f5","unresolved":false,"context_lines":[{"line_number":143,"context_line":"* The ironic-inspector assumes it can post data back to the ironic API. This"},{"line_number":144,"context_line":"  spec breaks that assumption. Until that\u0027s fixed deployers who wish to use"},{"line_number":145,"context_line":"  inspection will need to run with poll_only\u003dFalse."},{"line_number":146,"context_line":"  (TODO(jroll) is this still true?)"},{"line_number":147,"context_line":""},{"line_number":148,"context_line":"Alternatives"},{"line_number":149,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_1c88246f","line":146,"updated":"2018-08-09 20:27:54.000000000","message":"if it is, it would be good to detail.","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"73727dfb73968f374163dc70192db860d5514eba","unresolved":false,"context_lines":[{"line_number":143,"context_line":"* The ironic-inspector assumes it can post data back to the ironic API. This"},{"line_number":144,"context_line":"  spec breaks that assumption. Until that\u0027s fixed deployers who wish to use"},{"line_number":145,"context_line":"  inspection will need to run with poll_only\u003dFalse."},{"line_number":146,"context_line":"  (TODO(jroll) is this still true?)"},{"line_number":147,"context_line":""},{"line_number":148,"context_line":"Alternatives"},{"line_number":149,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_23f16202","line":146,"in_reply_to":"3f79a3b5_1c88246f","updated":"2018-08-31 13:36:35.000000000","message":"See above.","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":26340,"name":"Ilya Etingof","email":"etingof@gmail.com","username":"etingof"},"change_message_id":"ee6a562f24aa76528e41b46680834dabad4a6725","unresolved":false,"context_lines":[{"line_number":145,"context_line":"  inspection will need to run with poll_only\u003dFalse."},{"line_number":146,"context_line":"  (TODO(jroll) is this still true?)"},{"line_number":147,"context_line":""},{"line_number":148,"context_line":"Alternatives"},{"line_number":149,"context_line":"------------"},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"Keep having IPA only support the mode that queries ironic for its node ID."}],"source_content_type":"text/x-rst","patch_set":15,"id":"5f7c97a3_5b293ba0","line":148,"range":{"start_line":148,"start_character":0,"end_line":148,"end_character":12},"updated":"2018-08-02 15:06:41.000000000","message":"Would a reverse HTTP proxy in front of conductor API be considered as an alternative security hardening measure?","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"73727dfb73968f374163dc70192db860d5514eba","unresolved":false,"context_lines":[{"line_number":145,"context_line":"  inspection will need to run with poll_only\u003dFalse."},{"line_number":146,"context_line":"  (TODO(jroll) is this still true?)"},{"line_number":147,"context_line":""},{"line_number":148,"context_line":"Alternatives"},{"line_number":149,"context_line":"------------"},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"Keep having IPA only support the mode that queries ironic for its node ID."}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_43f49ef1","line":148,"range":{"start_line":148,"start_character":0,"end_line":148,"end_character":12},"in_reply_to":"3f79a3b5_9c93d4a3","updated":"2018-08-31 13:36:35.000000000","message":"Yep, if you own the proxy you can still own the API.","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"11ba0a41a63a78bd1e7bdffa734e064cfc1226f5","unresolved":false,"context_lines":[{"line_number":145,"context_line":"  inspection will need to run with poll_only\u003dFalse."},{"line_number":146,"context_line":"  (TODO(jroll) is this still true?)"},{"line_number":147,"context_line":""},{"line_number":148,"context_line":"Alternatives"},{"line_number":149,"context_line":"------------"},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"Keep having IPA only support the mode that queries ironic for its node ID."}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_9c93d4a3","line":148,"range":{"start_line":148,"start_character":0,"end_line":148,"end_character":12},"in_reply_to":"5f7c97a3_5b293ba0","updated":"2018-08-09 20:27:54.000000000","message":"I don\u0027t think so because it is still a surface that can be attacked, where as the spec\u0027s goal is is to remove or eliminate centralized attack surfaces.","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"11ba0a41a63a78bd1e7bdffa734e064cfc1226f5","unresolved":false,"context_lines":[{"line_number":148,"context_line":"Alternatives"},{"line_number":149,"context_line":"------------"},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"Keep having IPA only support the mode that queries ironic for its node ID."},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"Separate the deploying (provisioning) network and tenant network is one"},{"line_number":154,"context_line":"possibility. However this doesn\u0027t scale for very large deployers, particularly"},{"line_number":155,"context_line":"those on L3 network."},{"line_number":156,"context_line":""},{"line_number":157,"context_line":"Data model impact"},{"line_number":158,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_3ce72043","line":155,"range":{"start_line":151,"start_character":0,"end_line":155,"end_character":20},"updated":"2018-08-09 20:27:54.000000000","message":"It doesn\u0027t scale in my mind, I don\u0027t think there is really any alternative with the stated goal and context.","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"73727dfb73968f374163dc70192db860d5514eba","unresolved":false,"context_lines":[{"line_number":148,"context_line":"Alternatives"},{"line_number":149,"context_line":"------------"},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"Keep having IPA only support the mode that queries ironic for its node ID."},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"Separate the deploying (provisioning) network and tenant network is one"},{"line_number":154,"context_line":"possibility. However this doesn\u0027t scale for very large deployers, particularly"},{"line_number":155,"context_line":"those on L3 network."},{"line_number":156,"context_line":""},{"line_number":157,"context_line":"Data model impact"},{"line_number":158,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_a3e4923d","line":155,"range":{"start_line":151,"start_character":0,"end_line":155,"end_character":20},"in_reply_to":"3f79a3b5_3ce72043","updated":"2018-08-31 13:36:35.000000000","message":".oO(is this spec from before multitenant networking?)\n\nI\u0027ll probably drop this bit, as I think it could also be useful for multitenant networking deployments.","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"9c482225621e8f841ec0b8a56fbb8955695a3560","unresolved":false,"context_lines":[{"line_number":148,"context_line":"Alternatives"},{"line_number":149,"context_line":"------------"},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"Keep having IPA only support the mode that queries ironic for its node ID."},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"Separate the deploying (provisioning) network and tenant network is one"},{"line_number":154,"context_line":"possibility. However this doesn\u0027t scale for very large deployers, particularly"},{"line_number":155,"context_line":"those on L3 network."},{"line_number":156,"context_line":""},{"line_number":157,"context_line":"Data model impact"},{"line_number":158,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_64cd1db6","line":155,"range":{"start_line":151,"start_character":0,"end_line":155,"end_character":20},"in_reply_to":"3f79a3b5_a3e4923d","updated":"2018-08-31 16:39:51.000000000","message":"It is very before multitenant networking.","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"038d71f5fc52dbfd6096e2148a02ecd83bfac1aa","unresolved":false,"context_lines":[{"line_number":194,"context_line":"-----------------"},{"line_number":195,"context_line":""},{"line_number":196,"context_line":"All the agent_* vendor passthru interfaces will need to be refactored to"},{"line_number":197,"context_line":"allow either a heartbeat call or a periodic task to drive the states."},{"line_number":198,"context_line":""},{"line_number":199,"context_line":"Nova driver impact"},{"line_number":200,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_547f7a65","line":197,"updated":"2018-08-31 10:44:19.000000000","message":"++","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"11ba0a41a63a78bd1e7bdffa734e064cfc1226f5","unresolved":false,"context_lines":[{"line_number":193,"context_line":"Driver API impact"},{"line_number":194,"context_line":"-----------------"},{"line_number":195,"context_line":""},{"line_number":196,"context_line":"All the agent_* vendor passthru interfaces will need to be refactored to"},{"line_number":197,"context_line":"allow either a heartbeat call or a periodic task to drive the states."},{"line_number":198,"context_line":""},{"line_number":199,"context_line":"Nova driver impact"},{"line_number":200,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_1cd6e450","line":197,"range":{"start_line":196,"start_character":0,"end_line":197,"end_character":69},"updated":"2018-08-09 20:27:54.000000000","message":"This needs to be updated.","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"73727dfb73968f374163dc70192db860d5514eba","unresolved":false,"context_lines":[{"line_number":194,"context_line":"-----------------"},{"line_number":195,"context_line":""},{"line_number":196,"context_line":"All the agent_* vendor passthru interfaces will need to be refactored to"},{"line_number":197,"context_line":"allow either a heartbeat call or a periodic task to drive the states."},{"line_number":198,"context_line":""},{"line_number":199,"context_line":"Nova driver impact"},{"line_number":200,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_c3df4e64","line":197,"in_reply_to":"3f79a3b5_547f7a65","updated":"2018-08-31 13:36:35.000000000","message":"Ha.","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"11ba0a41a63a78bd1e7bdffa734e064cfc1226f5","unresolved":false,"context_lines":[{"line_number":210,"context_line":""},{"line_number":211,"context_line":"* skip heartbeats when passive mode is configured via the kernel command line."},{"line_number":212,"context_line":""},{"line_number":213,"context_line":"TODO(jroll) impact on agent version thing"},{"line_number":214,"context_line":""},{"line_number":215,"context_line":"Security impact"},{"line_number":216,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_1c64a4b8","line":213,"updated":"2018-08-09 20:27:54.000000000","message":"How so? I don\u0027t think there is for the rest api version at least.","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"73727dfb73968f374163dc70192db860d5514eba","unresolved":false,"context_lines":[{"line_number":210,"context_line":""},{"line_number":211,"context_line":"* skip heartbeats when passive mode is configured via the kernel command line."},{"line_number":212,"context_line":""},{"line_number":213,"context_line":"TODO(jroll) impact on agent version thing"},{"line_number":214,"context_line":""},{"line_number":215,"context_line":"Security impact"},{"line_number":216,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_03f226e4","line":213,"in_reply_to":"3f79a3b5_1c64a4b8","updated":"2018-08-31 13:36:35.000000000","message":"Hm, we somehow need to indicate if the ramdisk is new enough to support this...","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":26340,"name":"Ilya Etingof","email":"etingof@gmail.com","username":"etingof"},"change_message_id":"ee6a562f24aa76528e41b46680834dabad4a6725","unresolved":false,"context_lines":[{"line_number":218,"context_line":"This change will prevent a malicious actor from using IPA as a vector of attack"},{"line_number":219,"context_line":"against the ironic API."},{"line_number":220,"context_line":""},{"line_number":221,"context_line":"Note that TLS on the agent API is still important to completely secure the"},{"line_number":222,"context_line":"interactions between IPA and Ironic; however, this is outside the scope of"},{"line_number":223,"context_line":"this spec."},{"line_number":224,"context_line":""},{"line_number":225,"context_line":"Other end user impact"}],"source_content_type":"text/x-rst","patch_set":15,"id":"5f7c97a3_db8f8b75","line":222,"range":{"start_line":221,"start_character":64,"end_line":222,"end_character":35},"updated":"2018-08-02 15:06:41.000000000","message":"Does TLS help solving malicious conductor access? Given that the attacker can probably obtain the IPA image along with possible keys and certificates burned into the image...","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"73727dfb73968f374163dc70192db860d5514eba","unresolved":false,"context_lines":[{"line_number":218,"context_line":"This change will prevent a malicious actor from using IPA as a vector of attack"},{"line_number":219,"context_line":"against the ironic API."},{"line_number":220,"context_line":""},{"line_number":221,"context_line":"Note that TLS on the agent API is still important to completely secure the"},{"line_number":222,"context_line":"interactions between IPA and Ironic; however, this is outside the scope of"},{"line_number":223,"context_line":"this spec."},{"line_number":224,"context_line":""},{"line_number":225,"context_line":"Other end user impact"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_83d4f620","line":222,"range":{"start_line":221,"start_character":64,"end_line":222,"end_character":35},"in_reply_to":"5f7c97a3_db8f8b75","updated":"2018-08-31 13:36:35.000000000","message":"I haven\u0027t fully thought through that part, but this is about fully securing the entire architecture. I don\u0027t think (but am not 100% sure) that it helps malicious conductor access, which is why it\u0027s outside the scope of this spec.","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":26340,"name":"Ilya Etingof","email":"etingof@gmail.com","username":"etingof"},"change_message_id":"ee6a562f24aa76528e41b46680834dabad4a6725","unresolved":false,"context_lines":[{"line_number":230,"context_line":"Scalability impact"},{"line_number":231,"context_line":"------------------"},{"line_number":232,"context_line":""},{"line_number":233,"context_line":"Polling target nodes for state from the conductor could have scale issues"},{"line_number":234,"context_line":"when managing many thousands of nodes."},{"line_number":235,"context_line":""},{"line_number":236,"context_line":"If you\u0027re booting thousands of machines concurrently, and polling is not done"},{"line_number":237,"context_line":"in a sufficiently parallel way, there would be an extraordinary impact on the"}],"source_content_type":"text/x-rst","patch_set":15,"id":"5f7c97a3_db754b36","line":234,"range":{"start_line":233,"start_character":0,"end_line":234,"end_character":38},"updated":"2018-08-02 15:06:41.000000000","message":"Would it make sense to reduce IPA-\u003econductor communication to just one \"knock\" call as an alternative to cutting all inbound communication completely raising the need for polling?","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"73727dfb73968f374163dc70192db860d5514eba","unresolved":false,"context_lines":[{"line_number":230,"context_line":"Scalability impact"},{"line_number":231,"context_line":"------------------"},{"line_number":232,"context_line":""},{"line_number":233,"context_line":"Polling target nodes for state from the conductor could have scale issues"},{"line_number":234,"context_line":"when managing many thousands of nodes."},{"line_number":235,"context_line":""},{"line_number":236,"context_line":"If you\u0027re booting thousands of machines concurrently, and polling is not done"},{"line_number":237,"context_line":"in a sufficiently parallel way, there would be an extraordinary impact on the"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_23b402f2","line":234,"range":{"start_line":233,"start_character":0,"end_line":234,"end_character":38},"in_reply_to":"5f7c97a3_db754b36","updated":"2018-08-31 13:36:35.000000000","message":"That doesn\u0027t really do much, as it still leaves network access open.","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"11ba0a41a63a78bd1e7bdffa734e064cfc1226f5","unresolved":false,"context_lines":[{"line_number":232,"context_line":""},{"line_number":233,"context_line":"Polling target nodes for state from the conductor could have scale issues"},{"line_number":234,"context_line":"when managing many thousands of nodes."},{"line_number":235,"context_line":""},{"line_number":236,"context_line":"If you\u0027re booting thousands of machines concurrently, and polling is not done"},{"line_number":237,"context_line":"in a sufficiently parallel way, there would be an extraordinary impact on the"},{"line_number":238,"context_line":"system. Assuming that polling takes one second per host, it would take 16"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_1cd7c425","line":235,"updated":"2018-08-09 20:27:54.000000000","message":"It would likely help to fix scaling/processing so multiple conductor processes can reach out and interact and better utilize the conductor host cpu resources.","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"11ba0a41a63a78bd1e7bdffa734e064cfc1226f5","unresolved":false,"context_lines":[{"line_number":234,"context_line":"when managing many thousands of nodes."},{"line_number":235,"context_line":""},{"line_number":236,"context_line":"If you\u0027re booting thousands of machines concurrently, and polling is not done"},{"line_number":237,"context_line":"in a sufficiently parallel way, there would be an extraordinary impact on the"},{"line_number":238,"context_line":"system. Assuming that polling takes one second per host, it would take 16"},{"line_number":239,"context_line":"minutes to run through and poll 1000 hosts a single time. Depending on the"},{"line_number":240,"context_line":"number of polls required to image hosts, this could push the imaging time"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_fc8a0819","line":237,"range":{"start_line":237,"start_character":5,"end_line":237,"end_character":30},"updated":"2018-08-09 20:27:54.000000000","message":"I think we should consider areas we can improve this, going back to making locking pluggable so it can be distributed, or improving our database queries and periodic task triggering to be more efficient. Maybe PTG topic?","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"038d71f5fc52dbfd6096e2148a02ecd83bfac1aa","unresolved":false,"context_lines":[{"line_number":238,"context_line":"system. Assuming that polling takes one second per host, it would take 16"},{"line_number":239,"context_line":"minutes to run through and poll 1000 hosts a single time. Depending on the"},{"line_number":240,"context_line":"number of polls required to image hosts, this could push the imaging time"},{"line_number":241,"context_line":"from minutes to hours."},{"line_number":242,"context_line":""},{"line_number":243,"context_line":"Performance Impact"},{"line_number":244,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_f4956689","line":241,"updated":"2018-08-31 10:44:19.000000000","message":"We can poll on a thread pool. Actually, we have a thread pool in the conductor. I wonder if we should switch our periodic tasks to use more threads rather than going through all nodes in parallel.\n\nE.g. this periodic task (or the power sync fwiw) checks how many free threads we have. Then spread the load on at most half of them. WDYT?","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"9c482225621e8f841ec0b8a56fbb8955695a3560","unresolved":false,"context_lines":[{"line_number":238,"context_line":"system. Assuming that polling takes one second per host, it would take 16"},{"line_number":239,"context_line":"minutes to run through and poll 1000 hosts a single time. Depending on the"},{"line_number":240,"context_line":"number of polls required to image hosts, this could push the imaging time"},{"line_number":241,"context_line":"from minutes to hours."},{"line_number":242,"context_line":""},{"line_number":243,"context_line":"Performance Impact"},{"line_number":244,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_845e39e7","line":241,"in_reply_to":"3f79a3b5_03c9c677","updated":"2018-08-31 16:39:51.000000000","message":"I think it is fairly reasonable. I think we have a few too many periodic tasks to do it to all of them. I guess my other concern is locking in the db, but I already mentioned this is something we might want to talk about on the edge etherpad.","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"73727dfb73968f374163dc70192db860d5514eba","unresolved":false,"context_lines":[{"line_number":238,"context_line":"system. Assuming that polling takes one second per host, it would take 16"},{"line_number":239,"context_line":"minutes to run through and poll 1000 hosts a single time. Depending on the"},{"line_number":240,"context_line":"number of polls required to image hosts, this could push the imaging time"},{"line_number":241,"context_line":"from minutes to hours."},{"line_number":242,"context_line":""},{"line_number":243,"context_line":"Performance Impact"},{"line_number":244,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_03c9c677","line":241,"in_reply_to":"3f79a3b5_f4956689","updated":"2018-08-31 13:36:35.000000000","message":"Seems reasonable to me. :)","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"11ba0a41a63a78bd1e7bdffa734e064cfc1226f5","unresolved":false,"context_lines":[{"line_number":254,"context_line":"* poll_only (type\u003dBoolOpt, default\u003dFalse)"},{"line_number":255,"context_line":"* poll_interval (type\u003dIntOpt, default\u003d60)"},{"line_number":256,"context_line":""},{"line_number":257,"context_line":"We should document that the deployer needs to set this flag on any conductor"},{"line_number":258,"context_line":"using an agent_* driver, or some nodes will be heartbeating and others will"},{"line_number":259,"context_line":"not."},{"line_number":260,"context_line":""},{"line_number":261,"context_line":"Developer impact"},{"line_number":262,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_bc99f06e","line":259,"range":{"start_line":257,"start_character":0,"end_line":259,"end_character":4},"updated":"2018-08-09 20:27:54.000000000","message":"This would now universally apply.","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"73727dfb73968f374163dc70192db860d5514eba","unresolved":false,"context_lines":[{"line_number":254,"context_line":"* poll_only (type\u003dBoolOpt, default\u003dFalse)"},{"line_number":255,"context_line":"* poll_interval (type\u003dIntOpt, default\u003d60)"},{"line_number":256,"context_line":""},{"line_number":257,"context_line":"We should document that the deployer needs to set this flag on any conductor"},{"line_number":258,"context_line":"using an agent_* driver, or some nodes will be heartbeating and others will"},{"line_number":259,"context_line":"not."},{"line_number":260,"context_line":""},{"line_number":261,"context_line":"Developer impact"},{"line_number":262,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_a3c7b264","line":259,"range":{"start_line":257,"start_character":0,"end_line":259,"end_character":4},"in_reply_to":"3f79a3b5_bc99f06e","updated":"2018-08-31 13:36:35.000000000","message":"Yep","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"11ba0a41a63a78bd1e7bdffa734e064cfc1226f5","unresolved":false,"context_lines":[{"line_number":291,"context_line":"* Disable heartbeating in the agent in \u0027passive mode\u0027."},{"line_number":292,"context_line":""},{"line_number":293,"context_line":"* Test scale and performance impact on periodic tasks."},{"line_number":294,"context_line":""},{"line_number":295,"context_line":""},{"line_number":296,"context_line":"Dependencies"},{"line_number":297,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_bcb250e5","line":294,"updated":"2018-08-09 20:27:54.000000000","message":"Documentation is going to need to be very explicit and detailed for this. As such, it needs to be a work item... if not several work items.","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"038d71f5fc52dbfd6096e2148a02ecd83bfac1aa","unresolved":false,"context_lines":[{"line_number":291,"context_line":"* Disable heartbeating in the agent in \u0027passive mode\u0027."},{"line_number":292,"context_line":""},{"line_number":293,"context_line":"* Test scale and performance impact on periodic tasks."},{"line_number":294,"context_line":""},{"line_number":295,"context_line":""},{"line_number":296,"context_line":"Dependencies"},{"line_number":297,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_1491029b","line":294,"updated":"2018-08-31 10:44:19.000000000","message":"Maybe even a part of some refarch..","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"73727dfb73968f374163dc70192db860d5514eba","unresolved":false,"context_lines":[{"line_number":291,"context_line":"* Disable heartbeating in the agent in \u0027passive mode\u0027."},{"line_number":292,"context_line":""},{"line_number":293,"context_line":"* Test scale and performance impact on periodic tasks."},{"line_number":294,"context_line":""},{"line_number":295,"context_line":""},{"line_number":296,"context_line":"Dependencies"},{"line_number":297,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_c3c2ee53","line":294,"in_reply_to":"3f79a3b5_1491029b","updated":"2018-08-31 13:36:35.000000000","message":"What\u0027s a refarch? :P\n\nI\u0027ll add items for that.","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"11ba0a41a63a78bd1e7bdffa734e064cfc1226f5","unresolved":false,"context_lines":[{"line_number":310,"context_line":"upgrading Ironic and enabling the feature. If they do not, all imaging"},{"line_number":311,"context_line":"attempts will fail."},{"line_number":312,"context_line":""},{"line_number":313,"context_line":"Node lookup will remain available for some time (if for no other reason than"},{"line_number":314,"context_line":"to support non-Neutron nodes), so there are no compatibility concerns with"},{"line_number":315,"context_line":"skipping lookup - this will only happen when both Ironic and IPA support it."},{"line_number":316,"context_line":""},{"line_number":317,"context_line":"Documentation Impact"},{"line_number":318,"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":15,"id":"3f79a3b5_fcdd2814","line":315,"range":{"start_line":313,"start_character":0,"end_line":315,"end_character":76},"updated":"2018-08-09 20:27:54.000000000","message":"The rest of the spec\u0027s tone is not about eliminating the functionality but making it optional, where as this is as if we\u0027re going to remove it... which I\u0027m not sure is in itself viable.","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"9c482225621e8f841ec0b8a56fbb8955695a3560","unresolved":false,"context_lines":[{"line_number":310,"context_line":"upgrading Ironic and enabling the feature. If they do not, all imaging"},{"line_number":311,"context_line":"attempts will fail."},{"line_number":312,"context_line":""},{"line_number":313,"context_line":"Node lookup will remain available for some time (if for no other reason than"},{"line_number":314,"context_line":"to support non-Neutron nodes), so there are no compatibility concerns with"},{"line_number":315,"context_line":"skipping lookup - this will only happen when both Ironic and IPA support it."},{"line_number":316,"context_line":""},{"line_number":317,"context_line":"Documentation Impact"},{"line_number":318,"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":15,"id":"3f79a3b5_246de598","line":315,"range":{"start_line":313,"start_character":0,"end_line":315,"end_character":76},"in_reply_to":"3f79a3b5_23a9628f","updated":"2018-08-31 16:39:51.000000000","message":"Yeah, at some point I remember he agreed that something like a global switch for the api was sensible because we couldn\u0027t just change everyone suddenly.","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"73727dfb73968f374163dc70192db860d5514eba","unresolved":false,"context_lines":[{"line_number":310,"context_line":"upgrading Ironic and enabling the feature. If they do not, all imaging"},{"line_number":311,"context_line":"attempts will fail."},{"line_number":312,"context_line":""},{"line_number":313,"context_line":"Node lookup will remain available for some time (if for no other reason than"},{"line_number":314,"context_line":"to support non-Neutron nodes), so there are no compatibility concerns with"},{"line_number":315,"context_line":"skipping lookup - this will only happen when both Ironic and IPA support it."},{"line_number":316,"context_line":""},{"line_number":317,"context_line":"Documentation Impact"},{"line_number":318,"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":15,"id":"3f79a3b5_23a9628f","line":315,"range":{"start_line":313,"start_character":0,"end_line":315,"end_character":76},"in_reply_to":"3f79a3b5_fcdd2814","updated":"2018-08-31 13:36:35.000000000","message":"Heh, this feels like Penick aspirations :) I\u0027ll drop it.","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"11ba0a41a63a78bd1e7bdffa734e064cfc1226f5","unresolved":false,"context_lines":[{"line_number":322,"context_line":"The ironic-inspector docs need to be updated to capture that inspector won\u0027t"},{"line_number":323,"context_line":"work with poll_only\u003dTrue."},{"line_number":324,"context_line":""},{"line_number":325,"context_line":"Operator docs should be updated to note that firewall rules need to be"},{"line_number":326,"context_line":"implemented to actually close network access between the target node and"},{"line_number":327,"context_line":"the ironic API."},{"line_number":328,"context_line":""},{"line_number":329,"context_line":"References"},{"line_number":330,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_1c0a6489","line":327,"range":{"start_line":325,"start_character":0,"end_line":327,"end_character":15},"updated":"2018-08-09 20:27:54.000000000","message":"Ironic admin docs now along with release note entries, however the docs should only detail the case. Ideally the documentation should cover this as a guide.","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"73727dfb73968f374163dc70192db860d5514eba","unresolved":false,"context_lines":[{"line_number":322,"context_line":"The ironic-inspector docs need to be updated to capture that inspector won\u0027t"},{"line_number":323,"context_line":"work with poll_only\u003dTrue."},{"line_number":324,"context_line":""},{"line_number":325,"context_line":"Operator docs should be updated to note that firewall rules need to be"},{"line_number":326,"context_line":"implemented to actually close network access between the target node and"},{"line_number":327,"context_line":"the ironic API."},{"line_number":328,"context_line":""},{"line_number":329,"context_line":"References"},{"line_number":330,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_038ea631","line":327,"range":{"start_line":325,"start_character":0,"end_line":327,"end_character":15},"in_reply_to":"3f79a3b5_1c0a6489","updated":"2018-08-31 13:36:35.000000000","message":"Will update.","commit_id":"9ba0d196941b102a700a66776dc3529e4bf46464"},{"author":{"_account_id":26340,"name":"Ilya Etingof","email":"etingof@gmail.com","username":"etingof"},"change_message_id":"9f7033d44955301669a7b755b997c6483a9cce30","unresolved":false,"context_lines":[{"line_number":47,"context_line":""},{"line_number":48,"context_line":"An example of the (potential) security problem:"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"* Bob boots a host with ironic, this host is publicly routable to the"},{"line_number":51,"context_line":"  internet. Mallory finds and compromises this host. She then attacks the"},{"line_number":52,"context_line":"  ironic API from this host. Once she compromises the ironic API, she then"},{"line_number":53,"context_line":"  starts booting other hosts in the datacenter with a compromised disk image."}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f79a3b5_e2e7960e","line":50,"range":{"start_line":50,"start_character":45,"end_line":50,"end_character":63},"updated":"2018-09-18 12:19:29.000000000","message":"This sounds too bad/artificial to me to be convincing. ;-)","commit_id":"9691c8308e9cd74ba93ef31b147afc5ec18c3660"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"3bcb2080d4925af2c3814c7cba6d15e7cd6cf9e6","unresolved":false,"context_lines":[{"line_number":47,"context_line":""},{"line_number":48,"context_line":"An example of the (potential) security problem:"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"* Bob boots a host with ironic, this host is publicly routable to the"},{"line_number":51,"context_line":"  internet. Mallory finds and compromises this host. She then attacks the"},{"line_number":52,"context_line":"  ironic API from this host. Once she compromises the ironic API, she then"},{"line_number":53,"context_line":"  starts booting other hosts in the datacenter with a compromised disk image."}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f79a3b5_1215c73d","line":50,"range":{"start_line":50,"start_character":45,"end_line":50,"end_character":63},"in_reply_to":"3f79a3b5_e2e7960e","updated":"2018-09-24 19:45:42.000000000","message":"It isn\u0027t a stretch for someone to boot a load balancer or something with ironic IMO.","commit_id":"9691c8308e9cd74ba93ef31b147afc5ec18c3660"},{"author":{"_account_id":26340,"name":"Ilya Etingof","email":"etingof@gmail.com","username":"etingof"},"change_message_id":"9f7033d44955301669a7b755b997c6483a9cce30","unresolved":false,"context_lines":[{"line_number":49,"context_line":""},{"line_number":50,"context_line":"* Bob boots a host with ironic, this host is publicly routable to the"},{"line_number":51,"context_line":"  internet. Mallory finds and compromises this host. She then attacks the"},{"line_number":52,"context_line":"  ironic API from this host. Once she compromises the ironic API, she then"},{"line_number":53,"context_line":"  starts booting other hosts in the datacenter with a compromised disk image."},{"line_number":54,"context_line":"  If the Bob uses ironic to manage every host in the datacenter, then Mallory"},{"line_number":55,"context_line":"  has now effectively owned an entire datacenter."}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f79a3b5_0272d27c","line":52,"range":{"start_line":52,"start_character":38,"end_line":52,"end_character":64},"updated":"2018-09-18 12:19:29.000000000","message":"nit: If the mallory owns ironic conductor host already, does she need to compromise ironic API to take over the data centre?","commit_id":"9691c8308e9cd74ba93ef31b147afc5ec18c3660"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"3bcb2080d4925af2c3814c7cba6d15e7cd6cf9e6","unresolved":false,"context_lines":[{"line_number":49,"context_line":""},{"line_number":50,"context_line":"* Bob boots a host with ironic, this host is publicly routable to the"},{"line_number":51,"context_line":"  internet. Mallory finds and compromises this host. She then attacks the"},{"line_number":52,"context_line":"  ironic API from this host. Once she compromises the ironic API, she then"},{"line_number":53,"context_line":"  starts booting other hosts in the datacenter with a compromised disk image."},{"line_number":54,"context_line":"  If the Bob uses ironic to manage every host in the datacenter, then Mallory"},{"line_number":55,"context_line":"  has now effectively owned an entire datacenter."}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f79a3b5_721d1b61","line":52,"range":{"start_line":52,"start_character":38,"end_line":52,"end_character":64},"in_reply_to":"3f79a3b5_0272d27c","updated":"2018-09-24 19:45:42.000000000","message":"Hm? She hasn\u0027t owned the conductor host.","commit_id":"9691c8308e9cd74ba93ef31b147afc5ec18c3660"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"7dfed5b71017e05e1b187e9723a6bb5f2cd4fc4b","unresolved":false,"context_lines":[{"line_number":51,"context_line":"  internet. Mallory finds and compromises this host. She then attacks the"},{"line_number":52,"context_line":"  ironic API from this host. Once she compromises the ironic API, she then"},{"line_number":53,"context_line":"  starts booting other hosts in the datacenter with a compromised disk image."},{"line_number":54,"context_line":"  If the Bob uses ironic to manage every host in the datacenter, then Mallory"},{"line_number":55,"context_line":"  has now effectively owned an entire datacenter."},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"To remediate this, we need to tell the agent that it should not call ironic,"}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f79a3b5_aa4ecd35","line":54,"updated":"2018-09-12 04:44:10.000000000","message":"nit s/the Bob/Bob/","commit_id":"9691c8308e9cd74ba93ef31b147afc5ec18c3660"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"3bcb2080d4925af2c3814c7cba6d15e7cd6cf9e6","unresolved":false,"context_lines":[{"line_number":51,"context_line":"  internet. Mallory finds and compromises this host. She then attacks the"},{"line_number":52,"context_line":"  ironic API from this host. Once she compromises the ironic API, she then"},{"line_number":53,"context_line":"  starts booting other hosts in the datacenter with a compromised disk image."},{"line_number":54,"context_line":"  If the Bob uses ironic to manage every host in the datacenter, then Mallory"},{"line_number":55,"context_line":"  has now effectively owned an entire datacenter."},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"To remediate this, we need to tell the agent that it should not call ironic,"}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f79a3b5_3237a3e7","line":54,"in_reply_to":"3f79a3b5_aa4ecd35","updated":"2018-09-24 19:45:42.000000000","message":"Done","commit_id":"9691c8308e9cd74ba93ef31b147afc5ec18c3660"},{"author":{"_account_id":26340,"name":"Ilya Etingof","email":"etingof@gmail.com","username":"etingof"},"change_message_id":"9f7033d44955301669a7b755b997c6483a9cce30","unresolved":false,"context_lines":[{"line_number":54,"context_line":"  If the Bob uses ironic to manage every host in the datacenter, then Mallory"},{"line_number":55,"context_line":"  has now effectively owned an entire datacenter."},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"To remediate this, we need to tell the agent that it should not call ironic,"},{"line_number":58,"context_line":"and make ironic poll the agent instead."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"If the deployer runs DHCPD and serves PXE/iPXE from the control plane, then"}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f79a3b5_a2d67e26","line":57,"range":{"start_line":57,"start_character":19,"end_line":57,"end_character":75},"updated":"2018-09-18 12:19:29.000000000","message":"As I see it, to remediate this treat we want to reduce the attack surface by blocking inbound traffic on the conductor host. That leads us to turning callback into poll.","commit_id":"9691c8308e9cd74ba93ef31b147afc5ec18c3660"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"3bcb2080d4925af2c3814c7cba6d15e7cd6cf9e6","unresolved":false,"context_lines":[{"line_number":54,"context_line":"  If the Bob uses ironic to manage every host in the datacenter, then Mallory"},{"line_number":55,"context_line":"  has now effectively owned an entire datacenter."},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"To remediate this, we need to tell the agent that it should not call ironic,"},{"line_number":58,"context_line":"and make ironic poll the agent instead."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"If the deployer runs DHCPD and serves PXE/iPXE from the control plane, then"}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f79a3b5_f2304bec","line":57,"range":{"start_line":57,"start_character":19,"end_line":57,"end_character":75},"in_reply_to":"3f79a3b5_a2d67e26","updated":"2018-09-24 19:45:42.000000000","message":"Done","commit_id":"9691c8308e9cd74ba93ef31b147afc5ec18c3660"},{"author":{"_account_id":26340,"name":"Ilya Etingof","email":"etingof@gmail.com","username":"etingof"},"change_message_id":"9f7033d44955301669a7b755b997c6483a9cce30","unresolved":false,"context_lines":[{"line_number":59,"context_line":""},{"line_number":60,"context_line":"If the deployer runs DHCPD and serves PXE/iPXE from the control plane, then"},{"line_number":61,"context_line":"there is still logical network access between the target node and the control"},{"line_number":62,"context_line":"plane. However, this is easily fixed by running those services on dedicated"},{"line_number":63,"context_line":"intermediary hosts."},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"In this context the network flow is:"},{"line_number":66,"context_line":""}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f79a3b5_a2a43eba","line":63,"range":{"start_line":62,"start_character":66,"end_line":63,"end_character":18},"updated":"2018-09-18 12:19:29.000000000","message":"Perhaps this would only work if those intermediary hosts would *not* reside on the control plane network. May be worth a clarification...?","commit_id":"9691c8308e9cd74ba93ef31b147afc5ec18c3660"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"3bcb2080d4925af2c3814c7cba6d15e7cd6cf9e6","unresolved":false,"context_lines":[{"line_number":59,"context_line":""},{"line_number":60,"context_line":"If the deployer runs DHCPD and serves PXE/iPXE from the control plane, then"},{"line_number":61,"context_line":"there is still logical network access between the target node and the control"},{"line_number":62,"context_line":"plane. However, this is easily fixed by running those services on dedicated"},{"line_number":63,"context_line":"intermediary hosts."},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"In this context the network flow is:"},{"line_number":66,"context_line":""}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f79a3b5_125ce717","line":63,"range":{"start_line":62,"start_character":66,"end_line":63,"end_character":18},"in_reply_to":"3f79a3b5_a2a43eba","updated":"2018-09-24 19:45:42.000000000","message":"Done","commit_id":"9691c8308e9cd74ba93ef31b147afc5ec18c3660"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"7dfed5b71017e05e1b187e9723a6bb5f2cd4fc4b","unresolved":false,"context_lines":[{"line_number":70,"context_line":" |           |     |           | \u003c---+             |"},{"line_number":71,"context_line":" +-----------+     +-----------+     +-------------+"},{"line_number":72,"context_line":" |                                     ^"},{"line_number":73,"context_line":" +-------------------------------------+"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"And a simple example of the provisioning process would be:"}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f79a3b5_8a6af17e","line":73,"updated":"2018-09-12 04:44:10.000000000","message":"take a look at the rendered page for this diagram :(","commit_id":"9691c8308e9cd74ba93ef31b147afc5ec18c3660"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"3bcb2080d4925af2c3814c7cba6d15e7cd6cf9e6","unresolved":false,"context_lines":[{"line_number":70,"context_line":" |           |     |           | \u003c---+             |"},{"line_number":71,"context_line":" +-----------+     +-----------+     +-------------+"},{"line_number":72,"context_line":" |                                     ^"},{"line_number":73,"context_line":" +-------------------------------------+"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"And a simple example of the provisioning process would be:"}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f79a3b5_72a0bbf4","line":73,"in_reply_to":"3f79a3b5_8a6af17e","updated":"2018-09-24 19:45:42.000000000","message":"I believe I\u0027ve fixed this in the next patchset but will wait for Zuul.","commit_id":"9691c8308e9cd74ba93ef31b147afc5ec18c3660"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"7dfed5b71017e05e1b187e9723a6bb5f2cd4fc4b","unresolved":false,"context_lines":[{"line_number":80,"context_line":"3. Conductor sends OOB call to power target node on."},{"line_number":81,"context_line":"4. Target node boots, uses DHCP to get IP."},{"line_number":82,"context_line":"5. Target node runs PXE/iPXE, pulls data from ipxe host."},{"line_number":83,"context_line":"6. Target boots, runs IPA, gleans Node ID from kernel param."},{"line_number":84,"context_line":"7. Conductor calls IPA on target node to walk it through the provisioning"},{"line_number":85,"context_line":"   process."},{"line_number":86,"context_line":"8. Conductor polls instance at a configurable interval to check on state,"}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f79a3b5_4a0299bc","line":83,"updated":"2018-09-12 04:44:10.000000000","message":"we don\u0027t want it to \u0027gleans Node ID from kernel param\u0027, right?","commit_id":"9691c8308e9cd74ba93ef31b147afc5ec18c3660"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"3bcb2080d4925af2c3814c7cba6d15e7cd6cf9e6","unresolved":false,"context_lines":[{"line_number":80,"context_line":"3. Conductor sends OOB call to power target node on."},{"line_number":81,"context_line":"4. Target node boots, uses DHCP to get IP."},{"line_number":82,"context_line":"5. Target node runs PXE/iPXE, pulls data from ipxe host."},{"line_number":83,"context_line":"6. Target boots, runs IPA, gleans Node ID from kernel param."},{"line_number":84,"context_line":"7. Conductor calls IPA on target node to walk it through the provisioning"},{"line_number":85,"context_line":"   process."},{"line_number":86,"context_line":"8. Conductor polls instance at a configurable interval to check on state,"}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f79a3b5_32aa43d3","line":83,"in_reply_to":"3f79a3b5_4a0299bc","updated":"2018-09-24 19:45:42.000000000","message":"Done","commit_id":"9691c8308e9cd74ba93ef31b147afc5ec18c3660"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"7dfed5b71017e05e1b187e9723a6bb5f2cd4fc4b","unresolved":false,"context_lines":[{"line_number":81,"context_line":"4. Target node boots, uses DHCP to get IP."},{"line_number":82,"context_line":"5. Target node runs PXE/iPXE, pulls data from ipxe host."},{"line_number":83,"context_line":"6. Target boots, runs IPA, gleans Node ID from kernel param."},{"line_number":84,"context_line":"7. Conductor calls IPA on target node to walk it through the provisioning"},{"line_number":85,"context_line":"   process."},{"line_number":86,"context_line":"8. Conductor polls instance at a configurable interval to check on state,"},{"line_number":87,"context_line":"   gather information, etc."}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f79a3b5_eaf285e3","line":84,"updated":"2018-09-12 04:44:10.000000000","message":"i\u0027m not sure what this entails. it\u0027ll have to poll to wait for IPA to be alive, before it can call it (or keep calling it until it succeeds...)","commit_id":"9691c8308e9cd74ba93ef31b147afc5ec18c3660"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"3bcb2080d4925af2c3814c7cba6d15e7cd6cf9e6","unresolved":false,"context_lines":[{"line_number":81,"context_line":"4. Target node boots, uses DHCP to get IP."},{"line_number":82,"context_line":"5. Target node runs PXE/iPXE, pulls data from ipxe host."},{"line_number":83,"context_line":"6. Target boots, runs IPA, gleans Node ID from kernel param."},{"line_number":84,"context_line":"7. Conductor calls IPA on target node to walk it through the provisioning"},{"line_number":85,"context_line":"   process."},{"line_number":86,"context_line":"8. Conductor polls instance at a configurable interval to check on state,"},{"line_number":87,"context_line":"   gather information, etc."}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f79a3b5_32d8037f","line":84,"in_reply_to":"3f79a3b5_eaf285e3","updated":"2018-09-24 19:45:42.000000000","message":"Fixed some words.","commit_id":"9691c8308e9cd74ba93ef31b147afc5ec18c3660"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"6e728f5e049402863f6df6317a4652c98dc82f47","unresolved":false,"context_lines":[{"line_number":107,"context_line":""},{"line_number":108,"context_line":"Proposed change"},{"line_number":109,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"We will add two options to the [agent] category:"},{"line_number":112,"context_line":""},{"line_number":113,"context_line":"* ``poll_only``: BoolOpt to enable passive mode. Defaults to False."}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f79a3b5_ad2fc786","line":110,"updated":"2018-09-12 04:48:25.000000000","message":"I don\u0027t want to lose this but don\u0027t want to think it through now -- the ability to do this on a per node basis, versus globally. Should we just mention that there may be use cases, but it is outside the scope of this spec? Would be good think a bit about it to make sure whatever we do here won\u0027t make it a mess if we decide to support on a per-node basis.","commit_id":"9691c8308e9cd74ba93ef31b147afc5ec18c3660"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"3bcb2080d4925af2c3814c7cba6d15e7cd6cf9e6","unresolved":false,"context_lines":[{"line_number":107,"context_line":""},{"line_number":108,"context_line":"Proposed change"},{"line_number":109,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"We will add two options to the [agent] category:"},{"line_number":112,"context_line":""},{"line_number":113,"context_line":"* ``poll_only``: BoolOpt to enable passive mode. Defaults to False."}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f79a3b5_925a37f0","line":110,"in_reply_to":"3f79a3b5_ad2fc786","updated":"2018-09-24 19:45:42.000000000","message":"Done","commit_id":"9691c8308e9cd74ba93ef31b147afc5ec18c3660"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"7dfed5b71017e05e1b187e9723a6bb5f2cd4fc4b","unresolved":false,"context_lines":[{"line_number":131,"context_line":""},{"line_number":132,"context_line":"It is assumed that the deployer should disallow communication between the"},{"line_number":133,"context_line":"target node and the ironic API. However, if an API call does come through"},{"line_number":134,"context_line":"when ``disable_agent_api`` is True, then Ironic should return a 403."},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"For this mode, we will also need to remove the ipa_url being passed as kernel"},{"line_number":137,"context_line":"parameter to the agent."}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f79a3b5_ca522969","line":134,"updated":"2018-09-12 04:44:10.000000000","message":"What happens if poll_only\u003dTrue and disable_agent_api\u003dFalse and for whatever reason, a lookup/heartbeat API call is made?\n\nAlso, what happens if poll_only\u003dFalse, and disable_agent_api\u003dTrue?\n\nWhy do we want disable_agent_api? It seems to me that poll_only is sufficient.","commit_id":"9691c8308e9cd74ba93ef31b147afc5ec18c3660"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"3bcb2080d4925af2c3814c7cba6d15e7cd6cf9e6","unresolved":false,"context_lines":[{"line_number":131,"context_line":""},{"line_number":132,"context_line":"It is assumed that the deployer should disallow communication between the"},{"line_number":133,"context_line":"target node and the ironic API. However, if an API call does come through"},{"line_number":134,"context_line":"when ``disable_agent_api`` is True, then Ironic should return a 403."},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"For this mode, we will also need to remove the ipa_url being passed as kernel"},{"line_number":137,"context_line":"parameter to the agent."}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f79a3b5_d2bc2fdd","line":134,"in_reply_to":"3f79a3b5_ca522969","updated":"2018-09-24 19:45:42.000000000","message":"The first case would return a response equivalent to today (might be some data, might be an error).\n\nThe second case would fail and eventually time out.\n\nJulia expressed that we may want to keep them separate because the agent options shouldn\u0027t really effect the API. That makes sense to me. I also think disable_agent_api is useful, as it allows people to have separate API services for agents and non-agents.\n\nI originally had poll_only control that.","commit_id":"9691c8308e9cd74ba93ef31b147afc5ec18c3660"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"366d3093ff82431322ce22b94af5b04e772b56ed","unresolved":false,"context_lines":[{"line_number":131,"context_line":""},{"line_number":132,"context_line":"It is assumed that the deployer should disallow communication between the"},{"line_number":133,"context_line":"target node and the ironic API. However, if an API call does come through"},{"line_number":134,"context_line":"when ``disable_agent_api`` is True, then Ironic should return a 403."},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"For this mode, we will also need to remove the ipa_url being passed as kernel"},{"line_number":137,"context_line":"parameter to the agent."}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f79a3b5_2863fe42","line":134,"in_reply_to":"3f79a3b5_d2bc2fdd","updated":"2018-10-15 19:23:27.000000000","message":"+1, I know of deployments where they put a proxy in front of ironic to block our unauthenticated endpoints to general users with baremetal admin rights, so definitely very useful for there just to be an api side setting.","commit_id":"9691c8308e9cd74ba93ef31b147afc5ec18c3660"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"7dfed5b71017e05e1b187e9723a6bb5f2cd4fc4b","unresolved":false,"context_lines":[{"line_number":133,"context_line":"target node and the ironic API. However, if an API call does come through"},{"line_number":134,"context_line":"when ``disable_agent_api`` is True, then Ironic should return a 403."},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"For this mode, we will also need to remove the ipa_url being passed as kernel"},{"line_number":137,"context_line":"parameter to the agent."},{"line_number":138,"context_line":""},{"line_number":139,"context_line":"Notes:"}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f79a3b5_0ae4a1df","line":136,"updated":"2018-09-12 04:44:10.000000000","message":"nit, in L122 you use s/ipa_url/``ipa_api_url``/","commit_id":"9691c8308e9cd74ba93ef31b147afc5ec18c3660"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"3bcb2080d4925af2c3814c7cba6d15e7cd6cf9e6","unresolved":false,"context_lines":[{"line_number":133,"context_line":"target node and the ironic API. However, if an API call does come through"},{"line_number":134,"context_line":"when ``disable_agent_api`` is True, then Ironic should return a 403."},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"For this mode, we will also need to remove the ipa_url being passed as kernel"},{"line_number":137,"context_line":"parameter to the agent."},{"line_number":138,"context_line":""},{"line_number":139,"context_line":"Notes:"}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f79a3b5_3279e32f","line":136,"in_reply_to":"3f79a3b5_0ae4a1df","updated":"2018-09-24 19:45:42.000000000","message":"Done","commit_id":"9691c8308e9cd74ba93ef31b147afc5ec18c3660"},{"author":{"_account_id":26340,"name":"Ilya Etingof","email":"etingof@gmail.com","username":"etingof"},"change_message_id":"9f7033d44955301669a7b755b997c6483a9cce30","unresolved":false,"context_lines":[{"line_number":145,"context_line":"* ironic-inspector is out of scope for this feature, as it does not use"},{"line_number":146,"context_line":"  Neutron."},{"line_number":147,"context_line":""},{"line_number":148,"context_line":"Alternatives"},{"line_number":149,"context_line":"------------"},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"None."}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f79a3b5_c2de1ada","line":148,"range":{"start_line":148,"start_character":0,"end_line":148,"end_character":12},"updated":"2018-09-18 12:19:29.000000000","message":"Given that the meat of the suggestion is the reduction of conductor host attack surface, would it make sense to consider reducing attack surface by either:\n\n* Cutting off all but some \"I am alive\" notification API endpoint\n* Using IP multicast (possibly in form of SSDP [1]) for host discovery/notification purpose\n\n1. https://en.wikipedia.org/wiki/Simple_Service_Discovery_Protocol","commit_id":"9691c8308e9cd74ba93ef31b147afc5ec18c3660"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"3bcb2080d4925af2c3814c7cba6d15e7cd6cf9e6","unresolved":false,"context_lines":[{"line_number":145,"context_line":"* ironic-inspector is out of scope for this feature, as it does not use"},{"line_number":146,"context_line":"  Neutron."},{"line_number":147,"context_line":""},{"line_number":148,"context_line":"Alternatives"},{"line_number":149,"context_line":"------------"},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"None."}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f79a3b5_92b237e5","line":148,"range":{"start_line":148,"start_character":0,"end_line":148,"end_character":12},"in_reply_to":"3f79a3b5_c2de1ada","updated":"2018-09-24 19:45:42.000000000","message":"\u003e Given that the meat of the suggestion is the reduction of conductor\n \u003e host attack surface, would it make sense to consider reducing\n \u003e attack surface by either:\n \u003e \n \u003e * Cutting off all but some \"I am alive\" notification API endpoint\n\nThis is what we have today.\n\n \u003e * Using IP multicast (possibly in form of SSDP [1]) for host\n \u003e discovery/notification purpose\n \u003e \n \u003e 1. https://en.wikipedia.org/wiki/Simple_Service_Discovery_Protocol\n\nMaybe? Are you suggesting that IPA broadcasts a message on UDP looking for conductors? Or the other way around? At any rate, seems complex to me.","commit_id":"9691c8308e9cd74ba93ef31b147afc5ec18c3660"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"7dfed5b71017e05e1b187e9723a6bb5f2cd4fc4b","unresolved":false,"context_lines":[{"line_number":203,"context_line":"ironic-python-agent mostly supports this already, as it will run just fine"},{"line_number":204,"context_line":"without an API URL. We\u0027ll just need to add some more tests around it and fix"},{"line_number":205,"context_line":"any issues that come up. For example, the ``erase_devices_metadata`` clean"},{"line_number":206,"context_line":"step assumes that the node UUID is known."},{"line_number":207,"context_line":""},{"line_number":208,"context_line":"Security impact"},{"line_number":209,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f79a3b5_ca5c694e","line":206,"updated":"2018-09-12 04:44:10.000000000","message":"I guess I am missing something. IPA does a lookup to get node info from the conductor [1]: the node\u0027s uuid, properties, instance_info, driver_internal_info, and configuration data.\n\nIf IPA doesn\u0027t do the lookup, the conductor needs to pass that info to IPA. How does the conductor do that? Does IPA already have an API to receive that info?\n\nWe want this to work for both iscsi \u0026 direct deploy, right?\n\n[1] https://developer.openstack.org/api-ref/baremetal/#agent-lookup","commit_id":"9691c8308e9cd74ba93ef31b147afc5ec18c3660"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"3bcb2080d4925af2c3814c7cba6d15e7cd6cf9e6","unresolved":false,"context_lines":[{"line_number":203,"context_line":"ironic-python-agent mostly supports this already, as it will run just fine"},{"line_number":204,"context_line":"without an API URL. We\u0027ll just need to add some more tests around it and fix"},{"line_number":205,"context_line":"any issues that come up. For example, the ``erase_devices_metadata`` clean"},{"line_number":206,"context_line":"step assumes that the node UUID is known."},{"line_number":207,"context_line":""},{"line_number":208,"context_line":"Security impact"},{"line_number":209,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f79a3b5_9200f768","line":206,"in_reply_to":"3f79a3b5_ca5c694e","updated":"2018-09-24 19:45:42.000000000","message":"Ugh, I forgot about the rest of the info the lookup endpoint sends back. Will update. I guess a new IPA API to receive this gives us an easy way to tell if it\u0027s supported. :)","commit_id":"9691c8308e9cd74ba93ef31b147afc5ec18c3660"},{"author":{"_account_id":26340,"name":"Ilya Etingof","email":"etingof@gmail.com","username":"etingof"},"change_message_id":"9f7033d44955301669a7b755b997c6483a9cce30","unresolved":false,"context_lines":[{"line_number":224,"context_line":"------------------"},{"line_number":225,"context_line":""},{"line_number":226,"context_line":"Polling target nodes for state from the conductor could have scale issues"},{"line_number":227,"context_line":"when managing many thousands of nodes. However, polling will be done in a"},{"line_number":228,"context_line":"thread pool, and so there should be limited impact."},{"line_number":229,"context_line":""},{"line_number":230,"context_line":"Performance Impact"},{"line_number":231,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f79a3b5_620dc68d","line":228,"range":{"start_line":227,"start_character":48,"end_line":228,"end_character":50},"updated":"2018-09-18 12:19:29.000000000","message":"Does it warrant scalability? I am thinking that having too many threads hurts performance anyway.","commit_id":"9691c8308e9cd74ba93ef31b147afc5ec18c3660"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"3bcb2080d4925af2c3814c7cba6d15e7cd6cf9e6","unresolved":false,"context_lines":[{"line_number":224,"context_line":"------------------"},{"line_number":225,"context_line":""},{"line_number":226,"context_line":"Polling target nodes for state from the conductor could have scale issues"},{"line_number":227,"context_line":"when managing many thousands of nodes. However, polling will be done in a"},{"line_number":228,"context_line":"thread pool, and so there should be limited impact."},{"line_number":229,"context_line":""},{"line_number":230,"context_line":"Performance Impact"},{"line_number":231,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f79a3b5_124867b1","line":228,"range":{"start_line":227,"start_character":48,"end_line":228,"end_character":50},"in_reply_to":"3f79a3b5_620dc68d","updated":"2018-09-24 19:45:42.000000000","message":"It will definitely have an impact on scalability, though limited.","commit_id":"9691c8308e9cd74ba93ef31b147afc5ec18c3660"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"7dfed5b71017e05e1b187e9723a6bb5f2cd4fc4b","unresolved":false,"context_lines":[{"line_number":246,"context_line":"[api]"},{"line_number":247,"context_line":"* disable_agent_api (type\u003dBoolOpt, default\u003dFalse)"},{"line_number":248,"context_line":""},{"line_number":249,"context_line":"We should document that the deployer needs to set this flag on any conductor"},{"line_number":250,"context_line":"using an agent_* driver, or some nodes will be heartbeating and others will"},{"line_number":251,"context_line":"not."},{"line_number":252,"context_line":""}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f79a3b5_ca9f894f","line":249,"updated":"2018-09-12 04:44:10.000000000","message":"by \u0027flag\u0027, we mean \u0027poll_only\u0027? (not \u0027disable_agent_api\u0027?)","commit_id":"9691c8308e9cd74ba93ef31b147afc5ec18c3660"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"3bcb2080d4925af2c3814c7cba6d15e7cd6cf9e6","unresolved":false,"context_lines":[{"line_number":246,"context_line":"[api]"},{"line_number":247,"context_line":"* disable_agent_api (type\u003dBoolOpt, default\u003dFalse)"},{"line_number":248,"context_line":""},{"line_number":249,"context_line":"We should document that the deployer needs to set this flag on any conductor"},{"line_number":250,"context_line":"using an agent_* driver, or some nodes will be heartbeating and others will"},{"line_number":251,"context_line":"not."},{"line_number":252,"context_line":""}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f79a3b5_32d6c3c6","line":249,"in_reply_to":"3f79a3b5_ca9f894f","updated":"2018-09-24 19:45:42.000000000","message":"Done","commit_id":"9691c8308e9cd74ba93ef31b147afc5ec18c3660"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"7dfed5b71017e05e1b187e9723a6bb5f2cd4fc4b","unresolved":false,"context_lines":[{"line_number":247,"context_line":"* disable_agent_api (type\u003dBoolOpt, default\u003dFalse)"},{"line_number":248,"context_line":""},{"line_number":249,"context_line":"We should document that the deployer needs to set this flag on any conductor"},{"line_number":250,"context_line":"using an agent_* driver, or some nodes will be heartbeating and others will"},{"line_number":251,"context_line":"not."},{"line_number":252,"context_line":""},{"line_number":253,"context_line":"Developer impact"}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f79a3b5_2ab4fdd0","line":250,"updated":"2018-09-12 04:44:10.000000000","message":"maybe s/agent_* driver/agent.AgentDeploy interface/ ?","commit_id":"9691c8308e9cd74ba93ef31b147afc5ec18c3660"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"3bcb2080d4925af2c3814c7cba6d15e7cd6cf9e6","unresolved":false,"context_lines":[{"line_number":247,"context_line":"* disable_agent_api (type\u003dBoolOpt, default\u003dFalse)"},{"line_number":248,"context_line":""},{"line_number":249,"context_line":"We should document that the deployer needs to set this flag on any conductor"},{"line_number":250,"context_line":"using an agent_* driver, or some nodes will be heartbeating and others will"},{"line_number":251,"context_line":"not."},{"line_number":252,"context_line":""},{"line_number":253,"context_line":"Developer impact"}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f79a3b5_b2ebb379","line":250,"in_reply_to":"3f79a3b5_2ab4fdd0","updated":"2018-09-24 19:45:42.000000000","message":"It\u0027s any driver now, changed up the wording here.","commit_id":"9691c8308e9cd74ba93ef31b147afc5ec18c3660"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"7dfed5b71017e05e1b187e9723a6bb5f2cd4fc4b","unresolved":false,"context_lines":[{"line_number":270,"context_line":"Work Items"},{"line_number":271,"context_line":"----------"},{"line_number":272,"context_line":""},{"line_number":273,"context_line":"* Enable IPA to skip the lookup process when ironic passes a node UUID."},{"line_number":274,"context_line":""},{"line_number":275,"context_line":"* Have ironic pass the node UUID to IPA."},{"line_number":276,"context_line":""}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f79a3b5_6a33d514","line":273,"updated":"2018-09-12 04:44:10.000000000","message":"when ironic doesn\u0027t pass the ipa-api-url, right?","commit_id":"9691c8308e9cd74ba93ef31b147afc5ec18c3660"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"3bcb2080d4925af2c3814c7cba6d15e7cd6cf9e6","unresolved":false,"context_lines":[{"line_number":270,"context_line":"Work Items"},{"line_number":271,"context_line":"----------"},{"line_number":272,"context_line":""},{"line_number":273,"context_line":"* Enable IPA to skip the lookup process when ironic passes a node UUID."},{"line_number":274,"context_line":""},{"line_number":275,"context_line":"* Have ironic pass the node UUID to IPA."},{"line_number":276,"context_line":""}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f79a3b5_122707ca","line":273,"in_reply_to":"3f79a3b5_6a33d514","updated":"2018-09-24 19:45:42.000000000","message":"Done","commit_id":"9691c8308e9cd74ba93ef31b147afc5ec18c3660"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"7dfed5b71017e05e1b187e9723a6bb5f2cd4fc4b","unresolved":false,"context_lines":[{"line_number":272,"context_line":""},{"line_number":273,"context_line":"* Enable IPA to skip the lookup process when ironic passes a node UUID."},{"line_number":274,"context_line":""},{"line_number":275,"context_line":"* Have ironic pass the node UUID to IPA."},{"line_number":276,"context_line":""},{"line_number":277,"context_line":"* Enable Ironic to use polling for agent actions/status rather than using"},{"line_number":278,"context_line":"  the heartbeat as a trigger."}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f79a3b5_0a3821ec","line":275,"updated":"2018-09-12 04:44:10.000000000","message":"nope","commit_id":"9691c8308e9cd74ba93ef31b147afc5ec18c3660"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"3bcb2080d4925af2c3814c7cba6d15e7cd6cf9e6","unresolved":false,"context_lines":[{"line_number":272,"context_line":""},{"line_number":273,"context_line":"* Enable IPA to skip the lookup process when ironic passes a node UUID."},{"line_number":274,"context_line":""},{"line_number":275,"context_line":"* Have ironic pass the node UUID to IPA."},{"line_number":276,"context_line":""},{"line_number":277,"context_line":"* Enable Ironic to use polling for agent actions/status rather than using"},{"line_number":278,"context_line":"  the heartbeat as a trigger."}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f79a3b5_521d7f75","line":275,"in_reply_to":"3f79a3b5_0a3821ec","updated":"2018-09-24 19:45:42.000000000","message":"Done","commit_id":"9691c8308e9cd74ba93ef31b147afc5ec18c3660"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"7dfed5b71017e05e1b187e9723a6bb5f2cd4fc4b","unresolved":false,"context_lines":[{"line_number":277,"context_line":"* Enable Ironic to use polling for agent actions/status rather than using"},{"line_number":278,"context_line":"  the heartbeat as a trigger."},{"line_number":279,"context_line":""},{"line_number":280,"context_line":"* Enable Ironic to pass the \u0027passive\u0027 option to IPA when configured to do so,"},{"line_number":281,"context_line":"  and remove the `ipa_url` in this case."},{"line_number":282,"context_line":""},{"line_number":283,"context_line":"* Disable heartbeating in the agent in \u0027passive mode\u0027."}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f79a3b5_ca21c9b7","line":280,"updated":"2018-09-12 04:44:10.000000000","message":"not the passive part.","commit_id":"9691c8308e9cd74ba93ef31b147afc5ec18c3660"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"3bcb2080d4925af2c3814c7cba6d15e7cd6cf9e6","unresolved":false,"context_lines":[{"line_number":277,"context_line":"* Enable Ironic to use polling for agent actions/status rather than using"},{"line_number":278,"context_line":"  the heartbeat as a trigger."},{"line_number":279,"context_line":""},{"line_number":280,"context_line":"* Enable Ironic to pass the \u0027passive\u0027 option to IPA when configured to do so,"},{"line_number":281,"context_line":"  and remove the `ipa_url` in this case."},{"line_number":282,"context_line":""},{"line_number":283,"context_line":"* Disable heartbeating in the agent in \u0027passive mode\u0027."}],"source_content_type":"text/x-rst","patch_set":16,"id":"3f79a3b5_322003b2","line":280,"in_reply_to":"3f79a3b5_ca21c9b7","updated":"2018-09-24 19:45:42.000000000","message":"Done","commit_id":"9691c8308e9cd74ba93ef31b147afc5ec18c3660"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"7dfed5b71017e05e1b187e9723a6bb5f2cd4fc4b","unresolved":false,"context_lines":[{"line_number":303,"context_line":""},{"line_number":304,"context_line":"The deployer must update IPA in their images to support passive mode prior to"},{"line_number":305,"context_line":"upgrading Ironic and enabling the feature. If they do not, all imaging"},{"line_number":306,"context_line":"attempts will fail."},{"line_number":307,"context_line":""},{"line_number":308,"context_line":"Documentation Impact"},{"line_number":309,"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":16,"id":"3f79a3b5_4dfcf30b","line":306,"updated":"2018-09-12 04:44:10.000000000","message":"I think we should be backwards compatible -- this new feature/new options shouldn\u0027t apply to IPAs older than a particular version (cuz we have versioning in IPA). Although I\u0027m not sure how that helps us if ironic gets a Lookup or heartbeat request (I mean, if these requests come in before ironic knows what version of IPA is being used...)","commit_id":"9691c8308e9cd74ba93ef31b147afc5ec18c3660"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"3bcb2080d4925af2c3814c7cba6d15e7cd6cf9e6","unresolved":false,"context_lines":[{"line_number":303,"context_line":""},{"line_number":304,"context_line":"The deployer must update IPA in their images to support passive mode prior to"},{"line_number":305,"context_line":"upgrading Ironic and enabling the feature. If they do not, all imaging"},{"line_number":306,"context_line":"attempts will fail."},{"line_number":307,"context_line":""},{"line_number":308,"context_line":"Documentation Impact"},{"line_number":309,"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":16,"id":"3f79a3b5_72367b05","line":306,"in_reply_to":"3f79a3b5_4dfcf30b","updated":"2018-09-24 19:45:42.000000000","message":"Well, with the new IPA command it isn\u0027t :)","commit_id":"9691c8308e9cd74ba93ef31b147afc5ec18c3660"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"366d3093ff82431322ce22b94af5b04e772b56ed","unresolved":false,"context_lines":[{"line_number":303,"context_line":""},{"line_number":304,"context_line":"The deployer must update IPA in their images to support passive mode prior to"},{"line_number":305,"context_line":"upgrading Ironic and enabling the feature. If they do not, all imaging"},{"line_number":306,"context_line":"attempts will fail."},{"line_number":307,"context_line":""},{"line_number":308,"context_line":"Documentation Impact"},{"line_number":309,"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":16,"id":"3f79a3b5_e8e666af","line":306,"in_reply_to":"3f79a3b5_72367b05","updated":"2018-10-15 19:23:27.000000000","message":"I agree we should be with the same configuration, but we\u0027re also introducing new optional configurations, so if someone hasn\u0027t updated the needful and chooses to use those new options, then naturally there are going to be issues.","commit_id":"9691c8308e9cd74ba93ef31b147afc5ec18c3660"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"e0ec70cc640d922d86409a30adf1b18cb94220fd","unresolved":false,"context_lines":[{"line_number":57,"context_line":"To remediate this, we need to tell the agent that it should not call ironic,"},{"line_number":58,"context_line":"and make ironic poll the agent instead."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"To remediate this, we need to reduce the attack surface of the control plane"},{"line_number":61,"context_line":"by removing the need for the data plane to be able to send traffic to the"},{"line_number":62,"context_line":"API host. To do this, we need to be able to tell the agent that it should not"},{"line_number":63,"context_line":"call ironic, and make ironic poll the agent instead."}],"source_content_type":"text/x-rst","patch_set":17,"id":"3f79a3b5_a81dce77","line":60,"range":{"start_line":60,"start_character":3,"end_line":60,"end_character":12},"updated":"2018-10-15 19:30:16.000000000","message":"maybe s/remediate/address/ ? since remediate is in the prior sentence.","commit_id":"5d54f2b2cd117ef7ff3ebba1cbf263834c4aa7a7"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"5415756afd7f22b10cefd0ae3f3e64d8aa789768","unresolved":false,"context_lines":[{"line_number":57,"context_line":"To remediate this, we need to tell the agent that it should not call ironic,"},{"line_number":58,"context_line":"and make ironic poll the agent instead."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"To remediate this, we need to reduce the attack surface of the control plane"},{"line_number":61,"context_line":"by removing the need for the data plane to be able to send traffic to the"},{"line_number":62,"context_line":"API host. To do this, we need to be able to tell the agent that it should not"},{"line_number":63,"context_line":"call ironic, and make ironic poll the agent instead."}],"source_content_type":"text/x-rst","patch_set":17,"id":"3f79a3b5_e9815da3","line":60,"range":{"start_line":60,"start_character":3,"end_line":60,"end_character":12},"in_reply_to":"3f79a3b5_a81dce77","updated":"2018-10-17 12:06:02.000000000","message":"Oops, I meant to delete the previous sentence.","commit_id":"5d54f2b2cd117ef7ff3ebba1cbf263834c4aa7a7"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"e0ec70cc640d922d86409a30adf1b18cb94220fd","unresolved":false,"context_lines":[{"line_number":87,"context_line":"4. Target node boots, uses DHCP to get IP."},{"line_number":88,"context_line":"5. Target node runs PXE/iPXE, pulls data from ipxe host."},{"line_number":89,"context_line":"6. Target boots and runs IPA."},{"line_number":90,"context_line":"7. Conductor polls for IPA until it is alive."},{"line_number":91,"context_line":"8. Conductor calls IPA\u0027s ``node_info`` command to give it the data it needs"},{"line_number":92,"context_line":"   to do its job."},{"line_number":93,"context_line":"9. Conductor calls IPA commands on target node to walk it through the"}],"source_content_type":"text/x-rst","patch_set":17,"id":"3f79a3b5_68fc960c","line":90,"updated":"2018-10-15 19:30:16.000000000","message":"So maybe step 7.5 could be \"validate the hardware is what I expect step?\"  I mean, maybe that is being overly cautious, since they got there somehow and it booted, but I guess the validation of the node mac data with the lookup is kind of a nice sanity check that we get. *shrugs*","commit_id":"5d54f2b2cd117ef7ff3ebba1cbf263834c4aa7a7"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"5415756afd7f22b10cefd0ae3f3e64d8aa789768","unresolved":false,"context_lines":[{"line_number":87,"context_line":"4. Target node boots, uses DHCP to get IP."},{"line_number":88,"context_line":"5. Target node runs PXE/iPXE, pulls data from ipxe host."},{"line_number":89,"context_line":"6. Target boots and runs IPA."},{"line_number":90,"context_line":"7. Conductor polls for IPA until it is alive."},{"line_number":91,"context_line":"8. Conductor calls IPA\u0027s ``node_info`` command to give it the data it needs"},{"line_number":92,"context_line":"   to do its job."},{"line_number":93,"context_line":"9. Conductor calls IPA commands on target node to walk it through the"}],"source_content_type":"text/x-rst","patch_set":17,"id":"3f79a3b5_29b19592","line":90,"in_reply_to":"3f79a3b5_68fc960c","updated":"2018-10-17 12:06:02.000000000","message":"Good call, done.","commit_id":"5d54f2b2cd117ef7ff3ebba1cbf263834c4aa7a7"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"831f48eeb60417add0cbabb64c1953396a5f5838","unresolved":false,"context_lines":[{"line_number":121,"context_line":""},{"line_number":122,"context_line":"* ``poll_only``: BoolOpt to enable passive mode. Defaults to False."},{"line_number":123,"context_line":"* ``poll_interval``: IntOpt, poll interval in seconds. Defaults to the"},{"line_number":124,"context_line":"  current ``heartbeat_interval`` setting."},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"And one option to the [api] category:"},{"line_number":127,"context_line":""}],"source_content_type":"text/x-rst","patch_set":17,"id":"3f79a3b5_8eb8f611","line":124,"range":{"start_line":124,"start_character":12,"end_line":124,"end_character":30},"updated":"2018-10-17 03:35:14.000000000","message":"I think it needs some clarification here, this is a conductor option, used by the conductor keep alive task.\n\nSomething related with the interval is [api]ramdisk_heartbeat_timeout, agent will calculate the interval based on a multiplier with some jitter.","commit_id":"5d54f2b2cd117ef7ff3ebba1cbf263834c4aa7a7"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"65e6ff1190ddbad2abb1b6b3119db86f8d522332","unresolved":false,"context_lines":[{"line_number":121,"context_line":""},{"line_number":122,"context_line":"* ``poll_only``: BoolOpt to enable passive mode. Defaults to False."},{"line_number":123,"context_line":"* ``poll_interval``: IntOpt, poll interval in seconds. Defaults to the"},{"line_number":124,"context_line":"  current ``heartbeat_interval`` setting."},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"And one option to the [api] category:"},{"line_number":127,"context_line":""}],"source_content_type":"text/x-rst","patch_set":17,"id":"3f79a3b5_d0b74f88","line":124,"range":{"start_line":124,"start_character":12,"end_line":124,"end_character":30},"in_reply_to":"3f79a3b5_2966752a","updated":"2018-10-18 01:29:42.000000000","message":"[api]ramdisk_heartbeat_timeout defaults to 300 seconds, I feel it\u0027s a bit long. IPA uses this option as a timeout value [1], so from analogy I think maybe at least we choose a value from 90 ~ 180?\n\nAnyway it\u0027s thing we can discuss during implementation.\n\n[1] https://github.com/openstack/ironic-python-agent/blob/master/ironic_python_agent/agent.py#L118-L121","commit_id":"5d54f2b2cd117ef7ff3ebba1cbf263834c4aa7a7"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"5415756afd7f22b10cefd0ae3f3e64d8aa789768","unresolved":false,"context_lines":[{"line_number":121,"context_line":""},{"line_number":122,"context_line":"* ``poll_only``: BoolOpt to enable passive mode. Defaults to False."},{"line_number":123,"context_line":"* ``poll_interval``: IntOpt, poll interval in seconds. Defaults to the"},{"line_number":124,"context_line":"  current ``heartbeat_interval`` setting."},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"And one option to the [api] category:"},{"line_number":127,"context_line":""}],"source_content_type":"text/x-rst","patch_set":17,"id":"3f79a3b5_2966752a","line":124,"range":{"start_line":124,"start_character":12,"end_line":124,"end_character":30},"in_reply_to":"3f79a3b5_8eb8f611","updated":"2018-10-17 12:06:02.000000000","message":"Oops, you\u0027re right, will change this (I can\u0027t believe that\u0027s an api option).","commit_id":"5d54f2b2cd117ef7ff3ebba1cbf263834c4aa7a7"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"831f48eeb60417add0cbabb64c1953396a5f5838","unresolved":false,"context_lines":[{"line_number":125,"context_line":""},{"line_number":126,"context_line":"And one option to the [api] category:"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"* ``disable_agent_api``: BoolOpt which disables the agent lookup and heartbeat"},{"line_number":129,"context_line":"  APIs. Defaults to False."},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"If ``poll_only`` is enabled, we do not pass the ``ipa-api-url`` kernel command"}],"source_content_type":"text/x-rst","patch_set":17,"id":"3f79a3b5_cee34e05","line":128,"range":{"start_line":128,"start_character":4,"end_line":128,"end_character":21},"updated":"2018-10-17 03:35:14.000000000","message":"If we have disable_agent_api is True and pool_only is False, boom, so I would prefer one option to control this mode.\nBesides, if ironic services are distributed on different hosts, this can\u0027t be addressed by config checking during service startup.","commit_id":"5d54f2b2cd117ef7ff3ebba1cbf263834c4aa7a7"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"5415756afd7f22b10cefd0ae3f3e64d8aa789768","unresolved":false,"context_lines":[{"line_number":125,"context_line":""},{"line_number":126,"context_line":"And one option to the [api] category:"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"* ``disable_agent_api``: BoolOpt which disables the agent lookup and heartbeat"},{"line_number":129,"context_line":"  APIs. Defaults to False."},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"If ``poll_only`` is enabled, we do not pass the ``ipa-api-url`` kernel command"}],"source_content_type":"text/x-rst","patch_set":17,"id":"3f79a3b5_e96f1df9","line":128,"range":{"start_line":128,"start_character":4,"end_line":128,"end_character":21},"in_reply_to":"3f79a3b5_43e5d0da","updated":"2018-10-17 12:06:02.000000000","message":"Right, previous reviews requested that this be separate config options, so that it\u0027s clear which is for the API and which is for conductor.","commit_id":"5d54f2b2cd117ef7ff3ebba1cbf263834c4aa7a7"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"15302c0568ec85cebe4ff4509ba6a2dbe6b154d7","unresolved":false,"context_lines":[{"line_number":125,"context_line":""},{"line_number":126,"context_line":"And one option to the [api] category:"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"* ``disable_agent_api``: BoolOpt which disables the agent lookup and heartbeat"},{"line_number":129,"context_line":"  APIs. Defaults to False."},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"If ``poll_only`` is enabled, we do not pass the ``ipa-api-url`` kernel command"}],"source_content_type":"text/x-rst","patch_set":17,"id":"3f79a3b5_43e5d0da","line":128,"range":{"start_line":128,"start_character":4,"end_line":128,"end_character":21},"in_reply_to":"3f79a3b5_cee34e05","updated":"2018-10-17 09:36:30.000000000","message":"\u003e Besides, if ironic services are distributed on different hosts,\n \u003e this can\u0027t be addressed by config checking during service startup.\n\nuh, on second thought, it\u0027s not correct, using one option can\u0027t address this problem if services are running on different hosts, it only applies to the scenario of ironic all-in-one.","commit_id":"5d54f2b2cd117ef7ff3ebba1cbf263834c4aa7a7"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"65e6ff1190ddbad2abb1b6b3119db86f8d522332","unresolved":false,"context_lines":[{"line_number":125,"context_line":""},{"line_number":126,"context_line":"And one option to the [api] category:"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"* ``disable_agent_api``: BoolOpt which disables the agent lookup and heartbeat"},{"line_number":129,"context_line":"  APIs. Defaults to False."},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"If ``poll_only`` is enabled, we do not pass the ``ipa-api-url`` kernel command"}],"source_content_type":"text/x-rst","patch_set":17,"id":"3f79a3b5_50381f3b","line":128,"range":{"start_line":128,"start_character":4,"end_line":128,"end_character":21},"in_reply_to":"3f79a3b5_e96f1df9","updated":"2018-10-18 01:29:42.000000000","message":"works for me","commit_id":"5d54f2b2cd117ef7ff3ebba1cbf263834c4aa7a7"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"831f48eeb60417add0cbabb64c1953396a5f5838","unresolved":false,"context_lines":[{"line_number":179,"context_line":"---------------"},{"line_number":180,"context_line":""},{"line_number":181,"context_line":"The lookup and heartbeat APIs used by agents will now return a 403 for nodes"},{"line_number":182,"context_line":"in passive mode."},{"line_number":183,"context_line":""},{"line_number":184,"context_line":"Client (CLI) impact"},{"line_number":185,"context_line":"-------------------"}],"source_content_type":"text/x-rst","patch_set":17,"id":"3f79a3b5_8ed31602","line":182,"updated":"2018-10-17 03:35:14.000000000","message":"only when disable_agent_api is set to True.","commit_id":"5d54f2b2cd117ef7ff3ebba1cbf263834c4aa7a7"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"5415756afd7f22b10cefd0ae3f3e64d8aa789768","unresolved":false,"context_lines":[{"line_number":179,"context_line":"---------------"},{"line_number":180,"context_line":""},{"line_number":181,"context_line":"The lookup and heartbeat APIs used by agents will now return a 403 for nodes"},{"line_number":182,"context_line":"in passive mode."},{"line_number":183,"context_line":""},{"line_number":184,"context_line":"Client (CLI) impact"},{"line_number":185,"context_line":"-------------------"}],"source_content_type":"text/x-rst","patch_set":17,"id":"3f79a3b5_894a2980","line":182,"in_reply_to":"3f79a3b5_8ed31602","updated":"2018-10-17 12:06:02.000000000","message":"Will fix.","commit_id":"5d54f2b2cd117ef7ff3ebba1cbf263834c4aa7a7"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"831f48eeb60417add0cbabb64c1953396a5f5838","unresolved":false,"context_lines":[{"line_number":219,"context_line":"without an API URL."},{"line_number":220,"context_line":""},{"line_number":221,"context_line":"Some steps may also require other data returned by the lookup endpoint. We\u0027ll"},{"line_number":222,"context_line":"add a new syncronous command ``node_info``, which will take this data as a"},{"line_number":223,"context_line":"single ``node_info`` argument and store it in memory for later use. Ironic will"},{"line_number":224,"context_line":"call this command when it first notices that IPA is up."},{"line_number":225,"context_line":""}],"source_content_type":"text/x-rst","patch_set":17,"id":"3f79a3b5_0ef94680","line":222,"range":{"start_line":222,"start_character":10,"end_line":222,"end_character":20},"updated":"2018-10-17 03:35:14.000000000","message":"nit: synchronous","commit_id":"5d54f2b2cd117ef7ff3ebba1cbf263834c4aa7a7"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"5415756afd7f22b10cefd0ae3f3e64d8aa789768","unresolved":false,"context_lines":[{"line_number":219,"context_line":"without an API URL."},{"line_number":220,"context_line":""},{"line_number":221,"context_line":"Some steps may also require other data returned by the lookup endpoint. We\u0027ll"},{"line_number":222,"context_line":"add a new syncronous command ``node_info``, which will take this data as a"},{"line_number":223,"context_line":"single ``node_info`` argument and store it in memory for later use. Ironic will"},{"line_number":224,"context_line":"call this command when it first notices that IPA is up."},{"line_number":225,"context_line":""}],"source_content_type":"text/x-rst","patch_set":17,"id":"3f79a3b5_293f55e0","line":222,"range":{"start_line":222,"start_character":10,"end_line":222,"end_character":20},"in_reply_to":"3f79a3b5_0ef94680","updated":"2018-10-17 12:06:02.000000000","message":"Done","commit_id":"5d54f2b2cd117ef7ff3ebba1cbf263834c4aa7a7"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"e0ec70cc640d922d86409a30adf1b18cb94220fd","unresolved":false,"context_lines":[{"line_number":259,"context_line":""},{"line_number":260,"context_line":"[agent]"},{"line_number":261,"context_line":"* poll_only (type\u003dBoolOpt, default\u003dFalse)"},{"line_number":262,"context_line":"* poll_interval (type\u003dIntOpt, default\u003d\u003cheartbeat_interval\u003e)"},{"line_number":263,"context_line":""},{"line_number":264,"context_line":"[api]"},{"line_number":265,"context_line":"* disable_agent_api (type\u003dBoolOpt, default\u003dFalse)"}],"source_content_type":"text/x-rst","patch_set":17,"id":"3f79a3b5_9b34dae0","line":262,"updated":"2018-10-15 19:30:16.000000000","message":"I guess my only real concern with this is this value may need to be tuned further down with polling because the nodes presently heartbeat and start things moving along when the ipa process starts.  I guess at worst it is a upgrade note/documentation item.","commit_id":"5d54f2b2cd117ef7ff3ebba1cbf263834c4aa7a7"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"5415756afd7f22b10cefd0ae3f3e64d8aa789768","unresolved":false,"context_lines":[{"line_number":259,"context_line":""},{"line_number":260,"context_line":"[agent]"},{"line_number":261,"context_line":"* poll_only (type\u003dBoolOpt, default\u003dFalse)"},{"line_number":262,"context_line":"* poll_interval (type\u003dIntOpt, default\u003d\u003cheartbeat_interval\u003e)"},{"line_number":263,"context_line":""},{"line_number":264,"context_line":"[api]"},{"line_number":265,"context_line":"* disable_agent_api (type\u003dBoolOpt, default\u003dFalse)"}],"source_content_type":"text/x-rst","patch_set":17,"id":"3f79a3b5_e91ddd78","line":262,"in_reply_to":"3f79a3b5_9b34dae0","updated":"2018-10-17 12:06:02.000000000","message":"Indeed, will doc this.","commit_id":"5d54f2b2cd117ef7ff3ebba1cbf263834c4aa7a7"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"250de9524d28cc02b91b4a384f16021e04a6973a","unresolved":false,"context_lines":[{"line_number":63,"context_line":"there is still logical network access between the target node and the control"},{"line_number":64,"context_line":"plane. However, this is easily fixed by running those services on dedicated"},{"line_number":65,"context_line":"intermediary hosts which do not have network access to the rest of the"},{"line_number":66,"context_line":"control plane."},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"In this context the network flow is::"},{"line_number":69,"context_line":""}],"source_content_type":"text/x-rst","patch_set":19,"id":"3f79a3b5_291dc0be","line":66,"updated":"2018-10-22 10:08:15.000000000","message":"Or we can just firewall the ironic API, leaving only iPXE open to the interface facing the machines.","commit_id":"1e04db5b428b72abd76947f94c83d9c219eeffc6"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"65e6ff1190ddbad2abb1b6b3119db86f8d522332","unresolved":false,"context_lines":[{"line_number":86,"context_line":"6. Target boots and runs IPA."},{"line_number":87,"context_line":"7. Conductor polls for IPA until it is alive."},{"line_number":88,"context_line":"8. Conductor calls IPA\u0027s ``get_hardware_info`` command to get information"},{"line_number":89,"context_line":"   about the node\u0027s hardware. This is used to validate the MAC addresses"},{"line_number":90,"context_line":"   to ensure this is the node we are expecting."},{"line_number":91,"context_line":"9. Conductor calls IPA\u0027s ``node_info`` command to give it the data it needs"},{"line_number":92,"context_line":"   to do its job, including the config data returned by the lookup API."}],"source_content_type":"text/x-rst","patch_set":19,"id":"3f79a3b5_90ca3717","line":89,"range":{"start_line":89,"start_character":59,"end_line":89,"end_character":72},"updated":"2018-10-18 01:29:42.000000000","message":"Would this work well with non-pxe boot like vmedia? I guess a node doesn\u0027t have ports associated in all cases, maybe bmc address is a better choice here.","commit_id":"1e04db5b428b72abd76947f94c83d9c219eeffc6"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"250de9524d28cc02b91b4a384f16021e04a6973a","unresolved":false,"context_lines":[{"line_number":86,"context_line":"6. Target boots and runs IPA."},{"line_number":87,"context_line":"7. Conductor polls for IPA until it is alive."},{"line_number":88,"context_line":"8. Conductor calls IPA\u0027s ``get_hardware_info`` command to get information"},{"line_number":89,"context_line":"   about the node\u0027s hardware. This is used to validate the MAC addresses"},{"line_number":90,"context_line":"   to ensure this is the node we are expecting."},{"line_number":91,"context_line":"9. Conductor calls IPA\u0027s ``node_info`` command to give it the data it needs"},{"line_number":92,"context_line":"   to do its job, including the config data returned by the lookup API."}],"source_content_type":"text/x-rst","patch_set":19,"id":"3f79a3b5_c91becc8","line":89,"updated":"2018-10-22 10:08:15.000000000","message":"Yeah, MAC is the only thing we can validate now. Well, we can also validate IPMI address, but it\u0027s not always available from within the machine. Anyway, the current implementation does require a MAC.","commit_id":"1e04db5b428b72abd76947f94c83d9c219eeffc6"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"6712cac00373ef1c8c4077fdece6c07e2333fa55","unresolved":false,"context_lines":[{"line_number":86,"context_line":"6. Target boots and runs IPA."},{"line_number":87,"context_line":"7. Conductor polls for IPA until it is alive."},{"line_number":88,"context_line":"8. Conductor calls IPA\u0027s ``get_hardware_info`` command to get information"},{"line_number":89,"context_line":"   about the node\u0027s hardware. This is used to validate the MAC addresses"},{"line_number":90,"context_line":"   to ensure this is the node we are expecting."},{"line_number":91,"context_line":"9. Conductor calls IPA\u0027s ``node_info`` command to give it the data it needs"},{"line_number":92,"context_line":"   to do its job, including the config data returned by the lookup API."}],"source_content_type":"text/x-rst","patch_set":19,"id":"3f79a3b5_c8a1ad94","line":89,"range":{"start_line":89,"start_character":59,"end_line":89,"end_character":72},"in_reply_to":"3f79a3b5_30ac5835","updated":"2018-10-22 01:32:11.000000000","message":"Understood. I assumes things collected are not limited to mac addresses, so we can change validating rules when necessary.","commit_id":"1e04db5b428b72abd76947f94c83d9c219eeffc6"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"603abf9524d480260e4091bc2d652666235f6f65","unresolved":false,"context_lines":[{"line_number":86,"context_line":"6. Target boots and runs IPA."},{"line_number":87,"context_line":"7. Conductor polls for IPA until it is alive."},{"line_number":88,"context_line":"8. Conductor calls IPA\u0027s ``get_hardware_info`` command to get information"},{"line_number":89,"context_line":"   about the node\u0027s hardware. This is used to validate the MAC addresses"},{"line_number":90,"context_line":"   to ensure this is the node we are expecting."},{"line_number":91,"context_line":"9. Conductor calls IPA\u0027s ``node_info`` command to give it the data it needs"},{"line_number":92,"context_line":"   to do its job, including the config data returned by the lookup API."}],"source_content_type":"text/x-rst","patch_set":19,"id":"3f79a3b5_30ac5835","line":89,"range":{"start_line":89,"start_character":59,"end_line":89,"end_character":72},"in_reply_to":"3f79a3b5_90ca3717","updated":"2018-10-19 16:46:15.000000000","message":"There is a couple different options, and we can remove this if we want. I kind of think it is good for us to have at least one MAC address so we can verify that we have a clue about the contents of the node, in terms of what is in the box. That information may not be right thought, but it is a nice guard since we have a couple different modes and if someone... somehow... mixes things up IP wise, it would be awful to clean a node that needed to be rescued or vise versa. I think we generally still require at least one mac any networking interaction in the code base, even if the driver is vmedia based.","commit_id":"1e04db5b428b72abd76947f94c83d9c219eeffc6"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"250de9524d28cc02b91b4a384f16021e04a6973a","unresolved":false,"context_lines":[{"line_number":88,"context_line":"8. Conductor calls IPA\u0027s ``get_hardware_info`` command to get information"},{"line_number":89,"context_line":"   about the node\u0027s hardware. This is used to validate the MAC addresses"},{"line_number":90,"context_line":"   to ensure this is the node we are expecting."},{"line_number":91,"context_line":"9. Conductor calls IPA\u0027s ``node_info`` command to give it the data it needs"},{"line_number":92,"context_line":"   to do its job, including the config data returned by the lookup API."},{"line_number":93,"context_line":"10. Conductor calls IPA commands on target node to walk it through the"},{"line_number":94,"context_line":"    provisioning process."}],"source_content_type":"text/x-rst","patch_set":19,"id":"3f79a3b5_e916e8a1","line":91,"updated":"2018-10-22 10:08:15.000000000","message":"s/node_info/configure_node/ ? anyway, we can figure this out on the code patch","commit_id":"1e04db5b428b72abd76947f94c83d9c219eeffc6"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"250de9524d28cc02b91b4a384f16021e04a6973a","unresolved":false,"context_lines":[{"line_number":105,"context_line":"  the ironic API. The connection times out. She gives up and attacks the iPXE"},{"line_number":106,"context_line":"  host. She succeeds and compromises the iPXE host. She then attempts to"},{"line_number":107,"context_line":"  attack the ironic API. The connection fails. Mallory, disappointed, gives"},{"line_number":108,"context_line":"  up and puts her life of crime behind her."},{"line_number":109,"context_line":""},{"line_number":110,"context_line":"In this case, even though Mallory has compromised the target node, there is no"},{"line_number":111,"context_line":"intrinsic network access between the target node and the control plane. Thus"}],"source_content_type":"text/x-rst","patch_set":19,"id":"3f79a3b5_8973b41c","line":108,"updated":"2018-10-22 10:08:15.000000000","message":"++","commit_id":"1e04db5b428b72abd76947f94c83d9c219eeffc6"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"250de9524d28cc02b91b4a384f16021e04a6973a","unresolved":false,"context_lines":[{"line_number":126,"context_line":"And one option to the [api] category:"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"* ``disable_agent_api``: BoolOpt which disables the agent lookup and heartbeat"},{"line_number":129,"context_line":"  APIs. Defaults to False."},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"If ``poll_only`` is enabled, we do not pass the ``ipa-api-url`` kernel command"},{"line_number":132,"context_line":"line parameter to IPA, which will disable the node lookup and heartbeat"}],"source_content_type":"text/x-rst","patch_set":19,"id":"3f79a3b5_a976b00a","line":129,"updated":"2018-10-22 10:08:15.000000000","message":"this kind of goes against the idea of discoverable API changes (hello microversions). since it\u0027s internal API, it may be fine.","commit_id":"1e04db5b428b72abd76947f94c83d9c219eeffc6"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"250de9524d28cc02b91b4a384f16021e04a6973a","unresolved":false,"context_lines":[{"line_number":145,"context_line":"For this mode, we will also need to remove ``ipa-api-url`` being passed as"},{"line_number":146,"context_line":"kernel parameter to the agent."},{"line_number":147,"context_line":""},{"line_number":148,"context_line":"We will also add a ``node_info`` command to IPA, described below, which the"},{"line_number":149,"context_line":"conductor will use to pass the \"lookup data\" to a node."},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"Last, we will add a ``get_hardware_info`` command to IPA, which will return"}],"source_content_type":"text/x-rst","patch_set":19,"id":"3f79a3b5_497d9ce4","line":148,"updated":"2018-10-22 10:08:15.000000000","message":"see above, I think node_info is confusing. I\u0027d expect it to return node information, not accept it.","commit_id":"1e04db5b428b72abd76947f94c83d9c219eeffc6"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"250de9524d28cc02b91b4a384f16021e04a6973a","unresolved":false,"context_lines":[{"line_number":154,"context_line":"Notes:"},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"* This spec depends on the assumption that ironic can look up the node IP in"},{"line_number":157,"context_line":"  Neutron. Deployments without Neutron are not supported with poll_only\u003dTrue."},{"line_number":158,"context_line":"  This may be added in the future."},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"* ironic-inspector is out of scope for this feature, as it does not use"}],"source_content_type":"text/x-rst","patch_set":19,"id":"3f79a3b5_698098bf","line":157,"updated":"2018-10-22 10:08:15.000000000","message":"This will be added to the network interface, right?","commit_id":"1e04db5b428b72abd76947f94c83d9c219eeffc6"}],"specs/liberty/no-ipa-to-conductor.rst":[{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"5a17c151d130594349ae25173843f927f8d01c37","unresolved":false,"context_lines":[{"line_number":19,"context_line":"  as changing parameters which can be returned or accepted, or even"},{"line_number":20,"context_line":"  the semantics of what happens when a client calls into the API, then"},{"line_number":21,"context_line":"  you should add the APIImpact flag to the commit message. Specifications with"},{"line_number":22,"context_line":"  the APIImpact flag can be found with the following query:"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"Problem description"},{"line_number":25,"context_line":"\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":2,"id":"1a4dcd0f_ed834354","line":22,"updated":"2015-08-13 12:36:54.000000000","message":"This paragraph is from the template, please drop it.","commit_id":"3d492b74d5d244b7f804f9cc34c0521db661eb61"},{"author":{"_account_id":9452,"name":"James Penick","email":"penick@verizonmedia.com","username":"epim"},"change_message_id":"b75a6f3447d90e372f2a0c07f73d95b798349c2a","unresolved":false,"context_lines":[{"line_number":19,"context_line":"  as changing parameters which can be returned or accepted, or even"},{"line_number":20,"context_line":"  the semantics of what happens when a client calls into the API, then"},{"line_number":21,"context_line":"  you should add the APIImpact flag to the commit message. Specifications with"},{"line_number":22,"context_line":"  the APIImpact flag can be found with the following query:"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"Problem description"},{"line_number":25,"context_line":"\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":2,"id":"1a4dcd0f_84684c23","line":22,"in_reply_to":"1a4dcd0f_ed834354","updated":"2015-08-13 17:30:15.000000000","message":"Will do","commit_id":"3d492b74d5d244b7f804f9cc34c0521db661eb61"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"5a17c151d130594349ae25173843f927f8d01c37","unresolved":false,"context_lines":[{"line_number":37,"context_line":"  internet. Mallory finds and compromises this host. She then attacks the ironic"},{"line_number":38,"context_line":"  API from this host. Once she compromises the Ironic "},{"line_number":39,"context_line":"  API, she then starts booting other hosts in the datacenter with a compromised"},{"line_number":40,"context_line":"  disk image. She has now owned an entire datacenter. "},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"To remediate this we\u0027ll pass the node ID to the instance as a kernel "},{"line_number":43,"context_line":"parameter in the PXE data. In this case, even though Mallory has compromised"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1a4dcd0f_0d878f61","line":40,"updated":"2015-08-13 12:36:54.000000000","message":"I don\u0027t think this use case is valid, our vendor passthru has only limited number of features","commit_id":"3d492b74d5d244b7f804f9cc34c0521db661eb61"},{"author":{"_account_id":9452,"name":"James Penick","email":"penick@verizonmedia.com","username":"epim"},"change_message_id":"604c6c1932dd03e511dabda27360b9eb17113110","unresolved":false,"context_lines":[{"line_number":37,"context_line":"  internet. Mallory finds and compromises this host. She then attacks the ironic"},{"line_number":38,"context_line":"  API from this host. Once she compromises the Ironic "},{"line_number":39,"context_line":"  API, she then starts booting other hosts in the datacenter with a compromised"},{"line_number":40,"context_line":"  disk image. She has now owned an entire datacenter. "},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"To remediate this we\u0027ll pass the node ID to the instance as a kernel "},{"line_number":43,"context_line":"parameter in the PXE data. In this case, even though Mallory has compromised"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1a4dcd0f_b532505d","line":40,"in_reply_to":"1a4dcd0f_0af1a36a","updated":"2015-08-13 18:22:07.000000000","message":"I disagree. By passing the node ID as a parameter during provisioning, you can obviate the entire use case for a node ever needing to communicate with the Ironic API. In that case the separate provisioning network doesn\u0027t provide any value.","commit_id":"3d492b74d5d244b7f804f9cc34c0521db661eb61"},{"author":{"_account_id":9452,"name":"James Penick","email":"penick@verizonmedia.com","username":"epim"},"change_message_id":"b75a6f3447d90e372f2a0c07f73d95b798349c2a","unresolved":false,"context_lines":[{"line_number":37,"context_line":"  internet. Mallory finds and compromises this host. She then attacks the ironic"},{"line_number":38,"context_line":"  API from this host. Once she compromises the Ironic "},{"line_number":39,"context_line":"  API, she then starts booting other hosts in the datacenter with a compromised"},{"line_number":40,"context_line":"  disk image. She has now owned an entire datacenter. "},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"To remediate this we\u0027ll pass the node ID to the instance as a kernel "},{"line_number":43,"context_line":"parameter in the PXE data. In this case, even though Mallory has compromised"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1a4dcd0f_646bc020","line":40,"in_reply_to":"1a4dcd0f_0d878f61","updated":"2015-08-13 17:30:15.000000000","message":"It\u0027s not so much the number of features available, so much as it\u0027s an exposed attack surface. Once there\u0027s logical network access between a target node and a control plane the security of the API is only as good as the security of the daemon serving it. A zero-day exploit to whatever web daemon in use by the deployer negates the security in the API.","commit_id":"3d492b74d5d244b7f804f9cc34c0521db661eb61"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"58d905cc8b005807a888e40a8dd4f51349735568","unresolved":false,"context_lines":[{"line_number":37,"context_line":"  internet. Mallory finds and compromises this host. She then attacks the ironic"},{"line_number":38,"context_line":"  API from this host. Once she compromises the Ironic "},{"line_number":39,"context_line":"  API, she then starts booting other hosts in the datacenter with a compromised"},{"line_number":40,"context_line":"  disk image. She has now owned an entire datacenter. "},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"To remediate this we\u0027ll pass the node ID to the instance as a kernel "},{"line_number":43,"context_line":"parameter in the PXE data. In this case, even though Mallory has compromised"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1a4dcd0f_0af1a36a","line":40,"in_reply_to":"1a4dcd0f_646bc020","updated":"2015-08-13 17:54:32.000000000","message":"\u003e A zero-day exploit to whatever web daemon in use by the deployer negates the security in the API.\n\nThat\u0027s why separating networks is the only sane thing to do.","commit_id":"3d492b74d5d244b7f804f9cc34c0521db661eb61"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"2916fa5ff481a752634487368a3670610f0c00a9","unresolved":false,"context_lines":[{"line_number":37,"context_line":"  internet. Mallory finds and compromises this host. She then attacks the ironic"},{"line_number":38,"context_line":"  API from this host. Once she compromises the Ironic "},{"line_number":39,"context_line":"  API, she then starts booting other hosts in the datacenter with a compromised"},{"line_number":40,"context_line":"  disk image. She has now owned an entire datacenter. "},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"To remediate this we\u0027ll pass the node ID to the instance as a kernel "},{"line_number":43,"context_line":"parameter in the PXE data. In this case, even though Mallory has compromised"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1a4dcd0f_8224a0b2","line":40,"in_reply_to":"1a4dcd0f_b532505d","updated":"2015-08-14 07:41:18.000000000","message":"How can passing the node ID protect you from zero day exploit in any of the services? From tampering with PXE/iPXE traffic? With unauthenticated and non-encrypted agent traffic?","commit_id":"3d492b74d5d244b7f804f9cc34c0521db661eb61"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"5a17c151d130594349ae25173843f927f8d01c37","unresolved":false,"context_lines":[{"line_number":41,"context_line":""},{"line_number":42,"context_line":"To remediate this we\u0027ll pass the node ID to the instance as a kernel "},{"line_number":43,"context_line":"parameter in the PXE data. In this case, even though Mallory has compromised"},{"line_number":44,"context_line":"the target node, she cannot use that to attack the provisioning infrastructure."},{"line_number":45,"context_line":""},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"Proposed change"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1a4dcd0f_ad79bb83","line":44,"updated":"2015-08-13 12:36:54.000000000","message":"Yes, she can. She can send any commands to non-authenticated IPA instances, and thus boot anything on all nodes.","commit_id":"3d492b74d5d244b7f804f9cc34c0521db661eb61"},{"author":{"_account_id":9452,"name":"James Penick","email":"penick@verizonmedia.com","username":"epim"},"change_message_id":"604c6c1932dd03e511dabda27360b9eb17113110","unresolved":false,"context_lines":[{"line_number":41,"context_line":""},{"line_number":42,"context_line":"To remediate this we\u0027ll pass the node ID to the instance as a kernel "},{"line_number":43,"context_line":"parameter in the PXE data. In this case, even though Mallory has compromised"},{"line_number":44,"context_line":"the target node, she cannot use that to attack the provisioning infrastructure."},{"line_number":45,"context_line":""},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"Proposed change"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1a4dcd0f_75d928f4","line":44,"in_reply_to":"1a4dcd0f_8ad613c2","updated":"2015-08-13 18:22:07.000000000","message":"Ok, well that\u0027s definitely a security issue. for those deployers. We\u0027ll have a follow-up spec to help with that, but i\u0027m not trying to fix every problem in this spec.","commit_id":"3d492b74d5d244b7f804f9cc34c0521db661eb61"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"58d905cc8b005807a888e40a8dd4f51349735568","unresolved":false,"context_lines":[{"line_number":41,"context_line":""},{"line_number":42,"context_line":"To remediate this we\u0027ll pass the node ID to the instance as a kernel "},{"line_number":43,"context_line":"parameter in the PXE data. In this case, even though Mallory has compromised"},{"line_number":44,"context_line":"the target node, she cannot use that to attack the provisioning infrastructure."},{"line_number":45,"context_line":""},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"Proposed change"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1a4dcd0f_8ad613c2","line":44,"in_reply_to":"1a4dcd0f_a4e548a5","updated":"2015-08-13 17:54:32.000000000","message":"\u003e IPA is only running on a node during provisioning\n\nThat\u0027s not the case for at least some of it users. For example people who initially wrote it.","commit_id":"3d492b74d5d244b7f804f9cc34c0521db661eb61"},{"author":{"_account_id":9452,"name":"James Penick","email":"penick@verizonmedia.com","username":"epim"},"change_message_id":"b75a6f3447d90e372f2a0c07f73d95b798349c2a","unresolved":false,"context_lines":[{"line_number":41,"context_line":""},{"line_number":42,"context_line":"To remediate this we\u0027ll pass the node ID to the instance as a kernel "},{"line_number":43,"context_line":"parameter in the PXE data. In this case, even though Mallory has compromised"},{"line_number":44,"context_line":"the target node, she cannot use that to attack the provisioning infrastructure."},{"line_number":45,"context_line":""},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"Proposed change"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1a4dcd0f_a4e548a5","line":44,"in_reply_to":"1a4dcd0f_ad79bb83","updated":"2015-08-13 17:30:15.000000000","message":"IPA is only running on a node during provisioning, meaning she can only attack a node that\u0027s already in the process of being provisioned. However, we -do- have an idea of how to protect against that as well, but we\u0027d like to save that for a different spec.","commit_id":"3d492b74d5d244b7f804f9cc34c0521db661eb61"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"5a17c151d130594349ae25173843f927f8d01c37","unresolved":false,"context_lines":[{"line_number":46,"context_line":""},{"line_number":47,"context_line":"Proposed change"},{"line_number":48,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":49,"context_line":"We will add a config option to put IPA communications into a \u0027ipa_poll_only\u0027 mode."},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"If \u0027ipa_poll_only\u0027 is enabled, we pass the \u0027standalone\u0027 kernel command line parameter "},{"line_number":52,"context_line":"to IPA to disable heartbeating and lookup. The conductor will pass the node UUID as "}],"source_content_type":"text/x-rst","patch_set":2,"id":"1a4dcd0f_cd7c4773","line":49,"updated":"2015-08-13 12:36:54.000000000","message":"If it\u0027s an ironic configuration option, it should be in [agent] category without ipa_ prefix.","commit_id":"3d492b74d5d244b7f804f9cc34c0521db661eb61"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"5a17c151d130594349ae25173843f927f8d01c37","unresolved":false,"context_lines":[{"line_number":49,"context_line":"We will add a config option to put IPA communications into a \u0027ipa_poll_only\u0027 mode."},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"If \u0027ipa_poll_only\u0027 is enabled, we pass the \u0027standalone\u0027 kernel command line parameter "},{"line_number":52,"context_line":"to IPA to disable heartbeating and lookup. The conductor will pass the node UUID as "},{"line_number":53,"context_line":"a kernel command line parameter when IPA boots, and IPA will use that instead of "},{"line_number":54,"context_line":"doing a lookup call to Ironic."},{"line_number":55,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"1a4dcd0f_6d9893c0","line":52,"updated":"2015-08-13 12:36:54.000000000","message":"Note that in this case inspection won\u0027t work. It\u0027s WIP for now, but will probably land at the same time as this spec. We\u0027ll probably have to move inspection outside of \u0027standalone\u0027 check...","commit_id":"3d492b74d5d244b7f804f9cc34c0521db661eb61"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"5a17c151d130594349ae25173843f927f8d01c37","unresolved":false,"context_lines":[{"line_number":54,"context_line":"doing a lookup call to Ironic."},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"If \u0027ipa_poll_only\u0027 is enabled, the conductor will use a periodic task to query"},{"line_number":57,"context_line":"each agent at a set interval, instead of querying the agent after a heartbeat"},{"line_number":58,"context_line":"is received. This periodic task will only query nodes in states IPA would"},{"line_number":59,"context_line":"normally be heartbeating in: (DEPLOY*, DELETE*, CLEAN*, ZAP*)."},{"line_number":60,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"1a4dcd0f_8d939fa2","line":57,"updated":"2015-08-13 12:36:54.000000000","message":"How does a conductor learn node IP address, if Neutron is not used (either static DHCP or during inspection)?","commit_id":"3d492b74d5d244b7f804f9cc34c0521db661eb61"},{"author":{"_account_id":9452,"name":"James Penick","email":"penick@verizonmedia.com","username":"epim"},"change_message_id":"81652777ed70858129b96051f74a427b68d80fea","unresolved":false,"context_lines":[{"line_number":54,"context_line":"doing a lookup call to Ironic."},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"If \u0027ipa_poll_only\u0027 is enabled, the conductor will use a periodic task to query"},{"line_number":57,"context_line":"each agent at a set interval, instead of querying the agent after a heartbeat"},{"line_number":58,"context_line":"is received. This periodic task will only query nodes in states IPA would"},{"line_number":59,"context_line":"normally be heartbeating in: (DEPLOY*, DELETE*, CLEAN*, ZAP*)."},{"line_number":60,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"1a4dcd0f_2d2559ad","line":57,"in_reply_to":"1a4dcd0f_8d939fa2","updated":"2015-08-14 20:33:20.000000000","message":"It\u0027d have to be static DHCP, or possibly with a DNS lookup on a predictable hostname format.","commit_id":"3d492b74d5d244b7f804f9cc34c0521db661eb61"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"5a17c151d130594349ae25173843f927f8d01c37","unresolved":false,"context_lines":[{"line_number":63,"context_line":""},{"line_number":64,"context_line":"If \u0027ipa_poll_only\u0027 is True, the heartbeat endpoint for nodes should ignore any"},{"line_number":65,"context_line":"requests. This will ensure that when the conductor is restarted to change this"},{"line_number":66,"context_line":"option, from False to True, there won\u0027t be duplicated heart"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1a4dcd0f_2d8e0b79","line":66,"updated":"2015-08-13 12:36:54.000000000","message":"unfinished sentence?","commit_id":"3d492b74d5d244b7f804f9cc34c0521db661eb61"},{"author":{"_account_id":9452,"name":"James Penick","email":"penick@verizonmedia.com","username":"epim"},"change_message_id":"b75a6f3447d90e372f2a0c07f73d95b798349c2a","unresolved":false,"context_lines":[{"line_number":63,"context_line":""},{"line_number":64,"context_line":"If \u0027ipa_poll_only\u0027 is True, the heartbeat endpoint for nodes should ignore any"},{"line_number":65,"context_line":"requests. This will ensure that when the conductor is restarted to change this"},{"line_number":66,"context_line":"option, from False to True, there won\u0027t be duplicated heart"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1a4dcd0f_ef5d697d","line":66,"in_reply_to":"1a4dcd0f_2d8e0b79","updated":"2015-08-13 17:30:15.000000000","message":"looks like it, good catch. I\u0027ll fix it","commit_id":"3d492b74d5d244b7f804f9cc34c0521db661eb61"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"5a17c151d130594349ae25173843f927f8d01c37","unresolved":false,"context_lines":[{"line_number":73,"context_line":""},{"line_number":74,"context_line":"Separate the deploying (provisioning) network and tenant network is one "},{"line_number":75,"context_line":"possibility. However this doesn\u0027t scale for very large deployers, particularly"},{"line_number":76,"context_line":"those on L3 network."},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"Data model impact"},{"line_number":79,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1a4dcd0f_4d89176e","line":76,"updated":"2015-08-13 12:36:54.000000000","message":"Not sure what you mean by \"doesn\u0027t scale\". You HAVE to separate them for any sane deployment, once we implement it (hopefully in liberty).","commit_id":"3d492b74d5d244b7f804f9cc34c0521db661eb61"},{"author":{"_account_id":9452,"name":"James Penick","email":"penick@verizonmedia.com","username":"epim"},"change_message_id":"81652777ed70858129b96051f74a427b68d80fea","unresolved":false,"context_lines":[{"line_number":73,"context_line":""},{"line_number":74,"context_line":"Separate the deploying (provisioning) network and tenant network is one "},{"line_number":75,"context_line":"possibility. However this doesn\u0027t scale for very large deployers, particularly"},{"line_number":76,"context_line":"those on L3 network."},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"Data model impact"},{"line_number":79,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1a4dcd0f_82523c34","line":76,"in_reply_to":"1a4dcd0f_02c3b08b","updated":"2015-08-14 20:33:20.000000000","message":"\u003eWhat is going to implement these network ACLs? And how it\u0027s different from just using separate networks?\n Whether you\u0027re using one network or two there is an implication that there are firewall rules in place to control which hosts can access the control plane APIs. This spec obviates the need for any network access to be opened from the target node, aside from DHCP/PXE/IPXE, which can be moved to a separate host from the conductor.\n\n\u003e\u003e Further, by having conductor make calls to IPA over https, with a signed certificate, the IPA client can ensure that it\u0027s receiving calls from a trusted source\n \u003eThis is not implemented yet IIRC, and without it this whole spec does not make much sense.\nIt\u0027s not implemented yet but it\u0027s the other spec i\u0027ve alluded to a couple of times. We decided to leave it out of this spec to keep things simple. \n\n\u003e\u003e In this context, what value would a separate provisioning network provide?\n\u003eProtection from exploits, for example. Protection from tampering with inherently unprotected DHCP/PXE/iPXE traffic.\n\nOur deployment plan separates the DHCP/PXE/IPXE traffic onto dedicated hosts which themselves have no ability to communicate with the conductor.\n\nSo our control flow is:\n\nConductor --\u003e ipxe host \u003c--\u003etarget node\n      |--------------------------^\n\nAnd, finally, remember that in layer 3 networks your subnet is constrained to a single rack. So if you have a thousand racks, you need a thousand subnets. If you have two networks per rack, you need two thousand subnets. If you want to be able to do mass boots (we need to boot over 1K hosts at a time) then you need adequate IP space in each rack to allow every machine to boot simultaneously, or you need to create a provisioning system capable of only booting parts of racks at a time. \n The complexity of that at scale far outweighs any advantages, particularly when our design flow above totally obviates the need for a provisioning network.","commit_id":"3d492b74d5d244b7f804f9cc34c0521db661eb61"},{"author":{"_account_id":9452,"name":"James Penick","email":"penick@verizonmedia.com","username":"epim"},"change_message_id":"b75a6f3447d90e372f2a0c07f73d95b798349c2a","unresolved":false,"context_lines":[{"line_number":73,"context_line":""},{"line_number":74,"context_line":"Separate the deploying (provisioning) network and tenant network is one "},{"line_number":75,"context_line":"possibility. However this doesn\u0027t scale for very large deployers, particularly"},{"line_number":76,"context_line":"those on L3 network."},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"Data model impact"},{"line_number":79,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1a4dcd0f_c4b89478","line":76,"in_reply_to":"1a4dcd0f_4d89176e","updated":"2015-08-13 17:30:15.000000000","message":"Consider a deployer with an L3 network, with hundreds of thousands of nodes. This means that every single rack needs to have /two/ subnets per rack. One for deployment and another for production. This is why we say this doesn\u0027t scale, the management of those additional subnets would be a nightmare.","commit_id":"3d492b74d5d244b7f804f9cc34c0521db661eb61"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"2916fa5ff481a752634487368a3670610f0c00a9","unresolved":false,"context_lines":[{"line_number":73,"context_line":""},{"line_number":74,"context_line":"Separate the deploying (provisioning) network and tenant network is one "},{"line_number":75,"context_line":"possibility. However this doesn\u0027t scale for very large deployers, particularly"},{"line_number":76,"context_line":"those on L3 network."},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"Data model impact"},{"line_number":79,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1a4dcd0f_02c3b08b","line":76,"in_reply_to":"1a4dcd0f_505d1a14","updated":"2015-08-14 07:41:18.000000000","message":"\u003e network ACLs can be used to prevent that from ever happening. \n\nWhat is going to implement these network ACLs? And how it\u0027s different from just using separate networks?\n\n\u003e Further, by having conductor make calls to IPA over https, with a signed certificate, the IPA client can ensure that it\u0027s receiving calls from a trusted source\n\nThis is not implemented yet IIRC, and without it this whole spec does not make much sense.\n\n\u003e In this context, what value would a separate provisioning network provide?\n\nProtection from exploits, for example. Protection from tampering with inherently unprotected DHCP/PXE/iPXE traffic.","commit_id":"3d492b74d5d244b7f804f9cc34c0521db661eb61"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"58d905cc8b005807a888e40a8dd4f51349735568","unresolved":false,"context_lines":[{"line_number":73,"context_line":""},{"line_number":74,"context_line":"Separate the deploying (provisioning) network and tenant network is one "},{"line_number":75,"context_line":"possibility. However this doesn\u0027t scale for very large deployers, particularly"},{"line_number":76,"context_line":"those on L3 network."},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"Data model impact"},{"line_number":79,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1a4dcd0f_eab9d77d","line":76,"in_reply_to":"1a4dcd0f_c4b89478","updated":"2015-08-13 17:54:32.000000000","message":"Maybe it\u0027s a nightmare (not sure, I can just assume you know better), but it\u0027s definitely not as bad as leaving tenants in the provision network. Especially provided that IPA \u003c-\u003e conductor communication is still not protected.","commit_id":"3d492b74d5d244b7f804f9cc34c0521db661eb61"},{"author":{"_account_id":9452,"name":"James Penick","email":"penick@verizonmedia.com","username":"epim"},"change_message_id":"604c6c1932dd03e511dabda27360b9eb17113110","unresolved":false,"context_lines":[{"line_number":73,"context_line":""},{"line_number":74,"context_line":"Separate the deploying (provisioning) network and tenant network is one "},{"line_number":75,"context_line":"possibility. However this doesn\u0027t scale for very large deployers, particularly"},{"line_number":76,"context_line":"those on L3 network."},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"Data model impact"},{"line_number":79,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1a4dcd0f_505d1a14","line":76,"in_reply_to":"1a4dcd0f_eab9d77d","updated":"2015-08-13 18:22:07.000000000","message":"By preventing IPA from ever making a call upstream to conductor we provide the same level of security without the need for a second network. \n\nIn this context if Mallory compromises a host and tries to make a connection to the conductor, she\u0027ll never reach it. The connection will time out, as network ACLs can be used to prevent that from ever happening. \n\nFurther, by having conductor make calls to IPA over https, with a signed certificate, the IPA client can ensure that it\u0027s receiving calls from a trusted source. \n\nIn this context, what value would a separate provisioning network provide?","commit_id":"3d492b74d5d244b7f804f9cc34c0521db661eb61"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"5a17c151d130594349ae25173843f927f8d01c37","unresolved":false,"context_lines":[{"line_number":177,"context_line":"Dependencies"},{"line_number":178,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":179,"context_line":""},{"line_number":180,"context_line":"None"},{"line_number":181,"context_line":""},{"line_number":182,"context_line":"Testing"},{"line_number":183,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1a4dcd0f_edea630e","line":180,"updated":"2015-08-13 12:36:54.000000000","message":"Switch to Futurist is a dependency IMO, otherwise you\u0027re going to get too many periodic tasks...\nhttp://specs.openstack.org/openstack/ironic-specs/specs/approved/futurist.html","commit_id":"3d492b74d5d244b7f804f9cc34c0521db661eb61"}]}
