)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":14228,"name":"Clif Houck","email":"me@clifhouck.com","username":"clif_h"},"change_message_id":"8070af78f21a00a393802670a0b5a891508e3a84","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"babf5b6f_159b88e3","updated":"2026-11-09 20:06:44.000000000","message":"Generally looks good to me. I wonder if we could further extend this in the future by caching images on warmed nodes.","commit_id":"dd082f9d3898aaa6a47347815704b5f7e02bd5f7"},{"author":{"_account_id":34373,"name":"Jason Paroly","email":"jparoly@redhat.com","username":"jparoly"},"change_message_id":"34bc133a74a3586d42a57eeafa24b480b20628f3","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"3a9907e2_8457da65","updated":"2026-10-30 13:17:53.000000000","message":"Reviewed this spec.  Just one comment right now.","commit_id":"dd082f9d3898aaa6a47347815704b5f7e02bd5f7"},{"author":{"_account_id":5890,"name":"Doug Goldstein","email":"cardoe@cardoe.com","username":"cardoe"},"change_message_id":"d301d7ae9594691bed7e6a18651c4d08ae3a3d4e","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":4,"id":"eb8d1af8_02ce4bdc","updated":"2026-11-17 21:59:55.000000000","message":"My only comment is to be aware of TBN and how that\u0027ll plug in ports and portgroups. You said you\u0027ll ignore portgroups but you need to really ignore ones that aren\u0027t dynamically created (which is a DB column).","commit_id":"fe9b6ed5e25a59da3713cf3da160c34f6ffae6c0"},{"author":{"_account_id":5890,"name":"Doug Goldstein","email":"cardoe@cardoe.com","username":"cardoe"},"change_message_id":"ff0aa9a44482234cb2373873d1cc0ac542654b3a","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":4,"id":"22ca6689_4732f710","in_reply_to":"b11a4987_2cc79c73","updated":"2026-11-18 13:11:28.000000000","message":"Exactly","commit_id":"fe9b6ed5e25a59da3713cf3da160c34f6ffae6c0"},{"author":{"_account_id":35099,"name":"Jakub Jelinek","email":"kuba.jelinek@nscale.com","username":"kubajj"},"change_message_id":"d31a5e393af1617dab9005b48bcfdb5c91cfc10f","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":4,"id":"b11a4987_2cc79c73","in_reply_to":"eb8d1af8_02ce4bdc","updated":"2026-11-18 08:18:45.000000000","message":"Thanks Doug. To check I understand: TBN dynamic portgroups are created and removed on VIF attach/detach, not through the API, so they would not clear warm_state. Is that what you meant?","commit_id":"fe9b6ed5e25a59da3713cf3da160c34f6ffae6c0"}],"specs/approved/warm-available.rst":[{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"c464a054695fcead7139b901a55660ed78e0ae19","unresolved":true,"context_lines":[{"line_number":68,"context_line":"* The code already says this. See the ``TODO`` in ``fast_track_able()``"},{"line_number":69,"context_line":"  about a check that the cleaning and provisioning networks match, and the"},{"line_number":70,"context_line":"  \"here be a realistically unavoidable footgun\" warning in"},{"line_number":71,"context_line":"  ``prepare_inband_cleaning``."},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"Operators who keep cleaning and provisioning on separate networks"},{"line_number":74,"context_line":"therefore always pay for both power cycles at deployment time."}],"source_content_type":"text/x-rst","patch_set":2,"id":"699d5854_2f9d3473","line":71,"updated":"2026-10-27 14:54:22.000000000","message":"nit: As an aside, with LLM use, there is a point where it wants to just make the case as solid as possible and throw as many words at you as possible, in part because it is a billing output. I\u0027d consider the last bullet point pointless to include. We might have considered a similar check but not feature with separate networks in the past, so its really just noise to the current thread.","commit_id":"497e7036ffbdfd3390d898debb304b0123980c00"},{"author":{"_account_id":35099,"name":"Jakub Jelinek","email":"kuba.jelinek@nscale.com","username":"kubajj"},"change_message_id":"ca9b113e7fea58215766433f15a96d5f0ae65c48","unresolved":false,"context_lines":[{"line_number":68,"context_line":"* The code already says this. See the ``TODO`` in ``fast_track_able()``"},{"line_number":69,"context_line":"  about a check that the cleaning and provisioning networks match, and the"},{"line_number":70,"context_line":"  \"here be a realistically unavoidable footgun\" warning in"},{"line_number":71,"context_line":"  ``prepare_inband_cleaning``."},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"Operators who keep cleaning and provisioning on separate networks"},{"line_number":74,"context_line":"therefore always pay for both power cycles at deployment time."}],"source_content_type":"text/x-rst","patch_set":2,"id":"1aeec3b0_5b8e9c95","line":71,"in_reply_to":"699d5854_2f9d3473","updated":"2026-10-28 09:05:17.000000000","message":"Acknowledged","commit_id":"497e7036ffbdfd3390d898debb304b0123980c00"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"c464a054695fcead7139b901a55660ed78e0ae19","unresolved":true,"context_lines":[{"line_number":123,"context_line":"  while AVAILABLE and warm:"},{"line_number":124,"context_line":"    periodic task finds warm nodes through warm_state"},{"line_number":125,"context_line":"      -\u003e heartbeat is stale or power is off: power off, remove"},{"line_number":126,"context_line":"         provisioning network, clean up ramdisk, warm_state \u003d None (cold)"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"  deploy requested on a warm node:"},{"line_number":129,"context_line":"    warm_state \u003d\u003d \u0027warm\u0027 and heartbeat is fresh"}],"source_content_type":"text/x-rst","patch_set":2,"id":"0fcfb169_62c43b13","line":126,"updated":"2026-10-27 14:54:22.000000000","message":"nit: Wouldn\u0027t you want to kick the node back into the warm state?\n\nI guess I\u0027m raising the question because until you can somehow weight filtering or node selection, nova may choose a node which is not warm. That is fine, but it means that node is going to take much longer to come online.","commit_id":"497e7036ffbdfd3390d898debb304b0123980c00"},{"author":{"_account_id":35099,"name":"Jakub Jelinek","email":"kuba.jelinek@nscale.com","username":"kubajj"},"change_message_id":"ca9b113e7fea58215766433f15a96d5f0ae65c48","unresolved":true,"context_lines":[{"line_number":123,"context_line":"  while AVAILABLE and warm:"},{"line_number":124,"context_line":"    periodic task finds warm nodes through warm_state"},{"line_number":125,"context_line":"      -\u003e heartbeat is stale or power is off: power off, remove"},{"line_number":126,"context_line":"         provisioning network, clean up ramdisk, warm_state \u003d None (cold)"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"  deploy requested on a warm node:"},{"line_number":129,"context_line":"    warm_state \u003d\u003d \u0027warm\u0027 and heartbeat is fresh"}],"source_content_type":"text/x-rst","patch_set":2,"id":"c0e807b2_0797b0e3","line":126,"in_reply_to":"0fcfb169_62c43b13","updated":"2026-10-28 09:05:17.000000000","message":"@juliaashleykreger@gmail.com I was thinking about it, but decided not to re-warm nodes for now (when I planned the state machine, it got a bit complex) - I think as it is (without re-warming), the feature would already add value and am planning re-warming as a follow-up (around line 420)","commit_id":"497e7036ffbdfd3390d898debb304b0123980c00"},{"author":{"_account_id":35099,"name":"Jakub Jelinek","email":"kuba.jelinek@nscale.com","username":"kubajj"},"change_message_id":"1f4ff4d711bc806ed34a0b84ca5bd7b4d03b55c6","unresolved":false,"context_lines":[{"line_number":123,"context_line":"  while AVAILABLE and warm:"},{"line_number":124,"context_line":"    periodic task finds warm nodes through warm_state"},{"line_number":125,"context_line":"      -\u003e heartbeat is stale or power is off: power off, remove"},{"line_number":126,"context_line":"         provisioning network, clean up ramdisk, warm_state \u003d None (cold)"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"  deploy requested on a warm node:"},{"line_number":129,"context_line":"    warm_state \u003d\u003d \u0027warm\u0027 and heartbeat is fresh"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5785c6f2_d3aa43f9","line":126,"in_reply_to":"c0e807b2_0797b0e3","updated":"2026-11-11 07:35:00.000000000","message":"Re-warming is phase 2 now","commit_id":"497e7036ffbdfd3390d898debb304b0123980c00"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"c464a054695fcead7139b901a55660ed78e0ae19","unresolved":true,"context_lines":[{"line_number":127,"context_line":""},{"line_number":128,"context_line":"  deploy requested on a warm node:"},{"line_number":129,"context_line":"    warm_state \u003d\u003d \u0027warm\u0027 and heartbeat is fresh"},{"line_number":130,"context_line":"      -\u003e skip power off, skip provisioning network re-plug"},{"line_number":131,"context_line":"      -\u003e reuse the running agent to write the image"},{"line_number":132,"context_line":"      -\u003e existing tear_down_agent (power off)"},{"line_number":133,"context_line":"      -\u003e existing switch_to_tenant_network"}],"source_content_type":"text/x-rst","patch_set":2,"id":"020a62e4_24f8304e","line":130,"updated":"2026-10-27 14:54:22.000000000","message":"I could see a fast \"check\" if the ramdisk is actually present call making a ton of sense here. Realistically we should have done the same with fast track, check the ramdisk API\u0027s aliveness.","commit_id":"497e7036ffbdfd3390d898debb304b0123980c00"},{"author":{"_account_id":35099,"name":"Jakub Jelinek","email":"kuba.jelinek@nscale.com","username":"kubajj"},"change_message_id":"ca9b113e7fea58215766433f15a96d5f0ae65c48","unresolved":true,"context_lines":[{"line_number":127,"context_line":""},{"line_number":128,"context_line":"  deploy requested on a warm node:"},{"line_number":129,"context_line":"    warm_state \u003d\u003d \u0027warm\u0027 and heartbeat is fresh"},{"line_number":130,"context_line":"      -\u003e skip power off, skip provisioning network re-plug"},{"line_number":131,"context_line":"      -\u003e reuse the running agent to write the image"},{"line_number":132,"context_line":"      -\u003e existing tear_down_agent (power off)"},{"line_number":133,"context_line":"      -\u003e existing switch_to_tenant_network"}],"source_content_type":"text/x-rst","patch_set":2,"id":"a91b36c3_7e43a9cd","line":130,"in_reply_to":"020a62e4_24f8304e","updated":"2026-10-28 09:05:17.000000000","message":"This sounds reasonable - adding it","commit_id":"497e7036ffbdfd3390d898debb304b0123980c00"},{"author":{"_account_id":35099,"name":"Jakub Jelinek","email":"kuba.jelinek@nscale.com","username":"kubajj"},"change_message_id":"1f4ff4d711bc806ed34a0b84ca5bd7b4d03b55c6","unresolved":false,"context_lines":[{"line_number":127,"context_line":""},{"line_number":128,"context_line":"  deploy requested on a warm node:"},{"line_number":129,"context_line":"    warm_state \u003d\u003d \u0027warm\u0027 and heartbeat is fresh"},{"line_number":130,"context_line":"      -\u003e skip power off, skip provisioning network re-plug"},{"line_number":131,"context_line":"      -\u003e reuse the running agent to write the image"},{"line_number":132,"context_line":"      -\u003e existing tear_down_agent (power off)"},{"line_number":133,"context_line":"      -\u003e existing switch_to_tenant_network"}],"source_content_type":"text/x-rst","patch_set":2,"id":"bca08d74_28c5c192","line":130,"in_reply_to":"a91b36c3_7e43a9cd","updated":"2026-11-11 07:35:00.000000000","message":"Done","commit_id":"497e7036ffbdfd3390d898debb304b0123980c00"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"c464a054695fcead7139b901a55660ed78e0ae19","unresolved":false,"context_lines":[{"line_number":152,"context_line":"* The code never changes ports under a running agent. Each network change"},{"line_number":153,"context_line":"  happens while the node is powered off."},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"These rules need a real power off. For this reason, Ironic does not warm a"},{"line_number":156,"context_line":"node that cannot power off (see `Enabling the behavior`_)."},{"line_number":157,"context_line":""},{"line_number":158,"context_line":"Scope"}],"source_content_type":"text/x-rst","patch_set":2,"id":"ee44339e_f18c01db","line":155,"range":{"start_line":155,"start_character":19,"end_line":155,"end_character":23},"updated":"2026-10-27 14:54:22.000000000","message":"How to spot LLM\u0027s: look for \"real something\" 😉","commit_id":"497e7036ffbdfd3390d898debb304b0123980c00"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"c464a054695fcead7139b901a55660ed78e0ae19","unresolved":true,"context_lines":[{"line_number":174,"context_line":""},{"line_number":175,"context_line":"* No re-warming. A node that loses its agent becomes cold and stays cold"},{"line_number":176,"context_line":"  until its next cleaning. Re-warming is a possible follow-up. See"},{"line_number":177,"context_line":"  `Follow-up work`_."},{"line_number":178,"context_line":""},{"line_number":179,"context_line":"* Only deploy interfaces based on ``AgentBaseMixin`` (``direct`` and"},{"line_number":180,"context_line":"  ``custom-agent``). The ``ramdisk`` deploy interface is not covered. Any"}],"source_content_type":"text/x-rst","patch_set":2,"id":"ef4b94e6_b62d60b2","line":177,"updated":"2026-10-27 14:54:22.000000000","message":"Honestly, it feels like such a trivial thing to attempt to re-warm if the ramdisk has disappeared. Part of the complexity to unwind and re-wind mentioned above is likely also not needed, but you obviously want the state change as well to immediately disqualify it from being scheduled again, so its a pick your complexity issue. The only real reason to take all the steps I guess is if you already have a node in available and you want it to be kept warm.","commit_id":"497e7036ffbdfd3390d898debb304b0123980c00"},{"author":{"_account_id":35099,"name":"Jakub Jelinek","email":"kuba.jelinek@nscale.com","username":"kubajj"},"change_message_id":"1f4ff4d711bc806ed34a0b84ca5bd7b4d03b55c6","unresolved":false,"context_lines":[{"line_number":174,"context_line":""},{"line_number":175,"context_line":"* No re-warming. A node that loses its agent becomes cold and stays cold"},{"line_number":176,"context_line":"  until its next cleaning. Re-warming is a possible follow-up. See"},{"line_number":177,"context_line":"  `Follow-up work`_."},{"line_number":178,"context_line":""},{"line_number":179,"context_line":"* Only deploy interfaces based on ``AgentBaseMixin`` (``direct`` and"},{"line_number":180,"context_line":"  ``custom-agent``). The ``ramdisk`` deploy interface is not covered. Any"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9df72777_28420da0","line":177,"in_reply_to":"85546d9f_217705cd","updated":"2026-11-11 07:35:00.000000000","message":"Done","commit_id":"497e7036ffbdfd3390d898debb304b0123980c00"},{"author":{"_account_id":35099,"name":"Jakub Jelinek","email":"kuba.jelinek@nscale.com","username":"kubajj"},"change_message_id":"ca9b113e7fea58215766433f15a96d5f0ae65c48","unresolved":true,"context_lines":[{"line_number":174,"context_line":""},{"line_number":175,"context_line":"* No re-warming. A node that loses its agent becomes cold and stays cold"},{"line_number":176,"context_line":"  until its next cleaning. Re-warming is a possible follow-up. See"},{"line_number":177,"context_line":"  `Follow-up work`_."},{"line_number":178,"context_line":""},{"line_number":179,"context_line":"* Only deploy interfaces based on ``AgentBaseMixin`` (``direct`` and"},{"line_number":180,"context_line":"  ``custom-agent``). The ``ramdisk`` deploy interface is not covered. Any"}],"source_content_type":"text/x-rst","patch_set":2,"id":"85546d9f_217705cd","line":177,"in_reply_to":"ef4b94e6_b62d60b2","updated":"2026-10-28 09:05:17.000000000","message":"mentioned in a previous comment - I want to keep the scope smaller for now - re-warming is a planned follow-up","commit_id":"497e7036ffbdfd3390d898debb304b0123980c00"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"c464a054695fcead7139b901a55660ed78e0ae19","unresolved":false,"context_lines":[{"line_number":180,"context_line":"  ``custom-agent``). The ``ramdisk`` deploy interface is not covered. Any"},{"line_number":181,"context_line":"  other deploy, boot or network interface keeps the current behavior."},{"line_number":182,"context_line":""},{"line_number":183,"context_line":"* No live network switch of a running agent."},{"line_number":184,"context_line":""},{"line_number":185,"context_line":"* No new attestation or trust mechanism beyond the existing agent token"},{"line_number":186,"context_line":"  and optional agent TLS."}],"source_content_type":"text/x-rst","patch_set":2,"id":"f212672c_1802059e","line":183,"updated":"2026-10-27 14:54:22.000000000","message":"nit: personally, I\u0027d drop this and the next bullet points.","commit_id":"497e7036ffbdfd3390d898debb304b0123980c00"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"c464a054695fcead7139b901a55660ed78e0ae19","unresolved":false,"context_lines":[{"line_number":189,"context_line":"---------------------"},{"line_number":190,"context_line":""},{"line_number":191,"context_line":"A new mutable option, ``[deploy]warm_available``, defaults to ``False``."},{"line_number":192,"context_line":"The operator can override it per node with ``driver_info/warm_available``,"},{"line_number":193,"context_line":"in the same way as ``fast_track`` (see"},{"line_number":194,"context_line":"``ironic.common.utils.fast_track_enabled``). The option does not depend on"},{"line_number":195,"context_line":"``[deploy]fast_track``."}],"source_content_type":"text/x-rst","patch_set":2,"id":"3bdc9ff4_60a08643","line":192,"updated":"2026-10-27 14:54:22.000000000","message":"nit: I\u0027m slightly skeptical of making it node level configurable as an override in driver_info. I can see why but then I wonder what other paths someone might find them down in changing operating modes. I guess I\u0027m here thinking about the issues we encountered with fast track and seeing it as another entry path into headache. On a plus side, fast track is a good example and your taking a slightly more declared state so maybe its okay?!","commit_id":"497e7036ffbdfd3390d898debb304b0123980c00"},{"author":{"_account_id":35099,"name":"Jakub Jelinek","email":"kuba.jelinek@nscale.com","username":"kubajj"},"change_message_id":"ca9b113e7fea58215766433f15a96d5f0ae65c48","unresolved":false,"context_lines":[{"line_number":189,"context_line":"---------------------"},{"line_number":190,"context_line":""},{"line_number":191,"context_line":"A new mutable option, ``[deploy]warm_available``, defaults to ``False``."},{"line_number":192,"context_line":"The operator can override it per node with ``driver_info/warm_available``,"},{"line_number":193,"context_line":"in the same way as ``fast_track`` (see"},{"line_number":194,"context_line":"``ironic.common.utils.fast_track_enabled``). The option does not depend on"},{"line_number":195,"context_line":"``[deploy]fast_track``."}],"source_content_type":"text/x-rst","patch_set":2,"id":"5c5cf205_fb443c6e","line":192,"in_reply_to":"3bdc9ff4_60a08643","updated":"2026-10-28 09:05:17.000000000","message":"To be fair, I would be surprised if per node override would be used outside of testing - I might bring it as a follow-up, but will leave it out for now.","commit_id":"497e7036ffbdfd3390d898debb304b0123980c00"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"c464a054695fcead7139b901a55660ed78e0ae19","unresolved":true,"context_lines":[{"line_number":206,"context_line":"* The deploy interface does not implement ``prepare_warm_available``."},{"line_number":207,"context_line":""},{"line_number":208,"context_line":"In each case, Ironic logs the reason at debug level. The node is cold, and"},{"line_number":209,"context_line":"the next deployment uses the normal path."},{"line_number":210,"context_line":""},{"line_number":211,"context_line":"Lookup and heartbeat on warm nodes"},{"line_number":212,"context_line":"----------------------------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"6c190c7f_01e50f94","line":209,"updated":"2026-10-27 14:54:22.000000000","message":"This sort of might be interpreted as \"we\u0027re going to log success based upon constraints\". It might be better to not log at debug unless we\u0027re worried about this logging too much. Or at least switching this around.","commit_id":"497e7036ffbdfd3390d898debb304b0123980c00"},{"author":{"_account_id":35099,"name":"Jakub Jelinek","email":"kuba.jelinek@nscale.com","username":"kubajj"},"change_message_id":"ca9b113e7fea58215766433f15a96d5f0ae65c48","unresolved":false,"context_lines":[{"line_number":206,"context_line":"* The deploy interface does not implement ``prepare_warm_available``."},{"line_number":207,"context_line":""},{"line_number":208,"context_line":"In each case, Ironic logs the reason at debug level. The node is cold, and"},{"line_number":209,"context_line":"the next deployment uses the normal path."},{"line_number":210,"context_line":""},{"line_number":211,"context_line":"Lookup and heartbeat on warm nodes"},{"line_number":212,"context_line":"----------------------------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"762a96d6_7643b90a","line":209,"in_reply_to":"6c190c7f_01e50f94","updated":"2026-10-28 09:05:17.000000000","message":"Acknowledged","commit_id":"497e7036ffbdfd3390d898debb304b0123980c00"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"c464a054695fcead7139b901a55660ed78e0ae19","unresolved":true,"context_lines":[{"line_number":327,"context_line":"on ``provision_state`` (``available``), ``warm_state`` (``warm``),"},{"line_number":328,"context_line":"``maintenance`` (``False``) and ``reserved`` (``False``). Cold"},{"line_number":329,"context_line":"``available`` nodes are never loaded, so the cost grows with the number of"},{"line_number":330,"context_line":"warm nodes only. The task uses ``[conductor]periodic_max_workers`` like"},{"line_number":331,"context_line":"other node periodic tasks."},{"line_number":332,"context_line":""},{"line_number":333,"context_line":"The task uses the ``power_state`` that the existing power sync recorded."},{"line_number":334,"context_line":"It does not query the BMC to find stale nodes."}],"source_content_type":"text/x-rst","patch_set":2,"id":"a23dceac_a5c9a2bc","line":331,"range":{"start_line":330,"start_character":17,"end_line":331,"end_character":26},"updated":"2026-10-27 14:54:22.000000000","message":"nit: One thing to help LLMs not be super over verbose, is to give it a not to exceed line count. Like... 550 characters. In any event, this is noise because we wouldn\u0027t likely accept a separate thread pool for this, so it is implied to always be the standard and existing pool.","commit_id":"497e7036ffbdfd3390d898debb304b0123980c00"},{"author":{"_account_id":35099,"name":"Jakub Jelinek","email":"kuba.jelinek@nscale.com","username":"kubajj"},"change_message_id":"ca9b113e7fea58215766433f15a96d5f0ae65c48","unresolved":false,"context_lines":[{"line_number":327,"context_line":"on ``provision_state`` (``available``), ``warm_state`` (``warm``),"},{"line_number":328,"context_line":"``maintenance`` (``False``) and ``reserved`` (``False``). Cold"},{"line_number":329,"context_line":"``available`` nodes are never loaded, so the cost grows with the number of"},{"line_number":330,"context_line":"warm nodes only. The task uses ``[conductor]periodic_max_workers`` like"},{"line_number":331,"context_line":"other node periodic tasks."},{"line_number":332,"context_line":""},{"line_number":333,"context_line":"The task uses the ``power_state`` that the existing power sync recorded."},{"line_number":334,"context_line":"It does not query the BMC to find stale nodes."}],"source_content_type":"text/x-rst","patch_set":2,"id":"385b5d6c_a55f0fa6","line":331,"range":{"start_line":330,"start_character":17,"end_line":331,"end_character":26},"in_reply_to":"a23dceac_a5c9a2bc","updated":"2026-10-28 09:05:17.000000000","message":"Acknowledged","commit_id":"497e7036ffbdfd3390d898debb304b0123980c00"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"c464a054695fcead7139b901a55660ed78e0ae19","unresolved":true,"context_lines":[{"line_number":340,"context_line":""},{"line_number":341,"context_line":"* If the last heartbeat is newer than"},{"line_number":342,"context_line":"  ``[deploy]warm_available_heartbeat_timeout`` and the recorded"},{"line_number":343,"context_line":"  ``power_state`` is not ``power off``, the task does nothing."},{"line_number":344,"context_line":""},{"line_number":345,"context_line":"* If the heartbeat is older than that timeout, or the power sync recorded"},{"line_number":346,"context_line":"  the node as powered off, the task makes the node cold. It powers the node"}],"source_content_type":"text/x-rst","patch_set":2,"id":"ae208349_427d6b09","line":343,"updated":"2026-10-27 14:54:22.000000000","message":"So, I\u0027m just going to note that we\u0027re going deep in to the details in the spec when that might not be a great idea overall. In any vent, We should do all actions to disqualify pulling or acting on a node *before* pulling the lock.","commit_id":"497e7036ffbdfd3390d898debb304b0123980c00"},{"author":{"_account_id":35099,"name":"Jakub Jelinek","email":"kuba.jelinek@nscale.com","username":"kubajj"},"change_message_id":"ca9b113e7fea58215766433f15a96d5f0ae65c48","unresolved":true,"context_lines":[{"line_number":340,"context_line":""},{"line_number":341,"context_line":"* If the last heartbeat is newer than"},{"line_number":342,"context_line":"  ``[deploy]warm_available_heartbeat_timeout`` and the recorded"},{"line_number":343,"context_line":"  ``power_state`` is not ``power off``, the task does nothing."},{"line_number":344,"context_line":""},{"line_number":345,"context_line":"* If the heartbeat is older than that timeout, or the power sync recorded"},{"line_number":346,"context_line":"  the node as powered off, the task makes the node cold. It powers the node"}],"source_content_type":"text/x-rst","patch_set":2,"id":"46f64e0e_17a08db7","line":343,"in_reply_to":"ae208349_427d6b09","updated":"2026-10-28 09:05:17.000000000","message":"valid, I was just aiming for something that I can then take and follow the implementation after a sanity check that this makes kinda sense 😀","commit_id":"497e7036ffbdfd3390d898debb304b0123980c00"},{"author":{"_account_id":35099,"name":"Jakub Jelinek","email":"kuba.jelinek@nscale.com","username":"kubajj"},"change_message_id":"ca9b113e7fea58215766433f15a96d5f0ae65c48","unresolved":false,"context_lines":[{"line_number":433,"context_line":"Alternatives"},{"line_number":434,"context_line":"------------"},{"line_number":435,"context_line":""},{"line_number":436,"context_line":"* Do the warm-up as a clean step, such as ``deploy.prepare_warm``. Clean"},{"line_number":437,"context_line":"  steps run inside the cleaning network context. This step has to remove"},{"line_number":438,"context_line":"  that context and reboot, which clean steps are not designed to do. It"},{"line_number":439,"context_line":"  also makes the behavior depend on operators adding the step to every"}],"source_content_type":"text/x-rst","patch_set":2,"id":"20235da0_d46a3dc9","line":436,"range":{"start_line":436,"start_character":0,"end_line":436,"end_character":72},"updated":"2026-10-28 09:05:17.000000000","message":"To be honest, I might just drop this alternative.","commit_id":"497e7036ffbdfd3390d898debb304b0123980c00"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"c464a054695fcead7139b901a55660ed78e0ae19","unresolved":true,"context_lines":[{"line_number":435,"context_line":""},{"line_number":436,"context_line":"* Do the warm-up as a clean step, such as ``deploy.prepare_warm``. Clean"},{"line_number":437,"context_line":"  steps run inside the cleaning network context. This step has to remove"},{"line_number":438,"context_line":"  that context and reboot, which clean steps are not designed to do. It"},{"line_number":439,"context_line":"  also makes the behavior depend on operators adding the step to every"},{"line_number":440,"context_line":"  clean."},{"line_number":441,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"356a4f17_e7a55d4b","line":438,"range":{"start_line":438,"start_character":27,"end_line":438,"end_character":68},"updated":"2026-10-27 14:54:22.000000000","message":"Strictly speaking, this is not really true. You can, we do it today in a sense, but we\u0027ve never had a step do it. The challenge is the logical decision, does this apply or not on a deploy which *is* harder.","commit_id":"497e7036ffbdfd3390d898debb304b0123980c00"},{"author":{"_account_id":35099,"name":"Jakub Jelinek","email":"kuba.jelinek@nscale.com","username":"kubajj"},"change_message_id":"ca9b113e7fea58215766433f15a96d5f0ae65c48","unresolved":false,"context_lines":[{"line_number":435,"context_line":""},{"line_number":436,"context_line":"* Do the warm-up as a clean step, such as ``deploy.prepare_warm``. Clean"},{"line_number":437,"context_line":"  steps run inside the cleaning network context. This step has to remove"},{"line_number":438,"context_line":"  that context and reboot, which clean steps are not designed to do. It"},{"line_number":439,"context_line":"  also makes the behavior depend on operators adding the step to every"},{"line_number":440,"context_line":"  clean."},{"line_number":441,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"63ca5ce3_eba90331","line":438,"range":{"start_line":438,"start_character":27,"end_line":438,"end_character":68},"in_reply_to":"356a4f17_e7a55d4b","updated":"2026-10-28 09:05:17.000000000","message":"Acknowledged","commit_id":"497e7036ffbdfd3390d898debb304b0123980c00"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"c464a054695fcead7139b901a55660ed78e0ae19","unresolved":true,"context_lines":[{"line_number":436,"context_line":"* Do the warm-up as a clean step, such as ``deploy.prepare_warm``. Clean"},{"line_number":437,"context_line":"  steps run inside the cleaning network context. This step has to remove"},{"line_number":438,"context_line":"  that context and reboot, which clean steps are not designed to do. It"},{"line_number":439,"context_line":"  also makes the behavior depend on operators adding the step to every"},{"line_number":440,"context_line":"  clean."},{"line_number":441,"context_line":""},{"line_number":442,"context_line":"Data model impact"},{"line_number":443,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"cf26686e_fde40c5f","line":440,"range":{"start_line":439,"start_character":6,"end_line":440,"end_character":8},"updated":"2026-10-27 14:54:22.000000000","message":"also, strictly speaking, not true. A step could be given a value.","commit_id":"497e7036ffbdfd3390d898debb304b0123980c00"},{"author":{"_account_id":35099,"name":"Jakub Jelinek","email":"kuba.jelinek@nscale.com","username":"kubajj"},"change_message_id":"ca9b113e7fea58215766433f15a96d5f0ae65c48","unresolved":false,"context_lines":[{"line_number":436,"context_line":"* Do the warm-up as a clean step, such as ``deploy.prepare_warm``. Clean"},{"line_number":437,"context_line":"  steps run inside the cleaning network context. This step has to remove"},{"line_number":438,"context_line":"  that context and reboot, which clean steps are not designed to do. It"},{"line_number":439,"context_line":"  also makes the behavior depend on operators adding the step to every"},{"line_number":440,"context_line":"  clean."},{"line_number":441,"context_line":""},{"line_number":442,"context_line":"Data model impact"},{"line_number":443,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"bfa50f6a_5503fcb5","line":440,"range":{"start_line":439,"start_character":6,"end_line":440,"end_character":8},"in_reply_to":"cf26686e_fde40c5f","updated":"2026-10-28 09:05:17.000000000","message":"Acknowledged","commit_id":"497e7036ffbdfd3390d898debb304b0123980c00"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"c464a054695fcead7139b901a55660ed78e0ae19","unresolved":true,"context_lines":[{"line_number":486,"context_line":"  ``GET /v1/nodes/detail``, for example ``?warm_state\u003dwarm``."},{"line_number":487,"context_line":""},{"line_number":488,"context_line":"Older microversions do not show the field and reject the query parameter."},{"line_number":489,"context_line":"A new policy, ``baremetal:node:get:warm_state``, controls who can read it."},{"line_number":490,"context_line":"The default is the same as for ``provision_state``. A ``PATCH`` request"},{"line_number":491,"context_line":"cannot change the field."},{"line_number":492,"context_line":""},{"line_number":493,"context_line":"Client (CLI) impact"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3d29e226_6624aa47","line":490,"range":{"start_line":489,"start_character":0,"end_line":490,"end_character":51},"updated":"2026-10-27 14:54:22.000000000","message":"nit: sort of curious if we *really* need a policy on a parameter\u0027s ability to ask when the user is really exercising baremetal:node:list behavior. I guess the question is more: what value does it have?","commit_id":"497e7036ffbdfd3390d898debb304b0123980c00"},{"author":{"_account_id":35099,"name":"Jakub Jelinek","email":"kuba.jelinek@nscale.com","username":"kubajj"},"change_message_id":"ca9b113e7fea58215766433f15a96d5f0ae65c48","unresolved":false,"context_lines":[{"line_number":486,"context_line":"  ``GET /v1/nodes/detail``, for example ``?warm_state\u003dwarm``."},{"line_number":487,"context_line":""},{"line_number":488,"context_line":"Older microversions do not show the field and reject the query parameter."},{"line_number":489,"context_line":"A new policy, ``baremetal:node:get:warm_state``, controls who can read it."},{"line_number":490,"context_line":"The default is the same as for ``provision_state``. A ``PATCH`` request"},{"line_number":491,"context_line":"cannot change the field."},{"line_number":492,"context_line":""},{"line_number":493,"context_line":"Client (CLI) impact"}],"source_content_type":"text/x-rst","patch_set":2,"id":"01307f1d_aa414271","line":490,"range":{"start_line":489,"start_character":0,"end_line":490,"end_character":51},"in_reply_to":"3d29e226_6624aa47","updated":"2026-10-28 09:05:17.000000000","message":"True, I would say we do not necessarily need it and it simplifies the change, so I will just drop it","commit_id":"497e7036ffbdfd3390d898debb304b0123980c00"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"c464a054695fcead7139b901a55660ed78e0ae19","unresolved":true,"context_lines":[{"line_number":551,"context_line":"today."},{"line_number":552,"context_line":""},{"line_number":553,"context_line":"Nova does not know which nodes are warm, and it schedules them like any"},{"line_number":554,"context_line":"other ``available`` node."},{"line_number":555,"context_line":""},{"line_number":556,"context_line":"Ramdisk impact"},{"line_number":557,"context_line":"--------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"4923f962_0bc87402","line":554,"updated":"2026-10-27 14:54:22.000000000","message":"So, this is sort of why I think it would make sense to auto-re-warm in the end, because you can\u0027t weight nova nodes to consume only warm nodes or lean towards warm nodes.\n\nThe result if your hardware dislikes you and kicks the connection breaking the ramdisk operation, ends up being something along the lines of: Oh, let me prepare the environment for deploy so folks will deploy in the next hour, forcing re-cleaning which may itself be a heavy process to reach that ready state.","commit_id":"497e7036ffbdfd3390d898debb304b0123980c00"},{"author":{"_account_id":35099,"name":"Jakub Jelinek","email":"kuba.jelinek@nscale.com","username":"kubajj"},"change_message_id":"ca9b113e7fea58215766433f15a96d5f0ae65c48","unresolved":true,"context_lines":[{"line_number":551,"context_line":"today."},{"line_number":552,"context_line":""},{"line_number":553,"context_line":"Nova does not know which nodes are warm, and it schedules them like any"},{"line_number":554,"context_line":"other ``available`` node."},{"line_number":555,"context_line":""},{"line_number":556,"context_line":"Ramdisk impact"},{"line_number":557,"context_line":"--------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"99efd838_05d64209","line":554,"in_reply_to":"4923f962_0bc87402","updated":"2026-10-28 09:05:17.000000000","message":"Yes, I agree - re-warming is planned, but I would like to go step by step and implement the scoped-down version before thinking about adapting the state machine","commit_id":"497e7036ffbdfd3390d898debb304b0123980c00"},{"author":{"_account_id":35099,"name":"Jakub Jelinek","email":"kuba.jelinek@nscale.com","username":"kubajj"},"change_message_id":"1f4ff4d711bc806ed34a0b84ca5bd7b4d03b55c6","unresolved":false,"context_lines":[{"line_number":551,"context_line":"today."},{"line_number":552,"context_line":""},{"line_number":553,"context_line":"Nova does not know which nodes are warm, and it schedules them like any"},{"line_number":554,"context_line":"other ``available`` node."},{"line_number":555,"context_line":""},{"line_number":556,"context_line":"Ramdisk impact"},{"line_number":557,"context_line":"--------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"8c912724_0cf4a84e","line":554,"in_reply_to":"99efd838_05d64209","updated":"2026-11-11 07:35:00.000000000","message":"Re-warming added as a phase 2 as discussed on IRC","commit_id":"497e7036ffbdfd3390d898debb304b0123980c00"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"c464a054695fcead7139b901a55660ed78e0ae19","unresolved":true,"context_lines":[{"line_number":559,"context_line":"None. The agent already does lookup and periodic heartbeats while it waits"},{"line_number":560,"context_line":"for commands. As a later option, the agent can report the network or IP"},{"line_number":561,"context_line":"address it came up on, so the conductor can compare it with the"},{"line_number":562,"context_line":"provisioning network."},{"line_number":563,"context_line":""},{"line_number":564,"context_line":"Security impact"},{"line_number":565,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"2d6b4c5e_18a6d64e","line":562,"updated":"2026-10-27 14:54:22.000000000","message":"I\u0027d just put \"None.\" The agent always reports it\u0027s address. The issue is logic to compare, which delivers no real value except as re-enforcement that somehow we didn\u0027t end up on the same network, but even then what really is the issue if someone intentionally shares the same network? Ultimately this seems like noise.","commit_id":"497e7036ffbdfd3390d898debb304b0123980c00"},{"author":{"_account_id":35099,"name":"Jakub Jelinek","email":"kuba.jelinek@nscale.com","username":"kubajj"},"change_message_id":"ca9b113e7fea58215766433f15a96d5f0ae65c48","unresolved":false,"context_lines":[{"line_number":559,"context_line":"None. The agent already does lookup and periodic heartbeats while it waits"},{"line_number":560,"context_line":"for commands. As a later option, the agent can report the network or IP"},{"line_number":561,"context_line":"address it came up on, so the conductor can compare it with the"},{"line_number":562,"context_line":"provisioning network."},{"line_number":563,"context_line":""},{"line_number":564,"context_line":"Security impact"},{"line_number":565,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"6fcfce6c_41490eb6","line":562,"in_reply_to":"2d6b4c5e_18a6d64e","updated":"2026-10-28 09:05:17.000000000","message":"Done","commit_id":"497e7036ffbdfd3390d898debb304b0123980c00"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"c464a054695fcead7139b901a55660ed78e0ae19","unresolved":true,"context_lines":[{"line_number":585,"context_line":"  sure that tenants cannot reach the provisioning network. Use agent TLS"},{"line_number":586,"context_line":"  (``[agent]verify_ca`` or auto-TLS) where it is available."},{"line_number":587,"context_line":""},{"line_number":588,"context_line":"* The node holds no tenant data, because cleaning already completed."},{"line_number":589,"context_line":""},{"line_number":590,"context_line":"Other end user impact"},{"line_number":591,"context_line":"---------------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"92204c91_198cf3e7","line":588,"updated":"2026-10-27 14:54:22.000000000","message":"nit: This is not an impact, its expected state.","commit_id":"497e7036ffbdfd3390d898debb304b0123980c00"},{"author":{"_account_id":35099,"name":"Jakub Jelinek","email":"kuba.jelinek@nscale.com","username":"kubajj"},"change_message_id":"ca9b113e7fea58215766433f15a96d5f0ae65c48","unresolved":false,"context_lines":[{"line_number":585,"context_line":"  sure that tenants cannot reach the provisioning network. Use agent TLS"},{"line_number":586,"context_line":"  (``[agent]verify_ca`` or auto-TLS) where it is available."},{"line_number":587,"context_line":""},{"line_number":588,"context_line":"* The node holds no tenant data, because cleaning already completed."},{"line_number":589,"context_line":""},{"line_number":590,"context_line":"Other end user impact"},{"line_number":591,"context_line":"---------------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"91212172_ca7197d3","line":588,"in_reply_to":"92204c91_198cf3e7","updated":"2026-10-28 09:05:17.000000000","message":"Acknowledged","commit_id":"497e7036ffbdfd3390d898debb304b0123980c00"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"c464a054695fcead7139b901a55660ed78e0ae19","unresolved":true,"context_lines":[{"line_number":690,"context_line":"  ``ironic-networking`` interface. That interface can adopt this feature"},{"line_number":691,"context_line":"  in a later change."},{"line_number":692,"context_line":""},{"line_number":693,"context_line":""},{"line_number":694,"context_line":"Testing"},{"line_number":695,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":696,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"b410aec9_23e6ff3b","line":693,"updated":"2026-10-27 14:54:22.000000000","message":"This whole section likely ought to just be: None. The standalone networking work is not a dependency for this work nor is it dependent upon this work either.","commit_id":"497e7036ffbdfd3390d898debb304b0123980c00"},{"author":{"_account_id":35099,"name":"Jakub Jelinek","email":"kuba.jelinek@nscale.com","username":"kubajj"},"change_message_id":"ca9b113e7fea58215766433f15a96d5f0ae65c48","unresolved":false,"context_lines":[{"line_number":690,"context_line":"  ``ironic-networking`` interface. That interface can adopt this feature"},{"line_number":691,"context_line":"  in a later change."},{"line_number":692,"context_line":""},{"line_number":693,"context_line":""},{"line_number":694,"context_line":"Testing"},{"line_number":695,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":696,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"dd8e4d9e_3eac3120","line":693,"in_reply_to":"b410aec9_23e6ff3b","updated":"2026-10-28 09:05:17.000000000","message":"Acknowledged","commit_id":"497e7036ffbdfd3390d898debb304b0123980c00"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"abfc00a08dee37f71d9bc0569d10895fc01be4ce","unresolved":true,"context_lines":[{"line_number":130,"context_line":""},{"line_number":131,"context_line":"If a deployment starts on a node that is not warm, the deployment uses the"},{"line_number":132,"context_line":"normal path that reboots the node. That path does not change."},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"Guarantees"},{"line_number":135,"context_line":"----------"},{"line_number":136,"context_line":""},{"line_number":137,"context_line":"The design keeps these rules:"},{"line_number":138,"context_line":""},{"line_number":139,"context_line":"* A node that did not finish cleaning is never on the provisioning network."},{"line_number":140,"context_line":"  Ironic adds the provisioning network only after the last clean step"},{"line_number":141,"context_line":"  succeeds and the node is powered off."},{"line_number":142,"context_line":""},{"line_number":143,"context_line":"* A deployment never runs on the cleaning network. Ironic removes the"},{"line_number":144,"context_line":"  cleaning network while the node is powered off, before the agent boots"},{"line_number":145,"context_line":"  for the provisioning network."},{"line_number":146,"context_line":""},{"line_number":147,"context_line":"* The code never changes ports under a running agent. Each network change"},{"line_number":148,"context_line":"  happens while the node is powered off."},{"line_number":149,"context_line":""},{"line_number":150,"context_line":"These rules need a power off. For this reason, Ironic does not warm a node"},{"line_number":151,"context_line":"that cannot power off (see `Enabling the behavior`_)."},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"Scope"},{"line_number":154,"context_line":"-----"},{"line_number":155,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"c1f8de46_e62eb963","line":152,"range":{"start_line":133,"start_character":0,"end_line":152,"end_character":0},"updated":"2026-11-09 21:13:01.000000000","message":"I\u0027m really not a fan of this AI-ism style of writing, if you revise again I\u0027d like to see it dropped since the problem description should already cover most of it beyond table stakes in the project.","commit_id":"dd082f9d3898aaa6a47347815704b5f7e02bd5f7"},{"author":{"_account_id":35099,"name":"Jakub Jelinek","email":"kuba.jelinek@nscale.com","username":"kubajj"},"change_message_id":"1f4ff4d711bc806ed34a0b84ca5bd7b4d03b55c6","unresolved":false,"context_lines":[{"line_number":130,"context_line":""},{"line_number":131,"context_line":"If a deployment starts on a node that is not warm, the deployment uses the"},{"line_number":132,"context_line":"normal path that reboots the node. That path does not change."},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"Guarantees"},{"line_number":135,"context_line":"----------"},{"line_number":136,"context_line":""},{"line_number":137,"context_line":"The design keeps these rules:"},{"line_number":138,"context_line":""},{"line_number":139,"context_line":"* A node that did not finish cleaning is never on the provisioning network."},{"line_number":140,"context_line":"  Ironic adds the provisioning network only after the last clean step"},{"line_number":141,"context_line":"  succeeds and the node is powered off."},{"line_number":142,"context_line":""},{"line_number":143,"context_line":"* A deployment never runs on the cleaning network. Ironic removes the"},{"line_number":144,"context_line":"  cleaning network while the node is powered off, before the agent boots"},{"line_number":145,"context_line":"  for the provisioning network."},{"line_number":146,"context_line":""},{"line_number":147,"context_line":"* The code never changes ports under a running agent. Each network change"},{"line_number":148,"context_line":"  happens while the node is powered off."},{"line_number":149,"context_line":""},{"line_number":150,"context_line":"These rules need a power off. For this reason, Ironic does not warm a node"},{"line_number":151,"context_line":"that cannot power off (see `Enabling the behavior`_)."},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"Scope"},{"line_number":154,"context_line":"-----"},{"line_number":155,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"6f82e6a4_b1e1cc9e","line":152,"range":{"start_line":133,"start_character":0,"end_line":152,"end_character":0},"in_reply_to":"c1f8de46_e62eb963","updated":"2026-11-11 07:35:00.000000000","message":"Acknowledged","commit_id":"dd082f9d3898aaa6a47347815704b5f7e02bd5f7"},{"author":{"_account_id":14228,"name":"Clif Houck","email":"me@clifhouck.com","username":"clif_h"},"change_message_id":"8070af78f21a00a393802670a0b5a891508e3a84","unresolved":true,"context_lines":[{"line_number":188,"context_line":"* The network interface reports that the cleaning and provisioning networks"},{"line_number":189,"context_line":"  are the same, or it does not implement the helper."},{"line_number":190,"context_line":"* The node has ``disable_power_off`` set. Ironic cannot make the network"},{"line_number":191,"context_line":"  change while the node is powered off."},{"line_number":192,"context_line":"* ``[agent]manage_agent_boot`` is ``False``. Ironic does not control the"},{"line_number":193,"context_line":"  boot of the agent on the provisioning network."},{"line_number":194,"context_line":"* The deploy interface does not implement ``prepare_warm_available``."}],"source_content_type":"text/x-rst","patch_set":3,"id":"9e592c2b_9ddb9185","line":191,"updated":"2026-11-09 20:06:44.000000000","message":"Is this supposed to read \u0027powered on\u0027 instead?","commit_id":"dd082f9d3898aaa6a47347815704b5f7e02bd5f7"},{"author":{"_account_id":35099,"name":"Jakub Jelinek","email":"kuba.jelinek@nscale.com","username":"kubajj"},"change_message_id":"1f4ff4d711bc806ed34a0b84ca5bd7b4d03b55c6","unresolved":false,"context_lines":[{"line_number":188,"context_line":"* The network interface reports that the cleaning and provisioning networks"},{"line_number":189,"context_line":"  are the same, or it does not implement the helper."},{"line_number":190,"context_line":"* The node has ``disable_power_off`` set. Ironic cannot make the network"},{"line_number":191,"context_line":"  change while the node is powered off."},{"line_number":192,"context_line":"* ``[agent]manage_agent_boot`` is ``False``. Ironic does not control the"},{"line_number":193,"context_line":"  boot of the agent on the provisioning network."},{"line_number":194,"context_line":"* The deploy interface does not implement ``prepare_warm_available``."}],"source_content_type":"text/x-rst","patch_set":3,"id":"813fae10_8b547fca","line":191,"in_reply_to":"5712b1f1_7ccfea81","updated":"2026-11-11 07:35:00.000000000","message":"Acknowledged","commit_id":"dd082f9d3898aaa6a47347815704b5f7e02bd5f7"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"abfc00a08dee37f71d9bc0569d10895fc01be4ce","unresolved":true,"context_lines":[{"line_number":188,"context_line":"* The network interface reports that the cleaning and provisioning networks"},{"line_number":189,"context_line":"  are the same, or it does not implement the helper."},{"line_number":190,"context_line":"* The node has ``disable_power_off`` set. Ironic cannot make the network"},{"line_number":191,"context_line":"  change while the node is powered off."},{"line_number":192,"context_line":"* ``[agent]manage_agent_boot`` is ``False``. Ironic does not control the"},{"line_number":193,"context_line":"  boot of the agent on the provisioning network."},{"line_number":194,"context_line":"* The deploy interface does not implement ``prepare_warm_available``."}],"source_content_type":"text/x-rst","patch_set":3,"id":"5712b1f1_7ccfea81","line":191,"in_reply_to":"9e592c2b_9ddb9185","updated":"2026-11-09 21:13:01.000000000","message":"Yes, it should read powered_on. The base issue here, and this is an entirely different use case, is baremetal nodes which are utilizing the shared inband interface for the BMC on a network interface. Meaning, even moving the network is a problem. Basically it is a metal3 only use case problem that baremetal cloud operators would have rejected the hardware for.","commit_id":"dd082f9d3898aaa6a47347815704b5f7e02bd5f7"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"abfc00a08dee37f71d9bc0569d10895fc01be4ce","unresolved":true,"context_lines":[{"line_number":224,"context_line":"* ``warm``: the node is ``available`` and its agent sends heartbeats on the"},{"line_number":225,"context_line":"  provisioning network."},{"line_number":226,"context_line":""},{"line_number":227,"context_line":"Only the conductor writes this field. A database column lets the API and"},{"line_number":228,"context_line":"the periodic task select warm nodes with a database filter. They do not"},{"line_number":229,"context_line":"need to load and examine every ``available`` node."},{"line_number":230,"context_line":""},{"line_number":231,"context_line":"Cleaning changes"},{"line_number":232,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"17f5145a_fa6b9176","line":229,"range":{"start_line":227,"start_character":0,"end_line":229,"end_character":50},"updated":"2026-11-09 21:13:01.000000000","message":"So, a contributor inherently knows this. An LLM wants to write it to increase your token usage. If you can try and \"keep it to the point\" and not be overly verbose. Recommend an upper line limit moving forward, will help with clarity.  The overall danger here is LLMs like to reiterate and provide extra context, but its from session context and can be wrong as well. So, to the point helps keep things clear and much more specific for the readers while reducing the code reviewer overhead of burning mental capacity reading extra words.","commit_id":"dd082f9d3898aaa6a47347815704b5f7e02bd5f7"},{"author":{"_account_id":35099,"name":"Jakub Jelinek","email":"kuba.jelinek@nscale.com","username":"kubajj"},"change_message_id":"1f4ff4d711bc806ed34a0b84ca5bd7b4d03b55c6","unresolved":false,"context_lines":[{"line_number":224,"context_line":"* ``warm``: the node is ``available`` and its agent sends heartbeats on the"},{"line_number":225,"context_line":"  provisioning network."},{"line_number":226,"context_line":""},{"line_number":227,"context_line":"Only the conductor writes this field. A database column lets the API and"},{"line_number":228,"context_line":"the periodic task select warm nodes with a database filter. They do not"},{"line_number":229,"context_line":"need to load and examine every ``available`` node."},{"line_number":230,"context_line":""},{"line_number":231,"context_line":"Cleaning changes"},{"line_number":232,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"11ec17ed_8cd612aa","line":229,"range":{"start_line":227,"start_character":0,"end_line":229,"end_character":50},"in_reply_to":"17f5145a_fa6b9176","updated":"2026-11-11 07:35:00.000000000","message":"Acknowledged","commit_id":"dd082f9d3898aaa6a47347815704b5f7e02bd5f7"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"abfc00a08dee37f71d9bc0569d10895fc01be4ce","unresolved":true,"context_lines":[{"line_number":239,"context_line":"``CLEANING`` to ``CLEANWAIT`` to ``CLEANING`` round at the end of this"},{"line_number":240,"context_line":"flow, and uses only existing events."},{"line_number":241,"context_line":""},{"line_number":242,"context_line":"In ``ironic.conductor.cleaning.do_next_clean_step``, after the last clean"},{"line_number":243,"context_line":"step completes and before ``process_event(\u0027done\u0027)``, the conductor calls a"},{"line_number":244,"context_line":"new optional deploy interface method, ``prepare_warm_available(task)``"},{"line_number":245,"context_line":"(see `Driver API impact`_):"},{"line_number":246,"context_line":""},{"line_number":247,"context_line":"* If the method returns ``None``, cleaning finishes as it does today."},{"line_number":248,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"565719c9_88346dc2","line":245,"range":{"start_line":242,"start_character":0,"end_line":245,"end_character":27},"updated":"2026-11-09 21:13:01.000000000","message":"This is the needful, the paragraph before is just noise.","commit_id":"dd082f9d3898aaa6a47347815704b5f7e02bd5f7"},{"author":{"_account_id":35099,"name":"Jakub Jelinek","email":"kuba.jelinek@nscale.com","username":"kubajj"},"change_message_id":"1f4ff4d711bc806ed34a0b84ca5bd7b4d03b55c6","unresolved":false,"context_lines":[{"line_number":239,"context_line":"``CLEANING`` to ``CLEANWAIT`` to ``CLEANING`` round at the end of this"},{"line_number":240,"context_line":"flow, and uses only existing events."},{"line_number":241,"context_line":""},{"line_number":242,"context_line":"In ``ironic.conductor.cleaning.do_next_clean_step``, after the last clean"},{"line_number":243,"context_line":"step completes and before ``process_event(\u0027done\u0027)``, the conductor calls a"},{"line_number":244,"context_line":"new optional deploy interface method, ``prepare_warm_available(task)``"},{"line_number":245,"context_line":"(see `Driver API impact`_):"},{"line_number":246,"context_line":""},{"line_number":247,"context_line":"* If the method returns ``None``, cleaning finishes as it does today."},{"line_number":248,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"b20ee208_9aac7bda","line":245,"range":{"start_line":242,"start_character":0,"end_line":245,"end_character":27},"in_reply_to":"565719c9_88346dc2","updated":"2026-11-11 07:35:00.000000000","message":"Acknowledged","commit_id":"dd082f9d3898aaa6a47347815704b5f7e02bd5f7"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"abfc00a08dee37f71d9bc0569d10895fc01be4ce","unresolved":true,"context_lines":[{"line_number":331,"context_line":""},{"line_number":332,"context_line":"The task does not boot the agent again. See `Follow-up work`_."},{"line_number":333,"context_line":""},{"line_number":334,"context_line":"Virtual media"},{"line_number":335,"context_line":"-------------"},{"line_number":336,"context_line":""},{"line_number":337,"context_line":"Some BMCs only keep a virtual media mount for about 90 minutes. A warm node"},{"line_number":338,"context_line":"can stay ``available`` for much longer than that. The agent runs from"},{"line_number":339,"context_line":"memory, so this does not affect a running agent. If the node reboots for"},{"line_number":340,"context_line":"any reason, it cannot boot the agent from the old mount. Its heartbeats"},{"line_number":341,"context_line":"stop, and the periodic task makes the node cold. The next deployment then"},{"line_number":342,"context_line":"uses the normal path, which prepares the boot media again."},{"line_number":343,"context_line":""},{"line_number":344,"context_line":"Leaving the warm state"},{"line_number":345,"context_line":"----------------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"c24d3a02_cc2eddc0","line":342,"range":{"start_line":334,"start_character":0,"end_line":342,"end_character":58},"updated":"2026-11-09 21:13:01.000000000","message":"So, this likely just ought to be a note, not a separate section. i.e. not helping the verbosity level.","commit_id":"dd082f9d3898aaa6a47347815704b5f7e02bd5f7"},{"author":{"_account_id":35099,"name":"Jakub Jelinek","email":"kuba.jelinek@nscale.com","username":"kubajj"},"change_message_id":"1f4ff4d711bc806ed34a0b84ca5bd7b4d03b55c6","unresolved":false,"context_lines":[{"line_number":331,"context_line":""},{"line_number":332,"context_line":"The task does not boot the agent again. See `Follow-up work`_."},{"line_number":333,"context_line":""},{"line_number":334,"context_line":"Virtual media"},{"line_number":335,"context_line":"-------------"},{"line_number":336,"context_line":""},{"line_number":337,"context_line":"Some BMCs only keep a virtual media mount for about 90 minutes. A warm node"},{"line_number":338,"context_line":"can stay ``available`` for much longer than that. The agent runs from"},{"line_number":339,"context_line":"memory, so this does not affect a running agent. If the node reboots for"},{"line_number":340,"context_line":"any reason, it cannot boot the agent from the old mount. Its heartbeats"},{"line_number":341,"context_line":"stop, and the periodic task makes the node cold. The next deployment then"},{"line_number":342,"context_line":"uses the normal path, which prepares the boot media again."},{"line_number":343,"context_line":""},{"line_number":344,"context_line":"Leaving the warm state"},{"line_number":345,"context_line":"----------------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"3e01b471_dce4e214","line":342,"range":{"start_line":334,"start_character":0,"end_line":342,"end_character":58},"in_reply_to":"c24d3a02_cc2eddc0","updated":"2026-11-11 07:35:00.000000000","message":"Acknowledged","commit_id":"dd082f9d3898aaa6a47347815704b5f7e02bd5f7"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"abfc00a08dee37f71d9bc0569d10895fc01be4ce","unresolved":true,"context_lines":[{"line_number":347,"context_line":"These events also set ``warm_state`` to ``None``. Ironic also removes the"},{"line_number":348,"context_line":"provisioning network, cleans up the ramdisk and wipes the agent token, as"},{"line_number":349,"context_line":"the periodic task does. The next deployment then uses the normal path, and"},{"line_number":350,"context_line":"the periodic task ignores the node:"},{"line_number":351,"context_line":""},{"line_number":352,"context_line":"* a power action through the API."},{"line_number":353,"context_line":"* leaving ``available`` through ``manage``."}],"source_content_type":"text/x-rst","patch_set":3,"id":"30ccedcc_c039b70e","line":350,"updated":"2026-11-09 21:13:01.000000000","message":"I\u0027m just going to note that this is a bit awkwardly worded.","commit_id":"dd082f9d3898aaa6a47347815704b5f7e02bd5f7"},{"author":{"_account_id":35099,"name":"Jakub Jelinek","email":"kuba.jelinek@nscale.com","username":"kubajj"},"change_message_id":"1f4ff4d711bc806ed34a0b84ca5bd7b4d03b55c6","unresolved":false,"context_lines":[{"line_number":347,"context_line":"These events also set ``warm_state`` to ``None``. Ironic also removes the"},{"line_number":348,"context_line":"provisioning network, cleans up the ramdisk and wipes the agent token, as"},{"line_number":349,"context_line":"the periodic task does. The next deployment then uses the normal path, and"},{"line_number":350,"context_line":"the periodic task ignores the node:"},{"line_number":351,"context_line":""},{"line_number":352,"context_line":"* a power action through the API."},{"line_number":353,"context_line":"* leaving ``available`` through ``manage``."}],"source_content_type":"text/x-rst","patch_set":3,"id":"d29a645d_f4626e54","line":350,"in_reply_to":"30ccedcc_c039b70e","updated":"2026-11-11 07:35:00.000000000","message":"Acknowledged","commit_id":"dd082f9d3898aaa6a47347815704b5f7e02bd5f7"},{"author":{"_account_id":34373,"name":"Jason Paroly","email":"jparoly@redhat.com","username":"jparoly"},"change_message_id":"34bc133a74a3586d42a57eeafa24b480b20628f3","unresolved":true,"context_lines":[{"line_number":351,"context_line":""},{"line_number":352,"context_line":"* a power action through the API."},{"line_number":353,"context_line":"* leaving ``available`` through ``manage``."},{"line_number":354,"context_line":"* changes to the ports or portgroups of the node, or to its"},{"line_number":355,"context_line":"  ``network_interface``, ``boot_interface``, ``deploy_interface`` or"},{"line_number":356,"context_line":"  related ``driver_info``."},{"line_number":357,"context_line":"* entering maintenance mode."}],"source_content_type":"text/x-rst","patch_set":3,"id":"088d7bf5_f2b63a22","line":354,"updated":"2026-10-30 13:17:53.000000000","message":"I\u0027m wondering if we want to explicitly exclude VIF attach/detach as port changes for this purpose or state which port changes matter rather than any change.  Just a suggestion, does it make sense?\n\nreasoning: Nova plugs VIFs on the node while it\u0027s still available — _build_resources calls prepare_networks_before_block_device_mapping → attach_vif_to_node before driver.spawn triggers the deploy — and Ironic\u0027s VIF attach records the VIF by saving the port/portgroup object (VIFPortIDMixin._save_vif_to_port_like_obj, ironic/drivers/modules/network/common.py). So depending on how \"changes to the ports\" is implemented (e.g. object-level hooks vs. the port PATCH path), every Nova deployment could cool the node seconds before AgentDeploy.prepare runs, silently defeating the feature.","commit_id":"dd082f9d3898aaa6a47347815704b5f7e02bd5f7"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"abfc00a08dee37f71d9bc0569d10895fc01be4ce","unresolved":true,"context_lines":[{"line_number":351,"context_line":""},{"line_number":352,"context_line":"* a power action through the API."},{"line_number":353,"context_line":"* leaving ``available`` through ``manage``."},{"line_number":354,"context_line":"* changes to the ports or portgroups of the node, or to its"},{"line_number":355,"context_line":"  ``network_interface``, ``boot_interface``, ``deploy_interface`` or"},{"line_number":356,"context_line":"  related ``driver_info``."},{"line_number":357,"context_line":"* entering maintenance mode."}],"source_content_type":"text/x-rst","patch_set":3,"id":"d748fce9_89d5798a","line":354,"in_reply_to":"088d7bf5_f2b63a22","updated":"2026-11-09 21:13:01.000000000","message":"So, when we\u0027re not in an active state, vif attaches and detaches are strictly configuration which is saved and not acted on, so I think what your noting is disjointed. A warm node, left in the state would just record the desired vif. I *think* the spec author is basically trying to just guard additional changes outside of the vif flow. I think.  I guess I\u0027d like more detail here, overall.\n\nRe-reading, yeah, its the intent to guard the behavior to block things out. Adding/setting vifs would be part of engaging the node to be used.","commit_id":"dd082f9d3898aaa6a47347815704b5f7e02bd5f7"},{"author":{"_account_id":35099,"name":"Jakub Jelinek","email":"kuba.jelinek@nscale.com","username":"kubajj"},"change_message_id":"1f4ff4d711bc806ed34a0b84ca5bd7b4d03b55c6","unresolved":false,"context_lines":[{"line_number":351,"context_line":""},{"line_number":352,"context_line":"* a power action through the API."},{"line_number":353,"context_line":"* leaving ``available`` through ``manage``."},{"line_number":354,"context_line":"* changes to the ports or portgroups of the node, or to its"},{"line_number":355,"context_line":"  ``network_interface``, ``boot_interface``, ``deploy_interface`` or"},{"line_number":356,"context_line":"  related ``driver_info``."},{"line_number":357,"context_line":"* entering maintenance mode."}],"source_content_type":"text/x-rst","patch_set":3,"id":"9169c832_795da3e9","line":354,"in_reply_to":"d748fce9_89d5798a","updated":"2026-11-11 07:35:00.000000000","message":"Acknowledged","commit_id":"dd082f9d3898aaa6a47347815704b5f7e02bd5f7"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"abfc00a08dee37f71d9bc0569d10895fc01be4ce","unresolved":true,"context_lines":[{"line_number":368,"context_line":""},{"line_number":369,"context_line":"Deployment changes"},{"line_number":370,"context_line":"------------------"},{"line_number":371,"context_line":""},{"line_number":372,"context_line":"``AgentDeploy.prepare`` already has a fast track branch. It gets a similar"},{"line_number":373,"context_line":"branch for a node with ``warm_state`` set to ``warm`` and a heartbeat newer"},{"line_number":374,"context_line":"than ``[deploy]warm_available_heartbeat_timeout``. This branch skips"},{"line_number":375,"context_line":"``unconfigure_tenant_networks`` and ``add_provisioning_network``. It keeps"},{"line_number":376,"context_line":"the provisioning ports that the running agent uses."},{"line_number":377,"context_line":""},{"line_number":378,"context_line":"Before it reuses the agent, the deploy interface makes two quick checks."},{"line_number":379,"context_line":"The agent must answer a call to its API, and every port with PXE enabled"},{"line_number":380,"context_line":"must still have the ``provisioning_vif_port_id`` recorded during warm-up."},{"line_number":381,"context_line":"If a check fails, it uses the normal path."},{"line_number":382,"context_line":""},{"line_number":383,"context_line":"``CustomAgentDeploy.deploy`` and the other places that skip the reboot when"},{"line_number":384,"context_line":"``is_fast_track()`` is true also skip it for a warm node. The final"},{"line_number":385,"context_line":"``tear_down_agent``, ``switch_to_tenant_network`` and ``boot_instance``"},{"line_number":386,"context_line":"steps do not change, so the handoff to the tenant network works as it does"},{"line_number":387,"context_line":"today. Ironic sets ``warm_state`` to ``None`` when the deployment starts."},{"line_number":388,"context_line":""},{"line_number":389,"context_line":"The deployment and the periodic task both hold the exclusive node lock"},{"line_number":390,"context_line":"while they read and change ``warm_state``. If the periodic task makes the"},{"line_number":391,"context_line":"node cold first, the deployment sees ``None`` and uses the normal path. If"},{"line_number":392,"context_line":"the deployment starts first, the node is no longer ``available``, and the"},{"line_number":393,"context_line":"periodic task skips it."},{"line_number":394,"context_line":""},{"line_number":395,"context_line":"Follow-up work"},{"line_number":396,"context_line":"--------------"},{"line_number":397,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"6f2718de_ce6b68f1","line":394,"range":{"start_line":371,"start_character":0,"end_line":394,"end_character":0},"updated":"2026-11-09 21:13:01.000000000","message":"My gut feeling is this can be condensed into a single paragraph. The core need is to identify and fallback if the criteria is not met. or if they are met, fall into this path. We don\u0027t need all of the extra deep details reiterated.","commit_id":"dd082f9d3898aaa6a47347815704b5f7e02bd5f7"},{"author":{"_account_id":35099,"name":"Jakub Jelinek","email":"kuba.jelinek@nscale.com","username":"kubajj"},"change_message_id":"1f4ff4d711bc806ed34a0b84ca5bd7b4d03b55c6","unresolved":false,"context_lines":[{"line_number":368,"context_line":""},{"line_number":369,"context_line":"Deployment changes"},{"line_number":370,"context_line":"------------------"},{"line_number":371,"context_line":""},{"line_number":372,"context_line":"``AgentDeploy.prepare`` already has a fast track branch. It gets a similar"},{"line_number":373,"context_line":"branch for a node with ``warm_state`` set to ``warm`` and a heartbeat newer"},{"line_number":374,"context_line":"than ``[deploy]warm_available_heartbeat_timeout``. This branch skips"},{"line_number":375,"context_line":"``unconfigure_tenant_networks`` and ``add_provisioning_network``. It keeps"},{"line_number":376,"context_line":"the provisioning ports that the running agent uses."},{"line_number":377,"context_line":""},{"line_number":378,"context_line":"Before it reuses the agent, the deploy interface makes two quick checks."},{"line_number":379,"context_line":"The agent must answer a call to its API, and every port with PXE enabled"},{"line_number":380,"context_line":"must still have the ``provisioning_vif_port_id`` recorded during warm-up."},{"line_number":381,"context_line":"If a check fails, it uses the normal path."},{"line_number":382,"context_line":""},{"line_number":383,"context_line":"``CustomAgentDeploy.deploy`` and the other places that skip the reboot when"},{"line_number":384,"context_line":"``is_fast_track()`` is true also skip it for a warm node. The final"},{"line_number":385,"context_line":"``tear_down_agent``, ``switch_to_tenant_network`` and ``boot_instance``"},{"line_number":386,"context_line":"steps do not change, so the handoff to the tenant network works as it does"},{"line_number":387,"context_line":"today. Ironic sets ``warm_state`` to ``None`` when the deployment starts."},{"line_number":388,"context_line":""},{"line_number":389,"context_line":"The deployment and the periodic task both hold the exclusive node lock"},{"line_number":390,"context_line":"while they read and change ``warm_state``. If the periodic task makes the"},{"line_number":391,"context_line":"node cold first, the deployment sees ``None`` and uses the normal path. If"},{"line_number":392,"context_line":"the deployment starts first, the node is no longer ``available``, and the"},{"line_number":393,"context_line":"periodic task skips it."},{"line_number":394,"context_line":""},{"line_number":395,"context_line":"Follow-up work"},{"line_number":396,"context_line":"--------------"},{"line_number":397,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"8b779a81_bfef5bca","line":394,"range":{"start_line":371,"start_character":0,"end_line":394,"end_character":0},"in_reply_to":"6f2718de_ce6b68f1","updated":"2026-11-11 07:35:00.000000000","message":"Done","commit_id":"dd082f9d3898aaa6a47347815704b5f7e02bd5f7"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"abfc00a08dee37f71d9bc0569d10895fc01be4ce","unresolved":true,"context_lines":[{"line_number":481,"context_line":"RPC API impact"},{"line_number":482,"context_line":"--------------"},{"line_number":483,"context_line":""},{"line_number":484,"context_line":"None. Heartbeat already reaches the conductor over RPC. The new behavior"},{"line_number":485,"context_line":"runs inside the existing heartbeat handler and in a new periodic task."},{"line_number":486,"context_line":""},{"line_number":487,"context_line":"Driver API impact"},{"line_number":488,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"4cc7a433_0ff0a13d","line":485,"range":{"start_line":484,"start_character":0,"end_line":485,"end_character":70},"updated":"2026-11-09 21:13:01.000000000","message":"Just make it \"None\". There is a cost to reviewers to reading excess words.","commit_id":"dd082f9d3898aaa6a47347815704b5f7e02bd5f7"},{"author":{"_account_id":35099,"name":"Jakub Jelinek","email":"kuba.jelinek@nscale.com","username":"kubajj"},"change_message_id":"1f4ff4d711bc806ed34a0b84ca5bd7b4d03b55c6","unresolved":false,"context_lines":[{"line_number":481,"context_line":"RPC API impact"},{"line_number":482,"context_line":"--------------"},{"line_number":483,"context_line":""},{"line_number":484,"context_line":"None. Heartbeat already reaches the conductor over RPC. The new behavior"},{"line_number":485,"context_line":"runs inside the existing heartbeat handler and in a new periodic task."},{"line_number":486,"context_line":""},{"line_number":487,"context_line":"Driver API impact"},{"line_number":488,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"e6329f8d_71766661","line":485,"range":{"start_line":484,"start_character":0,"end_line":485,"end_character":70},"in_reply_to":"4cc7a433_0ff0a13d","updated":"2026-11-11 07:35:00.000000000","message":"Acknowledged","commit_id":"dd082f9d3898aaa6a47347815704b5f7e02bd5f7"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"abfc00a08dee37f71d9bc0569d10895fc01be4ce","unresolved":true,"context_lines":[{"line_number":503,"context_line":"behave as they do today. ``AgentBaseMixin`` has the implementation"},{"line_number":504,"context_line":"described above."},{"line_number":505,"context_line":""},{"line_number":506,"context_line":"The ``NetworkInterface`` API gets an optional helper,"},{"line_number":507,"context_line":"``cleaning_and_provisioning_differ(task)``. It tells Ironic if the node"},{"line_number":508,"context_line":"uses different networks for cleaning and provisioning, which is the case"},{"line_number":509,"context_line":"that warm available is for. It returns ``False`` by default, so network"}],"source_content_type":"text/x-rst","patch_set":3,"id":"70454c04_9397ef18","line":506,"range":{"start_line":506,"start_character":6,"end_line":506,"end_character":22},"updated":"2026-11-09 21:13:01.000000000","message":"FWIW, this likely doesn\u0027t need to be on the network interfaces in general as helpers. It could be elsewhere int he code.","commit_id":"dd082f9d3898aaa6a47347815704b5f7e02bd5f7"},{"author":{"_account_id":35099,"name":"Jakub Jelinek","email":"kuba.jelinek@nscale.com","username":"kubajj"},"change_message_id":"1f4ff4d711bc806ed34a0b84ca5bd7b4d03b55c6","unresolved":false,"context_lines":[{"line_number":503,"context_line":"behave as they do today. ``AgentBaseMixin`` has the implementation"},{"line_number":504,"context_line":"described above."},{"line_number":505,"context_line":""},{"line_number":506,"context_line":"The ``NetworkInterface`` API gets an optional helper,"},{"line_number":507,"context_line":"``cleaning_and_provisioning_differ(task)``. It tells Ironic if the node"},{"line_number":508,"context_line":"uses different networks for cleaning and provisioning, which is the case"},{"line_number":509,"context_line":"that warm available is for. It returns ``False`` by default, so network"}],"source_content_type":"text/x-rst","patch_set":3,"id":"cebadb29_11f5e681","line":506,"range":{"start_line":506,"start_character":6,"end_line":506,"end_character":22},"in_reply_to":"70454c04_9397ef18","updated":"2026-11-11 07:35:00.000000000","message":"Acknowledged","commit_id":"dd082f9d3898aaa6a47347815704b5f7e02bd5f7"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"abfc00a08dee37f71d9bc0569d10895fc01be4ce","unresolved":true,"context_lines":[{"line_number":517,"context_line":"Nova driver impact"},{"line_number":518,"context_line":"------------------"},{"line_number":519,"context_line":""},{"line_number":520,"context_line":"None. This is an Ironic-only change. A warm node is ``available`` and has"},{"line_number":521,"context_line":"no instance. When Nova picks it, the existing deployment flow applies. VIF"},{"line_number":522,"context_line":"attach while the node is ``available`` only records tenant VIFs, which"},{"line_number":523,"context_line":"``configure_tenant_networks`` binds at the end of deployment, as it does"},{"line_number":524,"context_line":"today."},{"line_number":525,"context_line":""},{"line_number":526,"context_line":"Nova does not know which nodes are warm, and it schedules them like any"},{"line_number":527,"context_line":"other ``available`` node."},{"line_number":528,"context_line":""},{"line_number":529,"context_line":"Ramdisk impact"},{"line_number":530,"context_line":"--------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"cc551eed_c1578f01","line":527,"range":{"start_line":520,"start_character":6,"end_line":527,"end_character":25},"updated":"2026-11-09 21:13:01.000000000","message":"Lets drop excess reiteration.","commit_id":"dd082f9d3898aaa6a47347815704b5f7e02bd5f7"},{"author":{"_account_id":35099,"name":"Jakub Jelinek","email":"kuba.jelinek@nscale.com","username":"kubajj"},"change_message_id":"1f4ff4d711bc806ed34a0b84ca5bd7b4d03b55c6","unresolved":false,"context_lines":[{"line_number":517,"context_line":"Nova driver impact"},{"line_number":518,"context_line":"------------------"},{"line_number":519,"context_line":""},{"line_number":520,"context_line":"None. This is an Ironic-only change. A warm node is ``available`` and has"},{"line_number":521,"context_line":"no instance. When Nova picks it, the existing deployment flow applies. VIF"},{"line_number":522,"context_line":"attach while the node is ``available`` only records tenant VIFs, which"},{"line_number":523,"context_line":"``configure_tenant_networks`` binds at the end of deployment, as it does"},{"line_number":524,"context_line":"today."},{"line_number":525,"context_line":""},{"line_number":526,"context_line":"Nova does not know which nodes are warm, and it schedules them like any"},{"line_number":527,"context_line":"other ``available`` node."},{"line_number":528,"context_line":""},{"line_number":529,"context_line":"Ramdisk impact"},{"line_number":530,"context_line":"--------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"4e541e80_4bf49d37","line":527,"range":{"start_line":520,"start_character":6,"end_line":527,"end_character":25},"in_reply_to":"cc551eed_c1578f01","updated":"2026-11-11 07:35:00.000000000","message":"Acknowledged","commit_id":"dd082f9d3898aaa6a47347815704b5f7e02bd5f7"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"d77a0ea07b8531802ae8d7ff4018420ebf022848","unresolved":true,"context_lines":[{"line_number":153,"context_line":"  boot of the agent on the provisioning network."},{"line_number":154,"context_line":"* The deploy interface does not implement ``prepare_warm_available``."},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"When Ironic skips the warm-up, it logs the reason at info level. The node is"},{"line_number":157,"context_line":"cold, and the next deployment uses the normal path."},{"line_number":158,"context_line":""},{"line_number":159,"context_line":"Lookup and heartbeat on warm nodes"}],"source_content_type":"text/x-rst","patch_set":4,"id":"45ad63ec_f3738c32","line":156,"range":{"start_line":156,"start_character":53,"end_line":156,"end_character":57},"updated":"2026-11-11 17:19:22.000000000","message":"Perfect, thanks. I know many folks just run in debug, but that is a reasonable thing I think to log in info.","commit_id":"fe9b6ed5e25a59da3713cf3da160c34f6ffae6c0"}]}
