)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"15e9c35b15caca31a059f1bf4db034d157b75711","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Receive and store agent version on heartbeat"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This patch enables receiving agent_version as part of heartbeat, and"},{"line_number":10,"context_line":"stores this information on driver_internal_info. This is so that Ironic"},{"line_number":11,"context_line":"can dynamically adjust which features and parameters it uses based on"},{"line_number":12,"context_line":"which version of the agent is being used."},{"line_number":13,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"7f231b9d_92a1c6ac","line":10,"range":{"start_line":9,"start_character":65,"end_line":10,"end_character":48},"updated":"2017-06-13 10:30:02.000000000","message":"There is no code in this patch to save the agent information into node\u0027s driver_internal_info.","commit_id":"ef005f61a0003c3c8dec7bd918fa35e82a75f6e4"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"326c13a4519247dd4be490757b83e3b584c590ac","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Receive and store agent version on heartbeat"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This patch enables receiving agent_version as part of heartbeat, and"},{"line_number":10,"context_line":"stores this information on driver_internal_info. This is so that Ironic"},{"line_number":11,"context_line":"can dynamically adjust which features and parameters it uses based on"},{"line_number":12,"context_line":"which version of the agent is being used."},{"line_number":13,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"7f231b9d_52468e7e","line":10,"range":{"start_line":9,"start_character":65,"end_line":10,"end_character":48},"in_reply_to":"7f231b9d_92a1c6ac","updated":"2017-06-13 10:43:36.000000000","message":"It got killed by a rebase as the agent heartbeat code got moved around, fixed now :)","commit_id":"ef005f61a0003c3c8dec7bd918fa35e82a75f6e4"}],"api-ref/source/parameters.yaml":[{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"7831927fed93dbd3ab0d4e5688965b81abf75138","unresolved":false,"context_lines":[{"line_number":91,"context_line":"  description: |"},{"line_number":92,"context_line":"    The version of the ironic-python-agent ramdisk, sent back to the Bare Metal"},{"line_number":93,"context_line":"    service and stored during provisioning."},{"line_number":94,"context_line":"  in: query"},{"line_number":95,"context_line":"  required: true"},{"line_number":96,"context_line":"  type: string"},{"line_number":97,"context_line":"callback_url:"}],"source_content_type":"text/x-yaml","patch_set":18,"id":"df87a7cf_70ff3001","line":94,"updated":"2017-12-05 16:06:09.000000000","message":"oh, did we really do this? I would have thought it would be in the body of the request.\n\nI guess we want to be consistent with the callback_url, which seems like it should also be in the body. Oh well.","commit_id":"5f1f83a982f0921ce87746938c5f6e2dc1297915"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"c491e306ad21fb5062809480a0b752c7f02cb759","unresolved":false,"context_lines":[{"line_number":91,"context_line":"  description: |"},{"line_number":92,"context_line":"    The version of the ironic-python-agent ramdisk, sent back to the Bare Metal"},{"line_number":93,"context_line":"    service and stored during provisioning."},{"line_number":94,"context_line":"  in: query"},{"line_number":95,"context_line":"  required: true"},{"line_number":96,"context_line":"  type: string"},{"line_number":97,"context_line":"callback_url:"}],"source_content_type":"text/x-yaml","patch_set":18,"id":"df87a7cf_928d017d","line":94,"in_reply_to":"df87a7cf_3a097a2b","updated":"2017-12-06 12:58:33.000000000","message":"Yeah copied that from the callback_url, technically I think our API will work with both because of how Pecan processes data for a request it accept it from either location, but its designed to be in the body.","commit_id":"5f1f83a982f0921ce87746938c5f6e2dc1297915"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"aa2ccdba2fbc72d8c86f7194de4cae40a4a98a61","unresolved":false,"context_lines":[{"line_number":91,"context_line":"  description: |"},{"line_number":92,"context_line":"    The version of the ironic-python-agent ramdisk, sent back to the Bare Metal"},{"line_number":93,"context_line":"    service and stored during provisioning."},{"line_number":94,"context_line":"  in: query"},{"line_number":95,"context_line":"  required: true"},{"line_number":96,"context_line":"  type: string"},{"line_number":97,"context_line":"callback_url:"}],"source_content_type":"text/x-yaml","patch_set":18,"id":"df87a7cf_3a097a2b","line":94,"in_reply_to":"df87a7cf_70ff3001","updated":"2017-12-05 22:57:26.000000000","message":"I am looking at the ipa patch associated with this. It looks like this is actually in the body of the request. Same thing as for the callback_url. We can fix it here or in a followon patch.","commit_id":"5f1f83a982f0921ce87746938c5f6e2dc1297915"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"17673059054124fbb03efaf092ed86c879727861","unresolved":false,"context_lines":[{"line_number":91,"context_line":"  description: |"},{"line_number":92,"context_line":"    The version of the ironic-python-agent ramdisk, sent back to the Bare Metal"},{"line_number":93,"context_line":"    service and stored during provisioning."},{"line_number":94,"context_line":"  in: query"},{"line_number":95,"context_line":"  required: true"},{"line_number":96,"context_line":"  type: string"},{"line_number":97,"context_line":"callback_url:"}],"source_content_type":"text/x-yaml","patch_set":18,"id":"df87a7cf_c6a50606","line":94,"in_reply_to":"df87a7cf_928d017d","updated":"2017-12-06 14:44:00.000000000","message":"If I remember, I\u0027ll update this later... :)","commit_id":"5f1f83a982f0921ce87746938c5f6e2dc1297915"}],"doc/source/contributor/webapi-version-history.rst":[{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"7831927fed93dbd3ab0d4e5688965b81abf75138","unresolved":false,"context_lines":[{"line_number":8,"context_line":"Added ``agent_version`` parameter to deploy heartbeat request for version"},{"line_number":9,"context_line":"negotiation with Ironic Python Agent features."},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"1.35 (Queens, 10.0.0)"},{"line_number":12,"context_line":"---------------------"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Added ability to provide ``configdrive`` when node is updated"}],"source_content_type":"text/x-rst","patch_set":18,"id":"df87a7cf_90ec342a","line":11,"updated":"2017-12-05 16:06:09.000000000","message":"ugh, this should be 9.2.0; i submitted 525651 to fix. Yours is correct (for now), although I suspect we are hoping it\u0027ll be in 9.3 :)","commit_id":"5f1f83a982f0921ce87746938c5f6e2dc1297915"}],"ironic/api/controllers/v1/ramdisk.py":[{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"d0e0256ff515be00badd4464f10cbf881b2e5af4","unresolved":false,"context_lines":[{"line_number":129,"context_line":"        \"\"\"Process a heartbeat from the deploy ramdisk."},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"        :param node_ident: the UUID or logical name of a node."},{"line_number":132,"context_line":"        :param callback_url: the URL to reach back to the ramdisk."},{"line_number":133,"context_line":"        \"\"\""},{"line_number":134,"context_line":"        if not api_utils.allow_ramdisk_endpoints():"},{"line_number":135,"context_line":"            raise exception.NotFound()"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a89bdaa_56327ff2","line":132,"updated":"2016-09-05 13:40:14.000000000","message":":param agent_version:","commit_id":"cdc056306772e2650ac8eb30e845503c687d2f95"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"28e3307f01b26d6702f43129d3c595524e08cb16","unresolved":false,"context_lines":[{"line_number":125,"context_line":""},{"line_number":126,"context_line":"    @expose.expose(None, types.uuid_or_name, wtypes.text,"},{"line_number":127,"context_line":"                   wtypes.text, status_code\u003dhttp_client.ACCEPTED)"},{"line_number":128,"context_line":"    def post(self, node_ident, callback_url, agent_version\u003dNone):"},{"line_number":129,"context_line":"        \"\"\"Process a heartbeat from the deploy ramdisk."},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"        :param node_ident: the UUID or logical name of a node."}],"source_content_type":"text/x-python","patch_set":4,"id":"9a629dbe_221dd4bd","line":128,"updated":"2016-11-14 16:07:29.000000000","message":"Needs microversion bump too I think :(","commit_id":"8bad8fb064470c5d441a285b76c323e4f5d7cad7"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"8aafcff36beedaa989ab612e425b2ebecf6c1061","unresolved":false,"context_lines":[{"line_number":170,"context_line":""},{"line_number":171,"context_line":"        if agent_version and not api_utils.allow_agent_version_heartbeat():"},{"line_number":172,"context_line":"            raise exception.InvalidParameterValue("},{"line_number":173,"context_line":"                _(\u0027Field agent_version not recognised\u0027))"},{"line_number":174,"context_line":""},{"line_number":175,"context_line":"        cdict \u003d pecan.request.context.to_policy_values()"},{"line_number":176,"context_line":"        policy.authorize(\u0027baremetal:node:ipa_heartbeat\u0027, cdict, cdict)"}],"source_content_type":"text/x-python","patch_set":11,"id":"df3967d1_0e9a2362","line":173,"updated":"2017-08-02 01:48:11.000000000","message":"maybe s/agent_version/\"agent_version\"/","commit_id":"38b2954536e312cf5e4a7f78df85933add2f91a6"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"1e1c4b1c257c3cbd80e0287d84aa96c14e3abda1","unresolved":false,"context_lines":[{"line_number":170,"context_line":""},{"line_number":171,"context_line":"        if agent_version and not api_utils.allow_agent_version_heartbeat():"},{"line_number":172,"context_line":"            raise exception.InvalidParameterValue("},{"line_number":173,"context_line":"                _(\u0027Field agent_version not recognised\u0027))"},{"line_number":174,"context_line":""},{"line_number":175,"context_line":"        cdict \u003d pecan.request.context.to_policy_values()"},{"line_number":176,"context_line":"        policy.authorize(\u0027baremetal:node:ipa_heartbeat\u0027, cdict, cdict)"}],"source_content_type":"text/x-python","patch_set":11,"id":"df3967d1_6df403d0","line":173,"in_reply_to":"df3967d1_0e9a2362","updated":"2017-08-02 15:53:00.000000000","message":"Done","commit_id":"38b2954536e312cf5e4a7f78df85933add2f91a6"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"ab3ce5c2892921e4c6d5c7b09b63d33bea3f5ddd","unresolved":false,"context_lines":[{"line_number":162,"context_line":"            ``None`` indicates that the agent that is heartbeating is a version"},{"line_number":163,"context_line":"            before sending agent_version was introduced so agent v2.1.0 (the"},{"line_number":164,"context_line":"            last release before sending agent_version was introduced) will be"},{"line_number":165,"context_line":"            assumed."},{"line_number":166,"context_line":"        :raises: NodeNotFound if node with provided UUID or name was not found."},{"line_number":167,"context_line":"        :raises: InvalidUuidOrName if node_ident is not valid name or UUID."},{"line_number":168,"context_line":"        :raises: NoValidHost if RPC topic for node could not be retrieved."}],"source_content_type":"text/x-python","patch_set":12,"id":"df3967d1_8d93945b","line":165,"updated":"2017-08-02 22:49:29.000000000","message":"Wonder if we want to mention here, what None means... I mean, i think it is ok to mention it up to \u0027... before sending agent_version was introduced\u0027. The rest can be added on the conductor side.","commit_id":"fbed67f9ce4223e8979442958dc24faa870270a6"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"f755018eb92e52e8edd041f0d88d80155998ac10","unresolved":false,"context_lines":[{"line_number":160,"context_line":"        :param callback_url: the URL to reach back to the ramdisk."},{"line_number":161,"context_line":"        :param agent_version: The version of the agent that is heartbeating."},{"line_number":162,"context_line":"            ``None`` indicates that the agent that is heartbeating is a version"},{"line_number":163,"context_line":"            before sending agent_version was introduced so agent v2.1.0 (the"},{"line_number":164,"context_line":"            last release before sending agent_version was introduced) will be"},{"line_number":165,"context_line":"            assumed."},{"line_number":166,"context_line":"        :raises: NodeNotFound if node with provided UUID or name was not found."}],"source_content_type":"text/x-python","patch_set":15,"id":"ff82abbf_c62cabad","line":163,"updated":"2017-11-29 18:59:28.000000000","message":"IPA is now at 3.0.0","commit_id":"b0bf17824de6adbd43680cd4551a604acfaa2483"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"b2220696a8e38b9a53b5df73fba1e92586d7e868","unresolved":false,"context_lines":[{"line_number":160,"context_line":"        :param callback_url: the URL to reach back to the ramdisk."},{"line_number":161,"context_line":"        :param agent_version: The version of the agent that is heartbeating."},{"line_number":162,"context_line":"            ``None`` indicates that the agent that is heartbeating is a version"},{"line_number":163,"context_line":"            before sending agent_version was introduced so agent v2.1.0 (the"},{"line_number":164,"context_line":"            last release before sending agent_version was introduced) will be"},{"line_number":165,"context_line":"            assumed."},{"line_number":166,"context_line":"        :raises: NodeNotFound if node with provided UUID or name was not found."}],"source_content_type":"text/x-python","patch_set":15,"id":"ff82abbf_9cf33d74","line":163,"in_reply_to":"ff82abbf_c62cabad","updated":"2017-11-30 14:22:12.000000000","message":"Done","commit_id":"b0bf17824de6adbd43680cd4551a604acfaa2483"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"e733bc21ba219647c45e7ae326a70097e6346fda","unresolved":false,"context_lines":[{"line_number":160,"context_line":"        :param callback_url: the URL to reach back to the ramdisk."},{"line_number":161,"context_line":"        :param agent_version: The version of the agent that is heartbeating."},{"line_number":162,"context_line":"            ``None`` indicates that the agent that is heartbeating is a version"},{"line_number":163,"context_line":"            before sending agent_version was introduced so agent v3.0.0 (the"},{"line_number":164,"context_line":"            last release before sending agent_version was introduced) will be"},{"line_number":165,"context_line":"            assumed."},{"line_number":166,"context_line":"        :raises: NodeNotFound if node with provided UUID or name was not found."}],"source_content_type":"text/x-python","patch_set":19,"id":"df87a7cf_9b0e6c8b","line":163,"updated":"2017-12-06 22:29:29.000000000","message":"nit: might be good to indicate the name of the cycle, since so many go by that as a primary version indicator.","commit_id":"8cffe4ccc72223d9e128024cb1d86c4e62b01879"}],"ironic/api/controllers/v1/utils.py":[{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"8aafcff36beedaa989ab612e425b2ebecf6c1061","unresolved":false,"context_lines":[{"line_number":581,"context_line":"            objects.Port.supports_physical_network())"},{"line_number":582,"context_line":""},{"line_number":583,"context_line":""},{"line_number":584,"context_line":"def allow_agent_version_heartbeat():"},{"line_number":585,"context_line":"    \"\"\"Check if agent version is allowed to be passed into heartbeat."},{"line_number":586,"context_line":""},{"line_number":587,"context_line":"    Version 1.34 of the API added the ability for agents to pass their version"}],"source_content_type":"text/x-python","patch_set":11,"id":"df3967d1_cecc1b6c","line":584,"updated":"2017-08-02 01:48:11.000000000","message":"I\u0027d prefer if this was \u0027allow_agent_version\u0027 or \u0027allow_heartbeat_agent_version\u0027 or \u0027allow_ramdisk_agent_version\u0027 ?\n\nI guess what you have is fine too.","commit_id":"38b2954536e312cf5e4a7f78df85933add2f91a6"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"1e1c4b1c257c3cbd80e0287d84aa96c14e3abda1","unresolved":false,"context_lines":[{"line_number":581,"context_line":"            objects.Port.supports_physical_network())"},{"line_number":582,"context_line":""},{"line_number":583,"context_line":""},{"line_number":584,"context_line":"def allow_agent_version_heartbeat():"},{"line_number":585,"context_line":"    \"\"\"Check if agent version is allowed to be passed into heartbeat."},{"line_number":586,"context_line":""},{"line_number":587,"context_line":"    Version 1.34 of the API added the ability for agents to pass their version"}],"source_content_type":"text/x-python","patch_set":11,"id":"df3967d1_4d1c9f11","line":584,"in_reply_to":"df3967d1_cecc1b6c","updated":"2017-08-02 15:53:00.000000000","message":"Done","commit_id":"38b2954536e312cf5e4a7f78df85933add2f91a6"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"8aafcff36beedaa989ab612e425b2ebecf6c1061","unresolved":false,"context_lines":[{"line_number":584,"context_line":"def allow_agent_version_heartbeat():"},{"line_number":585,"context_line":"    \"\"\"Check if agent version is allowed to be passed into heartbeat."},{"line_number":586,"context_line":""},{"line_number":587,"context_line":"    Version 1.34 of the API added the ability for agents to pass their version"},{"line_number":588,"context_line":"    information to Ironic on heartbeat."},{"line_number":589,"context_line":"    \"\"\""},{"line_number":590,"context_line":"    return (pecan.request.version.minor \u003e\u003d"}],"source_content_type":"text/x-python","patch_set":11,"id":"df3967d1_6ea88f76","line":587,"updated":"2017-08-02 01:48:11.000000000","message":"s/1.34/1.35/","commit_id":"38b2954536e312cf5e4a7f78df85933add2f91a6"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"1e1c4b1c257c3cbd80e0287d84aa96c14e3abda1","unresolved":false,"context_lines":[{"line_number":584,"context_line":"def allow_agent_version_heartbeat():"},{"line_number":585,"context_line":"    \"\"\"Check if agent version is allowed to be passed into heartbeat."},{"line_number":586,"context_line":""},{"line_number":587,"context_line":"    Version 1.34 of the API added the ability for agents to pass their version"},{"line_number":588,"context_line":"    information to Ironic on heartbeat."},{"line_number":589,"context_line":"    \"\"\""},{"line_number":590,"context_line":"    return (pecan.request.version.minor \u003e\u003d"}],"source_content_type":"text/x-python","patch_set":11,"id":"df3967d1_2d171bf0","line":587,"in_reply_to":"df3967d1_6ea88f76","updated":"2017-08-02 15:53:00.000000000","message":"Done","commit_id":"38b2954536e312cf5e4a7f78df85933add2f91a6"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"ab3ce5c2892921e4c6d5c7b09b63d33bea3f5ddd","unresolved":false,"context_lines":[{"line_number":582,"context_line":""},{"line_number":583,"context_line":""},{"line_number":584,"context_line":"def allow_agent_version_in_heartbeat():"},{"line_number":585,"context_line":"    \"\"\"Check if agent version is allowed to be passed into heartbeat."},{"line_number":586,"context_line":""},{"line_number":587,"context_line":"    Version 1.35 of the API added the ability for agents to pass their version"},{"line_number":588,"context_line":"    information to Ironic on heartbeat."}],"source_content_type":"text/x-python","patch_set":12,"id":"df3967d1_0d91e44e","line":585,"updated":"2017-08-02 22:49:29.000000000","message":"maybe (nit) s/into/in/\n\nor \u0027allowed to be specified in the heartbeat request\u0027.","commit_id":"fbed67f9ce4223e8979442958dc24faa870270a6"}],"ironic/common/release_mappings.py":[{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"7a74ff2cab8aec80a6481a769df57c99adc6ad66","unresolved":false,"context_lines":[{"line_number":108,"context_line":"        }"},{"line_number":109,"context_line":"    },"},{"line_number":110,"context_line":"    \u0027master\u0027: {"},{"line_number":111,"context_line":"        \u0027api\u0027: \u00271.35\u0027,"},{"line_number":112,"context_line":"        \u0027rpc\u0027: \u00271.42\u0027,"},{"line_number":113,"context_line":"        \u0027objects\u0027: {"},{"line_number":114,"context_line":"            \u0027Node\u0027: [\u00271.21\u0027],"}],"source_content_type":"text/x-python","patch_set":20,"id":"df87a7cf_c18035f8","line":111,"range":{"start_line":111,"start_character":8,"end_line":111,"end_character":22},"updated":"2017-12-11 05:15:41.000000000","message":"I think this also need to be bumped to 1.36.","commit_id":"6d58896118281dfbcdaf3534f8348de5de4adf8e"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"97b468ddd384f7ff3412184b4c4bccbed047b19b","unresolved":false,"context_lines":[{"line_number":108,"context_line":"        }"},{"line_number":109,"context_line":"    },"},{"line_number":110,"context_line":"    \u0027master\u0027: {"},{"line_number":111,"context_line":"        \u0027api\u0027: \u00271.35\u0027,"},{"line_number":112,"context_line":"        \u0027rpc\u0027: \u00271.42\u0027,"},{"line_number":113,"context_line":"        \u0027objects\u0027: {"},{"line_number":114,"context_line":"            \u0027Node\u0027: [\u00271.21\u0027],"}],"source_content_type":"text/x-python","patch_set":20,"id":"df87a7cf_637a83ba","line":111,"range":{"start_line":111,"start_character":8,"end_line":111,"end_character":22},"in_reply_to":"df87a7cf_c18035f8","updated":"2017-12-11 15:08:19.000000000","message":"Yup, good catch.","commit_id":"6d58896118281dfbcdaf3534f8348de5de4adf8e"}],"ironic/conductor/manager.py":[{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"d0e0256ff515be00badd4464f10cbf881b2e5af4","unresolved":false,"context_lines":[{"line_number":2193,"context_line":""},{"line_number":2194,"context_line":"        :param context: request context."},{"line_number":2195,"context_line":"        :param node_id: node id or uuid."},{"line_number":2196,"context_line":"        :param callback_url: URL to reach back to the ramdisk."},{"line_number":2197,"context_line":"        :raises: NoFreeConductorWorker if there are no conductors to process"},{"line_number":2198,"context_line":"            this heartbeat request."},{"line_number":2199,"context_line":"        \"\"\""}],"source_content_type":"text/x-python","patch_set":1,"id":"9a89bdaa_3635fbd9","line":2196,"updated":"2016-09-05 13:40:14.000000000","message":"ditto","commit_id":"cdc056306772e2650ac8eb30e845503c687d2f95"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"2be01901e67af5c90947f5956cec7d62f9168b8c","unresolved":false,"context_lines":[{"line_number":2522,"context_line":"        # free to promote it to an exclusive one."},{"line_number":2523,"context_line":"        with task_manager.acquire(context, node_id, shared\u003dTrue,"},{"line_number":2524,"context_line":"                                  purpose\u003d\u0027heartbeat\u0027) as task:"},{"line_number":2525,"context_line":"            heartbeat_spec \u003d inspect.getargspec(task.driver.deploy.heartbeat)"},{"line_number":2526,"context_line":"            if len(heartbeat_spec.args) \u003d\u003d 4:"},{"line_number":2527,"context_line":"                task.spawn_after(self._spawn_worker, task.driver.deploy.heartbeat,"},{"line_number":2528,"context_line":"                                 task, callback_url, agent_version)"},{"line_number":2529,"context_line":"            else:"}],"source_content_type":"text/x-python","patch_set":7,"id":"7f231b9d_67cfcd29","line":2526,"range":{"start_line":2525,"start_character":12,"end_line":2526,"end_character":45},"updated":"2017-06-20 05:04:43.000000000","message":"Why do we need this check? Why can\u0027t we have default value of \u0027None for \u0027agent_version\u0027 in task.driver.deploy.heartbeat() method?\ntask.spawn_after(self._spawn_worker, task.driver.deploy.heartbeat, task, callback_url, agent_version\u003dagent_version)","commit_id":"9524e8c952e4f377e2c75ca0b54c7671503e8ae3"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"95c2df427b521f933e142a881bea3382d2663cf1","unresolved":false,"context_lines":[{"line_number":2522,"context_line":"        # free to promote it to an exclusive one."},{"line_number":2523,"context_line":"        with task_manager.acquire(context, node_id, shared\u003dTrue,"},{"line_number":2524,"context_line":"                                  purpose\u003d\u0027heartbeat\u0027) as task:"},{"line_number":2525,"context_line":"            heartbeat_spec \u003d inspect.getargspec(task.driver.deploy.heartbeat)"},{"line_number":2526,"context_line":"            if len(heartbeat_spec.args) \u003d\u003d 4:"},{"line_number":2527,"context_line":"                task.spawn_after(self._spawn_worker, task.driver.deploy.heartbeat,"},{"line_number":2528,"context_line":"                                 task, callback_url, agent_version)"},{"line_number":2529,"context_line":"            else:"}],"source_content_type":"text/x-python","patch_set":7,"id":"3f1d235d_85536939","line":2526,"range":{"start_line":2525,"start_character":12,"end_line":2526,"end_character":45},"in_reply_to":"7f231b9d_67cfcd29","updated":"2017-07-05 14:01:17.000000000","message":"The reason we need this check is to make sure we are not breaking someone who hasn\u0027t updated their out of tree deploy driver\u0027s heartbeat method to take the new parameter. This should be removed in one or two releases time.","commit_id":"9524e8c952e4f377e2c75ca0b54c7671503e8ae3"},{"author":{"_account_id":22255,"name":"Tuan","email":"tuanla@vn.fujitsu.com","username":"Tuan"},"change_message_id":"46053531d0c3dbc7dfea9bd02eea94dd09910511","unresolved":false,"context_lines":[{"line_number":2539,"context_line":""},{"line_number":2540,"context_line":"    @METRICS.timer(\u0027ConductorManager.heartbeat\u0027)"},{"line_number":2541,"context_line":"    @messaging.expected_exceptions(exception.NoFreeConductorWorker)"},{"line_number":2542,"context_line":"    def heartbeat(self, context, node_id, callback_url, agent_version\u003dNone):"},{"line_number":2543,"context_line":"        \"\"\"Process a heartbeat from the ramdisk."},{"line_number":2544,"context_line":""},{"line_number":2545,"context_line":"        :param context: request context."}],"source_content_type":"text/x-python","patch_set":10,"id":"ff346bd7_3041e83a","line":2542,"range":{"start_line":2542,"start_character":56,"end_line":2542,"end_character":74},"updated":"2017-07-25 01:56:25.000000000","message":"need :param agent_version: the version of the agent that is heartbeating","commit_id":"24cce42dc406d557084dda6377754f0238c866ae"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"87e31abc82c3a803bf9ff93a6579e6c7789bb84d","unresolved":false,"context_lines":[{"line_number":2539,"context_line":""},{"line_number":2540,"context_line":"    @METRICS.timer(\u0027ConductorManager.heartbeat\u0027)"},{"line_number":2541,"context_line":"    @messaging.expected_exceptions(exception.NoFreeConductorWorker)"},{"line_number":2542,"context_line":"    def heartbeat(self, context, node_id, callback_url, agent_version\u003dNone):"},{"line_number":2543,"context_line":"        \"\"\"Process a heartbeat from the ramdisk."},{"line_number":2544,"context_line":""},{"line_number":2545,"context_line":"        :param context: request context."}],"source_content_type":"text/x-python","patch_set":10,"id":"ff346bd7_e136e2e7","line":2542,"range":{"start_line":2542,"start_character":56,"end_line":2542,"end_character":74},"in_reply_to":"ff346bd7_3041e83a","updated":"2017-07-25 12:47:52.000000000","message":"Done","commit_id":"24cce42dc406d557084dda6377754f0238c866ae"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"8aafcff36beedaa989ab612e425b2ebecf6c1061","unresolved":false,"context_lines":[{"line_number":44,"context_line":""},{"line_number":45,"context_line":"import collections"},{"line_number":46,"context_line":"import datetime"},{"line_number":47,"context_line":"import inspect"},{"line_number":48,"context_line":"import tempfile"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"import eventlet"}],"source_content_type":"text/x-python","patch_set":11,"id":"df3967d1_59859759","line":47,"updated":"2017-08-02 01:48:11.000000000","message":"is this needed?","commit_id":"38b2954536e312cf5e4a7f78df85933add2f91a6"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"1e1c4b1c257c3cbd80e0287d84aa96c14e3abda1","unresolved":false,"context_lines":[{"line_number":44,"context_line":""},{"line_number":45,"context_line":"import collections"},{"line_number":46,"context_line":"import datetime"},{"line_number":47,"context_line":"import inspect"},{"line_number":48,"context_line":"import tempfile"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"import eventlet"}],"source_content_type":"text/x-python","patch_set":11,"id":"df3967d1_8dd04721","line":47,"in_reply_to":"df3967d1_59859759","updated":"2017-08-02 15:53:00.000000000","message":"Done","commit_id":"38b2954536e312cf5e4a7f78df85933add2f91a6"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"8aafcff36beedaa989ab612e425b2ebecf6c1061","unresolved":false,"context_lines":[{"line_number":2545,"context_line":"        :param context: request context."},{"line_number":2546,"context_line":"        :param node_id: node id or uuid."},{"line_number":2547,"context_line":"        :param callback_url: URL to reach back to the ramdisk."},{"line_number":2548,"context_line":"        :param agent_version: The version of the agent that is heartbeating"},{"line_number":2549,"context_line":"        :raises: NoFreeConductorWorker if there are no conductors to process"},{"line_number":2550,"context_line":"            this heartbeat request."},{"line_number":2551,"context_line":"        \"\"\""}],"source_content_type":"text/x-python","patch_set":11,"id":"df3967d1_ae8437b2","line":2548,"updated":"2017-08-02 01:48:11.000000000","message":"Should we note here, what None means?","commit_id":"38b2954536e312cf5e4a7f78df85933add2f91a6"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"1e1c4b1c257c3cbd80e0287d84aa96c14e3abda1","unresolved":false,"context_lines":[{"line_number":2545,"context_line":"        :param context: request context."},{"line_number":2546,"context_line":"        :param node_id: node id or uuid."},{"line_number":2547,"context_line":"        :param callback_url: URL to reach back to the ramdisk."},{"line_number":2548,"context_line":"        :param agent_version: The version of the agent that is heartbeating"},{"line_number":2549,"context_line":"        :raises: NoFreeConductorWorker if there are no conductors to process"},{"line_number":2550,"context_line":"            this heartbeat request."},{"line_number":2551,"context_line":"        \"\"\""}],"source_content_type":"text/x-python","patch_set":11,"id":"df3967d1_6893d1a4","line":2548,"in_reply_to":"df3967d1_ae8437b2","updated":"2017-08-02 15:53:00.000000000","message":"Done","commit_id":"38b2954536e312cf5e4a7f78df85933add2f91a6"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"8aafcff36beedaa989ab612e425b2ebecf6c1061","unresolved":false,"context_lines":[{"line_number":2562,"context_line":"            except TypeError:"},{"line_number":2563,"context_line":"                LOG.warning(\u0027Deploy driver %s does not support agent_version \u0027"},{"line_number":2564,"context_line":"                            \u0027as part of the heartbeat request, this is \u0027"},{"line_number":2565,"context_line":"                            \u0027required from Queens onward.\u0027,"},{"line_number":2566,"context_line":"                            task.driver.deploy.__class__.__name__)"},{"line_number":2567,"context_line":"                task.spawn_after("},{"line_number":2568,"context_line":"                    self._spawn_worker, task.driver.deploy.heartbeat,"}],"source_content_type":"text/x-python","patch_set":11,"id":"df3967d1_eebb5f6f","line":2565,"updated":"2017-08-02 01:48:11.000000000","message":"Queens or Pike?","commit_id":"38b2954536e312cf5e4a7f78df85933add2f91a6"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"1e1c4b1c257c3cbd80e0287d84aa96c14e3abda1","unresolved":false,"context_lines":[{"line_number":2562,"context_line":"            except TypeError:"},{"line_number":2563,"context_line":"                LOG.warning(\u0027Deploy driver %s does not support agent_version \u0027"},{"line_number":2564,"context_line":"                            \u0027as part of the heartbeat request, this is \u0027"},{"line_number":2565,"context_line":"                            \u0027required from Queens onward.\u0027,"},{"line_number":2566,"context_line":"                            task.driver.deploy.__class__.__name__)"},{"line_number":2567,"context_line":"                task.spawn_after("},{"line_number":2568,"context_line":"                    self._spawn_worker, task.driver.deploy.heartbeat,"}],"source_content_type":"text/x-python","patch_set":11,"id":"df3967d1_28e26930","line":2565,"in_reply_to":"df3967d1_eebb5f6f","updated":"2017-08-02 15:53:00.000000000","message":"This try/except statement is in place for deprecation period and should be removed in queens making agent_version in the heartbeat mandatory","commit_id":"38b2954536e312cf5e4a7f78df85933add2f91a6"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"ab3ce5c2892921e4c6d5c7b09b63d33bea3f5ddd","unresolved":false,"context_lines":[{"line_number":82,"context_line":""},{"line_number":83,"context_line":"SYNC_EXCLUDED_STATES \u003d (states.DEPLOYWAIT, states.CLEANWAIT, states.ENROLL)"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"SEEN_AGENT_VERSION_DEPRECATIONS \u003d None"},{"line_number":86,"context_line":""},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"class ConductorManager(base_manager.BaseConductorManager):"}],"source_content_type":"text/x-python","patch_set":12,"id":"df3967d1_6d751032","line":85,"updated":"2017-08-02 22:49:29.000000000","message":"Why can\u0027t you s/None/[]/ ?","commit_id":"fbed67f9ce4223e8979442958dc24faa870270a6"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"ab3ce5c2892921e4c6d5c7b09b63d33bea3f5ddd","unresolved":false,"context_lines":[{"line_number":2563,"context_line":"            SEEN_AGENT_VERSION_DEPRECATIONS \u003d []"},{"line_number":2564,"context_line":""},{"line_number":2565,"context_line":"        if agent_version is None:"},{"line_number":2566,"context_line":"            agent_version \u003d \u00272.1.0\u0027"},{"line_number":2567,"context_line":""},{"line_number":2568,"context_line":"        # NOTE(dtantsur): we acquire a shared lock to begin with, drivers are"},{"line_number":2569,"context_line":"        # free to promote it to an exclusive one."}],"source_content_type":"text/x-python","patch_set":12,"id":"df3967d1_6df19095","line":2566,"updated":"2017-08-02 22:49:29.000000000","message":"I don\u0027t like it, but I wonder if we should cut/paste some of the comment from docstring L2548. I guess you can wait to see if someone asks you why you\u0027re doing this :)","commit_id":"fbed67f9ce4223e8979442958dc24faa870270a6"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"f755018eb92e52e8edd041f0d88d80155998ac10","unresolved":false,"context_lines":[{"line_number":82,"context_line":""},{"line_number":83,"context_line":"SYNC_EXCLUDED_STATES \u003d (states.DEPLOYWAIT, states.CLEANWAIT, states.ENROLL)"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"SEEN_AGENT_VERSION_DEPRECATIONS \u003d None"},{"line_number":86,"context_line":""},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"class ConductorManager(base_manager.BaseConductorManager):"}],"source_content_type":"text/x-python","patch_set":15,"id":"ff82abbf_815d2d7a","line":85,"updated":"2017-11-29 18:59:28.000000000","message":"maybe add a comment that this is a list of names of deploy drivers that don\u0027t support this.\n\nCan\u0027t you just initialize this to []?","commit_id":"b0bf17824de6adbd43680cd4551a604acfaa2483"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"b2220696a8e38b9a53b5df73fba1e92586d7e868","unresolved":false,"context_lines":[{"line_number":82,"context_line":""},{"line_number":83,"context_line":"SYNC_EXCLUDED_STATES \u003d (states.DEPLOYWAIT, states.CLEANWAIT, states.ENROLL)"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"SEEN_AGENT_VERSION_DEPRECATIONS \u003d None"},{"line_number":86,"context_line":""},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"class ConductorManager(base_manager.BaseConductorManager):"}],"source_content_type":"text/x-python","patch_set":15,"id":"ff82abbf_bcfba145","line":85,"in_reply_to":"ff82abbf_815d2d7a","updated":"2017-11-30 14:22:12.000000000","message":"Done","commit_id":"b0bf17824de6adbd43680cd4551a604acfaa2483"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"f755018eb92e52e8edd041f0d88d80155998ac10","unresolved":false,"context_lines":[{"line_number":2561,"context_line":"            heartbeating is a version before sending agent_version was"},{"line_number":2562,"context_line":"            introduced or that we\u0027re in the middle of a rolling upgrade and the"},{"line_number":2563,"context_line":"            RPC version is pinned so the API isn\u0027t passing us the"},{"line_number":2564,"context_line":"            agent_version, in these cases assume agent v2.1.0 (the last release"},{"line_number":2565,"context_line":"            before sending agent_version was introduced)."},{"line_number":2566,"context_line":"        :param callback_url: URL to reach back to the ramdisk."},{"line_number":2567,"context_line":"        :raises: NoFreeConductorWorker if there are no conductors to process"}],"source_content_type":"text/x-python","patch_set":15,"id":"ff82abbf_417ba526","line":2564,"updated":"2017-11-29 18:59:28.000000000","message":"s/2.1.0/3.0.0/","commit_id":"b0bf17824de6adbd43680cd4551a604acfaa2483"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"b2220696a8e38b9a53b5df73fba1e92586d7e868","unresolved":false,"context_lines":[{"line_number":2561,"context_line":"            heartbeating is a version before sending agent_version was"},{"line_number":2562,"context_line":"            introduced or that we\u0027re in the middle of a rolling upgrade and the"},{"line_number":2563,"context_line":"            RPC version is pinned so the API isn\u0027t passing us the"},{"line_number":2564,"context_line":"            agent_version, in these cases assume agent v2.1.0 (the last release"},{"line_number":2565,"context_line":"            before sending agent_version was introduced)."},{"line_number":2566,"context_line":"        :param callback_url: URL to reach back to the ramdisk."},{"line_number":2567,"context_line":"        :raises: NoFreeConductorWorker if there are no conductors to process"}],"source_content_type":"text/x-python","patch_set":15,"id":"ff82abbf_dcf8e54a","line":2564,"in_reply_to":"ff82abbf_417ba526","updated":"2017-11-30 14:22:12.000000000","message":"Done","commit_id":"b0bf17824de6adbd43680cd4551a604acfaa2483"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"f755018eb92e52e8edd041f0d88d80155998ac10","unresolved":false,"context_lines":[{"line_number":2574,"context_line":"            SEEN_AGENT_VERSION_DEPRECATIONS \u003d []"},{"line_number":2575,"context_line":""},{"line_number":2576,"context_line":"        if agent_version is None:"},{"line_number":2577,"context_line":"            agent_version \u003d \u00272.1.0\u0027"},{"line_number":2578,"context_line":""},{"line_number":2579,"context_line":"        # NOTE(dtantsur): we acquire a shared lock to begin with, drivers are"},{"line_number":2580,"context_line":"        # free to promote it to an exclusive one."}],"source_content_type":"text/x-python","patch_set":15,"id":"ff82abbf_6197c93b","line":2577,"updated":"2017-11-29 18:59:28.000000000","message":"s/2.1.0/3.0.0/","commit_id":"b0bf17824de6adbd43680cd4551a604acfaa2483"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"b2220696a8e38b9a53b5df73fba1e92586d7e868","unresolved":false,"context_lines":[{"line_number":2574,"context_line":"            SEEN_AGENT_VERSION_DEPRECATIONS \u003d []"},{"line_number":2575,"context_line":""},{"line_number":2576,"context_line":"        if agent_version is None:"},{"line_number":2577,"context_line":"            agent_version \u003d \u00272.1.0\u0027"},{"line_number":2578,"context_line":""},{"line_number":2579,"context_line":"        # NOTE(dtantsur): we acquire a shared lock to begin with, drivers are"},{"line_number":2580,"context_line":"        # free to promote it to an exclusive one."}],"source_content_type":"text/x-python","patch_set":15,"id":"ff82abbf_7c93d901","line":2577,"in_reply_to":"ff82abbf_6197c93b","updated":"2017-11-30 14:22:12.000000000","message":"Done","commit_id":"b0bf17824de6adbd43680cd4551a604acfaa2483"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"f755018eb92e52e8edd041f0d88d80155998ac10","unresolved":false,"context_lines":[{"line_number":2580,"context_line":"        # free to promote it to an exclusive one."},{"line_number":2581,"context_line":"        with task_manager.acquire(context, node_id, shared\u003dTrue,"},{"line_number":2582,"context_line":"                                  purpose\u003d\u0027heartbeat\u0027) as task:"},{"line_number":2583,"context_line":"            # FIXME(sambetts) Remove this try/except statement in Queens making"},{"line_number":2584,"context_line":"            # taking the agent_version in the deploy driver heartbeat function"},{"line_number":2585,"context_line":"            # mandatory."},{"line_number":2586,"context_line":"            try:"}],"source_content_type":"text/x-python","patch_set":15,"id":"ff82abbf_81b3ede8","line":2583,"updated":"2017-11-29 18:59:28.000000000","message":"s/Queens/Rocky/","commit_id":"b0bf17824de6adbd43680cd4551a604acfaa2483"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"b2220696a8e38b9a53b5df73fba1e92586d7e868","unresolved":false,"context_lines":[{"line_number":2580,"context_line":"        # free to promote it to an exclusive one."},{"line_number":2581,"context_line":"        with task_manager.acquire(context, node_id, shared\u003dTrue,"},{"line_number":2582,"context_line":"                                  purpose\u003d\u0027heartbeat\u0027) as task:"},{"line_number":2583,"context_line":"            # FIXME(sambetts) Remove this try/except statement in Queens making"},{"line_number":2584,"context_line":"            # taking the agent_version in the deploy driver heartbeat function"},{"line_number":2585,"context_line":"            # mandatory."},{"line_number":2586,"context_line":"            try:"}],"source_content_type":"text/x-python","patch_set":15,"id":"ff82abbf_3cb6b18c","line":2583,"in_reply_to":"ff82abbf_81b3ede8","updated":"2017-11-30 14:22:12.000000000","message":"Done","commit_id":"b0bf17824de6adbd43680cd4551a604acfaa2483"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"f755018eb92e52e8edd041f0d88d80155998ac10","unresolved":false,"context_lines":[{"line_number":2582,"context_line":"                                  purpose\u003d\u0027heartbeat\u0027) as task:"},{"line_number":2583,"context_line":"            # FIXME(sambetts) Remove this try/except statement in Queens making"},{"line_number":2584,"context_line":"            # taking the agent_version in the deploy driver heartbeat function"},{"line_number":2585,"context_line":"            # mandatory."},{"line_number":2586,"context_line":"            try:"},{"line_number":2587,"context_line":"                task.spawn_after("},{"line_number":2588,"context_line":"                    self._spawn_worker, task.driver.deploy.heartbeat,"}],"source_content_type":"text/x-python","patch_set":15,"id":"ff82abbf_41ce455a","line":2585,"updated":"2017-11-29 18:59:28.000000000","message":"I skimmed the spec and I didn\u0027t see mention of this deprecation, and I\u0027ve already forgotten what we do wrt driver API changes. I guess this is fine since I didn\u0027t comment on it before :)","commit_id":"b0bf17824de6adbd43680cd4551a604acfaa2483"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"f755018eb92e52e8edd041f0d88d80155998ac10","unresolved":false,"context_lines":[{"line_number":2592,"context_line":"                if deploy_driver_name not in SEEN_AGENT_VERSION_DEPRECATIONS:"},{"line_number":2593,"context_line":"                    LOG.warning(\u0027Deploy driver %s does not support \u0027"},{"line_number":2594,"context_line":"                                \u0027agent_version as part of the heartbeat \u0027"},{"line_number":2595,"context_line":"                                \u0027request, this will be required from Queens \u0027"},{"line_number":2596,"context_line":"                                \u0027onward.\u0027, deploy_driver_name)"},{"line_number":2597,"context_line":"                    SEEN_AGENT_VERSION_DEPRECATIONS.append(deploy_driver_name)"},{"line_number":2598,"context_line":"                task.spawn_after("}],"source_content_type":"text/x-python","patch_set":15,"id":"ff82abbf_21fc616e","line":2595,"updated":"2017-11-29 18:59:28.000000000","message":"s/Queens/Rocky/","commit_id":"b0bf17824de6adbd43680cd4551a604acfaa2483"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"8aa8f4bd2c5790da255c29b1181d472581ce9e8b","unresolved":false,"context_lines":[{"line_number":2572,"context_line":"        \"\"\""},{"line_number":2573,"context_line":"        LOG.debug(\u0027RPC heartbeat called for node %s\u0027, node_id)"},{"line_number":2574,"context_line":""},{"line_number":2575,"context_line":"        global SEEN_AGENT_VERSION_DEPRECATIONS"},{"line_number":2576,"context_line":""},{"line_number":2577,"context_line":"        if agent_version is None:"},{"line_number":2578,"context_line":"            agent_version \u003d \u00273.0.0\u0027"}],"source_content_type":"text/x-python","patch_set":16,"id":"ff82abbf_58261a6b","line":2575,"updated":"2017-11-30 17:53:42.000000000","message":"shouldn\u0027t this be _SEEN_AGENT... ?","commit_id":"ab60614f791b0e88dfd194ab3e0aa749bec20c44"}],"ironic/conductor/rpcapi.py":[{"author":{"_account_id":14525,"name":"Vasyl Saienko","email":"vsaienko@mirantis.com","username":"vsaienko"},"change_message_id":"00a3cc1a541ebde19489e704f8c8f9636c58e40f","unresolved":false,"context_lines":[{"line_number":654,"context_line":"        :param context: request context."},{"line_number":655,"context_line":"        :param node_id: node ID or UUID."},{"line_number":656,"context_line":"        :param callback_url: URL to reach back to the ramdisk."},{"line_number":657,"context_line":"        :param topic: RPC topic. Defaults to self.topic."},{"line_number":658,"context_line":"        \"\"\""},{"line_number":659,"context_line":"        cctxt \u003d self.client.prepare(topic\u003dtopic or self.topic, version\u003d\u00271.34\u0027)"},{"line_number":660,"context_line":"        return cctxt.call(context, \u0027heartbeat\u0027, node_id\u003dnode_id,"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a89bdaa_eb2641b9","line":657,"updated":"2016-09-05 18:42:45.000000000","message":"ditto agent_version param is missed in docstring.","commit_id":"cdc056306772e2650ac8eb30e845503c687d2f95"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"8aafcff36beedaa989ab612e425b2ebecf6c1061","unresolved":false,"context_lines":[{"line_number":754,"context_line":"        cctxt \u003d self.client.prepare(topic\u003dtopic or self.topic, version\u003d\u00271.42\u0027)"},{"line_number":755,"context_line":"        return cctxt.call(context, \u0027heartbeat\u0027, node_id\u003dnode_id,"},{"line_number":756,"context_line":"                          callback_url\u003dcallback_url,"},{"line_number":757,"context_line":"                          agent_version\u003dagent_version)"},{"line_number":758,"context_line":""},{"line_number":759,"context_line":"    def object_class_action_versions(self, context, objname, objmethod,"},{"line_number":760,"context_line":"                                     object_versions, args, kwargs):"}],"source_content_type":"text/x-python","patch_set":11,"id":"df3967d1_0eeb4379","line":757,"updated":"2017-08-02 01:48:11.000000000","message":"This won\u0027t work during a rolling upgrade. Do something like\n\nkw \u003d {}\nversion \u003d \u00271.34\u0027\nif self.client.can_send_version(\u00271.42\u0027):\n    version \u003d \u00271.42\u0027\n    kw[\u0027agent_version\u0027] \u003d agent_version\ncctx \u003d self.client.prepare(topic\u003dtopic or self.topic, version\u003dversion)\nreturn cctx.call(context, \u0027heartbeat\u0027, node_id\u003dnode_id, callback_url\u003dcallback_url, **kw)","commit_id":"38b2954536e312cf5e4a7f78df85933add2f91a6"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"1e1c4b1c257c3cbd80e0287d84aa96c14e3abda1","unresolved":false,"context_lines":[{"line_number":754,"context_line":"        cctxt \u003d self.client.prepare(topic\u003dtopic or self.topic, version\u003d\u00271.42\u0027)"},{"line_number":755,"context_line":"        return cctxt.call(context, \u0027heartbeat\u0027, node_id\u003dnode_id,"},{"line_number":756,"context_line":"                          callback_url\u003dcallback_url,"},{"line_number":757,"context_line":"                          agent_version\u003dagent_version)"},{"line_number":758,"context_line":""},{"line_number":759,"context_line":"    def object_class_action_versions(self, context, objname, objmethod,"},{"line_number":760,"context_line":"                                     object_versions, args, kwargs):"}],"source_content_type":"text/x-python","patch_set":11,"id":"df3967d1_e82ea1f8","line":757,"in_reply_to":"df3967d1_0eeb4379","updated":"2017-08-02 15:53:00.000000000","message":"Done","commit_id":"38b2954536e312cf5e4a7f78df85933add2f91a6"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"ab3ce5c2892921e4c6d5c7b09b63d33bea3f5ddd","unresolved":false,"context_lines":[{"line_number":762,"context_line":"            new_kws[\u0027agent_version\u0027] \u003d agent_version"},{"line_number":763,"context_line":"        cctxt \u003d self.client.prepare(topic\u003dtopic or self.topic, version\u003dversion)"},{"line_number":764,"context_line":"        return cctxt.call(context, \u0027heartbeat\u0027, node_id\u003dnode_id,"},{"line_number":765,"context_line":"                          callback_url\u003dcallback_url, **new_kws)"},{"line_number":766,"context_line":""},{"line_number":767,"context_line":"    def object_class_action_versions(self, context, objname, objmethod,"},{"line_number":768,"context_line":"                                     object_versions, args, kwargs):"}],"source_content_type":"text/x-python","patch_set":12,"id":"df3967d1_ad577858","line":765,"updated":"2017-08-02 22:49:29.000000000","message":"I wonder if people will ask what is going on. We may want to add comments wrt code change for rolling upgrades; let\u0027s see if someone asks.","commit_id":"fbed67f9ce4223e8979442958dc24faa870270a6"}],"ironic/drivers/base.py":[{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"2be01901e67af5c90947f5956cec7d62f9168b8c","unresolved":false,"context_lines":[{"line_number":402,"context_line":"        \"\"\""},{"line_number":403,"context_line":"        pass"},{"line_number":404,"context_line":""},{"line_number":405,"context_line":"    def heartbeat(self, task, callback_url, agent_version):"},{"line_number":406,"context_line":"        \"\"\"Record a heartbeat for the node."},{"line_number":407,"context_line":""},{"line_number":408,"context_line":"        :param task: a TaskManager instance containing the node to act on."}],"source_content_type":"text/x-python","patch_set":7,"id":"7f231b9d_275e7545","line":405,"range":{"start_line":405,"start_character":44,"end_line":405,"end_character":57},"updated":"2017-06-20 05:04:43.000000000","message":"Can this be with default value?\ndef heartbeat(self, task, callback_url, agent_version\u003dNone)","commit_id":"9524e8c952e4f377e2c75ca0b54c7671503e8ae3"},{"author":{"_account_id":22255,"name":"Tuan","email":"tuanla@vn.fujitsu.com","username":"Tuan"},"change_message_id":"46053531d0c3dbc7dfea9bd02eea94dd09910511","unresolved":false,"context_lines":[{"line_number":402,"context_line":"        \"\"\""},{"line_number":403,"context_line":"        pass"},{"line_number":404,"context_line":""},{"line_number":405,"context_line":"    def heartbeat(self, task, callback_url, agent_version):"},{"line_number":406,"context_line":"        \"\"\"Record a heartbeat for the node."},{"line_number":407,"context_line":""},{"line_number":408,"context_line":"        :param task: a TaskManager instance containing the node to act on."}],"source_content_type":"text/x-python","patch_set":10,"id":"ff346bd7_9050940c","line":405,"range":{"start_line":405,"start_character":44,"end_line":405,"end_character":57},"updated":"2017-07-25 01:56:25.000000000","message":"need :param agent_version: the version of the agent that is heartbeating","commit_id":"24cce42dc406d557084dda6377754f0238c866ae"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"87e31abc82c3a803bf9ff93a6579e6c7789bb84d","unresolved":false,"context_lines":[{"line_number":402,"context_line":"        \"\"\""},{"line_number":403,"context_line":"        pass"},{"line_number":404,"context_line":""},{"line_number":405,"context_line":"    def heartbeat(self, task, callback_url, agent_version):"},{"line_number":406,"context_line":"        \"\"\"Record a heartbeat for the node."},{"line_number":407,"context_line":""},{"line_number":408,"context_line":"        :param task: a TaskManager instance containing the node to act on."}],"source_content_type":"text/x-python","patch_set":10,"id":"ff346bd7_6c8f8923","line":405,"range":{"start_line":405,"start_character":44,"end_line":405,"end_character":57},"in_reply_to":"ff346bd7_9050940c","updated":"2017-07-25 12:47:52.000000000","message":"Done","commit_id":"24cce42dc406d557084dda6377754f0238c866ae"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"8aafcff36beedaa989ab612e425b2ebecf6c1061","unresolved":false,"context_lines":[{"line_number":407,"context_line":""},{"line_number":408,"context_line":"        :param task: a TaskManager instance containing the node to act on."},{"line_number":409,"context_line":"        :param callback_url: a URL to use to call to the ramdisk."},{"line_number":410,"context_line":"        :param agent_version: The version of the agent that is heartbeating"},{"line_number":411,"context_line":"        :return: None"},{"line_number":412,"context_line":"        \"\"\""},{"line_number":413,"context_line":"        LOG.warning(\u0027Got heartbeat message from node %(node)s, but \u0027"}],"source_content_type":"text/x-python","patch_set":11,"id":"df3967d1_6e7c0fb5","line":410,"updated":"2017-08-02 01:48:11.000000000","message":"may be None.","commit_id":"38b2954536e312cf5e4a7f78df85933add2f91a6"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"1e1c4b1c257c3cbd80e0287d84aa96c14e3abda1","unresolved":false,"context_lines":[{"line_number":407,"context_line":""},{"line_number":408,"context_line":"        :param task: a TaskManager instance containing the node to act on."},{"line_number":409,"context_line":"        :param callback_url: a URL to use to call to the ramdisk."},{"line_number":410,"context_line":"        :param agent_version: The version of the agent that is heartbeating"},{"line_number":411,"context_line":"        :return: None"},{"line_number":412,"context_line":"        \"\"\""},{"line_number":413,"context_line":"        LOG.warning(\u0027Got heartbeat message from node %(node)s, but \u0027"}],"source_content_type":"text/x-python","patch_set":11,"id":"df3967d1_c80e3d8c","line":410,"in_reply_to":"df3967d1_6e7c0fb5","updated":"2017-08-02 15:53:00.000000000","message":"No longer the case, code will assume the last version before agent_version was introduced.","commit_id":"38b2954536e312cf5e4a7f78df85933add2f91a6"}],"ironic/drivers/modules/agent_base_vendor.py":[{"author":{"_account_id":14525,"name":"Vasyl Saienko","email":"vsaienko@mirantis.com","username":"vsaienko"},"change_message_id":"00a3cc1a541ebde19489e704f8c8f9636c58e40f","unresolved":false,"context_lines":[{"line_number":444,"context_line":"        \"\"\"Process a heartbeat."},{"line_number":445,"context_line":""},{"line_number":446,"context_line":"        :param task: task to work with."},{"line_number":447,"context_line":"        :param callback_url: agent HTTP API URL."},{"line_number":448,"context_line":"        \"\"\""},{"line_number":449,"context_line":"        # TODO(dtantsur): upgrade lock only if we actually take action other"},{"line_number":450,"context_line":"        # than updating the last timestamp."}],"source_content_type":"text/x-python","patch_set":1,"id":"9a89bdaa_0b2a857e","line":447,"updated":"2016-09-05 18:42:45.000000000","message":"ditto","commit_id":"cdc056306772e2650ac8eb30e845503c687d2f95"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"2be01901e67af5c90947f5956cec7d62f9168b8c","unresolved":false,"context_lines":[{"line_number":255,"context_line":"        \"\"\""},{"line_number":256,"context_line":""},{"line_number":257,"context_line":"    @METRICS.timer(\u0027HeartbeatMixin.heartbeat\u0027)"},{"line_number":258,"context_line":"    def heartbeat(self, task, callback_url, agent_version):"},{"line_number":259,"context_line":"        \"\"\"Process a heartbeat."},{"line_number":260,"context_line":""},{"line_number":261,"context_line":"        :param task: task to work with."}],"source_content_type":"text/x-python","patch_set":7,"id":"7f231b9d_e7575d26","line":258,"range":{"start_line":258,"start_character":42,"end_line":258,"end_character":57},"updated":"2017-06-20 05:04:43.000000000","message":"Can this be with default value?\ndef heartbeat(self, task, callback_url, agent_version\u003dNone)","commit_id":"9524e8c952e4f377e2c75ca0b54c7671503e8ae3"},{"author":{"_account_id":22255,"name":"Tuan","email":"tuanla@vn.fujitsu.com","username":"Tuan"},"change_message_id":"46053531d0c3dbc7dfea9bd02eea94dd09910511","unresolved":false,"context_lines":[{"line_number":259,"context_line":"        \"\"\""},{"line_number":260,"context_line":""},{"line_number":261,"context_line":"    @METRICS.timer(\u0027HeartbeatMixin.heartbeat\u0027)"},{"line_number":262,"context_line":"    def heartbeat(self, task, callback_url, agent_version):"},{"line_number":263,"context_line":"        \"\"\"Process a heartbeat."},{"line_number":264,"context_line":""},{"line_number":265,"context_line":"        :param task: task to work with."}],"source_content_type":"text/x-python","patch_set":10,"id":"ff346bd7_103704e6","line":262,"range":{"start_line":262,"start_character":44,"end_line":262,"end_character":57},"updated":"2017-07-25 01:56:25.000000000","message":"Need :param agent_version: the version of the agent that is heartbeating","commit_id":"24cce42dc406d557084dda6377754f0238c866ae"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"87e31abc82c3a803bf9ff93a6579e6c7789bb84d","unresolved":false,"context_lines":[{"line_number":259,"context_line":"        \"\"\""},{"line_number":260,"context_line":""},{"line_number":261,"context_line":"    @METRICS.timer(\u0027HeartbeatMixin.heartbeat\u0027)"},{"line_number":262,"context_line":"    def heartbeat(self, task, callback_url, agent_version):"},{"line_number":263,"context_line":"        \"\"\"Process a heartbeat."},{"line_number":264,"context_line":""},{"line_number":265,"context_line":"        :param task: task to work with."}],"source_content_type":"text/x-python","patch_set":10,"id":"ff346bd7_2c99816d","line":262,"range":{"start_line":262,"start_character":44,"end_line":262,"end_character":57},"in_reply_to":"ff346bd7_103704e6","updated":"2017-07-25 12:47:52.000000000","message":"Done","commit_id":"24cce42dc406d557084dda6377754f0238c866ae"}],"ironic/tests/unit/api/controllers/v1/test_ramdisk.py":[{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"aa2ccdba2fbc72d8c86f7194de4cae40a4a98a61","unresolved":false,"context_lines":[{"line_number":194,"context_line":"        response \u003d self.post_json("},{"line_number":195,"context_line":"            \u0027/heartbeat/%s\u0027 % node.uuid,"},{"line_number":196,"context_line":"            {\u0027callback_url\u0027: \u0027url\u0027,"},{"line_number":197,"context_line":"             \u0027agent_version\u0027: \u00271.4.1\u0027},"},{"line_number":198,"context_line":"            headers\u003d{api_base.Version.string: str(api_v1.MAX_VER)})"},{"line_number":199,"context_line":"        self.assertEqual(http_client.ACCEPTED, response.status_int)"},{"line_number":200,"context_line":"        self.assertEqual(b\u0027\u0027, response.body)"}],"source_content_type":"text/x-python","patch_set":18,"id":"df87a7cf_7a286285","line":197,"updated":"2017-12-05 22:57:26.000000000","message":"please verify, the ipa code looks like it puts this in the body/data of the request.","commit_id":"5f1f83a982f0921ce87746938c5f6e2dc1297915"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"17673059054124fbb03efaf092ed86c879727861","unresolved":false,"context_lines":[{"line_number":194,"context_line":"        response \u003d self.post_json("},{"line_number":195,"context_line":"            \u0027/heartbeat/%s\u0027 % node.uuid,"},{"line_number":196,"context_line":"            {\u0027callback_url\u0027: \u0027url\u0027,"},{"line_number":197,"context_line":"             \u0027agent_version\u0027: \u00271.4.1\u0027},"},{"line_number":198,"context_line":"            headers\u003d{api_base.Version.string: str(api_v1.MAX_VER)})"},{"line_number":199,"context_line":"        self.assertEqual(http_client.ACCEPTED, response.status_int)"},{"line_number":200,"context_line":"        self.assertEqual(b\u0027\u0027, response.body)"}],"source_content_type":"text/x-python","patch_set":18,"id":"df87a7cf_864b7e29","line":197,"in_reply_to":"df87a7cf_3238b59e","updated":"2017-12-06 14:44:00.000000000","message":"oh yes, it is correct, not sure what i was thinking about.","commit_id":"5f1f83a982f0921ce87746938c5f6e2dc1297915"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"c491e306ad21fb5062809480a0b752c7f02cb759","unresolved":false,"context_lines":[{"line_number":194,"context_line":"        response \u003d self.post_json("},{"line_number":195,"context_line":"            \u0027/heartbeat/%s\u0027 % node.uuid,"},{"line_number":196,"context_line":"            {\u0027callback_url\u0027: \u0027url\u0027,"},{"line_number":197,"context_line":"             \u0027agent_version\u0027: \u00271.4.1\u0027},"},{"line_number":198,"context_line":"            headers\u003d{api_base.Version.string: str(api_v1.MAX_VER)})"},{"line_number":199,"context_line":"        self.assertEqual(http_client.ACCEPTED, response.status_int)"},{"line_number":200,"context_line":"        self.assertEqual(b\u0027\u0027, response.body)"}],"source_content_type":"text/x-python","patch_set":18,"id":"df87a7cf_3238b59e","line":197,"in_reply_to":"df87a7cf_7a286285","updated":"2017-12-06 12:58:33.000000000","message":"It does, and so does this test, only discrepancy is in the API ref.","commit_id":"5f1f83a982f0921ce87746938c5f6e2dc1297915"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"7831927fed93dbd3ab0d4e5688965b81abf75138","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":18,"id":"df87a7cf_30e768e7","line":204,"updated":"2017-12-05 16:06:09.000000000","message":"do we want a test that has agent_version specified, but the API version is \u003c 1.36?","commit_id":"5f1f83a982f0921ce87746938c5f6e2dc1297915"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"c491e306ad21fb5062809480a0b752c7f02cb759","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":18,"id":"df87a7cf_8d1720ee","line":204,"in_reply_to":"df87a7cf_30e768e7","updated":"2017-12-06 12:58:33.000000000","message":"Done","commit_id":"5f1f83a982f0921ce87746938c5f6e2dc1297915"}],"ironic/tests/unit/conductor/test_manager.py":[{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"7831927fed93dbd3ab0d4e5688965b81abf75138","unresolved":false,"context_lines":[{"line_number":6228,"context_line":""},{"line_number":6229,"context_line":"        # NOTE(sambetts) Test to make sure deploy driver that doesn\u0027t support"},{"line_number":6230,"context_line":"        # version yet falls back to old behviour and logs a warning."},{"line_number":6231,"context_line":"        self.service.heartbeat("},{"line_number":6232,"context_line":"            self.context, node.uuid, \u0027http://callback\u0027, \u00271.4.1\u0027)"},{"line_number":6233,"context_line":"        calls \u003d ["},{"line_number":6234,"context_line":"            mock.call(mock.ANY, \u0027http://callback\u0027, \u00271.4.1\u0027),"}],"source_content_type":"text/x-python","patch_set":18,"id":"df87a7cf_1b57e504","line":6231,"updated":"2017-12-05 16:06:09.000000000","message":"it is dangerous to use/modify a global in a test w/o initializing them cuz some other test might muck around with the same global. You could mock it and make sure it only gets changed in this test.","commit_id":"5f1f83a982f0921ce87746938c5f6e2dc1297915"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"c491e306ad21fb5062809480a0b752c7f02cb759","unresolved":false,"context_lines":[{"line_number":6228,"context_line":""},{"line_number":6229,"context_line":"        # NOTE(sambetts) Test to make sure deploy driver that doesn\u0027t support"},{"line_number":6230,"context_line":"        # version yet falls back to old behviour and logs a warning."},{"line_number":6231,"context_line":"        self.service.heartbeat("},{"line_number":6232,"context_line":"            self.context, node.uuid, \u0027http://callback\u0027, \u00271.4.1\u0027)"},{"line_number":6233,"context_line":"        calls \u003d ["},{"line_number":6234,"context_line":"            mock.call(mock.ANY, \u0027http://callback\u0027, \u00271.4.1\u0027),"}],"source_content_type":"text/x-python","patch_set":18,"id":"df87a7cf_d279492f","line":6231,"in_reply_to":"df87a7cf_1b57e504","updated":"2017-12-06 12:58:33.000000000","message":"This isn\u0027t a global, its a new instance of the conductor manager created for this test here: https://github.com/openstack/ironic/blob/master/ironic/tests/unit/conductor/mgr_utils.py#L180","commit_id":"5f1f83a982f0921ce87746938c5f6e2dc1297915"}],"ironic/tests/unit/drivers/modules/test_agent_base_vendor.py":[{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"7831927fed93dbd3ab0d4e5688965b81abf75138","unresolved":false,"context_lines":[{"line_number":81,"context_line":"            agent_url \u003d \u0027url-%s\u0027 % state"},{"line_number":82,"context_line":"            with task_manager.acquire(self.context, self.node.uuid,"},{"line_number":83,"context_line":"                                      shared\u003dTrue) as task:"},{"line_number":84,"context_line":"                self.deploy.heartbeat(task, agent_url, \u00271.0.0\u0027)"},{"line_number":85,"context_line":"                self.assertFalse(task.shared)"},{"line_number":86,"context_line":"                self.assertEqual("},{"line_number":87,"context_line":"                    agent_url,"}],"source_content_type":"text/x-python","patch_set":18,"id":"df87a7cf_5b9b2dc8","line":84,"updated":"2017-12-05 16:06:09.000000000","message":"just a nit. even though these are tests, the agent version can\u0027t/shouldn\u0027t be \u003c 3.0.0... (in case someone looks at this as an example for something in real life...)\n\nWell, they shouldn\u0027t, so ignore this...","commit_id":"5f1f83a982f0921ce87746938c5f6e2dc1297915"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"c491e306ad21fb5062809480a0b752c7f02cb759","unresolved":false,"context_lines":[{"line_number":81,"context_line":"            agent_url \u003d \u0027url-%s\u0027 % state"},{"line_number":82,"context_line":"            with task_manager.acquire(self.context, self.node.uuid,"},{"line_number":83,"context_line":"                                      shared\u003dTrue) as task:"},{"line_number":84,"context_line":"                self.deploy.heartbeat(task, agent_url, \u00271.0.0\u0027)"},{"line_number":85,"context_line":"                self.assertFalse(task.shared)"},{"line_number":86,"context_line":"                self.assertEqual("},{"line_number":87,"context_line":"                    agent_url,"}],"source_content_type":"text/x-python","patch_set":18,"id":"df87a7cf_6d089c2b","line":84,"in_reply_to":"df87a7cf_5b9b2dc8","updated":"2017-12-06 12:58:33.000000000","message":"Done","commit_id":"5f1f83a982f0921ce87746938c5f6e2dc1297915"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"7831927fed93dbd3ab0d4e5688965b81abf75138","unresolved":false,"context_lines":[{"line_number":276,"context_line":"                self.context, self.node.uuid, shared\u003dFalse) as task:"},{"line_number":277,"context_line":"            self.deploy.heartbeat(task, \u0027http://127.0.0.1:8080\u0027, \u00271.0.0\u0027)"},{"line_number":278,"context_line":"            self.assertEqual(\u0027http://127.0.0.1:8080\u0027,"},{"line_number":279,"context_line":"                             task.node.driver_internal_info[\u0027agent_url\u0027])"},{"line_number":280,"context_line":"        mock_touch.assert_called_once_with(mock.ANY)"},{"line_number":281,"context_line":""},{"line_number":282,"context_line":""}],"source_content_type":"text/x-python","patch_set":18,"id":"df87a7cf_fb92419f","line":279,"updated":"2017-12-05 16:06:09.000000000","message":"what is missing in this file, are asserts like the above, to check that task.node.driver_intrnal_info[\u0027agent_version\u0027] \u003d\u003d 1.0.0","commit_id":"5f1f83a982f0921ce87746938c5f6e2dc1297915"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"c491e306ad21fb5062809480a0b752c7f02cb759","unresolved":false,"context_lines":[{"line_number":276,"context_line":"                self.context, self.node.uuid, shared\u003dFalse) as task:"},{"line_number":277,"context_line":"            self.deploy.heartbeat(task, \u0027http://127.0.0.1:8080\u0027, \u00271.0.0\u0027)"},{"line_number":278,"context_line":"            self.assertEqual(\u0027http://127.0.0.1:8080\u0027,"},{"line_number":279,"context_line":"                             task.node.driver_internal_info[\u0027agent_url\u0027])"},{"line_number":280,"context_line":"        mock_touch.assert_called_once_with(mock.ANY)"},{"line_number":281,"context_line":""},{"line_number":282,"context_line":""}],"source_content_type":"text/x-python","patch_set":18,"id":"df87a7cf_cd09a831","line":279,"in_reply_to":"df87a7cf_fb92419f","updated":"2017-12-06 12:58:33.000000000","message":"Done","commit_id":"5f1f83a982f0921ce87746938c5f6e2dc1297915"}],"releasenotes/notes/heartbeat_agent_version-70f4e64b19b51d87.yaml":[{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"8aafcff36beedaa989ab612e425b2ebecf6c1061","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - Heartbeat can now receive a new agent_version parameter, if received this"},{"line_number":4,"context_line":"    will be stored in the driver_internal_info. This information will be used"},{"line_number":5,"context_line":"    in the future to gracefully degrade which agent features are requested by"},{"line_number":6,"context_line":"    Ironic, ensuring that we don\u0027t request a new feature from an older ramdisk"}],"source_content_type":"text/x-yaml","patch_set":11,"id":"df3967d1_19714faa","line":3,"updated":"2017-08-02 01:48:11.000000000","message":"I think it might be useful to mention/start of with something like\n\nThe agent heartbeat (POST /v1/heartbeat/\u003cnode\u003e) request can now include its version in the ``agent_version`` field in the body.\n\nI\u0027m not sure how much of the rest of it to include here...\n\nAnd I wonder if it should be in \u0027other\u0027, not \u0027features\u0027. This isn\u0027t a \u0027user\u0027 visible feature; it is for use by IPA and ironic. Is it only useful for developers/debugging?","commit_id":"38b2954536e312cf5e4a7f78df85933add2f91a6"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"1e1c4b1c257c3cbd80e0287d84aa96c14e3abda1","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - Heartbeat can now receive a new agent_version parameter, if received this"},{"line_number":4,"context_line":"    will be stored in the driver_internal_info. This information will be used"},{"line_number":5,"context_line":"    in the future to gracefully degrade which agent features are requested by"},{"line_number":6,"context_line":"    Ironic, ensuring that we don\u0027t request a new feature from an older ramdisk"}],"source_content_type":"text/x-yaml","patch_set":11,"id":"df3967d1_d5ec952a","line":3,"in_reply_to":"df3967d1_19714faa","updated":"2017-08-02 15:53:00.000000000","message":"Done","commit_id":"38b2954536e312cf5e4a7f78df85933add2f91a6"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"ab3ce5c2892921e4c6d5c7b09b63d33bea3f5ddd","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"other:"},{"line_number":3,"context_line":"  - The agent heartbeat API (POST /v1/heartbeat/\u003cnode\u003e) can now receive a new"},{"line_number":4,"context_line":"    ``agent_version`` parameter, if received this will be stored in the"},{"line_number":5,"context_line":"    driver_internal_info. This information will be used by Ironic to gracefully"},{"line_number":6,"context_line":"    degrade support for agent features that are requested by Ironic, ensuring"},{"line_number":7,"context_line":"    that we don\u0027t request a feature that an older ramdisk doesn\u0027t support."}],"source_content_type":"text/x-yaml","patch_set":12,"id":"df3967d1_ede7c0ab","line":4,"updated":"2017-08-02 22:49:29.000000000","message":"nit s/, if/. If/","commit_id":"fbed67f9ce4223e8979442958dc24faa870270a6"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"ab3ce5c2892921e4c6d5c7b09b63d33bea3f5ddd","unresolved":false,"context_lines":[{"line_number":2,"context_line":"other:"},{"line_number":3,"context_line":"  - The agent heartbeat API (POST /v1/heartbeat/\u003cnode\u003e) can now receive a new"},{"line_number":4,"context_line":"    ``agent_version`` parameter, if received this will be stored in the"},{"line_number":5,"context_line":"    driver_internal_info. This information will be used by Ironic to gracefully"},{"line_number":6,"context_line":"    degrade support for agent features that are requested by Ironic, ensuring"},{"line_number":7,"context_line":"    that we don\u0027t request a feature that an older ramdisk doesn\u0027t support."}],"source_content_type":"text/x-yaml","patch_set":12,"id":"df3967d1_cdecfc90","line":5,"updated":"2017-08-02 22:49:29.000000000","message":"s/driver/node\u0027s driver/","commit_id":"fbed67f9ce4223e8979442958dc24faa870270a6"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"ab3ce5c2892921e4c6d5c7b09b63d33bea3f5ddd","unresolved":false,"context_lines":[{"line_number":4,"context_line":"    ``agent_version`` parameter, if received this will be stored in the"},{"line_number":5,"context_line":"    driver_internal_info. This information will be used by Ironic to gracefully"},{"line_number":6,"context_line":"    degrade support for agent features that are requested by Ironic, ensuring"},{"line_number":7,"context_line":"    that we don\u0027t request a feature that an older ramdisk doesn\u0027t support."}],"source_content_type":"text/x-yaml","patch_set":12,"id":"df3967d1_cda19c48","line":7,"updated":"2017-08-02 22:49:29.000000000","message":"OH. do we need to do a deprecation thing for the DeployInterface.heartbeat() method?","commit_id":"fbed67f9ce4223e8979442958dc24faa870270a6"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"f755018eb92e52e8edd041f0d88d80155998ac10","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"other:"},{"line_number":3,"context_line":"  - The agent heartbeat API (POST /v1/heartbeat/\u003cnode\u003e) can now receive a new"},{"line_number":4,"context_line":"    ``agent_version`` parameter, if received this will be stored in the"},{"line_number":5,"context_line":"    driver_internal_info. This information will be used by Ironic to gracefully"},{"line_number":6,"context_line":"    degrade support for agent features that are requested by Ironic, ensuring"},{"line_number":7,"context_line":"    that we don\u0027t request a feature that an older ramdisk doesn\u0027t support."}],"source_content_type":"text/x-yaml","patch_set":15,"id":"ff82abbf_14c39a8a","line":4,"updated":"2017-11-29 18:59:28.000000000","message":"maybe s/parameter, if/parameter. If/","commit_id":"b0bf17824de6adbd43680cd4551a604acfaa2483"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"b2220696a8e38b9a53b5df73fba1e92586d7e868","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"other:"},{"line_number":3,"context_line":"  - The agent heartbeat API (POST /v1/heartbeat/\u003cnode\u003e) can now receive a new"},{"line_number":4,"context_line":"    ``agent_version`` parameter, if received this will be stored in the"},{"line_number":5,"context_line":"    driver_internal_info. This information will be used by Ironic to gracefully"},{"line_number":6,"context_line":"    degrade support for agent features that are requested by Ironic, ensuring"},{"line_number":7,"context_line":"    that we don\u0027t request a feature that an older ramdisk doesn\u0027t support."}],"source_content_type":"text/x-yaml","patch_set":15,"id":"ff82abbf_5c493589","line":4,"in_reply_to":"ff82abbf_14c39a8a","updated":"2017-11-30 14:22:12.000000000","message":"Done","commit_id":"b0bf17824de6adbd43680cd4551a604acfaa2483"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"f755018eb92e52e8edd041f0d88d80155998ac10","unresolved":false,"context_lines":[{"line_number":2,"context_line":"other:"},{"line_number":3,"context_line":"  - The agent heartbeat API (POST /v1/heartbeat/\u003cnode\u003e) can now receive a new"},{"line_number":4,"context_line":"    ``agent_version`` parameter, if received this will be stored in the"},{"line_number":5,"context_line":"    driver_internal_info. This information will be used by Ironic to gracefully"},{"line_number":6,"context_line":"    degrade support for agent features that are requested by Ironic, ensuring"},{"line_number":7,"context_line":"    that we don\u0027t request a feature that an older ramdisk doesn\u0027t support."}],"source_content_type":"text/x-yaml","patch_set":15,"id":"ff82abbf_f44cf642","line":5,"updated":"2017-11-29 18:59:28.000000000","message":"s/driver_internal_info/node\u0027s driver_internal_info[\u0027agent_version\u0027]/\n\ns/Ironic/the Bare Metal service/","commit_id":"b0bf17824de6adbd43680cd4551a604acfaa2483"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"b2220696a8e38b9a53b5df73fba1e92586d7e868","unresolved":false,"context_lines":[{"line_number":2,"context_line":"other:"},{"line_number":3,"context_line":"  - The agent heartbeat API (POST /v1/heartbeat/\u003cnode\u003e) can now receive a new"},{"line_number":4,"context_line":"    ``agent_version`` parameter, if received this will be stored in the"},{"line_number":5,"context_line":"    driver_internal_info. This information will be used by Ironic to gracefully"},{"line_number":6,"context_line":"    degrade support for agent features that are requested by Ironic, ensuring"},{"line_number":7,"context_line":"    that we don\u0027t request a feature that an older ramdisk doesn\u0027t support."}],"source_content_type":"text/x-yaml","patch_set":15,"id":"ff82abbf_bc572127","line":5,"in_reply_to":"ff82abbf_f44cf642","updated":"2017-11-30 14:22:12.000000000","message":"Done","commit_id":"b0bf17824de6adbd43680cd4551a604acfaa2483"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"f755018eb92e52e8edd041f0d88d80155998ac10","unresolved":false,"context_lines":[{"line_number":3,"context_line":"  - The agent heartbeat API (POST /v1/heartbeat/\u003cnode\u003e) can now receive a new"},{"line_number":4,"context_line":"    ``agent_version`` parameter, if received this will be stored in the"},{"line_number":5,"context_line":"    driver_internal_info. This information will be used by Ironic to gracefully"},{"line_number":6,"context_line":"    degrade support for agent features that are requested by Ironic, ensuring"},{"line_number":7,"context_line":"    that we don\u0027t request a feature that an older ramdisk doesn\u0027t support."}],"source_content_type":"text/x-yaml","patch_set":15,"id":"ff82abbf_746226b0","line":6,"updated":"2017-11-29 18:59:28.000000000","message":"s/Ironic/the Bare Metal service/\n\nHmm, I don\u0027t even know if we care about the use of \u0027ironic\u0027 in release notes...","commit_id":"b0bf17824de6adbd43680cd4551a604acfaa2483"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"b2220696a8e38b9a53b5df73fba1e92586d7e868","unresolved":false,"context_lines":[{"line_number":3,"context_line":"  - The agent heartbeat API (POST /v1/heartbeat/\u003cnode\u003e) can now receive a new"},{"line_number":4,"context_line":"    ``agent_version`` parameter, if received this will be stored in the"},{"line_number":5,"context_line":"    driver_internal_info. This information will be used by Ironic to gracefully"},{"line_number":6,"context_line":"    degrade support for agent features that are requested by Ironic, ensuring"},{"line_number":7,"context_line":"    that we don\u0027t request a feature that an older ramdisk doesn\u0027t support."}],"source_content_type":"text/x-yaml","patch_set":15,"id":"ff82abbf_dc546524","line":6,"in_reply_to":"ff82abbf_746226b0","updated":"2017-11-30 14:22:12.000000000","message":"Done","commit_id":"b0bf17824de6adbd43680cd4551a604acfaa2483"}]}
