)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"adb8462332862c6edf15a8b796898581e9862829","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Use adapters for neutronclient"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"deprecates the followinf options in [neutron] section:"},{"line_number":10,"context_line":"- url"},{"line_number":11,"context_line":"- url_timeout"},{"line_number":12,"context_line":"- auth_strategy"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":12,"id":"9f436f4f_245e88e6","line":9,"range":{"start_line":9,"start_character":23,"end_line":9,"end_character":24},"updated":"2017-08-08 07:35:35.000000000","message":"typo","commit_id":"0f56349fe7b80cc9f2e03a0e190f5e95aae9913f"}],"ironic/common/context.py":[{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"8ad30386d16f8cf4eed960ce6cd36db7a8258eb1","unresolved":false,"context_lines":[{"line_number":85,"context_line":"        def wrapper(*args, **kwargs):"},{"line_number":86,"context_line":"            if not (args[index:index + 1] and"},{"line_number":87,"context_line":"                    isinstance(args[index], RequestContext)):"},{"line_number":88,"context_line":"                LOG.warning(\"Function/method %s signature have changed! \""},{"line_number":89,"context_line":"                            \"Please pass context instance as first agrument. \""},{"line_number":90,"context_line":"                            \"This warning will not be emitted in Rocky, \""},{"line_number":91,"context_line":"                            \"resulting in an exception instead.\","}],"source_content_type":"text/x-python","patch_set":16,"id":"9f436f4f_4d30439f","line":88,"range":{"start_line":88,"start_character":58,"end_line":88,"end_character":62},"updated":"2017-08-21 15:05:07.000000000","message":"has","commit_id":"35630e5ae742878efdd7ab45b19a7ae0fda6b159"}],"ironic/common/neutron.py":[{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"0983bcc4df0f33a0a259a6debc360a726265c9bb","unresolved":false,"context_lines":[{"line_number":56,"context_line":""},{"line_number":57,"context_line":"    if CONF.keystone.region_name and not CONF.neutron.region_name:"},{"line_number":58,"context_line":"        adapter_params[\u0027region_name\u0027] \u003d CONF.keystone.region_name"},{"line_number":59,"context_line":"    if CONF.neutron.url and not CONF.neutron.endpoint_override:"},{"line_number":60,"context_line":"        adapter_params[\u0027endpoint_override\u0027] \u003d url"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"    if CONF.neutron.auth_strategy !\u003d \u0027keystone\u0027:"}],"source_content_type":"text/x-python","patch_set":10,"id":"df3967d1_cd2721ca","line":59,"range":{"start_line":59,"start_character":7,"end_line":59,"end_character":63},"updated":"2017-08-04 14:35:19.000000000","message":"not really sure why we do it twice - here and on L55? The logic around neutron.url, neutron.endpoint_override and DEFAULT_NEUTRON_URL is pretty hard to follow here. Mind adding a comment?\n\nIIUC, neutron.url has the biggest priority, then comes neutron.endpoint_override, then the constant?","commit_id":"f2f9cf949eab2fd3354e3bf562426a9af7b3d8cd"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"36440cb19559f8313d01d13af9bfef14c230a1a9","unresolved":false,"context_lines":[{"line_number":56,"context_line":""},{"line_number":57,"context_line":"    if CONF.keystone.region_name and not CONF.neutron.region_name:"},{"line_number":58,"context_line":"        adapter_params[\u0027region_name\u0027] \u003d CONF.keystone.region_name"},{"line_number":59,"context_line":"    if CONF.neutron.url and not CONF.neutron.endpoint_override:"},{"line_number":60,"context_line":"        adapter_params[\u0027endpoint_override\u0027] \u003d url"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"    if CONF.neutron.auth_strategy !\u003d \u0027keystone\u0027:"}],"source_content_type":"text/x-python","patch_set":10,"id":"bf3e73b7_3f943e8b","line":59,"range":{"start_line":59,"start_character":7,"end_line":59,"end_character":63},"in_reply_to":"df3967d1_cd2721ca","updated":"2017-08-07 09:28:16.000000000","message":"indeed, I think it might be improved.\n\ncurrently, CONF.neutron.url \u003d\u003d None (default) means \"use discovery if auth_strategy is keystone, otherwise use DEFAULT_NEUTRON_URL\"\n\nplus we have to ensure that if endpoint_override is specified, it always wins (that\u0027s how deprecated options handling is supposed to work in oslo.config AFAIU, new option if set must win, otherwise use the old option).","commit_id":"f2f9cf949eab2fd3354e3bf562426a9af7b3d8cd"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"0983bcc4df0f33a0a259a6debc360a726265c9bb","unresolved":false,"context_lines":[{"line_number":57,"context_line":"    if CONF.keystone.region_name and not CONF.neutron.region_name:"},{"line_number":58,"context_line":"        adapter_params[\u0027region_name\u0027] \u003d CONF.keystone.region_name"},{"line_number":59,"context_line":"    if CONF.neutron.url and not CONF.neutron.endpoint_override:"},{"line_number":60,"context_line":"        adapter_params[\u0027endpoint_override\u0027] \u003d url"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"    if CONF.neutron.auth_strategy !\u003d \u0027keystone\u0027:"},{"line_number":63,"context_line":"        CONF.set_override(\u0027auth_type\u0027, \u0027none\u0027, group\u003d\u0027neutron\u0027)"}],"source_content_type":"text/x-python","patch_set":10,"id":"df3967d1_c86cafcf","line":60,"updated":"2017-08-04 14:35:19.000000000","message":"So, if both neutron.url and override set, or if only override is set, and auth_strategy is keystone, we don\u0027t actually pass endpoint_override to adapter_params??","commit_id":"f2f9cf949eab2fd3354e3bf562426a9af7b3d8cd"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"8fc8a6bd13bf74419134b037faf243931ebb7d87","unresolved":false,"context_lines":[{"line_number":57,"context_line":"    if CONF.keystone.region_name and not CONF.neutron.region_name:"},{"line_number":58,"context_line":"        adapter_params[\u0027region_name\u0027] \u003d CONF.keystone.region_name"},{"line_number":59,"context_line":"    if CONF.neutron.url and not CONF.neutron.endpoint_override:"},{"line_number":60,"context_line":"        adapter_params[\u0027endpoint_override\u0027] \u003d url"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"    if CONF.neutron.auth_strategy !\u003d \u0027keystone\u0027:"},{"line_number":63,"context_line":"        CONF.set_override(\u0027auth_type\u0027, \u0027none\u0027, group\u003d\u0027neutron\u0027)"}],"source_content_type":"text/x-python","patch_set":10,"id":"df3967d1_48d67f2a","line":60,"in_reply_to":"df3967d1_c86cafcf","updated":"2017-08-04 14:38:11.000000000","message":"Ah, sorry, the endpoint_override config option gets read by the get_adapter.","commit_id":"f2f9cf949eab2fd3354e3bf562426a9af7b3d8cd"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"0983bcc4df0f33a0a259a6debc360a726265c9bb","unresolved":false,"context_lines":[{"line_number":64,"context_line":"        adapter_params[\u0027endpoint_override\u0027] \u003d url or DEFAULT_NEUTRON_URL"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"    auth \u003d keystone.get_auth(\u0027neutron\u0027)"},{"line_number":67,"context_line":"    adapter \u003d keystone.get_adapter(\u0027neutron\u0027, session\u003dsession, auth\u003dauth,"},{"line_number":68,"context_line":"                                   **adapter_params)"},{"line_number":69,"context_line":"    client_params.update(keystone.adapter_to_client(adapter))"},{"line_number":70,"context_line":"    if CONF.neutron.auth_type !\u003d \u0027none\u0027 and token:"}],"source_content_type":"text/x-python","patch_set":10,"id":"df3967d1_88e5873a","line":67,"range":{"start_line":67,"start_character":63,"end_line":67,"end_character":67},"updated":"2017-08-04 14:35:19.000000000","message":"ditto, do we need to pass auth here if we pass it anyway in Client constructor, and adapter\u0027s auth gets ignored during adapter_to_client call?","commit_id":"f2f9cf949eab2fd3354e3bf562426a9af7b3d8cd"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"36440cb19559f8313d01d13af9bfef14c230a1a9","unresolved":false,"context_lines":[{"line_number":64,"context_line":"        adapter_params[\u0027endpoint_override\u0027] \u003d url or DEFAULT_NEUTRON_URL"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"    auth \u003d keystone.get_auth(\u0027neutron\u0027)"},{"line_number":67,"context_line":"    adapter \u003d keystone.get_adapter(\u0027neutron\u0027, session\u003dsession, auth\u003dauth,"},{"line_number":68,"context_line":"                                   **adapter_params)"},{"line_number":69,"context_line":"    client_params.update(keystone.adapter_to_client(adapter))"},{"line_number":70,"context_line":"    if CONF.neutron.auth_type !\u003d \u0027none\u0027 and token:"}],"source_content_type":"text/x-python","patch_set":10,"id":"bf3e73b7_dffe5204","line":67,"range":{"start_line":67,"start_character":63,"end_line":67,"end_character":67},"in_reply_to":"df3967d1_88e5873a","updated":"2017-08-07 09:28:16.000000000","message":"the auth is needed here for the following adapter.get_endpoint() call on L71\n\nSo the logic is the following:\n\n- if there\u0027s no incoming token, we create the auth from config, resolve the endpoint from keystone or config options, and create client with auth from config\n- if there is incoming token, we still read auth from config, use it to resolve the endpoint from keystone or config, but then create a client with auth from incoming token.\n\nthis will be improved in future, which would require enhancing our request context object to also store service catalog from request, and generate appropriate auth object from request too (with Token auth instead of admin_token, and handling service auth as well).\n\nanother improvement might be enhancing the base Adapter class in KSA to accept Adapter instance in __init__ - this automatically will make it possible to pass \u0027adaper\u003d\u0027 keyword to all Adapter-based clients and will make the \u0027adapter_to_client\u0027 not needed.\n\nAlternatively, we could always perform resolution of the endpoint in ironic itself, and always instantiate clients with resolved as \u0027endpoint_override\u0027 - we might get more control over discovery ourselves, and do not depend on any discovery implementation in clients...","commit_id":"f2f9cf949eab2fd3354e3bf562426a9af7b3d8cd"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"8ad30386d16f8cf4eed960ce6cd36db7a8258eb1","unresolved":false,"context_lines":[{"line_number":82,"context_line":"                            auth\u003duser_auth or service_auth,"},{"line_number":83,"context_line":"                            endpoint_override\u003dendpoint,"},{"line_number":84,"context_line":"                            retries\u003dCONF.neutron.retries,"},{"line_number":85,"context_line":"                            global_request_id\u003dcontext.global_id)"},{"line_number":86,"context_line":""},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"@ironic_context.ensure_context_in_function"}],"source_content_type":"text/x-python","patch_set":16,"id":"9f436f4f_68d1b557","line":85,"range":{"start_line":85,"start_character":54,"end_line":85,"end_character":63},"updated":"2017-08-21 15:05:07.000000000","message":"does not seem to be related, but ok","commit_id":"35630e5ae742878efdd7ab45b19a7ae0fda6b159"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"920c6617793034f75ce9f3d03dbec767e1c005f8","unresolved":false,"context_lines":[{"line_number":51,"context_line":""},{"line_number":52,"context_line":"# TODO(pas-ha) remove deprecated options handling in Rocky"},{"line_number":53,"context_line":"# until then it might look ugly due to all if\u0027s."},{"line_number":54,"context_line":"def get_client(token\u003dNone, context\u003dNone):"},{"line_number":55,"context_line":"    if not context:"},{"line_number":56,"context_line":"        context \u003d ironic_context.RequestContext()"},{"line_number":57,"context_line":"    if token and not context.auth_token:"}],"source_content_type":"text/x-python","patch_set":31,"id":"df87a7cf_3962630b","line":54,"updated":"2017-12-11 21:07:58.000000000","message":"i was wondering whether we should even make this optional; i think we\u0027re always passing it in anyway.","commit_id":"ed0c7f0fa5415892c582f6ec62ea69c62988f934"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"37e9130b74ee9c4c0ee730c7cc6185eaf1274bb8","unresolved":false,"context_lines":[{"line_number":51,"context_line":""},{"line_number":52,"context_line":"# TODO(pas-ha) remove deprecated options handling in Rocky"},{"line_number":53,"context_line":"# until then it might look ugly due to all if\u0027s."},{"line_number":54,"context_line":"def get_client(token\u003dNone, context\u003dNone):"},{"line_number":55,"context_line":"    if not context:"},{"line_number":56,"context_line":"        context \u003d ironic_context.RequestContext()"},{"line_number":57,"context_line":"    if token and not context.auth_token:"}],"source_content_type":"text/x-python","patch_set":31,"id":"df87a7cf_86ad0cec","line":54,"in_reply_to":"df87a7cf_19f671d8","updated":"2017-12-13 21:37:29.000000000","message":"/me wonders how many out-of-tree implementations are out there, but we just need 1. Even though we never said that this is an API for out-of-tree drivers I guess we want to be nice...","commit_id":"ed0c7f0fa5415892c582f6ec62ea69c62988f934"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"58e6c65e0d21dcbc061382a2fb31905d54be3dff","unresolved":false,"context_lines":[{"line_number":51,"context_line":""},{"line_number":52,"context_line":"# TODO(pas-ha) remove deprecated options handling in Rocky"},{"line_number":53,"context_line":"# until then it might look ugly due to all if\u0027s."},{"line_number":54,"context_line":"def get_client(token\u003dNone, context\u003dNone):"},{"line_number":55,"context_line":"    if not context:"},{"line_number":56,"context_line":"        context \u003d ironic_context.RequestContext()"},{"line_number":57,"context_line":"    if token and not context.auth_token:"}],"source_content_type":"text/x-python","patch_set":31,"id":"df87a7cf_19f671d8","line":54,"in_reply_to":"df87a7cf_3962630b","updated":"2017-12-13 15:41:38.000000000","message":"I\u0027d really like to pass context as first positional argument... But this will break anyone who might consume those methods from out-of-tree. If we do not care about those or do not count these methods/functions as part of ironic\u0027s \"public\" Python API - I\u0027m all for it :)","commit_id":"ed0c7f0fa5415892c582f6ec62ea69c62988f934"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"a7c40a4cd824bac4e2bdb95067a0ed054d721b4e","unresolved":false,"context_lines":[{"line_number":51,"context_line":""},{"line_number":52,"context_line":"# TODO(pas-ha) remove deprecated options handling in Rocky"},{"line_number":53,"context_line":"# until then it might look ugly due to all if\u0027s."},{"line_number":54,"context_line":"def get_client(token\u003dNone, context\u003dNone):"},{"line_number":55,"context_line":"    if not context:"},{"line_number":56,"context_line":"        context \u003d ironic_context.RequestContext()"},{"line_number":57,"context_line":"    if token and not context.auth_token:"}],"source_content_type":"text/x-python","patch_set":31,"id":"df87a7cf_447c1771","line":54,"in_reply_to":"df87a7cf_3962630b","updated":"2017-12-12 15:07:50.000000000","message":"I\u0027m hesitant regarding context passing, because we had the issues earlier on when we were, and it turned out that only admin users could set binding profile (if I\u0027m remembering correctly, so things could work at times and not at other times, at least if I\u0027m remembering correctly)","commit_id":"ed0c7f0fa5415892c582f6ec62ea69c62988f934"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"920c6617793034f75ce9f3d03dbec767e1c005f8","unresolved":false,"context_lines":[{"line_number":66,"context_line":"    # \u0027endpoint_override\u0027"},{"line_number":67,"context_line":"    adapter_params \u003d {}"},{"line_number":68,"context_line":"    if CONF.neutron.auth_strategy !\u003d \u0027keystone\u0027:"},{"line_number":69,"context_line":"        CONF.set_override(\u0027auth_type\u0027, \u0027none\u0027, group\u003d\u0027neutron\u0027)"},{"line_number":70,"context_line":"        if not CONF.neutron.endpoint_override:"},{"line_number":71,"context_line":"            adapter_params[\u0027endpoint_override\u0027] \u003d (CONF.neutron.url or"},{"line_number":72,"context_line":"                                                   DEFAULT_NEUTRON_URL)"}],"source_content_type":"text/x-python","patch_set":31,"id":"df87a7cf_99584f31","line":69,"updated":"2017-12-11 21:07:58.000000000","message":"Hey, what if auth_type was set to something already? (not \u003cNone\u003e). Would that mean that we should ignore auth_strategy since it is deprecated?","commit_id":"ed0c7f0fa5415892c582f6ec62ea69c62988f934"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"a7c40a4cd824bac4e2bdb95067a0ed054d721b4e","unresolved":false,"context_lines":[{"line_number":66,"context_line":"    # \u0027endpoint_override\u0027"},{"line_number":67,"context_line":"    adapter_params \u003d {}"},{"line_number":68,"context_line":"    if CONF.neutron.auth_strategy !\u003d \u0027keystone\u0027:"},{"line_number":69,"context_line":"        CONF.set_override(\u0027auth_type\u0027, \u0027none\u0027, group\u003d\u0027neutron\u0027)"},{"line_number":70,"context_line":"        if not CONF.neutron.endpoint_override:"},{"line_number":71,"context_line":"            adapter_params[\u0027endpoint_override\u0027] \u003d (CONF.neutron.url or"},{"line_number":72,"context_line":"                                                   DEFAULT_NEUTRON_URL)"}],"source_content_type":"text/x-python","patch_set":31,"id":"df87a7cf_246793eb","line":69,"in_reply_to":"df87a7cf_99584f31","updated":"2017-12-12 15:07:50.000000000","message":"AIUI, at least form an auth dictionary standpoint, it was deprecated long ago.","commit_id":"ed0c7f0fa5415892c582f6ec62ea69c62988f934"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"58e6c65e0d21dcbc061382a2fb31905d54be3dff","unresolved":false,"context_lines":[{"line_number":66,"context_line":"    # \u0027endpoint_override\u0027"},{"line_number":67,"context_line":"    adapter_params \u003d {}"},{"line_number":68,"context_line":"    if CONF.neutron.auth_strategy !\u003d \u0027keystone\u0027:"},{"line_number":69,"context_line":"        CONF.set_override(\u0027auth_type\u0027, \u0027none\u0027, group\u003d\u0027neutron\u0027)"},{"line_number":70,"context_line":"        if not CONF.neutron.endpoint_override:"},{"line_number":71,"context_line":"            adapter_params[\u0027endpoint_override\u0027] \u003d (CONF.neutron.url or"},{"line_number":72,"context_line":"                                                   DEFAULT_NEUTRON_URL)"}],"source_content_type":"text/x-python","patch_set":31,"id":"df87a7cf_191f5108","line":69,"in_reply_to":"df87a7cf_99584f31","updated":"2017-12-13 15:41:38.000000000","message":"indeed, will add an extra if like \" and CONF.neutron.auth_type is None\"","commit_id":"ed0c7f0fa5415892c582f6ec62ea69c62988f934"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"920c6617793034f75ce9f3d03dbec767e1c005f8","unresolved":false,"context_lines":[{"line_number":97,"context_line":""},{"line_number":98,"context_line":"    :param port_id: Neutron port ID."},{"line_number":99,"context_line":"    :param client: Optional a Neutron client object."},{"line_number":100,"context_line":"    :raises: NetworkError"},{"line_number":101,"context_line":"    \"\"\""},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"    if not client:"}],"source_content_type":"text/x-python","patch_set":31,"id":"df87a7cf_39cee362","line":100,"updated":"2017-12-11 21:07:58.000000000","message":"nit \":param context:..\"","commit_id":"ed0c7f0fa5415892c582f6ec62ea69c62988f934"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"58e6c65e0d21dcbc061382a2fb31905d54be3dff","unresolved":false,"context_lines":[{"line_number":97,"context_line":""},{"line_number":98,"context_line":"    :param port_id: Neutron port ID."},{"line_number":99,"context_line":"    :param client: Optional a Neutron client object."},{"line_number":100,"context_line":"    :raises: NetworkError"},{"line_number":101,"context_line":"    \"\"\""},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"    if not client:"}],"source_content_type":"text/x-python","patch_set":31,"id":"df87a7cf_5c6e2700","line":100,"in_reply_to":"df87a7cf_39cee362","updated":"2017-12-13 15:41:38.000000000","message":"Done","commit_id":"ed0c7f0fa5415892c582f6ec62ea69c62988f934"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"920c6617793034f75ce9f3d03dbec767e1c005f8","unresolved":false,"context_lines":[{"line_number":124,"context_line":""},{"line_number":125,"context_line":"    :param port_id: Neutron port id."},{"line_number":126,"context_line":"    :param address: new MAC address."},{"line_number":127,"context_line":"    :raises: FailedToUpdateMacOnPort"},{"line_number":128,"context_line":"    \"\"\""},{"line_number":129,"context_line":"    client \u003d get_client(context\u003dcontext)"},{"line_number":130,"context_line":"    port_req_body \u003d {\u0027port\u0027: {\u0027mac_address\u0027: address}}"}],"source_content_type":"text/x-python","patch_set":31,"id":"df87a7cf_59c96756","line":127,"updated":"2017-12-11 21:07:58.000000000","message":"ditto","commit_id":"ed0c7f0fa5415892c582f6ec62ea69c62988f934"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"58e6c65e0d21dcbc061382a2fb31905d54be3dff","unresolved":false,"context_lines":[{"line_number":124,"context_line":""},{"line_number":125,"context_line":"    :param port_id: Neutron port id."},{"line_number":126,"context_line":"    :param address: new MAC address."},{"line_number":127,"context_line":"    :raises: FailedToUpdateMacOnPort"},{"line_number":128,"context_line":"    \"\"\""},{"line_number":129,"context_line":"    client \u003d get_client(context\u003dcontext)"},{"line_number":130,"context_line":"    port_req_body \u003d {\u0027port\u0027: {\u0027mac_address\u0027: address}}"}],"source_content_type":"text/x-python","patch_set":31,"id":"df87a7cf_fc785bc4","line":127,"in_reply_to":"df87a7cf_59c96756","updated":"2017-12-13 15:41:38.000000000","message":"Done","commit_id":"ed0c7f0fa5415892c582f6ec62ea69c62988f934"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"920c6617793034f75ce9f3d03dbec767e1c005f8","unresolved":false,"context_lines":[{"line_number":418,"context_line":"                      {\u0027node\u0027: task.node.uuid, \u0027network\u0027: network_uuid})"},{"line_number":419,"context_line":""},{"line_number":420,"context_line":""},{"line_number":421,"context_line":"def validate_network(uuid_or_name, net_type\u003d_(\u0027network\u0027), context\u003dNone):"},{"line_number":422,"context_line":"    \"\"\"Check that the given network is present."},{"line_number":423,"context_line":""},{"line_number":424,"context_line":"    :param uuid_or_name: network UUID or name"}],"source_content_type":"text/x-python","patch_set":31,"id":"df87a7cf_7939cbef","line":421,"updated":"2017-12-11 21:07:58.000000000","message":"i was wondering whether we should just say that context has to be specified, so we don\u0027t have to deal with it not being passed.","commit_id":"ed0c7f0fa5415892c582f6ec62ea69c62988f934"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"58e6c65e0d21dcbc061382a2fb31905d54be3dff","unresolved":false,"context_lines":[{"line_number":418,"context_line":"                      {\u0027node\u0027: task.node.uuid, \u0027network\u0027: network_uuid})"},{"line_number":419,"context_line":""},{"line_number":420,"context_line":""},{"line_number":421,"context_line":"def validate_network(uuid_or_name, net_type\u003d_(\u0027network\u0027), context\u003dNone):"},{"line_number":422,"context_line":"    \"\"\"Check that the given network is present."},{"line_number":423,"context_line":""},{"line_number":424,"context_line":"    :param uuid_or_name: network UUID or name"}],"source_content_type":"text/x-python","patch_set":31,"id":"df87a7cf_fc613b06","line":421,"in_reply_to":"df87a7cf_7939cbef","updated":"2017-12-13 15:41:38.000000000","message":"the same reasoning for out-of-tree consumers of Python API applies here too.","commit_id":"ed0c7f0fa5415892c582f6ec62ea69c62988f934"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"920c6617793034f75ce9f3d03dbec767e1c005f8","unresolved":false,"context_lines":[{"line_number":423,"context_line":""},{"line_number":424,"context_line":"    :param uuid_or_name: network UUID or name"},{"line_number":425,"context_line":"    :param net_type: human-readable network type for error messages"},{"line_number":426,"context_line":"    :return: network UUID"},{"line_number":427,"context_line":"    :raises: MissingParameterValue if uuid_or_name is empty"},{"line_number":428,"context_line":"    :raises: NetworkError on failure to contact Neutron"},{"line_number":429,"context_line":"    :raises: InvalidParameterValue for missing or duplicated network"}],"source_content_type":"text/x-python","patch_set":31,"id":"df87a7cf_79b6ab8c","line":426,"updated":"2017-12-11 21:07:58.000000000","message":"param context","commit_id":"ed0c7f0fa5415892c582f6ec62ea69c62988f934"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"58e6c65e0d21dcbc061382a2fb31905d54be3dff","unresolved":false,"context_lines":[{"line_number":423,"context_line":""},{"line_number":424,"context_line":"    :param uuid_or_name: network UUID or name"},{"line_number":425,"context_line":"    :param net_type: human-readable network type for error messages"},{"line_number":426,"context_line":"    :return: network UUID"},{"line_number":427,"context_line":"    :raises: MissingParameterValue if uuid_or_name is empty"},{"line_number":428,"context_line":"    :raises: NetworkError on failure to contact Neutron"},{"line_number":429,"context_line":"    :raises: InvalidParameterValue for missing or duplicated network"}],"source_content_type":"text/x-python","patch_set":31,"id":"df87a7cf_bc7e53ac","line":426,"in_reply_to":"df87a7cf_79b6ab8c","updated":"2017-12-13 15:41:38.000000000","message":"Done","commit_id":"ed0c7f0fa5415892c582f6ec62ea69c62988f934"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"37e9130b74ee9c4c0ee730c7cc6185eaf1274bb8","unresolved":false,"context_lines":[{"line_number":66,"context_line":"    # \u0027endpoint_override\u0027"},{"line_number":67,"context_line":"    adapter_params \u003d {}"},{"line_number":68,"context_line":"    if (CONF.neutron.auth_strategy \u003d\u003d \u0027noauth\u0027 and"},{"line_number":69,"context_line":"            CONF.neutron.auth_type is None):"},{"line_number":70,"context_line":"        CONF.set_override(\u0027auth_type\u0027, \u0027none\u0027, group\u003d\u0027neutron\u0027)"},{"line_number":71,"context_line":"        if not CONF.neutron.endpoint_override:"},{"line_number":72,"context_line":"            adapter_params[\u0027endpoint_override\u0027] \u003d (CONF.neutron.url or"}],"source_content_type":"text/x-python","patch_set":32,"id":"df87a7cf_46e5c437","line":69,"updated":"2017-12-13 21:37:29.000000000","message":"if auth_type \u003d\u003d \u0027none\u0027 would we also want to go into this if statement for the endpoint_override setting. Or maybe we can assume if they set it to none, they also did the endpoint_override?","commit_id":"36d749a21e473677ef34d50672e5d8f2626534b4"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"466b361525e9e3921ae5c980bacca203e4524358","unresolved":false,"context_lines":[{"line_number":66,"context_line":"    # \u0027endpoint_override\u0027"},{"line_number":67,"context_line":"    adapter_params \u003d {}"},{"line_number":68,"context_line":"    if (CONF.neutron.auth_strategy \u003d\u003d \u0027noauth\u0027 and"},{"line_number":69,"context_line":"            CONF.neutron.auth_type is None):"},{"line_number":70,"context_line":"        CONF.set_override(\u0027auth_type\u0027, \u0027none\u0027, group\u003d\u0027neutron\u0027)"},{"line_number":71,"context_line":"        if not CONF.neutron.endpoint_override:"},{"line_number":72,"context_line":"            adapter_params[\u0027endpoint_override\u0027] \u003d (CONF.neutron.url or"}],"source_content_type":"text/x-python","patch_set":32,"id":"df87a7cf_4b785ff7","line":69,"in_reply_to":"df87a7cf_46e5c437","updated":"2017-12-14 11:43:19.000000000","message":"yes, that\u0027s my preposition, as we state in the release notes that for stand alone mode those two are required","commit_id":"36d749a21e473677ef34d50672e5d8f2626534b4"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"cda007a815936ddbe7023bc6f03b7046b6ad483f","unresolved":false,"context_lines":[{"line_number":53,"context_line":"# until then it might look ugly due to all if\u0027s."},{"line_number":54,"context_line":"def get_client(token\u003dNone, context\u003dNone):"},{"line_number":55,"context_line":"    if not context:"},{"line_number":56,"context_line":"        context \u003d ironic_context.RequestContext(auth_token\u003dtoken)"},{"line_number":57,"context_line":"    # NOTE(pas-ha) neutronclient supports passing both session"},{"line_number":58,"context_line":"    # and the auth to client separately, makes things easier"},{"line_number":59,"context_line":"    session \u003d _get_neutron_session()"}],"source_content_type":"text/x-python","patch_set":33,"id":"df87a7cf_205bb22e","line":56,"updated":"2017-12-14 14:43:14.000000000","message":"ok, this is a reasonable assumption, that if the context was passed in, we use the auth_token from that, regardless of the \u0027token\u0027 parameter.\n\nIn Rocky, when we ignore \u0027token\u0027, it means we\u0027ll create a context with no auth_token value? Doesn\u0027t make sense to me. Are we sure we need to keep this API/method signature? I guess we can discuss that later...\n\nAlso worth adding a comment at some point, explaining why we have get_client(token\u003dNone, context\u003dNone) cuz anyone looking at it might wonder... I\u0027ll remember to ask when I review the patch that ignores \u0027token\u0027 :)","commit_id":"4d43262955f8882cdeee2a042e852eaa8396178b"}],"ironic/conf/neutron.py":[{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"920c6617793034f75ce9f3d03dbec767e1c005f8","unresolved":false,"context_lines":[{"line_number":26,"context_line":"                                   \"instead. It has no default value and must \""},{"line_number":27,"context_line":"                                   \"be set explicitly if required to connect \""},{"line_number":28,"context_line":"                                   \"to specific neutron URL, for example \""},{"line_number":29,"context_line":"                                   \"when [neutron]auth_strategy is noauth.\"),"},{"line_number":30,"context_line":"               help\u003d_(\"URL for connecting to neutron. \""},{"line_number":31,"context_line":"                      \"Default value translates to \u0027http://$my_ip:9696\u0027 \""},{"line_number":32,"context_line":"                      \"when auth_strategy is \u0027noauth\u0027, \""}],"source_content_type":"text/x-python","patch_set":31,"id":"df87a7cf_ae9dc7bc","line":29,"updated":"2017-12-11 21:07:58.000000000","message":"I find this confusing. The description for endpoint_override should be with that option, not here. Are you mentioning it because url has a default value? Maybe if we reword it. Also, we\u0027re deprecating [neutron]auth_strategy so it might not be a good idea to mention it here.\n\nMaybe something like deprecated_reason\u003d_(\"To explicitly specify the URL for requests to neutron, set [neutron]/auth_type \u003d none and [neutron]/endpoint_override \u003d \u003cNEUTRON_API_URL\u003e.\")","commit_id":"ed0c7f0fa5415892c582f6ec62ea69c62988f934"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"b54a70063a88e84fa0bf4a15a5ff459b6f0fc9da","unresolved":false,"context_lines":[{"line_number":26,"context_line":"                                   \"instead. It has no default value and must \""},{"line_number":27,"context_line":"                                   \"be set explicitly if required to connect \""},{"line_number":28,"context_line":"                                   \"to specific neutron URL, for example \""},{"line_number":29,"context_line":"                                   \"when [neutron]auth_strategy is noauth.\"),"},{"line_number":30,"context_line":"               help\u003d_(\"URL for connecting to neutron. \""},{"line_number":31,"context_line":"                      \"Default value translates to \u0027http://$my_ip:9696\u0027 \""},{"line_number":32,"context_line":"                      \"when auth_strategy is \u0027noauth\u0027, \""}],"source_content_type":"text/x-python","patch_set":31,"id":"df87a7cf_920013ad","line":29,"in_reply_to":"df87a7cf_8439bfa4","updated":"2017-12-12 15:21:26.000000000","message":"Oh. Right. So yeah, this confused me. Maybe something like \"Instead, specify the URL for requests to neutron via [neutron]/endpoint_override \u003d \u003cNEUTRON_API_URL\u003e (which, unlike \u0027url\u0027, has no default).\"","commit_id":"ed0c7f0fa5415892c582f6ec62ea69c62988f934"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"58e6c65e0d21dcbc061382a2fb31905d54be3dff","unresolved":false,"context_lines":[{"line_number":26,"context_line":"                                   \"instead. It has no default value and must \""},{"line_number":27,"context_line":"                                   \"be set explicitly if required to connect \""},{"line_number":28,"context_line":"                                   \"to specific neutron URL, for example \""},{"line_number":29,"context_line":"                                   \"when [neutron]auth_strategy is noauth.\"),"},{"line_number":30,"context_line":"               help\u003d_(\"URL for connecting to neutron. \""},{"line_number":31,"context_line":"                      \"Default value translates to \u0027http://$my_ip:9696\u0027 \""},{"line_number":32,"context_line":"                      \"when auth_strategy is \u0027noauth\u0027, \""}],"source_content_type":"text/x-python","patch_set":31,"id":"df87a7cf_5c0aa71f","line":29,"in_reply_to":"df87a7cf_ae9dc7bc","updated":"2017-12-13 15:41:38.000000000","message":"IMO we should not override help for \u0027endpoint_override\u0027 as it comes from third-party lib (keystoneauth).\n\nAlso, a specific endpoint_override can be used even when auth_strategy is not \u0027none\u0027 (e.g. some tricky upgrade/maintenance when you want to reroute all requests to neutron to a specific api instance instead of a loadbalanced one).\n\nI\u0027ll change this to mention auth_type instead of auth_strategy though.","commit_id":"ed0c7f0fa5415892c582f6ec62ea69c62988f934"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"a7c40a4cd824bac4e2bdb95067a0ed054d721b4e","unresolved":false,"context_lines":[{"line_number":26,"context_line":"                                   \"instead. It has no default value and must \""},{"line_number":27,"context_line":"                                   \"be set explicitly if required to connect \""},{"line_number":28,"context_line":"                                   \"to specific neutron URL, for example \""},{"line_number":29,"context_line":"                                   \"when [neutron]auth_strategy is noauth.\"),"},{"line_number":30,"context_line":"               help\u003d_(\"URL for connecting to neutron. \""},{"line_number":31,"context_line":"                      \"Default value translates to \u0027http://$my_ip:9696\u0027 \""},{"line_number":32,"context_line":"                      \"when auth_strategy is \u0027noauth\u0027, \""}],"source_content_type":"text/x-python","patch_set":31,"id":"df87a7cf_8439bfa4","line":29,"in_reply_to":"df87a7cf_ae9dc7bc","updated":"2017-12-12 15:07:50.000000000","message":"There is legitimate configurations where an operator may need to explicitly set the URL, but still use keystone auth. So I think we should just leave it to be the url and avoid talking about auth for the single parameter.","commit_id":"ed0c7f0fa5415892c582f6ec62ea69c62988f934"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"920c6617793034f75ce9f3d03dbec767e1c005f8","unresolved":false,"context_lines":[{"line_number":37,"context_line":"               deprecated_for_removal\u003dTrue,"},{"line_number":38,"context_line":"               deprecated_reason\u003d_(\"Use [neutron]/timeout option instead. \""},{"line_number":39,"context_line":"                                   \"It has no default value and must be set \""},{"line_number":40,"context_line":"                                   \"explicitly.\"),"},{"line_number":41,"context_line":"               help\u003d_(\u0027Timeout value for connecting to neutron in seconds.\u0027)),"},{"line_number":42,"context_line":"    cfg.IntOpt(\u0027port_setup_delay\u0027,"},{"line_number":43,"context_line":"               default\u003d0,"}],"source_content_type":"text/x-python","patch_set":31,"id":"df87a7cf_4e48bb2b","line":40,"updated":"2017-12-11 21:07:58.000000000","message":"maybe \"Instead, explicitly set the desired value using the [neutron]/timeout option.\"","commit_id":"ed0c7f0fa5415892c582f6ec62ea69c62988f934"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"58e6c65e0d21dcbc061382a2fb31905d54be3dff","unresolved":false,"context_lines":[{"line_number":37,"context_line":"               deprecated_for_removal\u003dTrue,"},{"line_number":38,"context_line":"               deprecated_reason\u003d_(\"Use [neutron]/timeout option instead. \""},{"line_number":39,"context_line":"                                   \"It has no default value and must be set \""},{"line_number":40,"context_line":"                                   \"explicitly.\"),"},{"line_number":41,"context_line":"               help\u003d_(\u0027Timeout value for connecting to neutron in seconds.\u0027)),"},{"line_number":42,"context_line":"    cfg.IntOpt(\u0027port_setup_delay\u0027,"},{"line_number":43,"context_line":"               default\u003d0,"}],"source_content_type":"text/x-python","patch_set":31,"id":"df87a7cf_5cb387e9","line":40,"in_reply_to":"df87a7cf_4e48bb2b","updated":"2017-12-13 15:41:38.000000000","message":"Done","commit_id":"ed0c7f0fa5415892c582f6ec62ea69c62988f934"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"37e9130b74ee9c4c0ee730c7cc6185eaf1274bb8","unresolved":false,"context_lines":[{"line_number":27,"context_line":"                                   \"be set explicitly if required to connect \""},{"line_number":28,"context_line":"                                   \"to specific neutron URL, for example \""},{"line_number":29,"context_line":"                                   \"in stand alone mode when \""},{"line_number":30,"context_line":"                                   \"[neutron]auth_type is none.\"),"},{"line_number":31,"context_line":"               help\u003d_(\"URL for connecting to neutron. \""},{"line_number":32,"context_line":"                      \"Default value translates to \u0027http://$my_ip:9696\u0027 \""},{"line_number":33,"context_line":"                      \"when auth_strategy is \u0027noauth\u0027, \""}],"source_content_type":"text/x-python","patch_set":32,"id":"df87a7cf_665008d6","line":30,"updated":"2017-12-13 21:37:29.000000000","message":"nit, s/none/\u0027none\u0027/ (so people know it is the string \"none\")","commit_id":"36d749a21e473677ef34d50672e5d8f2626534b4"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"466b361525e9e3921ae5c980bacca203e4524358","unresolved":false,"context_lines":[{"line_number":27,"context_line":"                                   \"be set explicitly if required to connect \""},{"line_number":28,"context_line":"                                   \"to specific neutron URL, for example \""},{"line_number":29,"context_line":"                                   \"in stand alone mode when \""},{"line_number":30,"context_line":"                                   \"[neutron]auth_type is none.\"),"},{"line_number":31,"context_line":"               help\u003d_(\"URL for connecting to neutron. \""},{"line_number":32,"context_line":"                      \"Default value translates to \u0027http://$my_ip:9696\u0027 \""},{"line_number":33,"context_line":"                      \"when auth_strategy is \u0027noauth\u0027, \""}],"source_content_type":"text/x-python","patch_set":32,"id":"df87a7cf_0be9f77e","line":30,"in_reply_to":"df87a7cf_665008d6","updated":"2017-12-14 11:43:19.000000000","message":"Done","commit_id":"36d749a21e473677ef34d50672e5d8f2626534b4"}],"ironic/dhcp/base.py":[{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"8ad30386d16f8cf4eed960ce6cd36db7a8258eb1","unresolved":false,"context_lines":[{"line_number":29,"context_line":"    \"\"\"Base class for DHCP provider APIs.\"\"\""},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"    @abc.abstractmethod"},{"line_number":32,"context_line":"    @ironic_context.ensure_context_in_method"},{"line_number":33,"context_line":"    def update_port_dhcp_opts(self, context, port_id, dhcp_options):"},{"line_number":34,"context_line":"        \"\"\"Update one or more DHCP options on the specified port."},{"line_number":35,"context_line":""}],"source_content_type":"text/x-python","patch_set":16,"id":"9f436f4f_e8492532","line":32,"updated":"2017-08-21 15:05:07.000000000","message":"so, this works for in-tree stuff, and for out-of-tree if they call the super method. What if they don\u0027t? It seems like we need a metaclass checking that all methods marked with this decorator in a base class has it in derivatives.","commit_id":"35630e5ae742878efdd7ab45b19a7ae0fda6b159"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"c135ef786e32a35c617bf538bdaefb9a7cd360cd","unresolved":false,"context_lines":[{"line_number":41,"context_line":"                                \u0027opt_value\u0027: \u0027pxelinux.0\u0027},"},{"line_number":42,"context_line":"                               {\u0027opt_name\u0027: \u002766\u0027,"},{"line_number":43,"context_line":"                                \u0027opt_value\u0027: \u0027123.123.123.456\u0027}]"},{"line_number":44,"context_line":"        :param token: An optional authentication token. Deprecated, use context"},{"line_number":45,"context_line":"        :param context: request context"},{"line_number":46,"context_line":"        :type context: ironic.common.context.RequestContext"},{"line_number":47,"context_line":"        :raises: FailedToUpdateDHCPOptOnPort"}],"source_content_type":"text/x-python","patch_set":30,"id":"df87a7cf_5ec40940","line":44,"updated":"2017-12-10 12:23:24.000000000","message":"if it\u0027s deprecated, we may want to issue a warning","commit_id":"3d5cd95670a4d4e76cc2e2b61ca671138bb78c74"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"37664118f849a46a2571b8a69365fe769f43bb96","unresolved":false,"context_lines":[{"line_number":41,"context_line":"                                \u0027opt_value\u0027: \u0027pxelinux.0\u0027},"},{"line_number":42,"context_line":"                               {\u0027opt_name\u0027: \u002766\u0027,"},{"line_number":43,"context_line":"                                \u0027opt_value\u0027: \u0027123.123.123.456\u0027}]"},{"line_number":44,"context_line":"        :param token: An optional authentication token. Deprecated, use context"},{"line_number":45,"context_line":"        :param context: request context"},{"line_number":46,"context_line":"        :type context: ironic.common.context.RequestContext"},{"line_number":47,"context_line":"        :raises: FailedToUpdateDHCPOptOnPort"}],"source_content_type":"text/x-python","patch_set":30,"id":"df87a7cf_6aa570a1","line":44,"in_reply_to":"df87a7cf_5ec40940","updated":"2017-12-11 17:37:48.000000000","message":"Done","commit_id":"3d5cd95670a4d4e76cc2e2b61ca671138bb78c74"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"920c6617793034f75ce9f3d03dbec767e1c005f8","unresolved":false,"context_lines":[{"line_number":52,"context_line":"        if token:"},{"line_number":53,"context_line":"            LOG.warning(\"Using the \u0027token\u0027 argument is deprecated, \""},{"line_number":54,"context_line":"                        \"use the \u0027context\u0027 argument to pass the \""},{"line_number":55,"context_line":"                        \"full request context instead.\")"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"    @abc.abstractmethod"},{"line_number":58,"context_line":"    def update_dhcp_opts(self, task, options, vifs\u003dNone):"}],"source_content_type":"text/x-python","patch_set":31,"id":"df87a7cf_39dfc369","line":55,"updated":"2017-12-11 21:07:58.000000000","message":"Oh. Are we ever going to delete token parameter, since this is the DHCP API? :-(\n\nSince this is an abstract method, will this log ever happen? Yes, I looked ahead. ONLY with in-tree implementations.","commit_id":"ed0c7f0fa5415892c582f6ec62ea69c62988f934"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"a7c40a4cd824bac4e2bdb95067a0ed054d721b4e","unresolved":false,"context_lines":[{"line_number":52,"context_line":"        if token:"},{"line_number":53,"context_line":"            LOG.warning(\"Using the \u0027token\u0027 argument is deprecated, \""},{"line_number":54,"context_line":"                        \"use the \u0027context\u0027 argument to pass the \""},{"line_number":55,"context_line":"                        \"full request context instead.\")"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"    @abc.abstractmethod"},{"line_number":58,"context_line":"    def update_dhcp_opts(self, task, options, vifs\u003dNone):"}],"source_content_type":"text/x-python","patch_set":31,"id":"df87a7cf_645b5bf5","line":55,"in_reply_to":"df87a7cf_39dfc369","updated":"2017-12-12 15:07:50.000000000","message":"I think we\u0027re just going to have to leave it be since we can really only be additive imho at this point.","commit_id":"ed0c7f0fa5415892c582f6ec62ea69c62988f934"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"58e6c65e0d21dcbc061382a2fb31905d54be3dff","unresolved":false,"context_lines":[{"line_number":52,"context_line":"        if token:"},{"line_number":53,"context_line":"            LOG.warning(\"Using the \u0027token\u0027 argument is deprecated, \""},{"line_number":54,"context_line":"                        \"use the \u0027context\u0027 argument to pass the \""},{"line_number":55,"context_line":"                        \"full request context instead.\")"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"    @abc.abstractmethod"},{"line_number":58,"context_line":"    def update_dhcp_opts(self, task, options, vifs\u003dNone):"}],"source_content_type":"text/x-python","patch_set":31,"id":"df87a7cf_9c94af38","line":55,"in_reply_to":"df87a7cf_39dfc369","updated":"2017-12-13 15:41:38.000000000","message":"yes, hopefully out-of-tree subclasses do call super()","commit_id":"ed0c7f0fa5415892c582f6ec62ea69c62988f934"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"b54a70063a88e84fa0bf4a15a5ff459b6f0fc9da","unresolved":false,"context_lines":[{"line_number":52,"context_line":"        if token:"},{"line_number":53,"context_line":"            LOG.warning(\"Using the \u0027token\u0027 argument is deprecated, \""},{"line_number":54,"context_line":"                        \"use the \u0027context\u0027 argument to pass the \""},{"line_number":55,"context_line":"                        \"full request context instead.\")"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"    @abc.abstractmethod"},{"line_number":58,"context_line":"    def update_dhcp_opts(self, task, options, vifs\u003dNone):"}],"source_content_type":"text/x-python","patch_set":31,"id":"df87a7cf_72d8ef51","line":55,"in_reply_to":"df87a7cf_645b5bf5","updated":"2017-12-12 15:21:26.000000000","message":"So in Rocky? we will change this warning to say that \u0027token\u0027 argument is ignored?","commit_id":"ed0c7f0fa5415892c582f6ec62ea69c62988f934"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"37e9130b74ee9c4c0ee730c7cc6185eaf1274bb8","unresolved":false,"context_lines":[{"line_number":50,"context_line":"        :raises: FailedToUpdateDHCPOptOnPort"},{"line_number":51,"context_line":"        \"\"\""},{"line_number":52,"context_line":"        if token:"},{"line_number":53,"context_line":"            LOG.warning(\"Using the \u0027token\u0027 argument is deprecated, \""},{"line_number":54,"context_line":"                        \"use the \u0027context\u0027 argument to pass the \""},{"line_number":55,"context_line":"                        \"full request context instead.\")"},{"line_number":56,"context_line":""}],"source_content_type":"text/x-python","patch_set":32,"id":"df87a7cf_66fec8af","line":53,"updated":"2017-12-13 21:37:29.000000000","message":"might want to add a TODO to change this from deprecated to ignored, in Rocky. Even w/o, hopefully someone will remember/notice...","commit_id":"36d749a21e473677ef34d50672e5d8f2626534b4"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"466b361525e9e3921ae5c980bacca203e4524358","unresolved":false,"context_lines":[{"line_number":50,"context_line":"        :raises: FailedToUpdateDHCPOptOnPort"},{"line_number":51,"context_line":"        \"\"\""},{"line_number":52,"context_line":"        if token:"},{"line_number":53,"context_line":"            LOG.warning(\"Using the \u0027token\u0027 argument is deprecated, \""},{"line_number":54,"context_line":"                        \"use the \u0027context\u0027 argument to pass the \""},{"line_number":55,"context_line":"                        \"full request context instead.\")"},{"line_number":56,"context_line":""}],"source_content_type":"text/x-python","patch_set":32,"id":"df87a7cf_abf9eb4d","line":53,"in_reply_to":"df87a7cf_66fec8af","updated":"2017-12-14 11:43:19.000000000","message":"Done","commit_id":"36d749a21e473677ef34d50672e5d8f2626534b4"}],"ironic/dhcp/neutron.py":[{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"c135ef786e32a35c617bf538bdaefb9a7cd360cd","unresolved":false,"context_lines":[{"line_number":52,"context_line":"                                \u0027opt_value\u0027: \u0027pxelinux.0\u0027},"},{"line_number":53,"context_line":"                               {\u0027opt_name\u0027: \u002766\u0027,"},{"line_number":54,"context_line":"                                \u0027opt_value\u0027: \u0027123.123.123.456\u0027}]"},{"line_number":55,"context_line":"        :param token: optional auth token. Deprecated, use context."},{"line_number":56,"context_line":"        :param context: request context"},{"line_number":57,"context_line":"        :type context: ironic.common.context.RequestContext"},{"line_number":58,"context_line":"        :raises: FailedToUpdateDHCPOptOnPort"}],"source_content_type":"text/x-python","patch_set":30,"id":"df87a7cf_bec99559","line":55,"updated":"2017-12-10 12:23:24.000000000","message":"ditto","commit_id":"3d5cd95670a4d4e76cc2e2b61ca671138bb78c74"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"37664118f849a46a2571b8a69365fe769f43bb96","unresolved":false,"context_lines":[{"line_number":52,"context_line":"                                \u0027opt_value\u0027: \u0027pxelinux.0\u0027},"},{"line_number":53,"context_line":"                               {\u0027opt_name\u0027: \u002766\u0027,"},{"line_number":54,"context_line":"                                \u0027opt_value\u0027: \u0027123.123.123.456\u0027}]"},{"line_number":55,"context_line":"        :param token: optional auth token. Deprecated, use context."},{"line_number":56,"context_line":"        :param context: request context"},{"line_number":57,"context_line":"        :type context: ironic.common.context.RequestContext"},{"line_number":58,"context_line":"        :raises: FailedToUpdateDHCPOptOnPort"}],"source_content_type":"text/x-python","patch_set":30,"id":"df87a7cf_4aa66cad","line":55,"in_reply_to":"df87a7cf_bec99559","updated":"2017-12-11 17:37:48.000000000","message":"Done","commit_id":"3d5cd95670a4d4e76cc2e2b61ca671138bb78c74"}],"ironic/tests/unit/common/test_neutron.py":[{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"0983bcc4df0f33a0a259a6debc360a726265c9bb","unresolved":false,"context_lines":[{"line_number":26,"context_line":"from ironic.tests.unit.objects import utils as object_utils"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"@mock.patch(\u0027ironic.common.keystone.get_endpoint_auth\u0027)"},{"line_number":30,"context_line":"@mock.patch(\u0027ironic.common.keystone.get_auth\u0027)"},{"line_number":31,"context_line":"@mock.patch(\u0027ironic.common.keystone.get_adapter\u0027)"},{"line_number":32,"context_line":"@mock.patch(\u0027ironic.common.keystone.get_session\u0027)"}],"source_content_type":"text/x-python","patch_set":10,"id":"df3967d1_283d7b8e","line":29,"updated":"2017-08-04 14:35:19.000000000","message":"nit - we might want to introduce a base class for all such keystoneauth interactions.","commit_id":"f2f9cf949eab2fd3354e3bf562426a9af7b3d8cd"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"37e9130b74ee9c4c0ee730c7cc6185eaf1274bb8","unresolved":false,"context_lines":[{"line_number":67,"context_line":"                                            endpoint_override\u003durl,"},{"line_number":68,"context_line":"                                            global_request_id\u003d\u0027global\u0027)"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"    def test_get_neutron_client_with_token(self, mock_client_init,"},{"line_number":71,"context_line":"                                           mock_session, mock_adapter,"},{"line_number":72,"context_line":"                                           mock_auth, mock_sauth):"},{"line_number":73,"context_line":"        self.context \u003d context.RequestContext(global_request_id\u003d\u0027global\u0027,"}],"source_content_type":"text/x-python","patch_set":32,"id":"df87a7cf_462dc4a6","line":70,"updated":"2017-12-13 21:37:29.000000000","message":"Should we also have the original test, because this new one tests that the context has the token, whereas the original tests the token being passed as a parameter to neutron.get_client(), and since we\u0027ve only deprecated it, we should make sure it still works. I think...","commit_id":"36d749a21e473677ef34d50672e5d8f2626534b4"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"466b361525e9e3921ae5c980bacca203e4524358","unresolved":false,"context_lines":[{"line_number":67,"context_line":"                                            endpoint_override\u003durl,"},{"line_number":68,"context_line":"                                            global_request_id\u003d\u0027global\u0027)"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"    def test_get_neutron_client_with_token(self, mock_client_init,"},{"line_number":71,"context_line":"                                           mock_session, mock_adapter,"},{"line_number":72,"context_line":"                                           mock_auth, mock_sauth):"},{"line_number":73,"context_line":"        self.context \u003d context.RequestContext(global_request_id\u003d\u0027global\u0027,"}],"source_content_type":"text/x-python","patch_set":32,"id":"df87a7cf_71c2f6eb","line":70,"in_reply_to":"df87a7cf_462dc4a6","updated":"2017-12-14 11:43:19.000000000","message":"Done","commit_id":"36d749a21e473677ef34d50672e5d8f2626534b4"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"37e9130b74ee9c4c0ee730c7cc6185eaf1274bb8","unresolved":false,"context_lines":[{"line_number":75,"context_line":"        mock_adapter.return_value \u003d adapter \u003d mock.Mock()"},{"line_number":76,"context_line":"        adapter.get_endpoint.return_value \u003d \u0027neutron_url\u0027"},{"line_number":77,"context_line":"        self._call_and_assert_client(mock_client_init, \u0027neutron_url\u0027,"},{"line_number":78,"context_line":"                                     mock.sentinel.sauth)"},{"line_number":79,"context_line":"        # testing handling of default url_timeout"},{"line_number":80,"context_line":"        mock_session.assert_called_once_with(\u0027neutron\u0027, timeout\u003d10)"},{"line_number":81,"context_line":"        mock_adapter.assert_called_once_with(\u0027neutron\u0027,"}],"source_content_type":"text/x-python","patch_set":32,"id":"df87a7cf_2618c0d1","line":78,"updated":"2017-12-13 21:37:29.000000000","message":"nit s/mock.sentinel.sauth/auth\u003dmock.sentinel.sauth/","commit_id":"36d749a21e473677ef34d50672e5d8f2626534b4"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"466b361525e9e3921ae5c980bacca203e4524358","unresolved":false,"context_lines":[{"line_number":75,"context_line":"        mock_adapter.return_value \u003d adapter \u003d mock.Mock()"},{"line_number":76,"context_line":"        adapter.get_endpoint.return_value \u003d \u0027neutron_url\u0027"},{"line_number":77,"context_line":"        self._call_and_assert_client(mock_client_init, \u0027neutron_url\u0027,"},{"line_number":78,"context_line":"                                     mock.sentinel.sauth)"},{"line_number":79,"context_line":"        # testing handling of default url_timeout"},{"line_number":80,"context_line":"        mock_session.assert_called_once_with(\u0027neutron\u0027, timeout\u003d10)"},{"line_number":81,"context_line":"        mock_adapter.assert_called_once_with(\u0027neutron\u0027,"}],"source_content_type":"text/x-python","patch_set":32,"id":"df87a7cf_6e03f10e","line":78,"in_reply_to":"df87a7cf_2618c0d1","updated":"2017-12-14 11:43:19.000000000","message":"Done","commit_id":"36d749a21e473677ef34d50672e5d8f2626534b4"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"cda007a815936ddbe7023bc6f03b7046b6ad483f","unresolved":false,"context_lines":[{"line_number":76,"context_line":"        mock_adapter.return_value \u003d adapter \u003d mock.Mock()"},{"line_number":77,"context_line":"        adapter.get_endpoint.return_value \u003d \u0027neutron_url\u0027"},{"line_number":78,"context_line":"        neutron.get_client(token\u003d\u0027test-token-123\u0027)"},{"line_number":79,"context_line":"        mock_ctxt.assert_called_once_with(auth_token\u003d\u0027test-token-123\u0027)"},{"line_number":80,"context_line":"        mock_client_init.assert_called_once_with("},{"line_number":81,"context_line":"            mock.ANY,  # this is \u0027self\u0027"},{"line_number":82,"context_line":"            session\u003dmock.sentinel.session,"}],"source_content_type":"text/x-python","patch_set":33,"id":"df87a7cf_a08d827c","line":79,"updated":"2017-12-14 14:43:14.000000000","message":"Thanks for the test. This should fail when we start ignoring the \u0027token\u0027 parameter :)","commit_id":"4d43262955f8882cdeee2a042e852eaa8396178b"}],"releasenotes/notes/deprecated-neutron-opts-2e1d9e65f00301d3.yaml":[{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"c135ef786e32a35c617bf538bdaefb9a7cd360cd","unresolved":false,"context_lines":[{"line_number":6,"context_line":"    Instead, use ``[neutron]/endpoint_override`` configuration option to set"},{"line_number":7,"context_line":"    specific neutron api address when automatic discovery of neutron API"},{"line_number":8,"context_line":"    endpoint from keystone catalog is not desired."},{"line_number":9,"context_line":"    This new option has no default value (``None``) and must be set explicitly."},{"line_number":10,"context_line":"    This option is mainly suited for standalone ironic and neutron deployments"},{"line_number":11,"context_line":"    where keystone and its service catalog are unavalilable."},{"line_number":12,"context_line":"    It is generally recommended to rely on keystone service catalog for"}],"source_content_type":"text/x-yaml","patch_set":30,"id":"df87a7cf_7ebf8da9","line":9,"updated":"2017-12-10 12:23:24.000000000","message":"This is a bit unclear, \"must\" only applies when irnic is used standalone, so maybe join this and the next sentence. I\u0027d also remove (None), as it feels redundant.\n\n\"This option has no default value, and must be set explicitly in case of a stand alone deployment of ironic and neutron, when the service catalog is not available.\"","commit_id":"3d5cd95670a4d4e76cc2e2b61ca671138bb78c74"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"37664118f849a46a2571b8a69365fe769f43bb96","unresolved":false,"context_lines":[{"line_number":6,"context_line":"    Instead, use ``[neutron]/endpoint_override`` configuration option to set"},{"line_number":7,"context_line":"    specific neutron api address when automatic discovery of neutron API"},{"line_number":8,"context_line":"    endpoint from keystone catalog is not desired."},{"line_number":9,"context_line":"    This new option has no default value (``None``) and must be set explicitly."},{"line_number":10,"context_line":"    This option is mainly suited for standalone ironic and neutron deployments"},{"line_number":11,"context_line":"    where keystone and its service catalog are unavalilable."},{"line_number":12,"context_line":"    It is generally recommended to rely on keystone service catalog for"}],"source_content_type":"text/x-yaml","patch_set":30,"id":"df87a7cf_e52a137d","line":9,"in_reply_to":"df87a7cf_7ebf8da9","updated":"2017-12-11 17:37:48.000000000","message":"Done","commit_id":"3d5cd95670a4d4e76cc2e2b61ca671138bb78c74"},{"author":{"_account_id":13689,"name":"Hironori Shiina","email":"Hironori.Shiina@fujitsu.com","username":"shiina"},"change_message_id":"93cfc37becb3c70237dad18091b8a540e2dd4a7c","unresolved":false,"context_lines":[{"line_number":8,"context_line":"    endpoint from keystone catalog is not desired."},{"line_number":9,"context_line":"    This new option has no default value (``None``) and must be set explicitly."},{"line_number":10,"context_line":"    This option is mainly suited for standalone ironic and neutron deployments"},{"line_number":11,"context_line":"    where keystone and its service catalog are unavalilable."},{"line_number":12,"context_line":"    It is generally recommended to rely on keystone service catalog for"},{"line_number":13,"context_line":"    service endpoint discovery."},{"line_number":14,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":30,"id":"df87a7cf_62115004","line":11,"range":{"start_line":11,"start_character":47,"end_line":11,"end_character":59},"updated":"2017-12-08 08:14:32.000000000","message":"nit s/unavalilable/unavailable/","commit_id":"3d5cd95670a4d4e76cc2e2b61ca671138bb78c74"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"37664118f849a46a2571b8a69365fe769f43bb96","unresolved":false,"context_lines":[{"line_number":8,"context_line":"    endpoint from keystone catalog is not desired."},{"line_number":9,"context_line":"    This new option has no default value (``None``) and must be set explicitly."},{"line_number":10,"context_line":"    This option is mainly suited for standalone ironic and neutron deployments"},{"line_number":11,"context_line":"    where keystone and its service catalog are unavalilable."},{"line_number":12,"context_line":"    It is generally recommended to rely on keystone service catalog for"},{"line_number":13,"context_line":"    service endpoint discovery."},{"line_number":14,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":30,"id":"df87a7cf_0a370401","line":11,"range":{"start_line":11,"start_character":47,"end_line":11,"end_character":59},"in_reply_to":"df87a7cf_62115004","updated":"2017-12-11 17:37:48.000000000","message":"Done","commit_id":"3d5cd95670a4d4e76cc2e2b61ca671138bb78c74"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"c135ef786e32a35c617bf538bdaefb9a7cd360cd","unresolved":false,"context_lines":[{"line_number":10,"context_line":"    This option is mainly suited for standalone ironic and neutron deployments"},{"line_number":11,"context_line":"    where keystone and its service catalog are unavalilable."},{"line_number":12,"context_line":"    It is generally recommended to rely on keystone service catalog for"},{"line_number":13,"context_line":"    service endpoint discovery."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"  - |"},{"line_number":16,"context_line":"    Configuration option ``[neutron]/url_timeout`` is deprecated"}],"source_content_type":"text/x-yaml","patch_set":30,"id":"df87a7cf_1ee0c1cc","line":13,"updated":"2017-12-10 12:23:24.000000000","message":"nit: I\u0027d add \"Ohterwise, \" in the beginning","commit_id":"3d5cd95670a4d4e76cc2e2b61ca671138bb78c74"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"37664118f849a46a2571b8a69365fe769f43bb96","unresolved":false,"context_lines":[{"line_number":10,"context_line":"    This option is mainly suited for standalone ironic and neutron deployments"},{"line_number":11,"context_line":"    where keystone and its service catalog are unavalilable."},{"line_number":12,"context_line":"    It is generally recommended to rely on keystone service catalog for"},{"line_number":13,"context_line":"    service endpoint discovery."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"  - |"},{"line_number":16,"context_line":"    Configuration option ``[neutron]/url_timeout`` is deprecated"}],"source_content_type":"text/x-yaml","patch_set":30,"id":"df87a7cf_ea33c012","line":13,"in_reply_to":"df87a7cf_1ee0c1cc","updated":"2017-12-11 17:37:48.000000000","message":"Done","commit_id":"3d5cd95670a4d4e76cc2e2b61ca671138bb78c74"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"c135ef786e32a35c617bf538bdaefb9a7cd360cd","unresolved":false,"context_lines":[{"line_number":16,"context_line":"    Configuration option ``[neutron]/url_timeout`` is deprecated"},{"line_number":17,"context_line":"    and will be ignored in the Rocky release."},{"line_number":18,"context_line":"    Instead, use ``[neutron]/timeout`` configuration option."},{"line_number":19,"context_line":"    This new option has no default value (``None``) and must be set explicitly."},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"  - |"},{"line_number":22,"context_line":"    Configuration option ``[neutron]/auth_strategy`` is deprecated"}],"source_content_type":"text/x-yaml","patch_set":30,"id":"df87a7cf_3ee345db","line":19,"updated":"2017-12-10 12:23:24.000000000","message":"ditto, \"must\" is not correct, this option is IIUC not mandatory","commit_id":"3d5cd95670a4d4e76cc2e2b61ca671138bb78c74"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"37664118f849a46a2571b8a69365fe769f43bb96","unresolved":false,"context_lines":[{"line_number":16,"context_line":"    Configuration option ``[neutron]/url_timeout`` is deprecated"},{"line_number":17,"context_line":"    and will be ignored in the Rocky release."},{"line_number":18,"context_line":"    Instead, use ``[neutron]/timeout`` configuration option."},{"line_number":19,"context_line":"    This new option has no default value (``None``) and must be set explicitly."},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"  - |"},{"line_number":22,"context_line":"    Configuration option ``[neutron]/auth_strategy`` is deprecated"}],"source_content_type":"text/x-yaml","patch_set":30,"id":"df87a7cf_2549db5e","line":19,"in_reply_to":"df87a7cf_3ee345db","updated":"2017-12-11 17:37:48.000000000","message":"the problem here is we had a default value for the url_timeout in ironic (30), but the new option is registered by ksa Session and has no default.\n\nI am trying to convey a message that to keep previous default behavior something now should (and after the deprecation must) be changed in the config file. Will try to reword.\n\nAlternative would be to mangle with default value for this option after registering it (like we do for service_type), but I don\u0027t really like it TBH.","commit_id":"3d5cd95670a4d4e76cc2e2b61ca671138bb78c74"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"920c6617793034f75ce9f3d03dbec767e1c005f8","unresolved":false,"context_lines":[{"line_number":4,"context_line":"    Configuration option ``[neutron]/url`` is deprecated"},{"line_number":5,"context_line":"    and will be ignored in the Rocky release."},{"line_number":6,"context_line":"    Instead, use ``[neutron]/endpoint_override`` configuration option to set"},{"line_number":7,"context_line":"    specific neutron api address when automatic discovery of neutron API"},{"line_number":8,"context_line":"    endpoint from keystone catalog is not desired."},{"line_number":9,"context_line":"    This option has no default value, and must be set explicitly in"},{"line_number":10,"context_line":"    case of a stand alone deployment of ironic and neutron, when the"}],"source_content_type":"text/x-yaml","patch_set":31,"id":"df87a7cf_f92cfbac","line":7,"updated":"2017-12-11 21:07:58.000000000","message":"nit s/api/API/","commit_id":"ed0c7f0fa5415892c582f6ec62ea69c62988f934"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"58e6c65e0d21dcbc061382a2fb31905d54be3dff","unresolved":false,"context_lines":[{"line_number":4,"context_line":"    Configuration option ``[neutron]/url`` is deprecated"},{"line_number":5,"context_line":"    and will be ignored in the Rocky release."},{"line_number":6,"context_line":"    Instead, use ``[neutron]/endpoint_override`` configuration option to set"},{"line_number":7,"context_line":"    specific neutron api address when automatic discovery of neutron API"},{"line_number":8,"context_line":"    endpoint from keystone catalog is not desired."},{"line_number":9,"context_line":"    This option has no default value, and must be set explicitly in"},{"line_number":10,"context_line":"    case of a stand alone deployment of ironic and neutron, when the"}],"source_content_type":"text/x-yaml","patch_set":31,"id":"df87a7cf_9c8fcf28","line":7,"in_reply_to":"df87a7cf_f92cfbac","updated":"2017-12-13 15:41:38.000000000","message":"Done","commit_id":"ed0c7f0fa5415892c582f6ec62ea69c62988f934"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"920c6617793034f75ce9f3d03dbec767e1c005f8","unresolved":false,"context_lines":[{"line_number":10,"context_line":"    case of a stand alone deployment of ironic and neutron, when the"},{"line_number":11,"context_line":"    service catalog is not available."},{"line_number":12,"context_line":"    Otherwise it is generally recommended to rely on keystone service catalog"},{"line_number":13,"context_line":"    for service endpoint discovery."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"  - |"},{"line_number":16,"context_line":"    Configuration option ``[neutron]/url_timeout`` is deprecated"}],"source_content_type":"text/x-yaml","patch_set":31,"id":"df87a7cf_9915af4b","line":13,"updated":"2017-12-11 21:07:58.000000000","message":"Do we also want to mention that they should set [neutron]/auth_type \u003d none?","commit_id":"ed0c7f0fa5415892c582f6ec62ea69c62988f934"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"a7c40a4cd824bac4e2bdb95067a0ed054d721b4e","unresolved":false,"context_lines":[{"line_number":10,"context_line":"    case of a stand alone deployment of ironic and neutron, when the"},{"line_number":11,"context_line":"    service catalog is not available."},{"line_number":12,"context_line":"    Otherwise it is generally recommended to rely on keystone service catalog"},{"line_number":13,"context_line":"    for service endpoint discovery."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"  - |"},{"line_number":16,"context_line":"    Configuration option ``[neutron]/url_timeout`` is deprecated"}],"source_content_type":"text/x-yaml","patch_set":31,"id":"df87a7cf_9f7edcac","line":13,"in_reply_to":"df87a7cf_9915af4b","updated":"2017-12-12 15:07:50.000000000","message":"Doing so does not make sense to me.","commit_id":"ed0c7f0fa5415892c582f6ec62ea69c62988f934"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"58e6c65e0d21dcbc061382a2fb31905d54be3dff","unresolved":false,"context_lines":[{"line_number":10,"context_line":"    case of a stand alone deployment of ironic and neutron, when the"},{"line_number":11,"context_line":"    service catalog is not available."},{"line_number":12,"context_line":"    Otherwise it is generally recommended to rely on keystone service catalog"},{"line_number":13,"context_line":"    for service endpoint discovery."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"  - |"},{"line_number":16,"context_line":"    Configuration option ``[neutron]/url_timeout`` is deprecated"}],"source_content_type":"text/x-yaml","patch_set":31,"id":"df87a7cf_bc197322","line":13,"in_reply_to":"df87a7cf_9915af4b","updated":"2017-12-13 15:41:38.000000000","message":"no, endpoint_override is usable with other auth_type values, they are orthoogonal (where/how to get a token vs where to go with this token).\n\nI might add that this *must* be set when auth_type is \u0027none\u0027 though.","commit_id":"ed0c7f0fa5415892c582f6ec62ea69c62988f934"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"b54a70063a88e84fa0bf4a15a5ff459b6f0fc9da","unresolved":false,"context_lines":[{"line_number":10,"context_line":"    case of a stand alone deployment of ironic and neutron, when the"},{"line_number":11,"context_line":"    service catalog is not available."},{"line_number":12,"context_line":"    Otherwise it is generally recommended to rely on keystone service catalog"},{"line_number":13,"context_line":"    for service endpoint discovery."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"  - |"},{"line_number":16,"context_line":"    Configuration option ``[neutron]/url_timeout`` is deprecated"}],"source_content_type":"text/x-yaml","patch_set":31,"id":"df87a7cf_d2e8dbe2","line":13,"in_reply_to":"df87a7cf_9f7edcac","updated":"2017-12-12 15:21:26.000000000","message":"Right, sorry, I got confused here.","commit_id":"ed0c7f0fa5415892c582f6ec62ea69c62988f934"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"920c6617793034f75ce9f3d03dbec767e1c005f8","unresolved":false,"context_lines":[{"line_number":29,"context_line":"other:"},{"line_number":30,"context_line":"  - |"},{"line_number":31,"context_line":"    Signatures of several networking-related functions/methods have been"},{"line_number":32,"context_line":"    changed to include request context as an optional keyword argument"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"    The functions/methods in question are:"},{"line_number":35,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":31,"id":"df87a7cf_74079219","line":32,"updated":"2017-12-11 21:07:58.000000000","message":"missing period at the end.","commit_id":"ed0c7f0fa5415892c582f6ec62ea69c62988f934"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"58e6c65e0d21dcbc061382a2fb31905d54be3dff","unresolved":false,"context_lines":[{"line_number":29,"context_line":"other:"},{"line_number":30,"context_line":"  - |"},{"line_number":31,"context_line":"    Signatures of several networking-related functions/methods have been"},{"line_number":32,"context_line":"    changed to include request context as an optional keyword argument"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"    The functions/methods in question are:"},{"line_number":35,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":31,"id":"df87a7cf_3c824301","line":32,"in_reply_to":"df87a7cf_74079219","updated":"2017-12-13 15:41:38.000000000","message":"Done","commit_id":"ed0c7f0fa5415892c582f6ec62ea69c62988f934"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"37e9130b74ee9c4c0ee730c7cc6185eaf1274bb8","unresolved":false,"context_lines":[{"line_number":7,"context_line":"    specific neutron API address when automatic discovery of neutron API"},{"line_number":8,"context_line":"    endpoint from keystone catalog is not desired."},{"line_number":9,"context_line":"    This option has no default value, and must be set explicitly in"},{"line_number":10,"context_line":"    case of a stand alone deployment of ironic and neutron"},{"line_number":11,"context_line":"    (when ``[neutron]auth_type`` is set to ``none``), since the"},{"line_number":12,"context_line":"    service catalog is not available in this case."},{"line_number":13,"context_line":"    Otherwise it is generally recommended to rely on keystone service catalog"}],"source_content_type":"text/x-yaml","patch_set":32,"id":"df87a7cf_a6905050","line":10,"updated":"2017-12-13 21:37:29.000000000","message":"nit s/in case of/for/\n\nbecause you mention \u0027case\u0027 twice.","commit_id":"36d749a21e473677ef34d50672e5d8f2626534b4"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"466b361525e9e3921ae5c980bacca203e4524358","unresolved":false,"context_lines":[{"line_number":7,"context_line":"    specific neutron API address when automatic discovery of neutron API"},{"line_number":8,"context_line":"    endpoint from keystone catalog is not desired."},{"line_number":9,"context_line":"    This option has no default value, and must be set explicitly in"},{"line_number":10,"context_line":"    case of a stand alone deployment of ironic and neutron"},{"line_number":11,"context_line":"    (when ``[neutron]auth_type`` is set to ``none``), since the"},{"line_number":12,"context_line":"    service catalog is not available in this case."},{"line_number":13,"context_line":"    Otherwise it is generally recommended to rely on keystone service catalog"}],"source_content_type":"text/x-yaml","patch_set":32,"id":"df87a7cf_ab7c8bb5","line":10,"in_reply_to":"df87a7cf_a6905050","updated":"2017-12-14 11:43:19.000000000","message":"Done","commit_id":"36d749a21e473677ef34d50672e5d8f2626534b4"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"37e9130b74ee9c4c0ee730c7cc6185eaf1274bb8","unresolved":false,"context_lines":[{"line_number":8,"context_line":"    endpoint from keystone catalog is not desired."},{"line_number":9,"context_line":"    This option has no default value, and must be set explicitly in"},{"line_number":10,"context_line":"    case of a stand alone deployment of ironic and neutron"},{"line_number":11,"context_line":"    (when ``[neutron]auth_type`` is set to ``none``), since the"},{"line_number":12,"context_line":"    service catalog is not available in this case."},{"line_number":13,"context_line":"    Otherwise it is generally recommended to rely on keystone service catalog"},{"line_number":14,"context_line":"    for service endpoint discovery."}],"source_content_type":"text/x-yaml","patch_set":32,"id":"df87a7cf_26d76026","line":11,"updated":"2017-12-13 21:37:29.000000000","message":"nit to be consistent, \u0027[neutron]/auth_type\u0027","commit_id":"36d749a21e473677ef34d50672e5d8f2626534b4"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"466b361525e9e3921ae5c980bacca203e4524358","unresolved":false,"context_lines":[{"line_number":8,"context_line":"    endpoint from keystone catalog is not desired."},{"line_number":9,"context_line":"    This option has no default value, and must be set explicitly in"},{"line_number":10,"context_line":"    case of a stand alone deployment of ironic and neutron"},{"line_number":11,"context_line":"    (when ``[neutron]auth_type`` is set to ``none``), since the"},{"line_number":12,"context_line":"    service catalog is not available in this case."},{"line_number":13,"context_line":"    Otherwise it is generally recommended to rely on keystone service catalog"},{"line_number":14,"context_line":"    for service endpoint discovery."}],"source_content_type":"text/x-yaml","patch_set":32,"id":"df87a7cf_8b7f47aa","line":11,"in_reply_to":"df87a7cf_26d76026","updated":"2017-12-14 11:43:19.000000000","message":"Done","commit_id":"36d749a21e473677ef34d50672e5d8f2626534b4"}]}
