)]}'
{"specs/approved/ipa_api_versioning.rst":[{"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":"90b4f9a7b82388954f6f6170ac762d9ec8e3ea2c","unresolved":false,"context_lines":[{"line_number":18,"context_line":"Problem description"},{"line_number":19,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"During Ironic upgrade its possible that you will end up with node uses an older"},{"line_number":22,"context_line":"version of the Ironic Python Agent than version of Ironic. In this case newer"},{"line_number":23,"context_line":"features that have been added to Ironic and IPA will be expected to exist by"},{"line_number":24,"context_line":"Ironic however because the ramdisk used on a node has not been upgraded yet,"}],"source_content_type":"text/x-rst","patch_set":1,"id":"bacf61ea_84e0d3fb","line":21,"updated":"2016-07-29 21:15:22.000000000","message":"very minor nit s/Ironic/ironic/ throughout","commit_id":"746bbacca58afcfe9310ce2e90e0e008657739e4"},{"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":"90b4f9a7b82388954f6f6170ac762d9ec8e3ea2c","unresolved":false,"context_lines":[{"line_number":65,"context_line":""},{"line_number":66,"context_line":"Client (CLI) impact"},{"line_number":67,"context_line":"-------------------"},{"line_number":68,"context_line":"Typically, but not always, if there are any REST API changes, there are"},{"line_number":69,"context_line":"corresponding changes to python-ironicclient. If so, what does the user"},{"line_number":70,"context_line":"interface look like. If not, describe why there are REST API changes but"},{"line_number":71,"context_line":"no changes to the client."}],"source_content_type":"text/x-rst","patch_set":1,"id":"bacf61ea_c4cdab86","line":68,"updated":"2016-07-29 21:15:22.000000000","message":"You probably want to replace this boilerplate with none.","commit_id":"746bbacca58afcfe9310ce2e90e0e008657739e4"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"72cab4062f6f6871683fce6a5d04680e2c90a317","unresolved":false,"context_lines":[{"line_number":36,"context_line":"uses from the ironic-python-agent. For example::"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"  def do_something_using_IPA(self)"},{"line_number":39,"context_line":"    if node.driver_internal_info[\u0027agent_version\u0027] \u003e\u003d \u00271.2\u0027:"},{"line_number":40,"context_line":"      do_new_additional_thing_only_supported_in_1.2()"},{"line_number":41,"context_line":"    do_thing_using_IPA()"},{"line_number":42,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"fa7ab95a_30790683","line":39,"updated":"2016-09-02 13:55:57.000000000","message":"Driver should save \u0027agent_version\u0027 even if is not passed for avoiding key error in this example, or it should be reworked with get() method.","commit_id":"0391c600ecb25611a24a7902df0b410a0bdca77b"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"7b673a33ec5d07d9d006f972aa584072f1e3f444","unresolved":false,"context_lines":[{"line_number":36,"context_line":"uses from the ironic-python-agent. For example::"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"  def do_something_using_IPA(self)"},{"line_number":39,"context_line":"    if node.driver_internal_info[\u0027agent_version\u0027] \u003e\u003d \u00271.2\u0027:"},{"line_number":40,"context_line":"      do_new_additional_thing_only_supported_in_1.2()"},{"line_number":41,"context_line":"    do_thing_using_IPA()"},{"line_number":42,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"fa7ab95a_6bde3f6e","line":39,"in_reply_to":"fa7ab95a_30790683","updated":"2016-09-02 14:08:03.000000000","message":"Done","commit_id":"0391c600ecb25611a24a7902df0b410a0bdca77b"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"1886ed6d015c3d71fc41a76f76cc9166677ca680","unresolved":false,"context_lines":[{"line_number":29,"context_line":"Proposed change"},{"line_number":30,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"The proposed change is that when IPA does its heartbeat to ironic it will"},{"line_number":33,"context_line":"include an API version that will be cached by ironic in the"},{"line_number":34,"context_line":"driver_internal_info in the same way as the Agent URL is stored. ironic will"},{"line_number":35,"context_line":"then use this version information to gracefully degrade the feature set that it"}],"source_content_type":"text/x-rst","patch_set":4,"id":"fa6399be_9e2a6b7d","line":32,"updated":"2016-10-18 15:29:56.000000000","message":"Maybe send it with both lookup and heartbeat? What if we decide to send back more data in response to lookup request? eg some port(group)s info? If the version is included in lookup request, we can decide whether to send it or not.","commit_id":"2226c5d80bc182cd6cbe74ef0e969eaea6e5cb56"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"9fb49dc50480444bdc0d06e07f55b91dc23e77a8","unresolved":false,"context_lines":[{"line_number":29,"context_line":"Proposed change"},{"line_number":30,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"The proposed change is that when IPA does its heartbeat to ironic it will"},{"line_number":33,"context_line":"include an API version that will be cached by ironic in the"},{"line_number":34,"context_line":"driver_internal_info in the same way as the Agent URL is stored. ironic will"},{"line_number":35,"context_line":"then use this version information to gracefully degrade the feature set that it"}],"source_content_type":"text/x-rst","patch_set":4,"id":"fa6399be_30b327eb","line":32,"in_reply_to":"fa6399be_9e2a6b7d","updated":"2016-10-19 11:47:12.000000000","message":"I initially had written the spec to send the information on lookup, however when I started to put together POC code I ran into the fact that lookup is a read only operation, so only with significant changes would it be possible to store the IPA version on lookup.","commit_id":"2226c5d80bc182cd6cbe74ef0e969eaea6e5cb56"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"1886ed6d015c3d71fc41a76f76cc9166677ca680","unresolved":false,"context_lines":[{"line_number":31,"context_line":""},{"line_number":32,"context_line":"The proposed change is that when IPA does its heartbeat to ironic it will"},{"line_number":33,"context_line":"include an API version that will be cached by ironic in the"},{"line_number":34,"context_line":"driver_internal_info in the same way as the Agent URL is stored. ironic will"},{"line_number":35,"context_line":"then use this version information to gracefully degrade the feature set that it"},{"line_number":36,"context_line":"uses from the ironic-python-agent. For example::"},{"line_number":37,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"fa6399be_7349508e","line":34,"updated":"2016-10-18 15:29:56.000000000","message":"Is it going to affect cleaning? Eg if the hardware manager version is not changed, but IPA version is?","commit_id":"2226c5d80bc182cd6cbe74ef0e969eaea6e5cb56"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"0f3e6230c9b10b202b4896000e6777159263bf7e","unresolved":false,"context_lines":[{"line_number":31,"context_line":""},{"line_number":32,"context_line":"The proposed change is that when IPA does its heartbeat to ironic it will"},{"line_number":33,"context_line":"include an API version that will be cached by ironic in the"},{"line_number":34,"context_line":"driver_internal_info in the same way as the Agent URL is stored. ironic will"},{"line_number":35,"context_line":"then use this version information to gracefully degrade the feature set that it"},{"line_number":36,"context_line":"uses from the ironic-python-agent. For example::"},{"line_number":37,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"fa6399be_5e5ff30d","line":34,"in_reply_to":"fa6399be_7349508e","updated":"2016-10-18 15:31:05.000000000","message":"Here I mean the checks we have that if the node rebooted during cleaning and hardware manager version changed, we abort cleaning.","commit_id":"2226c5d80bc182cd6cbe74ef0e969eaea6e5cb56"},{"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":"a62eac2a9479b84eda1225875f2bd8f648c4a660","unresolved":false,"context_lines":[{"line_number":38,"context_line":"  def do_something_using_IPA(self)"},{"line_number":39,"context_line":"    if node.driver_internal_info.get(\u0027agent_version\u0027, \u00270.0.0\u0027) \u003e\u003d \u00271.2\u0027:"},{"line_number":40,"context_line":"      do_new_additional_thing_only_supported_in_1.2()"},{"line_number":41,"context_line":"    do_thing_using_IPA()"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"Alternatives"},{"line_number":44,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"fa6399be_2eaa3186","line":41,"updated":"2016-10-17 20:31:22.000000000","message":"Will all the code that uses this version be sure to refresh the node object before making decisions on this? Otherwise we could end up in a case where an incorrect, old IPA version is used as the node may have been fetched before the most recent boot of IPA performed a heartbeat.","commit_id":"2226c5d80bc182cd6cbe74ef0e969eaea6e5cb56"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"9fb49dc50480444bdc0d06e07f55b91dc23e77a8","unresolved":false,"context_lines":[{"line_number":38,"context_line":"  def do_something_using_IPA(self)"},{"line_number":39,"context_line":"    if node.driver_internal_info.get(\u0027agent_version\u0027, \u00270.0.0\u0027) \u003e\u003d \u00271.2\u0027:"},{"line_number":40,"context_line":"      do_new_additional_thing_only_supported_in_1.2()"},{"line_number":41,"context_line":"    do_thing_using_IPA()"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"Alternatives"},{"line_number":44,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"fa6399be_0641890b","line":41,"in_reply_to":"fa6399be_2eaa3186","updated":"2016-10-19 11:47:12.000000000","message":"Yes, I\u0027ll add a comment to the example code above.","commit_id":"2226c5d80bc182cd6cbe74ef0e969eaea6e5cb56"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"e961ff3ca91980ee1a22b480e571c59b54fc0741","unresolved":false,"context_lines":[{"line_number":50,"context_line":"Data model impact"},{"line_number":51,"context_line":"-----------------"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"New agent_version field will be be stored in node.driver_internal_info on agent"},{"line_number":54,"context_line":"heartbeat."},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"State Machine Impact"}],"source_content_type":"text/x-rst","patch_set":4,"id":"fa6399be_a3bbc874","line":53,"updated":"2016-10-10 20:40:06.000000000","message":"I like that you included this, but for future reference, I don\u0027t think we care about changing driver_internal_info fields, since the user never touches this.","commit_id":"2226c5d80bc182cd6cbe74ef0e969eaea6e5cb56"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"e961ff3ca91980ee1a22b480e571c59b54fc0741","unresolved":false,"context_lines":[{"line_number":86,"context_line":"Driver API impact"},{"line_number":87,"context_line":"-----------------"},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"None"},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"Nova driver impact"},{"line_number":92,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"fa6399be_03bb9473","line":89,"updated":"2016-10-10 20:40:06.000000000","message":"Do you think it would be useful to expose this via ironic API somehow?\n\nI think it would be useful to me as an operator to see how many nodes are on an older agent when I do a new agent deploy.","commit_id":"2226c5d80bc182cd6cbe74ef0e969eaea6e5cb56"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"0f7696647858a7ee12bc5a401daece84c48cd709","unresolved":false,"context_lines":[{"line_number":86,"context_line":"Driver API impact"},{"line_number":87,"context_line":"-----------------"},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"None"},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"Nova driver impact"},{"line_number":92,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"fa6399be_d2b2b693","line":89,"in_reply_to":"fa6399be_03bb9473","updated":"2016-10-13 15:47:33.000000000","message":"driver_internal_info is already returned by the Ironic API on node show, so there is no change here.","commit_id":"2226c5d80bc182cd6cbe74ef0e969eaea6e5cb56"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"f6a95294f4ee6f30b51c1dd3870b9952f9565450","unresolved":false,"context_lines":[{"line_number":86,"context_line":"Driver API impact"},{"line_number":87,"context_line":"-----------------"},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"None"},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"Nova driver impact"},{"line_number":92,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"fa6399be_b56a89eb","line":89,"in_reply_to":"fa6399be_d2b2b693","updated":"2016-10-20 17:40:20.000000000","message":"Got it, thanks","commit_id":"2226c5d80bc182cd6cbe74ef0e969eaea6e5cb56"},{"author":{"_account_id":7080,"name":"Mathieu Mitchell","email":"mat128@gmail.com","username":"mat128"},"change_message_id":"8e00eb0fa061f98634cb4a5367ccb0414236b309","unresolved":false,"context_lines":[{"line_number":39,"context_line":"    # Make sure to refresh the node object in case agent_version has changed"},{"line_number":40,"context_line":"    # via a heartbeat since we first fetched the node."},{"line_number":41,"context_line":"    node \u003d self.node.refresh()"},{"line_number":42,"context_line":"    if node.driver_internal_info.get(\u0027agent_version\u0027, \u00270.0.0\u0027) \u003e\u003d \u00271.2\u0027:"},{"line_number":43,"context_line":"      do_new_additional_thing_only_supported_in_1.2()"},{"line_number":44,"context_line":"    do_thing_using_IPA()"},{"line_number":45,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"fa6399be_2d8585ac","line":42,"updated":"2016-10-19 14:02:14.000000000","message":"comparing versions usually require specific comparators or tuples (1, 2), but that was a demo-only thing so I\u0027m fine with it.","commit_id":"3eef5ab3e542a6f75bc4509f0cdb347477c245c5"},{"author":{"_account_id":7080,"name":"Mathieu Mitchell","email":"mat128@gmail.com","username":"mat128"},"change_message_id":"8e00eb0fa061f98634cb4a5367ccb0414236b309","unresolved":false,"context_lines":[{"line_number":48,"context_line":""},{"line_number":49,"context_line":"An alternative to this is to require that operators update every node\u0027s ramdisk"},{"line_number":50,"context_line":"to the newer version of the ramdisk with the new features before upgrading"},{"line_number":51,"context_line":"their ironic installation."},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"Data model impact"},{"line_number":54,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":5,"id":"fa6399be_4dab991d","line":51,"updated":"2016-10-19 14:02:14.000000000","message":"Another option is gracefully handle it case-by-case in calling code.","commit_id":"3eef5ab3e542a6f75bc4509f0cdb347477c245c5"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"4a649ef0211b1c5be9f5b1640942715cad1d560f","unresolved":false,"context_lines":[{"line_number":42,"context_line":"    if node.driver_internal_info.get(\u0027agent_version\u0027, \u00270.0.0\u0027) \u003e\u003d \u00271.2\u0027:"},{"line_number":43,"context_line":"      do_new_additional_thing_only_supported_in_1.2()"},{"line_number":44,"context_line":"    do_thing_using_IPA()"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"Alternatives"},{"line_number":47,"context_line":"------------"},{"line_number":48,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"fa6399be_25f2f9d2","line":45,"updated":"2016-10-19 14:44:05.000000000","message":"And do mandatory warning logging about degraded feature?","commit_id":"74462da7875207e49c438d47a75373db7ffa6c34"},{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"4a649ef0211b1c5be9f5b1640942715cad1d560f","unresolved":false,"context_lines":[{"line_number":142,"context_line":"need to ensure their code takes into account the agent version that they might"},{"line_number":143,"context_line":"be talking to. Making sure that if talking to an IPA that does not support a"},{"line_number":144,"context_line":"feature it disables that feature in ironic."},{"line_number":145,"context_line":""},{"line_number":146,"context_line":"Implementation"},{"line_number":147,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":148,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"fa6399be_25c91979","line":145,"updated":"2016-10-19 14:44:05.000000000","message":"ditto","commit_id":"74462da7875207e49c438d47a75373db7ffa6c34"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"2f17f44ec45f7c04cfce09da73c390485f4747c5","unresolved":false,"context_lines":[{"line_number":67,"context_line":""},{"line_number":68,"context_line":"In the existing code the cleaning step checks the IPA hardware manager version"},{"line_number":69,"context_line":"and if it changes for any reason during the cleaning process, then cleaning is"},{"line_number":70,"context_line":"aborted and restarted. The agent version being added by this spec should be"},{"line_number":71,"context_line":"treated in the same way to ensure the most stable environment for cleaning."},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"REST API impact"}],"source_content_type":"text/x-rst","patch_set":7,"id":"fa6399be_2413beb9","line":70,"updated":"2016-10-20 09:28:20.000000000","message":"s/and restarted/and has to be restarted","commit_id":"ef3239721c7d6c48dfca7eac7a2ff7c3218bc42d"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"8a5298351303d8b95e8761b3a1a2005818b5bd8d","unresolved":false,"context_lines":[{"line_number":67,"context_line":""},{"line_number":68,"context_line":"In the existing code the cleaning step checks the IPA hardware manager version"},{"line_number":69,"context_line":"and if it changes for any reason during the cleaning process, then cleaning is"},{"line_number":70,"context_line":"aborted and restarted. The agent version being added by this spec should be"},{"line_number":71,"context_line":"treated in the same way to ensure the most stable environment for cleaning."},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"REST API impact"}],"source_content_type":"text/x-rst","patch_set":7,"id":"fa6399be_5b188cd3","line":70,"in_reply_to":"fa6399be_2413beb9","updated":"2016-10-20 12:51:38.000000000","message":"Done","commit_id":"ef3239721c7d6c48dfca7eac7a2ff7c3218bc42d"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"d9c664274b1217bb92c81c18f1de19ca3430a314","unresolved":false,"context_lines":[{"line_number":18,"context_line":"Problem description"},{"line_number":19,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"During ironic upgrade its possible that you will end up with node uses an older"},{"line_number":22,"context_line":"version of the ironic-python-agent than version of ironic. In this case newer"},{"line_number":23,"context_line":"features that have been added to ironic and IPA will be expected to exist by"},{"line_number":24,"context_line":"ironic however because the ramdisk used on a node has not been upgraded yet,"}],"source_content_type":"text/x-rst","patch_set":8,"id":"fa31d9ce_46472a77","line":21,"updated":"2017-02-17 16:22:45.000000000","message":"nit: s/its/it\u0027s/, s/node uses/a node which uses/","commit_id":"8c732963aabc98e8575c317856d88d1429cfc3c2"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"9c01f5ed600b01c7a0a2e5d8d199210ba6ff10ce","unresolved":false,"context_lines":[{"line_number":18,"context_line":"Problem description"},{"line_number":19,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"During ironic upgrade its possible that you will end up with node uses an older"},{"line_number":22,"context_line":"version of the ironic-python-agent than version of ironic. In this case newer"},{"line_number":23,"context_line":"features that have been added to ironic and IPA will be expected to exist by"},{"line_number":24,"context_line":"ironic however because the ramdisk used on a node has not been upgraded yet,"}],"source_content_type":"text/x-rst","patch_set":8,"id":"ffe62b97_bb077d18","line":21,"in_reply_to":"fa31d9ce_46472a77","updated":"2017-03-29 11:09:29.000000000","message":"Done","commit_id":"8c732963aabc98e8575c317856d88d1429cfc3c2"},{"author":{"_account_id":18653,"name":"Milan Kováčik","email":"mkovacik@redhat.com","username":"dparalen"},"change_message_id":"bb0cbf3337593881cc12ab5a2dc7251142750b1f","unresolved":false,"context_lines":[{"line_number":19,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"During ironic upgrade its possible that you will end up with node uses an older"},{"line_number":22,"context_line":"version of the ironic-python-agent than version of ironic. In this case newer"},{"line_number":23,"context_line":"features that have been added to ironic and IPA will be expected to exist by"},{"line_number":24,"context_line":"ironic however because the ramdisk used on a node has not been upgraded yet,"},{"line_number":25,"context_line":"those features do not exist in IPA. This leads to failures because ironic tries"}],"source_content_type":"text/x-rst","patch_set":8,"id":"3a461143_3dc9f459","line":22,"range":{"start_line":22,"start_character":15,"end_line":22,"end_character":34},"updated":"2017-01-30 15:02:13.000000000","message":"nit: ironic-python-agent (IPA) so that you can abbreviate later","commit_id":"8c732963aabc98e8575c317856d88d1429cfc3c2"},{"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":"8ece79fbef2d9ef4e8e9fb8dfa875b2de37533ae","unresolved":false,"context_lines":[{"line_number":19,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"During ironic upgrade its possible that you will end up with node uses an older"},{"line_number":22,"context_line":"version of the ironic-python-agent than version of ironic. In this case newer"},{"line_number":23,"context_line":"features that have been added to ironic and IPA will be expected to exist by"},{"line_number":24,"context_line":"ironic however because the ramdisk used on a node has not been upgraded yet,"},{"line_number":25,"context_line":"those features do not exist in IPA. This leads to failures because ironic tries"}],"source_content_type":"text/x-rst","patch_set":8,"id":"3a1ff146_7f906896","line":22,"range":{"start_line":22,"start_character":15,"end_line":22,"end_character":34},"in_reply_to":"3a1ff146_d334fe4b","updated":"2017-03-14 17:51:50.000000000","message":"IPA is semver, with no relation between IPA + Ironic versions currently.","commit_id":"8c732963aabc98e8575c317856d88d1429cfc3c2"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"029f9f8f634ca727ebe1d594ce339a78698e23ca","unresolved":false,"context_lines":[{"line_number":19,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"During ironic upgrade its possible that you will end up with node uses an older"},{"line_number":22,"context_line":"version of the ironic-python-agent than version of ironic. In this case newer"},{"line_number":23,"context_line":"features that have been added to ironic and IPA will be expected to exist by"},{"line_number":24,"context_line":"ironic however because the ramdisk used on a node has not been upgraded yet,"},{"line_number":25,"context_line":"those features do not exist in IPA. This leads to failures because ironic tries"}],"source_content_type":"text/x-rst","patch_set":8,"id":"3a1ff146_d334fe4b","line":22,"range":{"start_line":22,"start_character":15,"end_line":22,"end_character":34},"in_reply_to":"3a461143_3dc9f459","updated":"2017-03-14 16:11:41.000000000","message":"i can\u0027t recall how we version ipa, is it semver\u0027d (and different from Ironic)? Maybe s/than version/than the version associated with the newer ironic release/ ?","commit_id":"8c732963aabc98e8575c317856d88d1429cfc3c2"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"029f9f8f634ca727ebe1d594ce339a78698e23ca","unresolved":false,"context_lines":[{"line_number":22,"context_line":"version of the ironic-python-agent than version of ironic. In this case newer"},{"line_number":23,"context_line":"features that have been added to ironic and IPA will be expected to exist by"},{"line_number":24,"context_line":"ironic however because the ramdisk used on a node has not been upgraded yet,"},{"line_number":25,"context_line":"those features do not exist in IPA. This leads to failures because ironic tries"},{"line_number":26,"context_line":"to use these features during deployment/cleaning and resulting in unexpected"},{"line_number":27,"context_line":"responses from IPA."},{"line_number":28,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"3a1ff146_b316a2a5","line":25,"updated":"2017-03-14 16:11:41.000000000","message":"maybe s/in IPA/in that older version of IPA/ ?","commit_id":"8c732963aabc98e8575c317856d88d1429cfc3c2"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"9c01f5ed600b01c7a0a2e5d8d199210ba6ff10ce","unresolved":false,"context_lines":[{"line_number":22,"context_line":"version of the ironic-python-agent than version of ironic. In this case newer"},{"line_number":23,"context_line":"features that have been added to ironic and IPA will be expected to exist by"},{"line_number":24,"context_line":"ironic however because the ramdisk used on a node has not been upgraded yet,"},{"line_number":25,"context_line":"those features do not exist in IPA. This leads to failures because ironic tries"},{"line_number":26,"context_line":"to use these features during deployment/cleaning and resulting in unexpected"},{"line_number":27,"context_line":"responses from IPA."},{"line_number":28,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"ffe62b97_7b6c55cd","line":25,"in_reply_to":"3a1ff146_b316a2a5","updated":"2017-03-29 11:09:29.000000000","message":"Done","commit_id":"8c732963aabc98e8575c317856d88d1429cfc3c2"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"d9c664274b1217bb92c81c18f1de19ca3430a314","unresolved":false,"context_lines":[{"line_number":30,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"The proposed change is that when IPA does its heartbeat to ironic it will"},{"line_number":33,"context_line":"include an API version that will be cached by ironic in the"},{"line_number":34,"context_line":"driver_internal_info in the same way as the Agent URL is stored. ironic will"},{"line_number":35,"context_line":"then use this version information to gracefully degrade the feature set that it"},{"line_number":36,"context_line":"uses from the ironic-python-agent. For example::"}],"source_content_type":"text/x-rst","patch_set":8,"id":"fa31d9ce_81358cdc","line":33,"updated":"2017-02-17 16:22:45.000000000","message":"I wonder if it would be better or worse to use the actual version of the IPA software, rather than a separate API version. This would allow us to change behavior based on things not exposed in the API, I just can\u0027t decide if that\u0027s a good or bad thing.","commit_id":"8c732963aabc98e8575c317856d88d1429cfc3c2"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"9c01f5ed600b01c7a0a2e5d8d199210ba6ff10ce","unresolved":false,"context_lines":[{"line_number":30,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"The proposed change is that when IPA does its heartbeat to ironic it will"},{"line_number":33,"context_line":"include an API version that will be cached by ironic in the"},{"line_number":34,"context_line":"driver_internal_info in the same way as the Agent URL is stored. ironic will"},{"line_number":35,"context_line":"then use this version information to gracefully degrade the feature set that it"},{"line_number":36,"context_line":"uses from the ironic-python-agent. For example::"}],"source_content_type":"text/x-rst","patch_set":8,"id":"ffe62b97_9bf4b9f2","line":33,"in_reply_to":"3a1ff146_5f480c2e","updated":"2017-03-29 11:09:29.000000000","message":"This is exactly my thoughts too and actually how I have implemented it in the POC code :) I\u0027ll reword it to make that more obvious.","commit_id":"8c732963aabc98e8575c317856d88d1429cfc3c2"},{"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":"8ece79fbef2d9ef4e8e9fb8dfa875b2de37533ae","unresolved":false,"context_lines":[{"line_number":30,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"The proposed change is that when IPA does its heartbeat to ironic it will"},{"line_number":33,"context_line":"include an API version that will be cached by ironic in the"},{"line_number":34,"context_line":"driver_internal_info in the same way as the Agent URL is stored. ironic will"},{"line_number":35,"context_line":"then use this version information to gracefully degrade the feature set that it"},{"line_number":36,"context_line":"uses from the ironic-python-agent. For example::"}],"source_content_type":"text/x-rst","patch_set":8,"id":"3a1ff146_5f480c2e","line":33,"in_reply_to":"3a1ff146_f3ec9a91","updated":"2017-03-14 17:51:50.000000000","message":"That\u0027s a good way of stating how I feel about it. IPA has an API today, but we treat it as an appliance: there\u0027s no API-Ref, no official clients, etc -- I think that\u0027s not a bad thing, just a reflection of how we use it. Many features we\u0027ve done, in fact, have ended up being little more than Ramdisk changes.\n\nThis is why I think we should use *IPA* version instead of making a new API version. We\u0027re talking about what features the Ramdisk has that ironic can utilize, and that sometimes may not have relation to whether or not the API surface has changed.","commit_id":"8c732963aabc98e8575c317856d88d1429cfc3c2"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"029f9f8f634ca727ebe1d594ce339a78698e23ca","unresolved":false,"context_lines":[{"line_number":30,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"The proposed change is that when IPA does its heartbeat to ironic it will"},{"line_number":33,"context_line":"include an API version that will be cached by ironic in the"},{"line_number":34,"context_line":"driver_internal_info in the same way as the Agent URL is stored. ironic will"},{"line_number":35,"context_line":"then use this version information to gracefully degrade the feature set that it"},{"line_number":36,"context_line":"uses from the ironic-python-agent. For example::"}],"source_content_type":"text/x-rst","patch_set":8,"id":"3a1ff146_f3ec9a91","line":33,"in_reply_to":"9a30ddce_60bd3d01","updated":"2017-03-14 16:11:41.000000000","message":"I think that if IPA has the idea of an API, then it makes sense to have API versioning. If it doesn\u0027t, then use the IPA package version. If the API etc is not that complex, I would be fine using the package version.\n\nI\u0027m not that familiar with IPA and its potential use apart from ironic, to have any good sense which way to go. I think for ironic, it may not matter that much, we just need a version :) My other thought would be .. what do other software do?\n\nMy concern with using an API version is if we start getting into API microversion and having to microversion every new API-related feature... Which might be something that people want. (I am not opinionated about it but might be worth documenting why we are using whatever versioning that we decide to use.)","commit_id":"8c732963aabc98e8575c317856d88d1429cfc3c2"},{"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":"947dec1049aacf3f02cf4e2be53b479a0b3d78d5","unresolved":false,"context_lines":[{"line_number":30,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"The proposed change is that when IPA does its heartbeat to ironic it will"},{"line_number":33,"context_line":"include an API version that will be cached by ironic in the"},{"line_number":34,"context_line":"driver_internal_info in the same way as the Agent URL is stored. ironic will"},{"line_number":35,"context_line":"then use this version information to gracefully degrade the feature set that it"},{"line_number":36,"context_line":"uses from the ironic-python-agent. For example::"}],"source_content_type":"text/x-rst","patch_set":8,"id":"9a30ddce_60bd3d01","line":33,"in_reply_to":"fa31d9ce_81358cdc","updated":"2017-03-13 17:35:39.000000000","message":"+1 I think this would be a good idea and a good thing.","commit_id":"8c732963aabc98e8575c317856d88d1429cfc3c2"},{"author":{"_account_id":18653,"name":"Milan Kováčik","email":"mkovacik@redhat.com","username":"dparalen"},"change_message_id":"bb0cbf3337593881cc12ab5a2dc7251142750b1f","unresolved":false,"context_lines":[{"line_number":31,"context_line":""},{"line_number":32,"context_line":"The proposed change is that when IPA does its heartbeat to ironic it will"},{"line_number":33,"context_line":"include an API version that will be cached by ironic in the"},{"line_number":34,"context_line":"driver_internal_info in the same way as the Agent URL is stored. ironic will"},{"line_number":35,"context_line":"then use this version information to gracefully degrade the feature set that it"},{"line_number":36,"context_line":"uses from the ironic-python-agent. For example::"},{"line_number":37,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"3a461143_7dd61cf2","line":34,"range":{"start_line":34,"start_character":0,"end_line":34,"end_character":20},"updated":"2017-01-30 15:02:13.000000000","message":"nit: ``driver_internal_info``","commit_id":"8c732963aabc98e8575c317856d88d1429cfc3c2"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"9c01f5ed600b01c7a0a2e5d8d199210ba6ff10ce","unresolved":false,"context_lines":[{"line_number":31,"context_line":""},{"line_number":32,"context_line":"The proposed change is that when IPA does its heartbeat to ironic it will"},{"line_number":33,"context_line":"include an API version that will be cached by ironic in the"},{"line_number":34,"context_line":"driver_internal_info in the same way as the Agent URL is stored. ironic will"},{"line_number":35,"context_line":"then use this version information to gracefully degrade the feature set that it"},{"line_number":36,"context_line":"uses from the ironic-python-agent. For example::"},{"line_number":37,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"ffe62b97_dbd7e14a","line":34,"range":{"start_line":34,"start_character":0,"end_line":34,"end_character":20},"in_reply_to":"3a1ff146_f3a3ba4d","updated":"2017-03-29 11:09:29.000000000","message":"Done","commit_id":"8c732963aabc98e8575c317856d88d1429cfc3c2"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"029f9f8f634ca727ebe1d594ce339a78698e23ca","unresolved":false,"context_lines":[{"line_number":31,"context_line":""},{"line_number":32,"context_line":"The proposed change is that when IPA does its heartbeat to ironic it will"},{"line_number":33,"context_line":"include an API version that will be cached by ironic in the"},{"line_number":34,"context_line":"driver_internal_info in the same way as the Agent URL is stored. ironic will"},{"line_number":35,"context_line":"then use this version information to gracefully degrade the feature set that it"},{"line_number":36,"context_line":"uses from the ironic-python-agent. For example::"},{"line_number":37,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"3a1ff146_f3a3ba4d","line":34,"range":{"start_line":34,"start_character":0,"end_line":34,"end_character":20},"in_reply_to":"3a461143_7dd61cf2","updated":"2017-03-14 16:11:41.000000000","message":"node\u0027s driver_internal_info","commit_id":"8c732963aabc98e8575c317856d88d1429cfc3c2"},{"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":"947dec1049aacf3f02cf4e2be53b479a0b3d78d5","unresolved":false,"context_lines":[{"line_number":54,"context_line":"* Handle the cases where IPA doesn\u0027t support a particular feature by catching a"},{"line_number":55,"context_line":"  set of expected errors on a case by case basis and gracefully fall back to"},{"line_number":56,"context_line":"  another method. However in cases where this occurs it will result in more"},{"line_number":57,"context_line":"  complex error handling in Ironic and extra API calls to IPA."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"Data model impact"},{"line_number":60,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":8,"id":"9a30ddce_a039f5a5","line":57,"updated":"2017-03-13 17:35:39.000000000","message":"This could fit well with specific fault support: we could have an explicit node fault of \"agent too old\"","commit_id":"8c732963aabc98e8575c317856d88d1429cfc3c2"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"029f9f8f634ca727ebe1d594ce339a78698e23ca","unresolved":false,"context_lines":[{"line_number":54,"context_line":"* Handle the cases where IPA doesn\u0027t support a particular feature by catching a"},{"line_number":55,"context_line":"  set of expected errors on a case by case basis and gracefully fall back to"},{"line_number":56,"context_line":"  another method. However in cases where this occurs it will result in more"},{"line_number":57,"context_line":"  complex error handling in Ironic and extra API calls to IPA."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"Data model impact"},{"line_number":60,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":8,"id":"3a1ff146_3e6519e1","line":57,"in_reply_to":"9a30ddce_a039f5a5","updated":"2017-03-14 16:11:41.000000000","message":"it is icky. if you look at the code in ironic already, that tries to handle different IPA versions, it would be cleaner if the code did it via versioning, not via guessing as to which ipa is being used, based on its behavior/response we get back from ipa.","commit_id":"8c732963aabc98e8575c317856d88d1429cfc3c2"},{"author":{"_account_id":18653,"name":"Milan Kováčik","email":"mkovacik@redhat.com","username":"dparalen"},"change_message_id":"bb0cbf3337593881cc12ab5a2dc7251142750b1f","unresolved":false,"context_lines":[{"line_number":59,"context_line":"Data model impact"},{"line_number":60,"context_line":"-----------------"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"New agent_version field will be be stored in node.driver_internal_info on agent"},{"line_number":63,"context_line":"heartbeat."},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"State Machine Impact"}],"source_content_type":"text/x-rst","patch_set":8,"id":"3a461143_9d5f48e4","line":62,"range":{"start_line":62,"start_character":4,"end_line":62,"end_character":17},"updated":"2017-01-30 15:02:13.000000000","message":"nit: ``agent_version``","commit_id":"8c732963aabc98e8575c317856d88d1429cfc3c2"},{"author":{"_account_id":18653,"name":"Milan Kováčik","email":"mkovacik@redhat.com","username":"dparalen"},"change_message_id":"bb0cbf3337593881cc12ab5a2dc7251142750b1f","unresolved":false,"context_lines":[{"line_number":59,"context_line":"Data model impact"},{"line_number":60,"context_line":"-----------------"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"New agent_version field will be be stored in node.driver_internal_info on agent"},{"line_number":63,"context_line":"heartbeat."},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"State Machine Impact"}],"source_content_type":"text/x-rst","patch_set":8,"id":"3a461143_bd6404b9","line":62,"range":{"start_line":62,"start_character":45,"end_line":62,"end_character":70},"updated":"2017-01-30 15:02:13.000000000","message":"nit: ``node.driver_internal_info``","commit_id":"8c732963aabc98e8575c317856d88d1429cfc3c2"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"d9c664274b1217bb92c81c18f1de19ca3430a314","unresolved":false,"context_lines":[{"line_number":59,"context_line":"Data model impact"},{"line_number":60,"context_line":"-----------------"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"New agent_version field will be be stored in node.driver_internal_info on agent"},{"line_number":63,"context_line":"heartbeat."},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"State Machine Impact"}],"source_content_type":"text/x-rst","patch_set":8,"id":"fa31d9ce_61417839","line":62,"range":{"start_line":62,"start_character":45,"end_line":62,"end_character":70},"in_reply_to":"3a461143_bd6404b9","updated":"2017-02-17 16:22:45.000000000","message":"I feel like this should be agent_api_version, unless there\u0027s a good reason not to do that.","commit_id":"8c732963aabc98e8575c317856d88d1429cfc3c2"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"9c01f5ed600b01c7a0a2e5d8d199210ba6ff10ce","unresolved":false,"context_lines":[{"line_number":59,"context_line":"Data model impact"},{"line_number":60,"context_line":"-----------------"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"New agent_version field will be be stored in node.driver_internal_info on agent"},{"line_number":63,"context_line":"heartbeat."},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"State Machine Impact"}],"source_content_type":"text/x-rst","patch_set":8,"id":"ffe62b97_9b5b99f4","line":62,"range":{"start_line":62,"start_character":45,"end_line":62,"end_character":70},"in_reply_to":"fa31d9ce_61417839","updated":"2017-03-29 11:09:29.000000000","message":"The naming of this field was based on my initial thought that it would be IPAs actual version that we would use, and based on the thread above it seems that is a shared opinion, WDYT?","commit_id":"8c732963aabc98e8575c317856d88d1429cfc3c2"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"d9c664274b1217bb92c81c18f1de19ca3430a314","unresolved":false,"context_lines":[{"line_number":69,"context_line":"and if it changes for any reason during the cleaning process, then cleaning is"},{"line_number":70,"context_line":"aborted and will need to be restarted. The agent version being added by this"},{"line_number":71,"context_line":"spec should be treated in the same way to ensure the most stable environment"},{"line_number":72,"context_line":"for cleaning."},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"REST API impact"},{"line_number":75,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":8,"id":"fa31d9ce_417f1466","line":72,"updated":"2017-02-17 16:22:45.000000000","message":"I don\u0027t think this is necessary. We check the hardware manager version so that we always get the latest clean steps and such. However, if the code around cleaning always knows how to navigate various API versions, there\u0027s no need to completely restart cleaning when we see the version change.","commit_id":"8c732963aabc98e8575c317856d88d1429cfc3c2"},{"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":"8ece79fbef2d9ef4e8e9fb8dfa875b2de37533ae","unresolved":false,"context_lines":[{"line_number":69,"context_line":"and if it changes for any reason during the cleaning process, then cleaning is"},{"line_number":70,"context_line":"aborted and will need to be restarted. The agent version being added by this"},{"line_number":71,"context_line":"spec should be treated in the same way to ensure the most stable environment"},{"line_number":72,"context_line":"for cleaning."},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"REST API impact"},{"line_number":75,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":8,"id":"3a1ff146_7f0308b9","line":72,"in_reply_to":"3a1ff146_5e1ad518","updated":"2017-03-14 17:51:50.000000000","message":"There can be -- but also remember hardware managers are pluggable. I\u0027m thinking of an example of something where we add hardware support to something via a small change in a hardware manager, we would not be changing any IPA APIs, but would be potentially adding functionality that ironic needs to know exists. This is another reason we should use the semver of the agent to determine functionality, rather than a new API version.","commit_id":"8c732963aabc98e8575c317856d88d1429cfc3c2"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"029f9f8f634ca727ebe1d594ce339a78698e23ca","unresolved":false,"context_lines":[{"line_number":69,"context_line":"and if it changes for any reason during the cleaning process, then cleaning is"},{"line_number":70,"context_line":"aborted and will need to be restarted. The agent version being added by this"},{"line_number":71,"context_line":"spec should be treated in the same way to ensure the most stable environment"},{"line_number":72,"context_line":"for cleaning."},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"REST API impact"},{"line_number":75,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":8,"id":"3a1ff146_5e1ad518","line":72,"in_reply_to":"9a30ddce_e0568dcc","updated":"2017-03-14 16:11:41.000000000","message":"I was wondering if there was a correlation between hardware manager version and API version. Eg, if there is a new API version that affected a hardware manager, wouldn\u0027t the hardware manager version also change?\n\nRegardless -- don\u0027t delete this section, but put in words why we wouldn\u0027t need to check the agent version here.","commit_id":"8c732963aabc98e8575c317856d88d1429cfc3c2"},{"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":"947dec1049aacf3f02cf4e2be53b479a0b3d78d5","unresolved":false,"context_lines":[{"line_number":69,"context_line":"and if it changes for any reason during the cleaning process, then cleaning is"},{"line_number":70,"context_line":"aborted and will need to be restarted. The agent version being added by this"},{"line_number":71,"context_line":"spec should be treated in the same way to ensure the most stable environment"},{"line_number":72,"context_line":"for cleaning."},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"REST API impact"},{"line_number":75,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":8,"id":"9a30ddce_e0568dcc","line":72,"in_reply_to":"fa31d9ce_417f1466","updated":"2017-03-13 17:35:39.000000000","message":"Also, it\u0027s basically impossible unless you\u0027re using dhcp_provider\u003dNone + manage_agent_boot\u003dFalse to boot a new agent mid-cleaning or mid-deploy. It\u0027s easy to overthink about IPA version changing mid-action, when it almost never can happen in our recommended configuration.","commit_id":"8c732963aabc98e8575c317856d88d1429cfc3c2"},{"author":{"_account_id":18653,"name":"Milan Kováčik","email":"mkovacik@redhat.com","username":"dparalen"},"change_message_id":"bb0cbf3337593881cc12ab5a2dc7251142750b1f","unresolved":false,"context_lines":[{"line_number":74,"context_line":"REST API impact"},{"line_number":75,"context_line":"---------------"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"New data will be included on node heartbeat API request, agent_version"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"Client (CLI) impact"},{"line_number":80,"context_line":"-------------------"}],"source_content_type":"text/x-rst","patch_set":8,"id":"3a461143_5d0160ae","line":77,"range":{"start_line":77,"start_character":57,"end_line":77,"end_character":70},"updated":"2017-01-30 15:02:13.000000000","message":"nit: ``agent_version``","commit_id":"8c732963aabc98e8575c317856d88d1429cfc3c2"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"9c01f5ed600b01c7a0a2e5d8d199210ba6ff10ce","unresolved":false,"context_lines":[{"line_number":74,"context_line":"REST API impact"},{"line_number":75,"context_line":"---------------"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"New data will be included on node heartbeat API request, agent_version"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"Client (CLI) impact"},{"line_number":80,"context_line":"-------------------"}],"source_content_type":"text/x-rst","patch_set":8,"id":"ffe62b97_bbb65d89","line":77,"range":{"start_line":77,"start_character":57,"end_line":77,"end_character":70},"in_reply_to":"3a461143_5d0160ae","updated":"2017-03-29 11:09:29.000000000","message":"Done","commit_id":"8c732963aabc98e8575c317856d88d1429cfc3c2"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"029f9f8f634ca727ebe1d594ce339a78698e23ca","unresolved":false,"context_lines":[{"line_number":75,"context_line":"---------------"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"New data will be included on node heartbeat API request, agent_version"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"Client (CLI) impact"},{"line_number":80,"context_line":"-------------------"},{"line_number":81,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"3a1ff146_1eb05d8b","line":78,"updated":"2017-03-14 16:11:41.000000000","message":"I\u0027d like a bit more detail here. by \u0027data\u0027 do you mean in the body of the request? If so, that would be new I think, i don\u0027t think we\u0027re sending anything in the body of the existing request: https://developer.openstack.org/api-ref/baremetal/?expanded\u003dagent-heartbeat-detail","commit_id":"8c732963aabc98e8575c317856d88d1429cfc3c2"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"9c01f5ed600b01c7a0a2e5d8d199210ba6ff10ce","unresolved":false,"context_lines":[{"line_number":75,"context_line":"---------------"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"New data will be included on node heartbeat API request, agent_version"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"Client (CLI) impact"},{"line_number":80,"context_line":"-------------------"},{"line_number":81,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"ffe62b97_7b069554","line":78,"in_reply_to":"3a1ff146_1eb05d8b","updated":"2017-03-29 11:09:29.000000000","message":"The agent_url is currently included in the body of the heartbeat request, this will be an additional field in the same JSON blob.","commit_id":"8c732963aabc98e8575c317856d88d1429cfc3c2"},{"author":{"_account_id":18653,"name":"Milan Kováčik","email":"mkovacik@redhat.com","username":"dparalen"},"change_message_id":"bb0cbf3337593881cc12ab5a2dc7251142750b1f","unresolved":false,"context_lines":[{"line_number":110,"context_line":"--------------"},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"The ironic-python-agent will need updating to include its current version in"},{"line_number":113,"context_line":"the node heartbeat request using the agent_version field."},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"Security impact"},{"line_number":116,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":8,"id":"3a461143_bdd96459","line":113,"range":{"start_line":113,"start_character":36,"end_line":113,"end_character":50},"updated":"2017-01-30 15:02:13.000000000","message":"nit: ``agent_version``","commit_id":"8c732963aabc98e8575c317856d88d1429cfc3c2"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"9c01f5ed600b01c7a0a2e5d8d199210ba6ff10ce","unresolved":false,"context_lines":[{"line_number":110,"context_line":"--------------"},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"The ironic-python-agent will need updating to include its current version in"},{"line_number":113,"context_line":"the node heartbeat request using the agent_version field."},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"Security impact"},{"line_number":116,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":8,"id":"ffe62b97_dbc361ec","line":113,"range":{"start_line":113,"start_character":36,"end_line":113,"end_character":50},"in_reply_to":"3a461143_bdd96459","updated":"2017-03-29 11:09:29.000000000","message":"Done","commit_id":"8c732963aabc98e8575c317856d88d1429cfc3c2"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"d9c664274b1217bb92c81c18f1de19ca3430a314","unresolved":false,"context_lines":[{"line_number":162,"context_line":"- Add code to ironic-python-agent to store API version and send it to ironic on"},{"line_number":163,"context_line":"  heartbeat"},{"line_number":164,"context_line":"- Add code into ironic to disable features added in the current cycle behind"},{"line_number":165,"context_line":"  new version"},{"line_number":166,"context_line":"- Add developer documentation describing when and how to update the ironic"},{"line_number":167,"context_line":"  Python Agent API version"},{"line_number":168,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"fa31d9ce_e13648b3","line":165,"updated":"2017-02-17 16:22:45.000000000","message":"We shouldn\u0027t need to do this right away, right? Just as they come?\n\n(The point being that it isn\u0027t a work item for this spec, but for later development.)","commit_id":"8c732963aabc98e8575c317856d88d1429cfc3c2"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"d9c664274b1217bb92c81c18f1de19ca3430a314","unresolved":false,"context_lines":[{"line_number":164,"context_line":"- Add code into ironic to disable features added in the current cycle behind"},{"line_number":165,"context_line":"  new version"},{"line_number":166,"context_line":"- Add developer documentation describing when and how to update the ironic"},{"line_number":167,"context_line":"  Python Agent API version"},{"line_number":168,"context_line":""},{"line_number":169,"context_line":"Dependencies"},{"line_number":170,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":8,"id":"fa31d9ce_81466c1f","line":167,"updated":"2017-02-17 16:22:45.000000000","message":"And how to handle it in ironic code?","commit_id":"8c732963aabc98e8575c317856d88d1429cfc3c2"},{"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":"8ece79fbef2d9ef4e8e9fb8dfa875b2de37533ae","unresolved":false,"context_lines":[{"line_number":164,"context_line":"- Add code into ironic to disable features added in the current cycle behind"},{"line_number":165,"context_line":"  new version"},{"line_number":166,"context_line":"- Add developer documentation describing when and how to update the ironic"},{"line_number":167,"context_line":"  Python Agent API version"},{"line_number":168,"context_line":""},{"line_number":169,"context_line":"Dependencies"},{"line_number":170,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":8,"id":"3a1ff146_9fee04eb","line":167,"in_reply_to":"3a1ff146_79488b5c","updated":"2017-03-14 17:51:50.000000000","message":"It\u0027s semver. We could easily predict what version would be released after a given patch lands. Although it\u0027s clear adding versioning like this will require us to have a better sense of ordering with landing patches + releasing IPA -- which is not a bad thing.\n\nIn fact, we might want to add something to that effect here -- that now, before ironic can utilize a new IPA feature, it has to be merged+released in IPA before the ironic code is functional.","commit_id":"8c732963aabc98e8575c317856d88d1429cfc3c2"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"9c01f5ed600b01c7a0a2e5d8d199210ba6ff10ce","unresolved":false,"context_lines":[{"line_number":164,"context_line":"- Add code into ironic to disable features added in the current cycle behind"},{"line_number":165,"context_line":"  new version"},{"line_number":166,"context_line":"- Add developer documentation describing when and how to update the ironic"},{"line_number":167,"context_line":"  Python Agent API version"},{"line_number":168,"context_line":""},{"line_number":169,"context_line":"Dependencies"},{"line_number":170,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":8,"id":"ffe62b97_5ec3bf89","line":167,"in_reply_to":"3a1ff146_9fee04eb","updated":"2017-03-29 11:09:29.000000000","message":"The way that I thought that we could implement this logically in Ironic actually still allows us to merge and use features in Ironic + IPA without making a release. The way that PBR works is that when you do an dev install it always has a version newer than the most recently released version, so in Ironic we can do:\n\nif node.internal_driver_info.agent_version \u003e \"last.IPA.release\":\n    \u003cuse unreleased features\u003e","commit_id":"8c732963aabc98e8575c317856d88d1429cfc3c2"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"029f9f8f634ca727ebe1d594ce339a78698e23ca","unresolved":false,"context_lines":[{"line_number":164,"context_line":"- Add code into ironic to disable features added in the current cycle behind"},{"line_number":165,"context_line":"  new version"},{"line_number":166,"context_line":"- Add developer documentation describing when and how to update the ironic"},{"line_number":167,"context_line":"  Python Agent API version"},{"line_number":168,"context_line":""},{"line_number":169,"context_line":"Dependencies"},{"line_number":170,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":8,"id":"3a1ff146_79488b5c","line":167,"in_reply_to":"9a30ddce_0011e103","updated":"2017-03-14 16:11:41.000000000","message":"Hmm. I was just thinking about this. Do we know the actual version of IPA before we release IPA? I mean, we have feature FOOX that requires code changes in IPA and ironic. ironic master puts some code around handling FOOX so that it works with IPA master -- what is that version in IPA master?","commit_id":"8c732963aabc98e8575c317856d88d1429cfc3c2"},{"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":"947dec1049aacf3f02cf4e2be53b479a0b3d78d5","unresolved":false,"context_lines":[{"line_number":164,"context_line":"- Add code into ironic to disable features added in the current cycle behind"},{"line_number":165,"context_line":"  new version"},{"line_number":166,"context_line":"- Add developer documentation describing when and how to update the ironic"},{"line_number":167,"context_line":"  Python Agent API version"},{"line_number":168,"context_line":""},{"line_number":169,"context_line":"Dependencies"},{"line_number":170,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":8,"id":"9a30ddce_0011e103","line":167,"in_reply_to":"fa31d9ce_81466c1f","updated":"2017-03-13 17:35:39.000000000","message":"Again, I prefer using the actual version of IPA vs a new API version.","commit_id":"8c732963aabc98e8575c317856d88d1429cfc3c2"},{"author":{"_account_id":18653,"name":"Milan Kováčik","email":"mkovacik@redhat.com","username":"dparalen"},"change_message_id":"bb0cbf3337593881cc12ab5a2dc7251142750b1f","unresolved":false,"context_lines":[{"line_number":174,"context_line":"Testing"},{"line_number":175,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":176,"context_line":""},{"line_number":177,"context_line":"- ironic grenade tests will test ironic master with the last named release IPA."},{"line_number":178,"context_line":"- Normal ironic/IPA tests will test ironic master + IPA master builds"},{"line_number":179,"context_line":"- Might need to add a grenade test to IPA to test last ironic named release +"},{"line_number":180,"context_line":"  master IPA"}],"source_content_type":"text/x-rst","patch_set":8,"id":"3a461143_bda7a4bb","line":177,"range":{"start_line":177,"start_character":78,"end_line":177,"end_character":79},"updated":"2017-01-30 15:02:13.000000000","message":"Nit: s/\\.//","commit_id":"8c732963aabc98e8575c317856d88d1429cfc3c2"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"d9c664274b1217bb92c81c18f1de19ca3430a314","unresolved":false,"context_lines":[{"line_number":174,"context_line":"Testing"},{"line_number":175,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":176,"context_line":""},{"line_number":177,"context_line":"- ironic grenade tests will test ironic master with the last named release IPA."},{"line_number":178,"context_line":"- Normal ironic/IPA tests will test ironic master + IPA master builds"},{"line_number":179,"context_line":"- Might need to add a grenade test to IPA to test last ironic named release +"},{"line_number":180,"context_line":"  master IPA"}],"source_content_type":"text/x-rst","patch_set":8,"id":"fa31d9ce_a15530c7","line":177,"range":{"start_line":177,"start_character":78,"end_line":177,"end_character":79},"in_reply_to":"3a461143_bda7a4bb","updated":"2017-02-17 16:22:45.000000000","message":"s/will/already/?","commit_id":"8c732963aabc98e8575c317856d88d1429cfc3c2"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"9c01f5ed600b01c7a0a2e5d8d199210ba6ff10ce","unresolved":false,"context_lines":[{"line_number":174,"context_line":"Testing"},{"line_number":175,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":176,"context_line":""},{"line_number":177,"context_line":"- ironic grenade tests will test ironic master with the last named release IPA."},{"line_number":178,"context_line":"- Normal ironic/IPA tests will test ironic master + IPA master builds"},{"line_number":179,"context_line":"- Might need to add a grenade test to IPA to test last ironic named release +"},{"line_number":180,"context_line":"  master IPA"}],"source_content_type":"text/x-rst","patch_set":8,"id":"ffe62b97_e10b128b","line":177,"range":{"start_line":177,"start_character":78,"end_line":177,"end_character":79},"in_reply_to":"fa31d9ce_a15530c7","updated":"2017-03-29 11:09:29.000000000","message":"Done","commit_id":"8c732963aabc98e8575c317856d88d1429cfc3c2"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"d9c664274b1217bb92c81c18f1de19ca3430a314","unresolved":false,"context_lines":[{"line_number":177,"context_line":"- ironic grenade tests will test ironic master with the last named release IPA."},{"line_number":178,"context_line":"- Normal ironic/IPA tests will test ironic master + IPA master builds"},{"line_number":179,"context_line":"- Might need to add a grenade test to IPA to test last ironic named release +"},{"line_number":180,"context_line":"  master IPA"},{"line_number":181,"context_line":""},{"line_number":182,"context_line":"Upgrades and Backwards Compatibility"},{"line_number":183,"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":8,"id":"fa31d9ce_e15d68ed","line":180,"updated":"2017-02-17 16:22:45.000000000","message":"++","commit_id":"8c732963aabc98e8575c317856d88d1429cfc3c2"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"029f9f8f634ca727ebe1d594ce339a78698e23ca","unresolved":false,"context_lines":[{"line_number":183,"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":184,"context_line":""},{"line_number":185,"context_line":"Latest IPA is currently compatible with old ironic. This spec adds support for"},{"line_number":186,"context_line":"old IPA release with master ironic."},{"line_number":187,"context_line":""},{"line_number":188,"context_line":"Documentation Impact"},{"line_number":189,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":8,"id":"3a1ff146_39c1b381","line":186,"updated":"2017-03-14 16:11:41.000000000","message":"We should be explicit about this; was thinking of mentioning at the top of this spec.\n\nassuming we have version N and N+1 in Ironic, and corresponding versions IPA-N and IPA-N+1: for N+1 ironic, we only support IPA-N and IPA-N+1, right? Ironic N+1 shouldn\u0027t have to support IPA-N-1?\n\nOR do we say that N+1 ironic only supports IPA-N. And it is only during rolling upgrades from N to N+1 that both IPA-N and IPA-N+1 are supported. (I don\u0027t think this is true but wanted to get confirmation.)\n\nMaybe this is outside the scope of this spec, and is part of rolling upgrades or something :)","commit_id":"8c732963aabc98e8575c317856d88d1429cfc3c2"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"9c01f5ed600b01c7a0a2e5d8d199210ba6ff10ce","unresolved":false,"context_lines":[{"line_number":183,"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":184,"context_line":""},{"line_number":185,"context_line":"Latest IPA is currently compatible with old ironic. This spec adds support for"},{"line_number":186,"context_line":"old IPA release with master ironic."},{"line_number":187,"context_line":""},{"line_number":188,"context_line":"Documentation Impact"},{"line_number":189,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":8,"id":"ffe62b97_01095694","line":186,"in_reply_to":"3a1ff146_39c1b381","updated":"2017-03-29 11:09:29.000000000","message":"Reworded this section a bit, hopefully it makes a bit more sense.","commit_id":"8c732963aabc98e8575c317856d88d1429cfc3c2"},{"author":{"_account_id":18653,"name":"Milan Kováčik","email":"mkovacik@redhat.com","username":"dparalen"},"change_message_id":"bb0cbf3337593881cc12ab5a2dc7251142750b1f","unresolved":false,"context_lines":[{"line_number":188,"context_line":"Documentation Impact"},{"line_number":189,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":190,"context_line":""},{"line_number":191,"context_line":"- Need to add developer documentation for how and when to update the ironic"},{"line_number":192,"context_line":"  Python Agent API version."},{"line_number":193,"context_line":"- Need to document the which versions of IPA are supported with which versions"},{"line_number":194,"context_line":"  of ironic."},{"line_number":195,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"3a461143_dd96303d","line":192,"range":{"start_line":191,"start_character":69,"end_line":192,"end_character":14},"updated":"2017-01-30 15:02:13.000000000","message":"nit: s/.*/ironic-python-agent/","commit_id":"8c732963aabc98e8575c317856d88d1429cfc3c2"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"9c01f5ed600b01c7a0a2e5d8d199210ba6ff10ce","unresolved":false,"context_lines":[{"line_number":188,"context_line":"Documentation Impact"},{"line_number":189,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":190,"context_line":""},{"line_number":191,"context_line":"- Need to add developer documentation for how and when to update the ironic"},{"line_number":192,"context_line":"  Python Agent API version."},{"line_number":193,"context_line":"- Need to document the which versions of IPA are supported with which versions"},{"line_number":194,"context_line":"  of ironic."},{"line_number":195,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"ffe62b97_41207ef7","line":192,"range":{"start_line":191,"start_character":69,"end_line":192,"end_character":14},"in_reply_to":"3a461143_dd96303d","updated":"2017-03-29 11:09:29.000000000","message":"Done","commit_id":"8c732963aabc98e8575c317856d88d1429cfc3c2"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"029f9f8f634ca727ebe1d594ce339a78698e23ca","unresolved":false,"context_lines":[{"line_number":190,"context_line":""},{"line_number":191,"context_line":"- Need to add developer documentation for how and when to update the ironic"},{"line_number":192,"context_line":"  Python Agent API version."},{"line_number":193,"context_line":"- Need to document the which versions of IPA are supported with which versions"},{"line_number":194,"context_line":"  of ironic."},{"line_number":195,"context_line":""},{"line_number":196,"context_line":"References"}],"source_content_type":"text/x-rst","patch_set":8,"id":"3a1ff146_f95c7bef","line":193,"updated":"2017-03-14 16:11:41.000000000","message":"s/the which/which/\n\nYes :)","commit_id":"8c732963aabc98e8575c317856d88d1429cfc3c2"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"856395cfb7f35cf80dd7f4b652cf8da48d4d001a","unresolved":false,"context_lines":[{"line_number":18,"context_line":"Problem description"},{"line_number":19,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"During ironic upgrade it\u0027s possible that you will end up with node which uses"},{"line_number":22,"context_line":"an version of the ironic-python-agent (IPA) older than the version of ironic."},{"line_number":23,"context_line":"In this case newer features that have been added to ironic and IPA will be"},{"line_number":24,"context_line":"expected to exist by ironic however because the ramdisk used on a node has not"}],"source_content_type":"text/x-rst","patch_set":9,"id":"5ff73747_5a7f78df","line":21,"updated":"2017-04-27 20:47:15.000000000","message":"nit s/node/a node/","commit_id":"c0ebaa2c7ad78f5373caecf9643f159a23ad825e"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"856395cfb7f35cf80dd7f4b652cf8da48d4d001a","unresolved":false,"context_lines":[{"line_number":19,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"During ironic upgrade it\u0027s possible that you will end up with node which uses"},{"line_number":22,"context_line":"an version of the ironic-python-agent (IPA) older than the version of ironic."},{"line_number":23,"context_line":"In this case newer features that have been added to ironic and IPA will be"},{"line_number":24,"context_line":"expected to exist by ironic however because the ramdisk used on a node has not"},{"line_number":25,"context_line":"been upgraded yet, those features do not exist in that version of IPA. This"}],"source_content_type":"text/x-rst","patch_set":9,"id":"5ff73747_fa6d2432","line":22,"updated":"2017-04-27 20:47:15.000000000","message":"nit s/an version/a version/","commit_id":"c0ebaa2c7ad78f5373caecf9643f159a23ad825e"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"a82000ca7a42c08e387a134997fd1daa11c7a50f","unresolved":false,"context_lines":[{"line_number":39,"context_line":"    # Make sure to refresh the node object in case agent_version has changed"},{"line_number":40,"context_line":"    # via a heartbeat since we first fetched the node."},{"line_number":41,"context_line":"    node \u003d self.node.refresh()"},{"line_number":42,"context_line":"    if node.driver_internal_info.get(\u0027agent_version\u0027, \u00270.0.0\u0027) \u003e\u003d \u00271.2\u0027:"},{"line_number":43,"context_line":"      do_new_additional_thing_only_supported_in_1.2()"},{"line_number":44,"context_line":"    do_thing_using_IPA()"},{"line_number":45,"context_line":""}],"source_content_type":"text/x-rst","patch_set":9,"id":"5ff73747_cefbaabe","line":42,"updated":"2017-04-28 16:06:26.000000000","message":"nit (implementation-specific): we should not compare string like that :) I think it\u0027s going to end up being something like:\n\n if utils.agent_version(node) \u003e\u003d (1, 2):","commit_id":"c0ebaa2c7ad78f5373caecf9643f159a23ad825e"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"a82000ca7a42c08e387a134997fd1daa11c7a50f","unresolved":false,"context_lines":[{"line_number":60,"context_line":"-----------------"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"New ``agent_version`` field will be be stored in ``node.driver_internal_info``"},{"line_number":63,"context_line":"on agent heartbeat."},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"State Machine Impact"},{"line_number":66,"context_line":"--------------------"}],"source_content_type":"text/x-rst","patch_set":9,"id":"5ff73747_aef61ed6","line":63,"updated":"2017-04-28 16:06:26.000000000","message":"I think both cases should be equivalent code-wise","commit_id":"c0ebaa2c7ad78f5373caecf9643f159a23ad825e"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"856395cfb7f35cf80dd7f4b652cf8da48d4d001a","unresolved":false,"context_lines":[{"line_number":60,"context_line":"-----------------"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"New ``agent_version`` field will be be stored in ``node.driver_internal_info``"},{"line_number":63,"context_line":"on agent heartbeat."},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"State Machine Impact"},{"line_number":66,"context_line":"--------------------"}],"source_content_type":"text/x-rst","patch_set":9,"id":"5ff73747_da01483a","line":63,"updated":"2017-04-27 20:47:15.000000000","message":"for older versions of IPA which do not emit their version (or has it been doing this since day 1) this value will be none/null, or there won\u0027t be an \u0027agent_version\u0027 entry? (Maybe this is implementation detail, just wondering.)","commit_id":"c0ebaa2c7ad78f5373caecf9643f159a23ad825e"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"856395cfb7f35cf80dd7f4b652cf8da48d4d001a","unresolved":false,"context_lines":[{"line_number":68,"context_line":"In the existing code the cleaning step checks the IPA hardware manager version"},{"line_number":69,"context_line":"and if it changes for any reason during the cleaning process, then cleaning is"},{"line_number":70,"context_line":"aborted and will need to be restarted. The agent version being added by this"},{"line_number":71,"context_line":"spec should be treated in the same way to ensure the most stable environment"},{"line_number":72,"context_line":"for cleaning."},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"REST API impact"}],"source_content_type":"text/x-rst","patch_set":9,"id":"5ff73747_da5dc847","line":71,"updated":"2017-04-27 20:47:15.000000000","message":"based on the comments from previous patch, we could change \u0027should\u0027 to \u0027could\u0027. Dunno. Maybe it\u0027ll be clearer when we look at the code. I mean, if we eg decide that a particular release of ironic will only support a particular min version of ipa, then we could do this, right?","commit_id":"c0ebaa2c7ad78f5373caecf9643f159a23ad825e"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"856395cfb7f35cf80dd7f4b652cf8da48d4d001a","unresolved":false,"context_lines":[{"line_number":74,"context_line":"REST API impact"},{"line_number":75,"context_line":"---------------"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"A new field ``agent_version`` will we included in the body of the heartbeat API"},{"line_number":78,"context_line":"request alongside the existing ``agent_url`` field."},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"Client (CLI) impact"}],"source_content_type":"text/x-rst","patch_set":9,"id":"5ff73747_7a323412","line":77,"updated":"2017-04-27 20:47:15.000000000","message":"nit s/we/be/","commit_id":"c0ebaa2c7ad78f5373caecf9643f159a23ad825e"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"a82000ca7a42c08e387a134997fd1daa11c7a50f","unresolved":false,"context_lines":[{"line_number":179,"context_line":"  IPA"},{"line_number":180,"context_line":"- Normal ironic/IPA tests will test ironic master + IPA master builds"},{"line_number":181,"context_line":"- Need to add a grenade test to IPA to test last ironic named release + master"},{"line_number":182,"context_line":"  IPA"},{"line_number":183,"context_line":""},{"line_number":184,"context_line":"Upgrades and Backwards Compatibility"},{"line_number":185,"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":9,"id":"5ff73747_8e0122b2","line":182,"updated":"2017-04-28 16:06:26.000000000","message":"I don\u0027t think it will end up being a grenade test in the end. rather something like stable openstack + master IPA.","commit_id":"c0ebaa2c7ad78f5373caecf9643f159a23ad825e"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"856395cfb7f35cf80dd7f4b652cf8da48d4d001a","unresolved":false,"context_lines":[{"line_number":192,"context_line":"Documentation Impact"},{"line_number":193,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":194,"context_line":""},{"line_number":195,"context_line":"- Need to add the developer documentation mention in the work items section"},{"line_number":196,"context_line":"- Need to document which versions of IPA are supported with which versions of"},{"line_number":197,"context_line":"  ironic."},{"line_number":198,"context_line":""}],"source_content_type":"text/x-rst","patch_set":9,"id":"5ff73747_bd8e7676","line":195,"updated":"2017-04-27 20:47:15.000000000","message":"nit s/mention/mentioned/","commit_id":"c0ebaa2c7ad78f5373caecf9643f159a23ad825e"}]}
