)]}'
{"specs/approved/long-running-ramdisk-support.rst":[{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"ed1de9d0fdce3342beafcb97b008a8dcd274ef01","unresolved":false,"context_lines":[{"line_number":20,"context_line":"automatically boot a ramdisk when it transitions into that state."},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"OPEN QUESTIONS:"},{"line_number":23,"context_line":"  * How should I handle information about deployment, such as"},{"line_number":24,"context_line":"    root_device_hints, passed down via the node object on lookup?"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"Problem description"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bacf61ea_dcf53883","line":23,"updated":"2016-08-05 23:12:48.000000000","message":"you mean how to retrieve it if it changes after the agent\u0027s been running? why not use the heartbeat?","commit_id":"64bb28ca74e894b59f2d4b38de85676a76a1c6b2"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"ed1de9d0fdce3342beafcb97b008a8dcd274ef01","unresolved":false,"context_lines":[{"line_number":41,"context_line":""},{"line_number":42,"context_line":"# An API will be added to ironic, which will instruct ironic to boot a ramdisk"},{"line_number":43,"context_line":"  on a node. This API will begin the progress of booting a ramdisk for nodes"},{"line_number":44,"context_line":"  in ``available`` and ``managable`` states, and return a 409 Conflict if a"},{"line_number":45,"context_line":"  node is in any other state. The ramdisk will be booted on the proper"},{"line_number":46,"context_line":"  network for the next expected state (i.e., if in ``available``, it will be"},{"line_number":47,"context_line":"  booted on ``provisioning_network_uuid`` and if in ``managable``, it will be"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bacf61ea_3c1f34b8","line":44,"range":{"start_line":44,"start_character":25,"end_line":44,"end_character":34},"updated":"2016-08-05 23:12:48.000000000","message":"typo here: s/managable/manageable","commit_id":"64bb28ca74e894b59f2d4b38de85676a76a1c6b2"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"ed1de9d0fdce3342beafcb97b008a8dcd274ef01","unresolved":false,"context_lines":[{"line_number":44,"context_line":"  in ``available`` and ``managable`` states, and return a 409 Conflict if a"},{"line_number":45,"context_line":"  node is in any other state. The ramdisk will be booted on the proper"},{"line_number":46,"context_line":"  network for the next expected state (i.e., if in ``available``, it will be"},{"line_number":47,"context_line":"  booted on ``provisioning_network_uuid`` and if in ``managable``, it will be"},{"line_number":48,"context_line":"  booted on ``cleaning_network_uuid``)."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"# A node that has a ramdisk booted or booting will have an attribute added:"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bacf61ea_1c71900c","line":47,"range":{"start_line":47,"start_character":14,"end_line":47,"end_character":39},"updated":"2016-08-05 23:12:48.000000000","message":"Perhaps I don\u0027t fully understand how this works upstream. What if a deployer doesn\u0027t want the networks to be flipped to the provisioning network until deploy time?","commit_id":"64bb28ca74e894b59f2d4b38de85676a76a1c6b2"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"ed1de9d0fdce3342beafcb97b008a8dcd274ef01","unresolved":false,"context_lines":[{"line_number":44,"context_line":"  in ``available`` and ``managable`` states, and return a 409 Conflict if a"},{"line_number":45,"context_line":"  node is in any other state. The ramdisk will be booted on the proper"},{"line_number":46,"context_line":"  network for the next expected state (i.e., if in ``available``, it will be"},{"line_number":47,"context_line":"  booted on ``provisioning_network_uuid`` and if in ``managable``, it will be"},{"line_number":48,"context_line":"  booted on ``cleaning_network_uuid``)."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"# A node that has a ramdisk booted or booting will have an attribute added:"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bacf61ea_1c1a30c6","line":47,"range":{"start_line":47,"start_character":54,"end_line":47,"end_character":63},"updated":"2016-08-05 23:12:48.000000000","message":"typo here","commit_id":"64bb28ca74e894b59f2d4b38de85676a76a1c6b2"},{"author":{"_account_id":10358,"name":"Brad Morgan","email":"brad@morgabra.com","username":"morgabra"},"change_message_id":"fe87d0d00c5f48003eeaf49acdccdf3c3a95a0a5","unresolved":false,"context_lines":[{"line_number":44,"context_line":"  in ``available`` and ``managable`` states, and return a 409 Conflict if a"},{"line_number":45,"context_line":"  node is in any other state. The ramdisk will be booted on the proper"},{"line_number":46,"context_line":"  network for the next expected state (i.e., if in ``available``, it will be"},{"line_number":47,"context_line":"  booted on ``provisioning_network_uuid`` and if in ``managable``, it will be"},{"line_number":48,"context_line":"  booted on ``cleaning_network_uuid``)."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"# A node that has a ramdisk booted or booting will have an attribute added:"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bacf61ea_722ef343","line":47,"range":{"start_line":47,"start_character":14,"end_line":47,"end_character":39},"in_reply_to":"bacf61ea_1c29909b","updated":"2016-08-06 00:34:43.000000000","message":"how about enroll? \n\nIf the idea is to enable troubleshooting - What about some classes of failure states?","commit_id":"64bb28ca74e894b59f2d4b38de85676a76a1c6b2"},{"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":"2944317ef2583a7f088288d89533ce9d5899dd6e","unresolved":false,"context_lines":[{"line_number":44,"context_line":"  in ``available`` and ``managable`` states, and return a 409 Conflict if a"},{"line_number":45,"context_line":"  node is in any other state. The ramdisk will be booted on the proper"},{"line_number":46,"context_line":"  network for the next expected state (i.e., if in ``available``, it will be"},{"line_number":47,"context_line":"  booted on ``provisioning_network_uuid`` and if in ``managable``, it will be"},{"line_number":48,"context_line":"  booted on ``cleaning_network_uuid``)."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"# A node that has a ramdisk booted or booting will have an attribute added:"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bacf61ea_1c29909b","line":47,"range":{"start_line":47,"start_character":14,"end_line":47,"end_character":39},"in_reply_to":"bacf61ea_1c71900c","updated":"2016-08-05 23:17:12.000000000","message":"By asking us to boot a ramdisk, you\u0027d be implicitly saying to flip you to that network early.","commit_id":"64bb28ca74e894b59f2d4b38de85676a76a1c6b2"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"573ec277e435039711f4ad1c43f1b0d5a423e51e","unresolved":false,"context_lines":[{"line_number":48,"context_line":"  booted on ``cleaning_network_uuid``)."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"# A node that has a ramdisk booted or booting will have an attribute added:"},{"line_number":51,"context_line":"  ``driver_internal_info[\u0027ramdisk_booted\u0027]\u003dTrue``. When the node"},{"line_number":52,"context_line":"  no longer has a ramdisk booted, this flag will be cleared."},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"# An API request to power off a node will be taken as an implict request to"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bacf61ea_fc4d9c3e","line":51,"updated":"2016-08-05 22:51:15.000000000","message":"Maybe the value could be a SHA256SUM of the ramdisk image or something?\n\nSo if the value differs from the ramdisk that would be deployed, then should do a fresh install. This is thinking of the case where it is currently booted to make deploy time faster.\n\nWhat do you think?","commit_id":"64bb28ca74e894b59f2d4b38de85676a76a1c6b2"},{"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":"2944317ef2583a7f088288d89533ce9d5899dd6e","unresolved":false,"context_lines":[{"line_number":48,"context_line":"  booted on ``cleaning_network_uuid``)."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"# A node that has a ramdisk booted or booting will have an attribute added:"},{"line_number":51,"context_line":"  ``driver_internal_info[\u0027ramdisk_booted\u0027]\u003dTrue``. When the node"},{"line_number":52,"context_line":"  no longer has a ramdisk booted, this flag will be cleared."},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"# An API request to power off a node will be taken as an implict request to"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bacf61ea_9c13c064","line":51,"in_reply_to":"bacf61ea_3c4d74c4","updated":"2016-08-05 23:17:12.000000000","message":"Hmm. My thought was more for this to mean something like \"A ramdisk should be booted on this node\" vs actually saying one is and working.","commit_id":"64bb28ca74e894b59f2d4b38de85676a76a1c6b2"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"ed1de9d0fdce3342beafcb97b008a8dcd274ef01","unresolved":false,"context_lines":[{"line_number":48,"context_line":"  booted on ``cleaning_network_uuid``)."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"# A node that has a ramdisk booted or booting will have an attribute added:"},{"line_number":51,"context_line":"  ``driver_internal_info[\u0027ramdisk_booted\u0027]\u003dTrue``. When the node"},{"line_number":52,"context_line":"  no longer has a ramdisk booted, this flag will be cleared."},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"# An API request to power off a node will be taken as an implict request to"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bacf61ea_3c4d74c4","line":51,"in_reply_to":"bacf61ea_7c91ac46","updated":"2016-08-05 23:12:48.000000000","message":"Will this automatically switch to false if the agent doesn\u0027t heartbeat before the timeout? You have another attribute below for whether the heartbeat timed out, but I\u0027m curious if this will be updated, too.\n\nI think it\u0027s fine if this isn\u0027t updated, since an agent may be booted but not heartbeating. We just have to be careful that both fields have the correct values before doing something that requires communication with an agent.\n\nPerhaps these can be consolidated into an \"agent_reachable\" field.","commit_id":"64bb28ca74e894b59f2d4b38de85676a76a1c6b2"},{"author":{"_account_id":10358,"name":"Brad Morgan","email":"brad@morgabra.com","username":"morgabra"},"change_message_id":"fe87d0d00c5f48003eeaf49acdccdf3c3a95a0a5","unresolved":false,"context_lines":[{"line_number":48,"context_line":"  booted on ``cleaning_network_uuid``)."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"# A node that has a ramdisk booted or booting will have an attribute added:"},{"line_number":51,"context_line":"  ``driver_internal_info[\u0027ramdisk_booted\u0027]\u003dTrue``. When the node"},{"line_number":52,"context_line":"  no longer has a ramdisk booted, this flag will be cleared."},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"# An API request to power off a node will be taken as an implict request to"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bacf61ea_124fb734","line":51,"in_reply_to":"bacf61ea_9c13c064","updated":"2016-08-06 00:34:43.000000000","message":"nit: Naming is hard, but how about \u0027ramdisk_wanted\u0027, \u0027ramdisk_enabled\u0027 or \u0027ramdisk_boot\u0027. This sounds like the ramdisk is actually working, when really we are flagging the node to boot one.","commit_id":"64bb28ca74e894b59f2d4b38de85676a76a1c6b2"},{"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":"5a6880d6fe13bf06d743ddc0c8e2dbf7143863df","unresolved":false,"context_lines":[{"line_number":48,"context_line":"  booted on ``cleaning_network_uuid``)."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"# A node that has a ramdisk booted or booting will have an attribute added:"},{"line_number":51,"context_line":"  ``driver_internal_info[\u0027ramdisk_booted\u0027]\u003dTrue``. When the node"},{"line_number":52,"context_line":"  no longer has a ramdisk booted, this flag will be cleared."},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"# An API request to power off a node will be taken as an implict request to"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bacf61ea_7c91ac46","line":51,"in_reply_to":"bacf61ea_fc4d9c3e","updated":"2016-08-05 22:56:36.000000000","message":"Well, ramdisk and kernel are set on the node, I\u0027d think it\u0027d be more fitting just to force a ramdisk to not be booted when these are updated, right?","commit_id":"64bb28ca74e894b59f2d4b38de85676a76a1c6b2"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"ed1de9d0fdce3342beafcb97b008a8dcd274ef01","unresolved":false,"context_lines":[{"line_number":51,"context_line":"  ``driver_internal_info[\u0027ramdisk_booted\u0027]\u003dTrue``. When the node"},{"line_number":52,"context_line":"  no longer has a ramdisk booted, this flag will be cleared."},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"# An API request to power off a node will be taken as an implict request to"},{"line_number":55,"context_line":"  no longer have a ramdisk booted, and should clear the ``ramdisk_booted``"},{"line_number":56,"context_line":"  flag."},{"line_number":57,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"bacf61ea_7cc9ac25","line":54,"range":{"start_line":54,"start_character":57,"end_line":54,"end_character":64},"updated":"2016-08-05 23:12:48.000000000","message":"s/implict/implicit","commit_id":"64bb28ca74e894b59f2d4b38de85676a76a1c6b2"},{"author":{"_account_id":10358,"name":"Brad Morgan","email":"brad@morgabra.com","username":"morgabra"},"change_message_id":"fe87d0d00c5f48003eeaf49acdccdf3c3a95a0a5","unresolved":false,"context_lines":[{"line_number":51,"context_line":"  ``driver_internal_info[\u0027ramdisk_booted\u0027]\u003dTrue``. When the node"},{"line_number":52,"context_line":"  no longer has a ramdisk booted, this flag will be cleared."},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"# An API request to power off a node will be taken as an implict request to"},{"line_number":55,"context_line":"  no longer have a ramdisk booted, and should clear the ``ramdisk_booted``"},{"line_number":56,"context_line":"  flag."},{"line_number":57,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"bacf61ea_d2cb5f70","line":54,"range":{"start_line":54,"start_character":57,"end_line":54,"end_character":64},"in_reply_to":"bacf61ea_7cc9ac25","updated":"2016-08-06 00:34:43.000000000","message":"If powering off a node is an implicit request to no longer boot the ramdisk... why isn\u0027t powering it on?\n\nI see potential value in a \u0027boot ramdisk\u0027 API call as it would allow parameters (maybe choosing network/ramdisk/etc in the future), but I don\u0027t see anything in the spec that requires parameters currently.","commit_id":"64bb28ca74e894b59f2d4b38de85676a76a1c6b2"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"ed1de9d0fdce3342beafcb97b008a8dcd274ef01","unresolved":false,"context_lines":[{"line_number":59,"context_line":"  use the preexisting, booted ramdisk instead of rebooting the node into a"},{"line_number":60,"context_line":"  fresh ramdisk."},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"# A configuration option will be added, instructing ironic to automatically"},{"line_number":63,"context_line":"  boot a ramdisk on all nodes when they exit cleaning."},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"# A periodic task will be added to ensure a ramdisk remains booted on a node"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bacf61ea_dcd898f1","line":62,"updated":"2016-08-05 23:12:48.000000000","message":"Should we make something to allow this on a per-node basis? This is fine if you\u0027re concerned about deploy times, but this is overkill if you just want to solve the problem you described in the problem description section about troubleshooting a node that\u0027s failing deploys.","commit_id":"64bb28ca74e894b59f2d4b38de85676a76a1c6b2"},{"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":"2944317ef2583a7f088288d89533ce9d5899dd6e","unresolved":false,"context_lines":[{"line_number":59,"context_line":"  use the preexisting, booted ramdisk instead of rebooting the node into a"},{"line_number":60,"context_line":"  fresh ramdisk."},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"# A configuration option will be added, instructing ironic to automatically"},{"line_number":63,"context_line":"  boot a ramdisk on all nodes when they exit cleaning."},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"# A periodic task will be added to ensure a ramdisk remains booted on a node"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bacf61ea_fc0e3c39","line":62,"in_reply_to":"bacf61ea_dcd898f1","updated":"2016-08-05 23:17:12.000000000","message":"This is why there\u0027d be an API call (ln#42) o allow booting a ramdisk on a node at an arbitary time.","commit_id":"64bb28ca74e894b59f2d4b38de85676a76a1c6b2"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"ed1de9d0fdce3342beafcb97b008a8dcd274ef01","unresolved":false,"context_lines":[{"line_number":73,"context_line":"  maintenance with a proper error message."},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"# The heartbeat method would be configured to remove the"},{"line_number":76,"context_line":"  ``agent_not_heartbeating`` attribute from driver_internal_info when updating"},{"line_number":77,"context_line":"  ``agent_last_heartbeat``."},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bacf61ea_7cf08c67","line":76,"updated":"2016-08-05 23:12:48.000000000","message":"Remove, or set to False?","commit_id":"64bb28ca74e894b59f2d4b38de85676a76a1c6b2"},{"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":"2944317ef2583a7f088288d89533ce9d5899dd6e","unresolved":false,"context_lines":[{"line_number":73,"context_line":"  maintenance with a proper error message."},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"# The heartbeat method would be configured to remove the"},{"line_number":76,"context_line":"  ``agent_not_heartbeating`` attribute from driver_internal_info when updating"},{"line_number":77,"context_line":"  ``agent_last_heartbeat``."},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bacf61ea_dc09b832","line":76,"in_reply_to":"bacf61ea_7cf08c67","updated":"2016-08-05 23:17:12.000000000","message":"Typically we remove these kinds of attributes instead of setting them to false.","commit_id":"64bb28ca74e894b59f2d4b38de85676a76a1c6b2"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"ed1de9d0fdce3342beafcb97b008a8dcd274ef01","unresolved":false,"context_lines":[{"line_number":79,"context_line":"Alternatives"},{"line_number":80,"context_line":"------------"},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"There is currently no supported way to have ironic boot a ramdisk arbitraily."},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"Data model impact"},{"line_number":85,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bacf61ea_5cc148e3","line":82,"updated":"2016-08-05 23:12:48.000000000","message":"This isn\u0027t an alternative.","commit_id":"64bb28ca74e894b59f2d4b38de85676a76a1c6b2"},{"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":"2944317ef2583a7f088288d89533ce9d5899dd6e","unresolved":false,"context_lines":[{"line_number":79,"context_line":"Alternatives"},{"line_number":80,"context_line":"------------"},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"There is currently no supported way to have ironic boot a ramdisk arbitraily."},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"Data model impact"},{"line_number":85,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bacf61ea_1c007001","line":82,"in_reply_to":"bacf61ea_5cc148e3","updated":"2016-08-05 23:17:12.000000000","message":"This is a long way of saying \"None\". :)","commit_id":"64bb28ca74e894b59f2d4b38de85676a76a1c6b2"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"ed1de9d0fdce3342beafcb97b008a8dcd274ef01","unresolved":false,"context_lines":[{"line_number":161,"context_line":"Deployers who enable the option to have agents automatically booted, or who"},{"line_number":162,"context_line":"manually boot a large number of agents on nodes, may need to scale up their"},{"line_number":163,"context_line":"API infrastructure to account for the larger number of heartbeat requests"},{"line_number":164,"context_line":"coming in and/or change the agent.heartbeat_timeout to a much larger value."},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"Performance Impact"},{"line_number":167,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bacf61ea_7c652c1c","line":164,"updated":"2016-08-05 23:12:48.000000000","message":"DHCP and whatever serves the PXE image will need to be scaled, too, depending on how concurrently agents are booting.","commit_id":"64bb28ca74e894b59f2d4b38de85676a76a1c6b2"},{"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":"2944317ef2583a7f088288d89533ce9d5899dd6e","unresolved":false,"context_lines":[{"line_number":161,"context_line":"Deployers who enable the option to have agents automatically booted, or who"},{"line_number":162,"context_line":"manually boot a large number of agents on nodes, may need to scale up their"},{"line_number":163,"context_line":"API infrastructure to account for the larger number of heartbeat requests"},{"line_number":164,"context_line":"coming in and/or change the agent.heartbeat_timeout to a much larger value."},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"Performance Impact"},{"line_number":167,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bacf61ea_8f0a641e","line":164,"in_reply_to":"bacf61ea_7c652c1c","updated":"2016-08-05 23:17:12.000000000","message":"DHCP agent, good call.\n\nPXE boots come from conductors though, good call and I\u0027ll point that out.","commit_id":"64bb28ca74e894b59f2d4b38de85676a76a1c6b2"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"1634c72429e6002ce38a4e2cf40dff6f6a72a21e","unresolved":false,"context_lines":[{"line_number":21,"context_line":""},{"line_number":22,"context_line":"OPEN QUESTIONS:"},{"line_number":23,"context_line":"  * How should I handle information about deployment, such as"},{"line_number":24,"context_line":"    root_device_hints, passed down via the node object on lookup?"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"Problem description"},{"line_number":27,"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":"bacf61ea_6bc1c44d","line":24,"updated":"2016-08-08 07:56:59.000000000","message":"this is fixed now, I think","commit_id":"638727badd7d06f89be6e548dc9bd2f2bd10ab58"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"3513e6048ff74fb57eaf3066bbd0e80ac8cecd38","unresolved":false,"context_lines":[{"line_number":21,"context_line":""},{"line_number":22,"context_line":"OPEN QUESTIONS:"},{"line_number":23,"context_line":"  * How should I handle information about deployment, such as"},{"line_number":24,"context_line":"    root_device_hints, passed down via the node object on lookup?"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"Problem description"},{"line_number":27,"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":"1ac06dbe_a2d070f7","line":24,"in_reply_to":"9ad45d7e_8dee6eb2","updated":"2016-08-22 19:46:40.000000000","message":"+1 to extra lookup\n\nAlternatively, perhaps there can be a separate deploy_lookup endpoint.","commit_id":"638727badd7d06f89be6e548dc9bd2f2bd10ab58"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"1051059a11dbcc5abea55afbabf3bccd42a22783","unresolved":false,"context_lines":[{"line_number":21,"context_line":""},{"line_number":22,"context_line":"OPEN QUESTIONS:"},{"line_number":23,"context_line":"  * How should I handle information about deployment, such as"},{"line_number":24,"context_line":"    root_device_hints, passed down via the node object on lookup?"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"Problem description"},{"line_number":27,"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":"9ad45d7e_8dee6eb2","line":24,"in_reply_to":"9ad45d7e_b8a76e4e","updated":"2016-08-09 16:28:59.000000000","message":"Yeah, I\u0027ve misunderstood this statement. Probably it\u0027s worth expanding to mention that information we get now can easily become stale when long running ramdisks are used.\n\nProbably one more lookup with providing a node_uuid can solve it.","commit_id":"638727badd7d06f89be6e548dc9bd2f2bd10ab58"},{"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":"f14b4925cfb37ca9f263c3645d73e1ac9718a5b4","unresolved":false,"context_lines":[{"line_number":21,"context_line":""},{"line_number":22,"context_line":"OPEN QUESTIONS:"},{"line_number":23,"context_line":"  * How should I handle information about deployment, such as"},{"line_number":24,"context_line":"    root_device_hints, passed down via the node object on lookup?"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"Problem description"},{"line_number":27,"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":"9ad45d7e_b8a76e4e","line":24,"in_reply_to":"bacf61ea_6bc1c44d","updated":"2016-08-08 16:31:33.000000000","message":"https://github.com/openstack/ironic-python-agent/blob/master/ironic_python_agent/hardware.py#L619 We still use the node for root device hints.","commit_id":"638727badd7d06f89be6e548dc9bd2f2bd10ab58"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"469acfb48ef2e696487040fed02363f3b8be794e","unresolved":false,"context_lines":[{"line_number":39,"context_line":"Proposed change"},{"line_number":40,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"# An API will be added to ironic, which will instruct ironic to boot a ramdisk"},{"line_number":43,"context_line":"  on a node. This API will begin the progress of booting a ramdisk for nodes"},{"line_number":44,"context_line":"  in ``available`` and ``managable`` states, and return a 409 Conflict if a"},{"line_number":45,"context_line":"  node is in any other state. The ramdisk will be booted on the proper"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a30ddce_557dd96c","line":42,"updated":"2017-03-09 11:16:07.000000000","message":"Maybe only new API parameter?","commit_id":"638727badd7d06f89be6e548dc9bd2f2bd10ab58"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"1634c72429e6002ce38a4e2cf40dff6f6a72a21e","unresolved":false,"context_lines":[{"line_number":41,"context_line":""},{"line_number":42,"context_line":"# An API will be added to ironic, which will instruct ironic to boot a ramdisk"},{"line_number":43,"context_line":"  on a node. This API will begin the progress of booting a ramdisk for nodes"},{"line_number":44,"context_line":"  in ``available`` and ``managable`` states, and return a 409 Conflict if a"},{"line_number":45,"context_line":"  node is in any other state. The ramdisk will be booted on the proper"},{"line_number":46,"context_line":"  network for the next expected state (i.e., if in ``available``, it will be"},{"line_number":47,"context_line":"  booted on ``provisioning_network_uuid`` and if in ``managable``, it will be"}],"source_content_type":"text/x-rst","patch_set":2,"id":"bacf61ea_cba270ad","line":44,"updated":"2016-08-08 07:56:59.000000000","message":"I\u0027d avoid using 409 please, the client tends to retry it, as we\u0027re using it for our \"node locked\" errors","commit_id":"638727badd7d06f89be6e548dc9bd2f2bd10ab58"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"3513e6048ff74fb57eaf3066bbd0e80ac8cecd38","unresolved":false,"context_lines":[{"line_number":41,"context_line":""},{"line_number":42,"context_line":"# An API will be added to ironic, which will instruct ironic to boot a ramdisk"},{"line_number":43,"context_line":"  on a node. This API will begin the progress of booting a ramdisk for nodes"},{"line_number":44,"context_line":"  in ``available`` and ``managable`` states, and return a 409 Conflict if a"},{"line_number":45,"context_line":"  node is in any other state. The ramdisk will be booted on the proper"},{"line_number":46,"context_line":"  network for the next expected state (i.e., if in ``available``, it will be"},{"line_number":47,"context_line":"  booted on ``provisioning_network_uuid`` and if in ``managable``, it will be"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1ac06dbe_e2ed48b8","line":44,"range":{"start_line":44,"start_character":25,"end_line":44,"end_character":34},"updated":"2016-08-22 19:46:40.000000000","message":"nit: s/managable/manageable here and below\n\nalso, 400 does sound better","commit_id":"638727badd7d06f89be6e548dc9bd2f2bd10ab58"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"469acfb48ef2e696487040fed02363f3b8be794e","unresolved":false,"context_lines":[{"line_number":41,"context_line":""},{"line_number":42,"context_line":"# An API will be added to ironic, which will instruct ironic to boot a ramdisk"},{"line_number":43,"context_line":"  on a node. This API will begin the progress of booting a ramdisk for nodes"},{"line_number":44,"context_line":"  in ``available`` and ``managable`` states, and return a 409 Conflict if a"},{"line_number":45,"context_line":"  node is in any other state. The ramdisk will be booted on the proper"},{"line_number":46,"context_line":"  network for the next expected state (i.e., if in ``available``, it will be"},{"line_number":47,"context_line":"  booted on ``provisioning_network_uuid`` and if in ``managable``, it will be"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a30ddce_f0eedbb2","line":44,"range":{"start_line":44,"start_character":25,"end_line":44,"end_character":34},"in_reply_to":"1ac06dbe_e2ed48b8","updated":"2017-03-09 11:16:07.000000000","message":"I don\u0027t see big benefit for booting for manageable state because it\u0027s needed only for \"first\" node preparation. But ramdisk can be loaded later for available state. And we should not use loaded ramdisk after cleaning because clean steps for hardware often require reboot (like BIOS opts reset etc).","commit_id":"638727badd7d06f89be6e548dc9bd2f2bd10ab58"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"1051059a11dbcc5abea55afbabf3bccd42a22783","unresolved":false,"context_lines":[{"line_number":41,"context_line":""},{"line_number":42,"context_line":"# An API will be added to ironic, which will instruct ironic to boot a ramdisk"},{"line_number":43,"context_line":"  on a node. This API will begin the progress of booting a ramdisk for nodes"},{"line_number":44,"context_line":"  in ``available`` and ``managable`` states, and return a 409 Conflict if a"},{"line_number":45,"context_line":"  node is in any other state. The ramdisk will be booted on the proper"},{"line_number":46,"context_line":"  network for the next expected state (i.e., if in ``available``, it will be"},{"line_number":47,"context_line":"  booted on ``provisioning_network_uuid`` and if in ``managable``, it will be"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9ad45d7e_6d27ba12","line":44,"in_reply_to":"9ad45d7e_78d856f0","updated":"2016-08-09 16:28:59.000000000","message":"Generic 400 Bad Request, I guess.","commit_id":"638727badd7d06f89be6e548dc9bd2f2bd10ab58"},{"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":"f14b4925cfb37ca9f263c3645d73e1ac9718a5b4","unresolved":false,"context_lines":[{"line_number":41,"context_line":""},{"line_number":42,"context_line":"# An API will be added to ironic, which will instruct ironic to boot a ramdisk"},{"line_number":43,"context_line":"  on a node. This API will begin the progress of booting a ramdisk for nodes"},{"line_number":44,"context_line":"  in ``available`` and ``managable`` states, and return a 409 Conflict if a"},{"line_number":45,"context_line":"  node is in any other state. The ramdisk will be booted on the proper"},{"line_number":46,"context_line":"  network for the next expected state (i.e., if in ``available``, it will be"},{"line_number":47,"context_line":"  booted on ``provisioning_network_uuid`` and if in ``managable``, it will be"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9ad45d7e_78d856f0","line":44,"in_reply_to":"bacf61ea_cba270ad","updated":"2016-08-08 16:31:33.000000000","message":"Do you have a suggestion for what would be a better response?","commit_id":"638727badd7d06f89be6e548dc9bd2f2bd10ab58"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"3513e6048ff74fb57eaf3066bbd0e80ac8cecd38","unresolved":false,"context_lines":[{"line_number":48,"context_line":"  booted on ``cleaning_network_uuid``)."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"# A node that has a ramdisk booted or booting will have an attribute added:"},{"line_number":51,"context_line":"  ``driver_internal_info[\u0027ramdisk_booted\u0027]\u003dTrue``. When the node"},{"line_number":52,"context_line":"  no longer has a ramdisk booted, this flag will be cleared."},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"# An API request to power off a node will be taken as an implict request to"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1ac06dbe_22f5a056","line":51,"updated":"2016-08-22 19:46:40.000000000","message":"I left a similar comment before, but I wonder if it would be useful to have this be set on heartbeat instead of allowing it to be set before the ramdisk is actually fully booted.\n\nAlternatively, maybe this can be renamed to something like \"ramdisk_boot_attempted\". I can easily see an operator getting confused and thinking this means the ramdisk is actually responsive.\n\nThat alternative may be more useful since we already have a new agent_not_heartbeating attribute.","commit_id":"638727badd7d06f89be6e548dc9bd2f2bd10ab58"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"469acfb48ef2e696487040fed02363f3b8be794e","unresolved":false,"context_lines":[{"line_number":48,"context_line":"  booted on ``cleaning_network_uuid``)."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"# A node that has a ramdisk booted or booting will have an attribute added:"},{"line_number":51,"context_line":"  ``driver_internal_info[\u0027ramdisk_booted\u0027]\u003dTrue``. When the node"},{"line_number":52,"context_line":"  no longer has a ramdisk booted, this flag will be cleared."},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"# An API request to power off a node will be taken as an implict request to"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a30ddce_1538c19f","line":51,"in_reply_to":"1ac06dbe_22f5a056","updated":"2017-03-09 11:16:07.000000000","message":"+1","commit_id":"638727badd7d06f89be6e548dc9bd2f2bd10ab58"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"1634c72429e6002ce38a4e2cf40dff6f6a72a21e","unresolved":false,"context_lines":[{"line_number":53,"context_line":""},{"line_number":54,"context_line":"# An API request to power off a node will be taken as an implict request to"},{"line_number":55,"context_line":"  no longer have a ramdisk booted, and should clear the ``ramdisk_booted``"},{"line_number":56,"context_line":"  flag."},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"# Servers entering cleaning or deploying with a ramdisk already booted will"},{"line_number":59,"context_line":"  use the preexisting, booted ramdisk instead of rebooting the node into a"}],"source_content_type":"text/x-rst","patch_set":2,"id":"bacf61ea_aba57cb5","line":56,"updated":"2016-08-08 07:56:59.000000000","message":"And what about reboot?","commit_id":"638727badd7d06f89be6e548dc9bd2f2bd10ab58"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"1051059a11dbcc5abea55afbabf3bccd42a22783","unresolved":false,"context_lines":[{"line_number":53,"context_line":""},{"line_number":54,"context_line":"# An API request to power off a node will be taken as an implict request to"},{"line_number":55,"context_line":"  no longer have a ramdisk booted, and should clear the ``ramdisk_booted``"},{"line_number":56,"context_line":"  flag."},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"# Servers entering cleaning or deploying with a ramdisk already booted will"},{"line_number":59,"context_line":"  use the preexisting, booted ramdisk instead of rebooting the node into a"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9ad45d7e_ad21b2fd","line":56,"in_reply_to":"9ad45d7e_f8cba61c","updated":"2016-08-09 16:28:59.000000000","message":"Yeah, that\u0027s what I expected. Worth mentioning here though.","commit_id":"638727badd7d06f89be6e548dc9bd2f2bd10ab58"},{"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":"f14b4925cfb37ca9f263c3645d73e1ac9718a5b4","unresolved":false,"context_lines":[{"line_number":53,"context_line":""},{"line_number":54,"context_line":"# An API request to power off a node will be taken as an implict request to"},{"line_number":55,"context_line":"  no longer have a ramdisk booted, and should clear the ``ramdisk_booted``"},{"line_number":56,"context_line":"  flag."},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"# Servers entering cleaning or deploying with a ramdisk already booted will"},{"line_number":59,"context_line":"  use the preexisting, booted ramdisk instead of rebooting the node into a"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9ad45d7e_f8cba61c","line":56,"in_reply_to":"bacf61ea_aba57cb5","updated":"2016-08-08 16:31:33.000000000","message":"I\u0027d imagine on reboot, just to reboot back into the ramdisk. Seem sane to you?","commit_id":"638727badd7d06f89be6e548dc9bd2f2bd10ab58"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"3513e6048ff74fb57eaf3066bbd0e80ac8cecd38","unresolved":false,"context_lines":[{"line_number":55,"context_line":"  no longer have a ramdisk booted, and should clear the ``ramdisk_booted``"},{"line_number":56,"context_line":"  flag."},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"# Servers entering cleaning or deploying with a ramdisk already booted will"},{"line_number":59,"context_line":"  use the preexisting, booted ramdisk instead of rebooting the node into a"},{"line_number":60,"context_line":"  fresh ramdisk."},{"line_number":61,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"1ac06dbe_42653c1c","line":58,"range":{"start_line":58,"start_character":19,"end_line":58,"end_character":27},"updated":"2016-08-22 19:46:40.000000000","message":"Why during cleaning, too? None of the issues in the problem description say anything about cleaning. I can see it as being advantageous to always pull a new ramdisk before cleaning so you have the latest copy of the agent.\n\nI guess the agent would be automatically reloaded if clean steps are modified, though?","commit_id":"638727badd7d06f89be6e548dc9bd2f2bd10ab58"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"11fb74a03e61b1a87f8ec7d1c5ade66915caeb9c","unresolved":false,"context_lines":[{"line_number":55,"context_line":"  no longer have a ramdisk booted, and should clear the ``ramdisk_booted``"},{"line_number":56,"context_line":"  flag."},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"# Servers entering cleaning or deploying with a ramdisk already booted will"},{"line_number":59,"context_line":"  use the preexisting, booted ramdisk instead of rebooting the node into a"},{"line_number":60,"context_line":"  fresh ramdisk."},{"line_number":61,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a30ddce_31bde268","line":58,"range":{"start_line":58,"start_character":19,"end_line":58,"end_character":27},"in_reply_to":"1ac06dbe_42653c1c","updated":"2017-03-09 05:54:45.000000000","message":"I think, if we were to boot into new ramdisk then it will lose out on the POST cycle to bring up the initial ramdisk. One should be able to use this booted ramdisk to execute some of the manual cleaning steps.","commit_id":"638727badd7d06f89be6e548dc9bd2f2bd10ab58"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"11fb74a03e61b1a87f8ec7d1c5ade66915caeb9c","unresolved":false,"context_lines":[{"line_number":59,"context_line":"  use the preexisting, booted ramdisk instead of rebooting the node into a"},{"line_number":60,"context_line":"  fresh ramdisk."},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"# A configuration option will be added, instructing ironic to automatically"},{"line_number":63,"context_line":"  boot a ramdisk on all nodes when they exit cleaning."},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"# A periodic task will be added to ensure a ramdisk remains booted on a node"},{"line_number":66,"context_line":"  which is supposed to have a ramdisk booted. This will compare"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a30ddce_91ba0e6d","line":63,"range":{"start_line":62,"start_character":2,"end_line":63,"end_character":54},"updated":"2017-03-09 05:54:45.000000000","message":"Should it boot again into the same ramdisk. Or why can\u0027t it remain in booted state after completing cleaning? Ironic would just perform state changes on the node when cleaning is complete.","commit_id":"638727badd7d06f89be6e548dc9bd2f2bd10ab58"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"469acfb48ef2e696487040fed02363f3b8be794e","unresolved":false,"context_lines":[{"line_number":59,"context_line":"  use the preexisting, booted ramdisk instead of rebooting the node into a"},{"line_number":60,"context_line":"  fresh ramdisk."},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"# A configuration option will be added, instructing ironic to automatically"},{"line_number":63,"context_line":"  boot a ramdisk on all nodes when they exit cleaning."},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"# A periodic task will be added to ensure a ramdisk remains booted on a node"},{"line_number":66,"context_line":"  which is supposed to have a ramdisk booted. This will compare"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a30ddce_505b2787","line":63,"range":{"start_line":62,"start_character":2,"end_line":63,"end_character":54},"in_reply_to":"9a30ddce_91ba0e6d","updated":"2017-03-09 11:16:07.000000000","message":"IMO should reboot, see my comment l44.","commit_id":"638727badd7d06f89be6e548dc9bd2f2bd10ab58"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"469acfb48ef2e696487040fed02363f3b8be794e","unresolved":false,"context_lines":[{"line_number":62,"context_line":"# A configuration option will be added, instructing ironic to automatically"},{"line_number":63,"context_line":"  boot a ramdisk on all nodes when they exit cleaning."},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"# A periodic task will be added to ensure a ramdisk remains booted on a node"},{"line_number":66,"context_line":"  which is supposed to have a ramdisk booted. This will compare"},{"line_number":67,"context_line":"  ``agent_last_heartbeat`` to ``agent.heartbeat_timeout`` for nodes with"},{"line_number":68,"context_line":"  ``ramdisk_booted:True``. Nodes that are not properly heartbeating would have"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a30ddce_350945de","line":65,"updated":"2017-03-09 11:16:07.000000000","message":"We can only use provision state and last heartbeat time.","commit_id":"638727badd7d06f89be6e548dc9bd2f2bd10ab58"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"3513e6048ff74fb57eaf3066bbd0e80ac8cecd38","unresolved":false,"context_lines":[{"line_number":66,"context_line":"  which is supposed to have a ramdisk booted. This will compare"},{"line_number":67,"context_line":"  ``agent_last_heartbeat`` to ``agent.heartbeat_timeout`` for nodes with"},{"line_number":68,"context_line":"  ``ramdisk_booted:True``. Nodes that are not properly heartbeating would have"},{"line_number":69,"context_line":"  ``driver_interal_info[\u0027agent_not_heartbeating\u0027]`` set and then ironic would"},{"line_number":70,"context_line":"  take remedial action to have the agent begin booting again, such as"},{"line_number":71,"context_line":"  re-initializing the boot configuration. If the periodic task found a node"},{"line_number":72,"context_line":"  with ``agent_not_heartbeating`` still set, it would place the node into"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1ac06dbe_02050413","line":69,"range":{"start_line":69,"start_character":11,"end_line":69,"end_character":18},"updated":"2016-08-22 19:46:40.000000000","message":"nit: s/interal/internal\n\nAs a side comment, I really like this feature. A lot of the anomalies we see are simply related to intermittent ramdisk boot failures.","commit_id":"638727badd7d06f89be6e548dc9bd2f2bd10ab58"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"11fb74a03e61b1a87f8ec7d1c5ade66915caeb9c","unresolved":false,"context_lines":[{"line_number":69,"context_line":"  ``driver_interal_info[\u0027agent_not_heartbeating\u0027]`` set and then ironic would"},{"line_number":70,"context_line":"  take remedial action to have the agent begin booting again, such as"},{"line_number":71,"context_line":"  re-initializing the boot configuration. If the periodic task found a node"},{"line_number":72,"context_line":"  with ``agent_not_heartbeating`` still set, it would place the node into"},{"line_number":73,"context_line":"  maintenance with a proper error message."},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"# The heartbeat method would be configured to remove the"},{"line_number":76,"context_line":"  ``agent_not_heartbeating`` attribute from driver_internal_info when updating"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a30ddce_f1598a5b","line":73,"range":{"start_line":72,"start_character":45,"end_line":73,"end_character":42},"updated":"2017-03-09 05:54:45.000000000","message":"And power off the node? Or would node remain in booted state with no heart beat?","commit_id":"638727badd7d06f89be6e548dc9bd2f2bd10ab58"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"469acfb48ef2e696487040fed02363f3b8be794e","unresolved":false,"context_lines":[{"line_number":69,"context_line":"  ``driver_interal_info[\u0027agent_not_heartbeating\u0027]`` set and then ironic would"},{"line_number":70,"context_line":"  take remedial action to have the agent begin booting again, such as"},{"line_number":71,"context_line":"  re-initializing the boot configuration. If the periodic task found a node"},{"line_number":72,"context_line":"  with ``agent_not_heartbeating`` still set, it would place the node into"},{"line_number":73,"context_line":"  maintenance with a proper error message."},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"# The heartbeat method would be configured to remove the"},{"line_number":76,"context_line":"  ``agent_not_heartbeating`` attribute from driver_internal_info when updating"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a30ddce_503c07e2","line":73,"range":{"start_line":72,"start_character":45,"end_line":73,"end_character":42},"in_reply_to":"9a30ddce_f1598a5b","updated":"2017-03-09 11:16:07.000000000","message":"And if I manually set power off via API in available state what ironic should do?","commit_id":"638727badd7d06f89be6e548dc9bd2f2bd10ab58"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"1634c72429e6002ce38a4e2cf40dff6f6a72a21e","unresolved":false,"context_lines":[{"line_number":96,"context_line":"REST API impact"},{"line_number":97,"context_line":"---------------"},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"#TODO: Describe proposed API to boot a ramdisk on a node in depth."},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"Client (CLI) impact"},{"line_number":102,"context_line":"-------------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"bacf61ea_0ba92890","line":99,"updated":"2016-08-08 07:56:59.000000000","message":"please :)","commit_id":"638727badd7d06f89be6e548dc9bd2f2bd10ab58"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"1634c72429e6002ce38a4e2cf40dff6f6a72a21e","unresolved":false,"context_lines":[{"line_number":136,"context_line":"The CoreOS ramdisk will already support being run for long periods of"},{"line_number":137,"context_line":"time. Deployers may want to ensure their custom build DIB ramdisks are able"},{"line_number":138,"context_line":"to renew DHCP leases, or other items neccessary to be run for long periods"},{"line_number":139,"context_line":"of time."},{"line_number":140,"context_line":""},{"line_number":141,"context_line":"Security impact"},{"line_number":142,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"bacf61ea_ebabf485","line":139,"updated":"2016-08-08 07:56:59.000000000","message":"I think the DIB ramdisk is capable of it as well..","commit_id":"638727badd7d06f89be6e548dc9bd2f2bd10ab58"},{"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":"f14b4925cfb37ca9f263c3645d73e1ac9718a5b4","unresolved":false,"context_lines":[{"line_number":136,"context_line":"The CoreOS ramdisk will already support being run for long periods of"},{"line_number":137,"context_line":"time. Deployers may want to ensure their custom build DIB ramdisks are able"},{"line_number":138,"context_line":"to renew DHCP leases, or other items neccessary to be run for long periods"},{"line_number":139,"context_line":"of time."},{"line_number":140,"context_line":""},{"line_number":141,"context_line":"Security impact"},{"line_number":142,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9ad45d7e_1804ba7c","line":139,"in_reply_to":"bacf61ea_ebabf485","updated":"2016-08-08 16:31:33.000000000","message":"Cool, just marked it in here for verification. We\u0027re doing this (sorta, awfully) downstream with a CoreOS ramdisk today, so I know it can handle it. Just a new failure potential for other randisks.","commit_id":"638727badd7d06f89be6e548dc9bd2f2bd10ab58"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"469acfb48ef2e696487040fed02363f3b8be794e","unresolved":false,"context_lines":[{"line_number":169,"context_line":"As mentioned above, having a large number of agents heartbeating without"},{"line_number":170,"context_line":"properly scaling up ironic services appropriately would have a detrimental"},{"line_number":171,"context_line":"impact on performance."},{"line_number":172,"context_line":""},{"line_number":173,"context_line":"Other deployer impact"},{"line_number":174,"context_line":"---------------------"},{"line_number":175,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a30ddce_753f3dd6","line":172,"updated":"2017-03-09 11:16:07.000000000","message":"This increase power consumption of the cluster. Also good improvement for future if these ramdisks will do some work like distribute public images via torrent etc.","commit_id":"638727badd7d06f89be6e548dc9bd2f2bd10ab58"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"3513e6048ff74fb57eaf3066bbd0e80ac8cecd38","unresolved":false,"context_lines":[{"line_number":173,"context_line":"Other deployer impact"},{"line_number":174,"context_line":"---------------------"},{"line_number":175,"context_line":""},{"line_number":176,"context_line":"None."},{"line_number":177,"context_line":""},{"line_number":178,"context_line":"Developer impact"},{"line_number":179,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1ac06dbe_6d7149a8","line":176,"updated":"2016-08-22 19:46:40.000000000","message":"Configuration?","commit_id":"638727badd7d06f89be6e548dc9bd2f2bd10ab58"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"469acfb48ef2e696487040fed02363f3b8be794e","unresolved":false,"context_lines":[{"line_number":173,"context_line":"Other deployer impact"},{"line_number":174,"context_line":"---------------------"},{"line_number":175,"context_line":""},{"line_number":176,"context_line":"None."},{"line_number":177,"context_line":""},{"line_number":178,"context_line":"Developer impact"},{"line_number":179,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a30ddce_eb9b4e70","line":176,"in_reply_to":"1ac06dbe_6d7149a8","updated":"2017-03-09 11:16:07.000000000","message":"+1 at least config option for enable this behavior. And should it be deploy-interface specific?","commit_id":"638727badd7d06f89be6e548dc9bd2f2bd10ab58"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"1634c72429e6002ce38a4e2cf40dff6f6a72a21e","unresolved":false,"context_lines":[{"line_number":204,"context_line":""},{"line_number":205,"context_line":"It will be difficult or impossible to test, in tempest, long running ramdisks,"},{"line_number":206,"context_line":"especially their failure scenarios. Comprehensive unit tests will be written"},{"line_number":207,"context_line":"for the functionality to ensure it will not cause breakage."},{"line_number":208,"context_line":""},{"line_number":209,"context_line":"Upgrades and Backwards Compatibility"},{"line_number":210,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":2,"id":"bacf61ea_4b97a047","line":207,"updated":"2016-08-08 07:56:59.000000000","message":"Well, we can test it in tempest, why not?","commit_id":"638727badd7d06f89be6e548dc9bd2f2bd10ab58"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"3513e6048ff74fb57eaf3066bbd0e80ac8cecd38","unresolved":false,"context_lines":[{"line_number":204,"context_line":""},{"line_number":205,"context_line":"It will be difficult or impossible to test, in tempest, long running ramdisks,"},{"line_number":206,"context_line":"especially their failure scenarios. Comprehensive unit tests will be written"},{"line_number":207,"context_line":"for the functionality to ensure it will not cause breakage."},{"line_number":208,"context_line":""},{"line_number":209,"context_line":"Upgrades and Backwards Compatibility"},{"line_number":210,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1ac06dbe_4d9d6dbb","line":207,"in_reply_to":"9ad45d7e_0dd55eb8","updated":"2016-08-22 19:46:40.000000000","message":"I\u0027m fine with not having tempest tests, but we could test it by setting the heartbeat timeout to a really small value (5 seconds?)","commit_id":"638727badd7d06f89be6e548dc9bd2f2bd10ab58"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"1051059a11dbcc5abea55afbabf3bccd42a22783","unresolved":false,"context_lines":[{"line_number":204,"context_line":""},{"line_number":205,"context_line":"It will be difficult or impossible to test, in tempest, long running ramdisks,"},{"line_number":206,"context_line":"especially their failure scenarios. Comprehensive unit tests will be written"},{"line_number":207,"context_line":"for the functionality to ensure it will not cause breakage."},{"line_number":208,"context_line":""},{"line_number":209,"context_line":"Upgrades and Backwards Compatibility"},{"line_number":210,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9ad45d7e_0dd55eb8","line":207,"in_reply_to":"9ad45d7e_783cd62f","updated":"2016-08-09 16:28:59.000000000","message":"Well, to test discovery in ironic-inspector we do mess with \"virsh\" ;) anyway, I meant positive scenario. I agree that testing failure scenarios may be too much.","commit_id":"638727badd7d06f89be6e548dc9bd2f2bd10ab58"},{"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":"f14b4925cfb37ca9f263c3645d73e1ac9718a5b4","unresolved":false,"context_lines":[{"line_number":204,"context_line":""},{"line_number":205,"context_line":"It will be difficult or impossible to test, in tempest, long running ramdisks,"},{"line_number":206,"context_line":"especially their failure scenarios. Comprehensive unit tests will be written"},{"line_number":207,"context_line":"for the functionality to ensure it will not cause breakage."},{"line_number":208,"context_line":""},{"line_number":209,"context_line":"Upgrades and Backwards Compatibility"},{"line_number":210,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9ad45d7e_783cd62f","line":207,"in_reply_to":"bacf61ea_4b97a047","updated":"2016-08-08 16:31:33.000000000","message":"I guess we could test some scenarios, but it\u0027d be difficult/impossible to test the \"ramdisk not heartbeating anymore\" scenarios without making a test that would take a long time.","commit_id":"638727badd7d06f89be6e548dc9bd2f2bd10ab58"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"469acfb48ef2e696487040fed02363f3b8be794e","unresolved":false,"context_lines":[{"line_number":208,"context_line":""},{"line_number":209,"context_line":"Upgrades and Backwards Compatibility"},{"line_number":210,"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":211,"context_line":""},{"line_number":212,"context_line":"The API microversion will be raised to indicate a new endpoint being added to"},{"line_number":213,"context_line":"the API."},{"line_number":214,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a30ddce_ebed0ef0","line":211,"updated":"2017-03-09 11:16:07.000000000","message":"There is upgrade impact. Before if operator sets new deploy ramdisk for available nodes all new deploys will use this ramdisk. After these changes nodes should be also rebooted with new ramdisk.","commit_id":"638727badd7d06f89be6e548dc9bd2f2bd10ab58"}],"specs/not-implemented/long-running-ramdisk-support.rst":[{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"8ad785f5e6b0b80d47866feae384a1100c9288a6","unresolved":false,"context_lines":[{"line_number":1,"context_line":"specs/approved/long-running-ramdisk-support.rst"}],"source_content_type":"x-git/symlink","patch_set":1,"id":"bacf61ea_bc332461","line":1,"updated":"2016-08-05 23:01:34.000000000","message":"Seems like it should be:\n ../approved/.....\n\nLike:\nhttps://review.openstack.org/#/c/275569/1/specs/not-implemented/deploy-agent-logging.rst","commit_id":"64bb28ca74e894b59f2d4b38de85676a76a1c6b2"},{"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":"4e3b7069dfa4b704fb44a650aac2e2397fe614fe","unresolved":false,"context_lines":[{"line_number":1,"context_line":"specs/approved/long-running-ramdisk-support.rst"}],"source_content_type":"x-git/symlink","patch_set":1,"id":"bacf61ea_fc6f5c28","line":1,"in_reply_to":"bacf61ea_bc332461","updated":"2016-08-05 23:03:42.000000000","message":"Bah, I never get this right the first time. TY and done.","commit_id":"64bb28ca74e894b59f2d4b38de85676a76a1c6b2"}]}
