)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"026cdf0e1a47ba7478307f9aedd18e667e93e879","unresolved":false,"context_lines":[{"line_number":29,"context_line":"As a side-effect of this patch, when configured properly, ironic should now"},{"line_number":30,"context_line":"support glance API deployed under Apache vhost (with more complex URI"},{"line_number":31,"context_line":"and no port)."},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"Change-Id: I6a93b71ac097e951dfc93fd1ee4d7ef483514f2c"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":14,"id":"5f201791_70d3e439","line":32,"updated":"2017-06-21 20:25:54.000000000","message":"We should list the bug #s here.","commit_id":"6f3655eeb7ee6ae954462daffaa98846ea8ce094"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"11a8b18fe0f378f407c18e27bedf0fa26491a016","unresolved":false,"context_lines":[{"line_number":9,"context_line":"this patch changes the way glance client is instantiated, using"},{"line_number":10,"context_line":"keystoneauth sessions and adapters."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"In order to support glance API endpoint discovery from keystone catalig"},{"line_number":13,"context_line":"and more unified way of client loading,"},{"line_number":14,"context_line":"many options in [glance] config sections are deprecated, mostly those"},{"line_number":15,"context_line":"that specified a (set of) glance API endpoint(s), some piece-wise."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":28,"id":"7f287b81_3de9ad7f","line":12,"range":{"start_line":12,"start_character":64,"end_line":12,"end_character":71},"updated":"2017-09-05 12:38:47.000000000","message":"catalog","commit_id":"695f5ce36ac0a9f5935892392abb98aaa7a88d00"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"5e8a5672403aaa909bbb7eacdadf5e9525f0de0d","unresolved":false,"context_lines":[{"line_number":9,"context_line":"this patch changes the way glance client is instantiated, using"},{"line_number":10,"context_line":"keystoneauth sessions and adapters."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"In order to support glance API endpoint discovery from keystone catalig"},{"line_number":13,"context_line":"and more unified way of client loading,"},{"line_number":14,"context_line":"many options in [glance] config sections are deprecated, mostly those"},{"line_number":15,"context_line":"that specified a (set of) glance API endpoint(s), some piece-wise."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":28,"id":"7f287b81_d615983e","line":12,"range":{"start_line":12,"start_character":64,"end_line":12,"end_character":71},"in_reply_to":"7f287b81_3de9ad7f","updated":"2017-09-07 16:17:54.000000000","message":"will do","commit_id":"695f5ce36ac0a9f5935892392abb98aaa7a88d00"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"11a8b18fe0f378f407c18e27bedf0fa26491a016","unresolved":false,"context_lines":[{"line_number":14,"context_line":"many options in [glance] config sections are deprecated, mostly those"},{"line_number":15,"context_line":"that specified a (set of) glance API endpoint(s), some piece-wise."},{"line_number":16,"context_line":"Instead, a single option [glance]endpoint_override must be used when"},{"line_number":17,"context_line":"required to access a specific (possibly load-balanced) glance API endpoint"},{"line_number":18,"context_line":"without discovering it from servcie catalog."},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"Another set of deprecated options are those that are duplicating"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":28,"id":"7f287b81_fd02053e","line":17,"range":{"start_line":17,"start_character":66,"end_line":17,"end_character":74},"updated":"2017-09-05 12:38:47.000000000","message":"wrap at 72 chars please","commit_id":"695f5ce36ac0a9f5935892392abb98aaa7a88d00"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"5e8a5672403aaa909bbb7eacdadf5e9525f0de0d","unresolved":false,"context_lines":[{"line_number":14,"context_line":"many options in [glance] config sections are deprecated, mostly those"},{"line_number":15,"context_line":"that specified a (set of) glance API endpoint(s), some piece-wise."},{"line_number":16,"context_line":"Instead, a single option [glance]endpoint_override must be used when"},{"line_number":17,"context_line":"required to access a specific (possibly load-balanced) glance API endpoint"},{"line_number":18,"context_line":"without discovering it from servcie catalog."},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"Another set of deprecated options are those that are duplicating"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":28,"id":"7f287b81_b628cc85","line":17,"range":{"start_line":17,"start_character":66,"end_line":17,"end_character":74},"in_reply_to":"7f287b81_fd02053e","updated":"2017-09-07 16:17:54.000000000","message":"will do","commit_id":"695f5ce36ac0a9f5935892392abb98aaa7a88d00"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"2530379c52ed6a02a63264a0de84e06f49f93a03","unresolved":false,"context_lines":[{"line_number":10,"context_line":"keystoneauth sessions and adapters."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"In order to support glance API endpoint discovery from keystone catalog"},{"line_number":13,"context_line":"and more unified way of client loading,"},{"line_number":14,"context_line":"many options in [glance] config sections are deprecated, mostly those"},{"line_number":15,"context_line":"that specified a (set of) glance API endpoint(s), some piece-wise."},{"line_number":16,"context_line":"Instead, a single option [glance]endpoint_override must be used when"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":29,"id":"ff5d4b2f_9299ee20","line":13,"updated":"2017-09-19 20:59:11.000000000","message":"strange word-wrapping here","commit_id":"53777e00c7813d66ec2f39c514f246bdc384d0a6"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"dfc979e2a436636dc6f73d9d662976d1d9769c5f","unresolved":false,"context_lines":[{"line_number":10,"context_line":"keystoneauth sessions and adapters."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"In order to support glance API endpoint discovery from keystone catalog"},{"line_number":13,"context_line":"and more unified way of client loading,"},{"line_number":14,"context_line":"many options in [glance] config sections are deprecated, mostly those"},{"line_number":15,"context_line":"that specified a (set of) glance API endpoint(s), some piece-wise."},{"line_number":16,"context_line":"Instead, a single option [glance]endpoint_override must be used when"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":29,"id":"bf57530f_702c2b47","line":13,"in_reply_to":"ff5d4b2f_9299ee20","updated":"2017-09-21 14:38:30.000000000","message":"old LaTex habit to wrap long sentences on logical breaks, easier to diff later :)","commit_id":"53777e00c7813d66ec2f39c514f246bdc384d0a6"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"2530379c52ed6a02a63264a0de84e06f49f93a03","unresolved":false,"context_lines":[{"line_number":12,"context_line":"In order to support glance API endpoint discovery from keystone catalog"},{"line_number":13,"context_line":"and more unified way of client loading,"},{"line_number":14,"context_line":"many options in [glance] config sections are deprecated, mostly those"},{"line_number":15,"context_line":"that specified a (set of) glance API endpoint(s), some piece-wise."},{"line_number":16,"context_line":"Instead, a single option [glance]endpoint_override must be used when"},{"line_number":17,"context_line":"required to access a specific (possibly load-balanced)"},{"line_number":18,"context_line":"glance API endpoint without discovering it from keystone catalog."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":29,"id":"ff5d4b2f_d28e46cf","line":15,"range":{"start_line":15,"start_character":50,"end_line":15,"end_character":65},"updated":"2017-09-19 20:59:11.000000000","message":"What does this mean?","commit_id":"53777e00c7813d66ec2f39c514f246bdc384d0a6"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"a1604e4413e5783c56547ef3953f5ab755565d5f","unresolved":false,"context_lines":[{"line_number":12,"context_line":"In order to support glance API endpoint discovery from keystone catalog"},{"line_number":13,"context_line":"and more unified way of client loading,"},{"line_number":14,"context_line":"many options in [glance] config sections are deprecated, mostly those"},{"line_number":15,"context_line":"that specified a (set of) glance API endpoint(s), some piece-wise."},{"line_number":16,"context_line":"Instead, a single option [glance]endpoint_override must be used when"},{"line_number":17,"context_line":"required to access a specific (possibly load-balanced)"},{"line_number":18,"context_line":"glance API endpoint without discovering it from keystone catalog."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":29,"id":"3f4b6375_980e7ae3","line":15,"range":{"start_line":15,"start_character":50,"end_line":15,"end_character":65},"in_reply_to":"bf57530f_70af8b94","updated":"2017-10-31 16:58:14.000000000","message":"reworded somewhat","commit_id":"53777e00c7813d66ec2f39c514f246bdc384d0a6"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"dfc979e2a436636dc6f73d9d662976d1d9769c5f","unresolved":false,"context_lines":[{"line_number":12,"context_line":"In order to support glance API endpoint discovery from keystone catalog"},{"line_number":13,"context_line":"and more unified way of client loading,"},{"line_number":14,"context_line":"many options in [glance] config sections are deprecated, mostly those"},{"line_number":15,"context_line":"that specified a (set of) glance API endpoint(s), some piece-wise."},{"line_number":16,"context_line":"Instead, a single option [glance]endpoint_override must be used when"},{"line_number":17,"context_line":"required to access a specific (possibly load-balanced)"},{"line_number":18,"context_line":"glance API endpoint without discovering it from keystone catalog."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":29,"id":"bf57530f_70af8b94","line":15,"range":{"start_line":15,"start_character":50,"end_line":15,"end_character":65},"in_reply_to":"ff5d4b2f_d28e46cf","updated":"2017-09-21 14:38:30.000000000","message":"that we had several options defining pieces to construct the glance api url \u003d protocol + address + port.\n\nWill try to reword.","commit_id":"53777e00c7813d66ec2f39c514f246bdc384d0a6"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"2530379c52ed6a02a63264a0de84e06f49f93a03","unresolved":false,"context_lines":[{"line_number":20,"context_line":"Another set of deprecated options are those that are duplicating"},{"line_number":21,"context_line":"keystoneauth session options in [glance] section."},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"Also, intrinsic support for parsing glance api url from image ref set to"},{"line_number":24,"context_line":"full glance REST path to the image is removed as it was not"},{"line_number":25,"context_line":"working any way since an \u0027http(s)://\u0027 image ref is not treated as glance"},{"line_number":26,"context_line":"image."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":29,"id":"ff5d4b2f_6276a5db","line":23,"range":{"start_line":23,"start_character":28,"end_line":23,"end_character":50},"updated":"2017-09-19 20:59:11.000000000","message":"s/parsing glance api url/parsing the glance API URL/","commit_id":"53777e00c7813d66ec2f39c514f246bdc384d0a6"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"a1604e4413e5783c56547ef3953f5ab755565d5f","unresolved":false,"context_lines":[{"line_number":20,"context_line":"Another set of deprecated options are those that are duplicating"},{"line_number":21,"context_line":"keystoneauth session options in [glance] section."},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"Also, intrinsic support for parsing glance api url from image ref set to"},{"line_number":24,"context_line":"full glance REST path to the image is removed as it was not"},{"line_number":25,"context_line":"working any way since an \u0027http(s)://\u0027 image ref is not treated as glance"},{"line_number":26,"context_line":"image."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":29,"id":"3f4b6375_d8d2b234","line":23,"range":{"start_line":23,"start_character":28,"end_line":23,"end_character":50},"in_reply_to":"ff5d4b2f_6276a5db","updated":"2017-10-31 16:58:14.000000000","message":"Done","commit_id":"53777e00c7813d66ec2f39c514f246bdc384d0a6"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"2530379c52ed6a02a63264a0de84e06f49f93a03","unresolved":false,"context_lines":[{"line_number":21,"context_line":"keystoneauth session options in [glance] section."},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"Also, intrinsic support for parsing glance api url from image ref set to"},{"line_number":24,"context_line":"full glance REST path to the image is removed as it was not"},{"line_number":25,"context_line":"working any way since an \u0027http(s)://\u0027 image ref is not treated as glance"},{"line_number":26,"context_line":"image."},{"line_number":27,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":29,"id":"ff5d4b2f_4273a1e8","line":24,"range":{"start_line":24,"start_character":0,"end_line":24,"end_character":4},"updated":"2017-09-19 20:59:11.000000000","message":"s/full/the full/","commit_id":"53777e00c7813d66ec2f39c514f246bdc384d0a6"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"a1604e4413e5783c56547ef3953f5ab755565d5f","unresolved":false,"context_lines":[{"line_number":21,"context_line":"keystoneauth session options in [glance] section."},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"Also, intrinsic support for parsing glance api url from image ref set to"},{"line_number":24,"context_line":"full glance REST path to the image is removed as it was not"},{"line_number":25,"context_line":"working any way since an \u0027http(s)://\u0027 image ref is not treated as glance"},{"line_number":26,"context_line":"image."},{"line_number":27,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":29,"id":"3f4b6375_98dc3a47","line":24,"range":{"start_line":24,"start_character":0,"end_line":24,"end_character":4},"in_reply_to":"ff5d4b2f_4273a1e8","updated":"2017-10-31 16:58:14.000000000","message":"Done","commit_id":"53777e00c7813d66ec2f39c514f246bdc384d0a6"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"2530379c52ed6a02a63264a0de84e06f49f93a03","unresolved":false,"context_lines":[{"line_number":22,"context_line":""},{"line_number":23,"context_line":"Also, intrinsic support for parsing glance api url from image ref set to"},{"line_number":24,"context_line":"full glance REST path to the image is removed as it was not"},{"line_number":25,"context_line":"working any way since an \u0027http(s)://\u0027 image ref is not treated as glance"},{"line_number":26,"context_line":"image."},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"Change-Id: I6a93b71ac097e951dfc93fd1ee4d7ef483514f2c"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":29,"id":"ff5d4b2f_2280ad8b","line":25,"range":{"start_line":25,"start_character":63,"end_line":25,"end_character":72},"updated":"2017-09-19 20:59:11.000000000","message":"s/as glance/as a glance/","commit_id":"53777e00c7813d66ec2f39c514f246bdc384d0a6"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"a1604e4413e5783c56547ef3953f5ab755565d5f","unresolved":false,"context_lines":[{"line_number":22,"context_line":""},{"line_number":23,"context_line":"Also, intrinsic support for parsing glance api url from image ref set to"},{"line_number":24,"context_line":"full glance REST path to the image is removed as it was not"},{"line_number":25,"context_line":"working any way since an \u0027http(s)://\u0027 image ref is not treated as glance"},{"line_number":26,"context_line":"image."},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"Change-Id: I6a93b71ac097e951dfc93fd1ee4d7ef483514f2c"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":29,"id":"3f4b6375_78df3e3a","line":25,"range":{"start_line":25,"start_character":63,"end_line":25,"end_character":72},"in_reply_to":"ff5d4b2f_2280ad8b","updated":"2017-10-31 16:58:14.000000000","message":"Done","commit_id":"53777e00c7813d66ec2f39c514f246bdc384d0a6"}],"etc/ironic/ironic.conf.sample":[{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"fb21180db271a7d50b4634e4bf38778b5f339f41","unresolved":false,"context_lines":[{"line_number":1500,"context_line":"# This option is deprecated for removal."},{"line_number":1501,"context_line":"# Its value may be silently ignored in the future."},{"line_number":1502,"context_line":"# Reason: Use [glance]auth_type\u003dnone and set"},{"line_number":1503,"context_line":"# [glance]endpoint_override option to glance API address"},{"line_number":1504,"context_line":"# instead."},{"line_number":1505,"context_line":"#auth_strategy \u003d keystone"},{"line_number":1506,"context_line":""}],"source_content_type":"application/octet-stream","patch_set":30,"id":"3f4b6375_29c0342a","line":1503,"updated":"2017-11-01 21:49:13.000000000","message":"nit, we need a style guide here. I see a lot (I didn\u0027t go through the entire file) that use the / to separate the group from the option name. Maybe we should try to be consistent.\n\neg [glance]/endpoint_override","commit_id":"67894456fd78bcce884c0fb88e632bbb14e3faf0"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"d88d07b35f032aba07dce94b7fc99353cf4e2b2e","unresolved":false,"context_lines":[{"line_number":1500,"context_line":"# This option is deprecated for removal."},{"line_number":1501,"context_line":"# Its value may be silently ignored in the future."},{"line_number":1502,"context_line":"# Reason: Use [glance]auth_type\u003dnone and set"},{"line_number":1503,"context_line":"# [glance]endpoint_override option to glance API address"},{"line_number":1504,"context_line":"# instead."},{"line_number":1505,"context_line":"#auth_strategy \u003d keystone"},{"line_number":1506,"context_line":""}],"source_content_type":"application/octet-stream","patch_set":30,"id":"3f4b6375_7124780d","line":1503,"in_reply_to":"3f4b6375_29c0342a","updated":"2017-11-06 10:53:18.000000000","message":"yes, I\u0027ve checked the reno notes and about 2/3rds of occurrences use \u0027[section]/option\u0027  style, while the other uses \u0027[section]option\u0027 one.\n\nI\u0027ll fix these to be in agreement with majority (reno notes already fixed, just forgot the ones in the options help / config sample)","commit_id":"67894456fd78bcce884c0fb88e632bbb14e3faf0"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"c32e0eaacdd0d1fe3e47ec5a70976b38c2fd5873","unresolved":false,"context_lines":[{"line_number":1500,"context_line":"# This option is deprecated for removal."},{"line_number":1501,"context_line":"# Its value may be silently ignored in the future."},{"line_number":1502,"context_line":"# Reason: Use [glance]auth_type\u003dnone and set"},{"line_number":1503,"context_line":"# [glance]endpoint_override option to glance API address"},{"line_number":1504,"context_line":"# instead."},{"line_number":1505,"context_line":"#auth_strategy \u003d keystone"},{"line_number":1506,"context_line":""}],"source_content_type":"application/octet-stream","patch_set":30,"id":"3f4b6375_8ef6aa8e","line":1503,"in_reply_to":"3f4b6375_7124780d","updated":"2017-11-06 18:23:32.000000000","message":"Done","commit_id":"67894456fd78bcce884c0fb88e632bbb14e3faf0"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"77017f880621253c09c120145ac5f0a51b6d1747","unresolved":false,"context_lines":[{"line_number":1508,"context_line":"# Allowed values: keystone, noauth"},{"line_number":1509,"context_line":"# This option is deprecated for removal."},{"line_number":1510,"context_line":"# Its value may be silently ignored in the future."},{"line_number":1511,"context_line":"# Reason: To configgure glance for noauth mode, set"},{"line_number":1512,"context_line":"# [glance]/auth_type\u003dnone and set [glance]/endpoint_override"},{"line_number":1513,"context_line":"# option to glance API address instead."},{"line_number":1514,"context_line":"#auth_strategy \u003d keystone"}],"source_content_type":"application/octet-stream","patch_set":31,"id":"3f4b6375_1f330216","line":1511,"updated":"2017-11-06 22:45:11.000000000","message":"s/configgure/configure/","commit_id":"e4d8cb3f7b8c0ede83dea72e180e08e7a5453a05"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"5646a16295aba6219ca59cdf798938eb525012be","unresolved":false,"context_lines":[{"line_number":1508,"context_line":"# Allowed values: keystone, noauth"},{"line_number":1509,"context_line":"# This option is deprecated for removal."},{"line_number":1510,"context_line":"# Its value may be silently ignored in the future."},{"line_number":1511,"context_line":"# Reason: To configgure glance for noauth mode, set"},{"line_number":1512,"context_line":"# [glance]/auth_type\u003dnone and set [glance]/endpoint_override"},{"line_number":1513,"context_line":"# option to glance API address instead."},{"line_number":1514,"context_line":"#auth_strategy \u003d keystone"}],"source_content_type":"application/octet-stream","patch_set":31,"id":"3f4b6375_7dfd546c","line":1511,"in_reply_to":"3f4b6375_1f330216","updated":"2017-11-07 12:53:41.000000000","message":"Done","commit_id":"e4d8cb3f7b8c0ede83dea72e180e08e7a5453a05"}],"ironic/cmd/conductor.py":[{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"8d5864f95c6dc1df82b0ef06e9025dc8947712a5","unresolved":false,"context_lines":[{"line_number":34,"context_line":""},{"line_number":35,"context_line":"LOG \u003d log.getLogger(__name__)"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"_SERVICE_TYPES_MAP \u003d {"},{"line_number":38,"context_line":"    \u0027glance\u0027: \u0027image\u0027,"},{"line_number":39,"context_line":"    \u0027service_catalog\u0027: \u0027baremetal\u0027"},{"line_number":40,"context_line":"}"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"def set_default_service_types(conf):"}],"source_content_type":"text/x-python","patch_set":17,"id":"df3967d1_40f29808","line":40,"range":{"start_line":37,"start_character":0,"end_line":40,"end_character":1},"updated":"2017-07-28 19:44:34.000000000","message":"Use service-types-authority (via os-service-types) for this.  (Although you\u0027ll probably still have to add the \u0027service_catalog\u0027 mapping manually.)  See [1] for an example of how this can be done.\n\n[1] https://review.openstack.org/#/c/488137/2/nova/utils.py@1428","commit_id":"424f92dfbfd2f1a8990fb03c3c56d34bc5e996e6"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"f8981cf1b85a81cbee90b9fee68d5a24a41b6c6b","unresolved":false,"context_lines":[{"line_number":34,"context_line":""},{"line_number":35,"context_line":"LOG \u003d log.getLogger(__name__)"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"_SERVICE_TYPES_MAP \u003d {"},{"line_number":38,"context_line":"    \u0027glance\u0027: \u0027image\u0027,"},{"line_number":39,"context_line":"    \u0027service_catalog\u0027: \u0027baremetal\u0027"},{"line_number":40,"context_line":"}"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"def set_default_service_types(conf):"}],"source_content_type":"text/x-python","patch_set":17,"id":"df3967d1_0232e610","line":40,"range":{"start_line":37,"start_character":0,"end_line":40,"end_character":1},"in_reply_to":"df3967d1_40f29808","updated":"2017-08-02 13:33:54.000000000","message":"I\u0027ve reworked that a bit to actually register those defaults outright, by now by specifying the \u0027default\u0027 service type explicitly, but I do plan to add os-service-type (see https://review.openstack.org/#/c/478825/)\n\nAlso, from all the 6 config sections for clients we have, we would need to provide 3 non-defaults:\n- service_catalog -\u003e ironic -\u003e baremetal\n- inspector -\u003e ironic-inspector -\u003e baremetal introspection\n- cinder -\u003e volumev3\n\nthe last one is the most controversial probably. I\u0027d like to have it in this way for now because our cinder integration does require Cinder V3, currently in devstack it is registered as \u0027volumev3\u0027 and I have doubts that Cinder already supports proper version discovery (e.g. via *_version options of ksa adapter).","commit_id":"424f92dfbfd2f1a8990fb03c3c56d34bc5e996e6"}],"ironic/common/exception.py":[{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"11a8b18fe0f378f407c18e27bedf0fa26491a016","unresolved":false,"context_lines":[{"line_number":487,"context_line":""},{"line_number":488,"context_line":""},{"line_number":489,"context_line":"class GlanceConnectionFailed(IronicException):"},{"line_number":490,"context_line":"    _msg_fmt \u003d _(\"Connection to glance failed: %(reason)s\")"},{"line_number":491,"context_line":""},{"line_number":492,"context_line":""},{"line_number":493,"context_line":"class ImageNotAuthorized(NotAuthorized):"}],"source_content_type":"text/x-python","patch_set":28,"id":"7f287b81_23a4ea07","line":490,"updated":"2017-09-05 12:38:47.000000000","message":"any reason not to include the url anymore?","commit_id":"695f5ce36ac0a9f5935892392abb98aaa7a88d00"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"5e8a5672403aaa909bbb7eacdadf5e9525f0de0d","unresolved":false,"context_lines":[{"line_number":487,"context_line":""},{"line_number":488,"context_line":""},{"line_number":489,"context_line":"class GlanceConnectionFailed(IronicException):"},{"line_number":490,"context_line":"    _msg_fmt \u003d _(\"Connection to glance failed: %(reason)s\")"},{"line_number":491,"context_line":""},{"line_number":492,"context_line":""},{"line_number":493,"context_line":"class ImageNotAuthorized(NotAuthorized):"}],"source_content_type":"text/x-python","patch_set":28,"id":"7f287b81_3613bc5e","line":490,"in_reply_to":"7f287b81_23a4ea07","updated":"2017-09-07 16:17:54.000000000","message":"Actually now I think this can be left as it is.\n\nIn some previous versions of this patch I was not resolving the Glance API in ironic code, leaving it to glanceclient, so the URL was not actually known when this exception was thrown.\n\nBut current version does indeed resolve glance API, so I can again set the self.endpoint of the BaseImageService object, and use it in the exception as it was done before.","commit_id":"695f5ce36ac0a9f5935892392abb98aaa7a88d00"}],"ironic/common/glance_service/base_image_service.py":[{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"b107125781b38c703319e003c7f277dc6e100f12","unresolved":false,"context_lines":[{"line_number":58,"context_line":"        if self.client:"},{"line_number":59,"context_line":"            return func(self, *args, **kwargs)"},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"        image_href \u003d kwargs.get(\u0027image_href\u0027)"},{"line_number":62,"context_line":"        (image_id, self.glance_host,"},{"line_number":63,"context_line":"         self.glance_port, use_ssl) \u003d service_utils.parse_image_ref(image_href)"},{"line_number":64,"context_line":""}],"source_content_type":"text/x-python","patch_set":11,"id":"7f231b9d_bc0a7723","side":"PARENT","line":61,"range":{"start_line":61,"start_character":8,"end_line":61,"end_character":45},"updated":"2017-06-12 15:44:34.000000000","message":"just for the record, this part is very non-obvious\n\nwhile unit tests use kwargs, most real code everywhere actually calls out to this via args, but calling both ways is possible due to Python\u0027s\n\n  \u003e\u003e\u003e def func(a, b\u003dNone):\n          print a, b\n\n  \u003e\u003e\u003e func(1, b\u003d2)\n  1 2\n  \u003e\u003e\u003e func(a\u003d1)\n  1 None\n  \u003e\u003e\u003e func(b\u003d2, a\u003d1)\n  1 2\n\nThat\u0027s why in real devstack deployment, the code in service_utils (see next comment)..","commit_id":"34421e4bfc729e2d403bfaf40f2f2ccfb3d5c07d"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"2923163c1ee443e70455f0fdf447f487fea65b36","unresolved":false,"context_lines":[{"line_number":160,"context_line":"                                          \u0027method\u0027: method})"},{"line_number":161,"context_line":"                if attempt \u003d\u003d num_attempts:"},{"line_number":162,"context_line":"                    raise exception.GlanceConnectionFailed("},{"line_number":163,"context_line":"                        reason\u003dsix.text_type(e))"},{"line_number":164,"context_line":"                time.sleep(1)"},{"line_number":165,"context_line":"            except image_excs as e:"},{"line_number":166,"context_line":"                exc_type, exc_value, exc_trace \u003d sys.exc_info()"}],"source_content_type":"text/x-python","patch_set":17,"id":"1f1a1f67_af2d9ba9","line":163,"updated":"2017-07-21 08:18:04.000000000","message":"nit: six.text_type is redundant","commit_id":"424f92dfbfd2f1a8990fb03c3c56d34bc5e996e6"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"f8981cf1b85a81cbee90b9fee68d5a24a41b6c6b","unresolved":false,"context_lines":[{"line_number":160,"context_line":"                                          \u0027method\u0027: method})"},{"line_number":161,"context_line":"                if attempt \u003d\u003d num_attempts:"},{"line_number":162,"context_line":"                    raise exception.GlanceConnectionFailed("},{"line_number":163,"context_line":"                        reason\u003dsix.text_type(e))"},{"line_number":164,"context_line":"                time.sleep(1)"},{"line_number":165,"context_line":"            except image_excs as e:"},{"line_number":166,"context_line":"                exc_type, exc_value, exc_trace \u003d sys.exc_info()"}],"source_content_type":"text/x-python","patch_set":17,"id":"df3967d1_6dcc0361","line":163,"in_reply_to":"1f1a1f67_af2d9ba9","updated":"2017-08-02 13:33:54.000000000","message":"will change","commit_id":"424f92dfbfd2f1a8990fb03c3c56d34bc5e996e6"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"942e849f4776ef82542c4de5b07294c8d3d291b3","unresolved":false,"context_lines":[{"line_number":80,"context_line":"            session_params[\u0027insecure\u0027] \u003d CONF.glance.glance_api_insecure"},{"line_number":81,"context_line":"        if CONF.glance.glance_cafile:"},{"line_number":82,"context_line":"            session_params[\u0027cacert\u0027] \u003d CONF.glance.glance_cafile"},{"line_number":83,"context_line":"        # NOTE(pas-ha) glanceclient uses Adapter-bases SessionClient,"},{"line_number":84,"context_line":"        # so we can pass session and auth separately, makes things easier"},{"line_number":85,"context_line":"        session \u003d _get_glance_session(**session_params)"},{"line_number":86,"context_line":""}],"source_content_type":"text/x-python","patch_set":20,"id":"df3967d1_d9c36c56","line":83,"range":{"start_line":83,"start_character":49,"end_line":83,"end_character":54},"updated":"2017-08-04 14:05:05.000000000","message":"nit - based","commit_id":"a5314a4708469d9fab0144e1b23bd1b5ef86a040"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"942e849f4776ef82542c4de5b07294c8d3d291b3","unresolved":false,"context_lines":[{"line_number":91,"context_line":"            #              positional arg, but check in kwargs too"},{"line_number":92,"context_line":"            image_href \u003d args[0] if args else kwargs.get(\u0027image_href\u0027)"},{"line_number":93,"context_line":"            url \u003d service_utils.get_glance_api_server(image_href)"},{"line_number":94,"context_line":"            if not CONF.glance.endpoint_override:"},{"line_number":95,"context_line":"                CONF.set_override(\u0027endpoint_override\u0027, url, group\u003d\u0027glance\u0027)"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"        if CONF.glance.auth_strategy \u003d\u003d \u0027noauth\u0027:"}],"source_content_type":"text/x-python","patch_set":20,"id":"df3967d1_f974f037","line":94,"range":{"start_line":94,"start_character":12,"end_line":94,"end_character":49},"updated":"2017-08-04 14:05:05.000000000","message":"you\u0027ve checked already that it is False(y) on L89","commit_id":"a5314a4708469d9fab0144e1b23bd1b5ef86a040"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"bca8c15ef71f9513150728997b06037c4d8a837f","unresolved":false,"context_lines":[{"line_number":91,"context_line":"            #              positional arg, but check in kwargs too"},{"line_number":92,"context_line":"            image_href \u003d args[0] if args else kwargs.get(\u0027image_href\u0027)"},{"line_number":93,"context_line":"            url \u003d service_utils.get_glance_api_server(image_href)"},{"line_number":94,"context_line":"            if not CONF.glance.endpoint_override:"},{"line_number":95,"context_line":"                CONF.set_override(\u0027endpoint_override\u0027, url, group\u003d\u0027glance\u0027)"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"        if CONF.glance.auth_strategy \u003d\u003d \u0027noauth\u0027:"}],"source_content_type":"text/x-python","patch_set":20,"id":"df3967d1_e8de533c","line":94,"range":{"start_line":94,"start_character":12,"end_line":94,"end_character":49},"in_reply_to":"df3967d1_f974f037","updated":"2017-08-04 14:56:03.000000000","message":"yep, remnant of previous patch-set, will remove","commit_id":"a5314a4708469d9fab0144e1b23bd1b5ef86a040"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"942e849f4776ef82542c4de5b07294c8d3d291b3","unresolved":false,"context_lines":[{"line_number":102,"context_line":"        if CONF.keystone.region_name and not CONF.glance.region_name:"},{"line_number":103,"context_line":"            adapter_params[\u0027region_name\u0027] \u003d CONF.keystone.region_name"},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"        adapter \u003d keystone.get_adapter(\u0027glance\u0027, session\u003dsession, auth\u003dauth,"},{"line_number":106,"context_line":"                                       **adapter_params)"},{"line_number":107,"context_line":"        if CONF.glance.auth_type !\u003d \u0027none\u0027 and self.context.auth_token:"},{"line_number":108,"context_line":"            auth \u003d keystone.get_endpoint_auth(adapter.get_endpoint(),"}],"source_content_type":"text/x-python","patch_set":20,"id":"df3967d1_b932e80e","line":105,"range":{"start_line":105,"start_character":66,"end_line":105,"end_character":75},"updated":"2017-08-04 14:05:05.000000000","message":"I doubt there is a need to pass auth here if you pass it on L111? And this value might be actually ignored if the thing on L108 executes","commit_id":"a5314a4708469d9fab0144e1b23bd1b5ef86a040"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"bca8c15ef71f9513150728997b06037c4d8a837f","unresolved":false,"context_lines":[{"line_number":102,"context_line":"        if CONF.keystone.region_name and not CONF.glance.region_name:"},{"line_number":103,"context_line":"            adapter_params[\u0027region_name\u0027] \u003d CONF.keystone.region_name"},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"        adapter \u003d keystone.get_adapter(\u0027glance\u0027, session\u003dsession, auth\u003dauth,"},{"line_number":106,"context_line":"                                       **adapter_params)"},{"line_number":107,"context_line":"        if CONF.glance.auth_type !\u003d \u0027none\u0027 and self.context.auth_token:"},{"line_number":108,"context_line":"            auth \u003d keystone.get_endpoint_auth(adapter.get_endpoint(),"}],"source_content_type":"text/x-python","patch_set":20,"id":"df3967d1_e8b773f4","line":105,"range":{"start_line":105,"start_character":66,"end_line":105,"end_character":75},"in_reply_to":"df3967d1_b932e80e","updated":"2017-08-04 14:56:03.000000000","message":"it\u0027s the adapter.get_endpoint() call on L108 that needs proper auth to access keystone catalog (and the session object is auth-less)","commit_id":"a5314a4708469d9fab0144e1b23bd1b5ef86a040"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"942e849f4776ef82542c4de5b07294c8d3d291b3","unresolved":false,"context_lines":[{"line_number":104,"context_line":""},{"line_number":105,"context_line":"        adapter \u003d keystone.get_adapter(\u0027glance\u0027, session\u003dsession, auth\u003dauth,"},{"line_number":106,"context_line":"                                       **adapter_params)"},{"line_number":107,"context_line":"        if CONF.glance.auth_type !\u003d \u0027none\u0027 and self.context.auth_token:"},{"line_number":108,"context_line":"            auth \u003d keystone.get_endpoint_auth(adapter.get_endpoint(),"},{"line_number":109,"context_line":"                                              token\u003dself.context.auth_token)"},{"line_number":110,"context_line":""}],"source_content_type":"text/x-python","patch_set":20,"id":"df3967d1_f973d014","line":107,"updated":"2017-08-04 14:05:05.000000000","message":"OK, so I still don\u0027t get why to use token_endpoint here instead of just token, as we know this is not noauth case, and we might need to refresh the token. fine with a todo for future","commit_id":"a5314a4708469d9fab0144e1b23bd1b5ef86a040"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"bca8c15ef71f9513150728997b06037c4d8a837f","unresolved":false,"context_lines":[{"line_number":104,"context_line":""},{"line_number":105,"context_line":"        adapter \u003d keystone.get_adapter(\u0027glance\u0027, session\u003dsession, auth\u003dauth,"},{"line_number":106,"context_line":"                                       **adapter_params)"},{"line_number":107,"context_line":"        if CONF.glance.auth_type !\u003d \u0027none\u0027 and self.context.auth_token:"},{"line_number":108,"context_line":"            auth \u003d keystone.get_endpoint_auth(adapter.get_endpoint(),"},{"line_number":109,"context_line":"                                              token\u003dself.context.auth_token)"},{"line_number":110,"context_line":""}],"source_content_type":"text/x-python","patch_set":20,"id":"df3967d1_48f31f75","line":107,"in_reply_to":"df3967d1_f973d014","updated":"2017-08-04 14:56:03.000000000","message":"The proper Token auth needs project and possibly domain-related options and trusts. I do have plans to improve that in future - we\u0027d need to enhance or RequestContext object similar to what nova does to be able to construct an auth object right from the context (and also use service context in the request, global request id, possibly included service catalog etc).\n\nBut at least this is not worse than it was before re reauth. I\u0027ll leave a todo comment here.","commit_id":"a5314a4708469d9fab0144e1b23bd1b5ef86a040"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"942e849f4776ef82542c4de5b07294c8d3d291b3","unresolved":false,"context_lines":[{"line_number":108,"context_line":"            auth \u003d keystone.get_endpoint_auth(adapter.get_endpoint(),"},{"line_number":109,"context_line":"                                              token\u003dself.context.auth_token)"},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"        self.client \u003d client.Client(self.version, session\u003dsession, auth\u003dauth,"},{"line_number":112,"context_line":"                                    **keystone.adapter_to_client(adapter))"},{"line_number":113,"context_line":"        return func(self, *args, **kwargs)"},{"line_number":114,"context_line":""}],"source_content_type":"text/x-python","patch_set":20,"id":"df3967d1_7943606d","line":111,"range":{"start_line":111,"start_character":67,"end_line":111,"end_character":76},"updated":"2017-08-04 14:05:05.000000000","message":"ugh, now we have 3 ways to provide the auth..","commit_id":"a5314a4708469d9fab0144e1b23bd1b5ef86a040"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"11a8b18fe0f378f407c18e27bedf0fa26491a016","unresolved":false,"context_lines":[{"line_number":108,"context_line":"        # NOTE(pas-ha) discover the glance API ourselves for now"},{"line_number":109,"context_line":"        # TODO(pas-ha) use versioned data to get versioned endpoint"},{"line_number":110,"context_line":"        # based on *version* opts in config"},{"line_number":111,"context_line":"        # TODO(pas-ha) evaluate possibility of using the glance API"},{"line_number":112,"context_line":"        # with direct requests thru adapter, without glanceclient"},{"line_number":113,"context_line":"        glance_url \u003d adapter.get_endpoint()"},{"line_number":114,"context_line":""}],"source_content_type":"text/x-python","patch_set":28,"id":"7f287b81_23274a67","line":111,"updated":"2017-09-05 12:38:47.000000000","message":"why do we need this?","commit_id":"695f5ce36ac0a9f5935892392abb98aaa7a88d00"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"5e8a5672403aaa909bbb7eacdadf5e9525f0de0d","unresolved":false,"context_lines":[{"line_number":108,"context_line":"        # NOTE(pas-ha) discover the glance API ourselves for now"},{"line_number":109,"context_line":"        # TODO(pas-ha) use versioned data to get versioned endpoint"},{"line_number":110,"context_line":"        # based on *version* opts in config"},{"line_number":111,"context_line":"        # TODO(pas-ha) evaluate possibility of using the glance API"},{"line_number":112,"context_line":"        # with direct requests thru adapter, without glanceclient"},{"line_number":113,"context_line":"        glance_url \u003d adapter.get_endpoint()"},{"line_number":114,"context_line":""}],"source_content_type":"text/x-python","patch_set":28,"id":"7f287b81_2b047549","line":111,"in_reply_to":"7f287b81_23274a67","updated":"2017-09-07 16:17:54.000000000","message":"This was an idea raised by mordred in IRC. In theory it may allow us to unify code that handles plain HTTP image refs and Glance image refs by using a Session object, just passing (or not) it an auth plugin object, and then executing \"session.get\" on correct URLs.","commit_id":"695f5ce36ac0a9f5935892392abb98aaa7a88d00"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"11a8b18fe0f378f407c18e27bedf0fa26491a016","unresolved":false,"context_lines":[{"line_number":113,"context_line":"        glance_url \u003d adapter.get_endpoint()"},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"        user_auth \u003d None"},{"line_number":116,"context_line":"        # NOTE(pas-ha) our ContextHook removes context.auth_token in noauth"},{"line_number":117,"context_line":"        # case, so when ironic is in noauth but glance is not, we will use"},{"line_number":118,"context_line":"        # auth from config"},{"line_number":119,"context_line":"        if self.context.auth_token:"},{"line_number":120,"context_line":"            user_auth \u003d keystone.get_service_auth(self.context, glance_url,"},{"line_number":121,"context_line":"                                                  service_auth)"}],"source_content_type":"text/x-python","patch_set":28,"id":"7f287b81_e354a256","line":118,"range":{"start_line":116,"start_character":8,"end_line":118,"end_character":26},"updated":"2017-09-05 12:38:47.000000000","message":"this comment needs a rewrite, as what happens in code on L120 is not that? or did you mean \"auth from glance section of config\"?","commit_id":"695f5ce36ac0a9f5935892392abb98aaa7a88d00"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"5e8a5672403aaa909bbb7eacdadf5e9525f0de0d","unresolved":false,"context_lines":[{"line_number":113,"context_line":"        glance_url \u003d adapter.get_endpoint()"},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"        user_auth \u003d None"},{"line_number":116,"context_line":"        # NOTE(pas-ha) our ContextHook removes context.auth_token in noauth"},{"line_number":117,"context_line":"        # case, so when ironic is in noauth but glance is not, we will use"},{"line_number":118,"context_line":"        # auth from config"},{"line_number":119,"context_line":"        if self.context.auth_token:"},{"line_number":120,"context_line":"            user_auth \u003d keystone.get_service_auth(self.context, glance_url,"},{"line_number":121,"context_line":"                                                  service_auth)"}],"source_content_type":"text/x-python","patch_set":28,"id":"7f287b81_2b28f5df","line":118,"range":{"start_line":116,"start_character":8,"end_line":118,"end_character":26},"in_reply_to":"7f287b81_e354a256","updated":"2017-09-07 16:17:54.000000000","message":"\"auth from glance section in config\" it is. I\u0027ll rewrite it to be more clear.","commit_id":"695f5ce36ac0a9f5935892392abb98aaa7a88d00"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"fb21180db271a7d50b4634e4bf38778b5f339f41","unresolved":false,"context_lines":[{"line_number":75,"context_line":"        session_params \u003d {}"},{"line_number":76,"context_line":"        # NOTE(pas-ha) relying on default for both glance_api_insecure"},{"line_number":77,"context_line":"        # and insecure (from keystoneauth session opts) being False"},{"line_number":78,"context_line":"        # and allow overriding latter with former for backward compat"},{"line_number":79,"context_line":"        if CONF.glance.glance_api_insecure:"},{"line_number":80,"context_line":"            session_params[\u0027insecure\u0027] \u003d CONF.glance.glance_api_insecure"},{"line_number":81,"context_line":"        if CONF.glance.glance_cafile:"}],"source_content_type":"text/x-python","patch_set":30,"id":"3f4b6375_69718cde","line":78,"updated":"2017-11-01 21:49:13.000000000","message":"Let me see if I understand. The code below doesn\u0027t actually look at CONF.glance.insecure or CONF.glance.cafile, because these two configs are handled in the glance or keystone code, not here, right?\n\nIf that is the case, I\u0027m OK with the code for .glance_api_insecure. But I\u0027m not sure about glance_cafile (L82). If the user has both CONF.glance.glance_cafile AND CONF.glance.cafile set to different values, which one should we use? I think (but didn\u0027t check) that we tend to take the value from the non-deprecated config, but this would use the value from the deprecated config.","commit_id":"67894456fd78bcce884c0fb88e632bbb14e3faf0"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"c32e0eaacdd0d1fe3e47ec5a70976b38c2fd5873","unresolved":false,"context_lines":[{"line_number":75,"context_line":"        session_params \u003d {}"},{"line_number":76,"context_line":"        # NOTE(pas-ha) relying on default for both glance_api_insecure"},{"line_number":77,"context_line":"        # and insecure (from keystoneauth session opts) being False"},{"line_number":78,"context_line":"        # and allow overriding latter with former for backward compat"},{"line_number":79,"context_line":"        if CONF.glance.glance_api_insecure:"},{"line_number":80,"context_line":"            session_params[\u0027insecure\u0027] \u003d CONF.glance.glance_api_insecure"},{"line_number":81,"context_line":"        if CONF.glance.glance_cafile:"}],"source_content_type":"text/x-python","patch_set":30,"id":"3f4b6375_6ef12e95","line":78,"in_reply_to":"3f4b6375_119784ee","updated":"2017-11-06 18:23:32.000000000","message":"Done","commit_id":"67894456fd78bcce884c0fb88e632bbb14e3faf0"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"d88d07b35f032aba07dce94b7fc99353cf4e2b2e","unresolved":false,"context_lines":[{"line_number":75,"context_line":"        session_params \u003d {}"},{"line_number":76,"context_line":"        # NOTE(pas-ha) relying on default for both glance_api_insecure"},{"line_number":77,"context_line":"        # and insecure (from keystoneauth session opts) being False"},{"line_number":78,"context_line":"        # and allow overriding latter with former for backward compat"},{"line_number":79,"context_line":"        if CONF.glance.glance_api_insecure:"},{"line_number":80,"context_line":"            session_params[\u0027insecure\u0027] \u003d CONF.glance.glance_api_insecure"},{"line_number":81,"context_line":"        if CONF.glance.glance_cafile:"}],"source_content_type":"text/x-python","patch_set":30,"id":"3f4b6375_119784ee","line":78,"in_reply_to":"3f4b6375_69718cde","updated":"2017-11-06 10:53:18.000000000","message":"I see what you mean.. indeed, need an extra check for that situation, so that for options which have a \u0027None\u0027 default, if both old and new are specified, new wins.","commit_id":"67894456fd78bcce884c0fb88e632bbb14e3faf0"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"b362cd55d2a99aafec839fdb9ef6014dcdb34d41","unresolved":false,"context_lines":[{"line_number":99,"context_line":""},{"line_number":100,"context_line":"        # TODO(pas-ha) remove in Rocky"},{"line_number":101,"context_line":"        adapter_params \u003d {}"},{"line_number":102,"context_line":"        if CONF.keystone.region_name and not CONF.glance.region_name:"},{"line_number":103,"context_line":"            adapter_params[\u0027region_name\u0027] \u003d CONF.keystone.region_name"},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"        adapter \u003d keystone.get_adapter(\u0027glance\u0027, session\u003dsession,"}],"source_content_type":"text/x-python","patch_set":32,"id":"3f4b6375_da454ab6","line":102,"updated":"2017-11-08 21:09:44.000000000","message":"I was wondering. Is it clear in the release notes, that we won\u0027t be using keystone.region_name? (Well, I looked, and it isn\u0027t clear to me but maybe I missed it.)","commit_id":"94e37c61c8a10f243dbac7a43df6ccd66a7f6264"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"b178209e211018c901be2c68aed1fdb920adf5a7","unresolved":false,"context_lines":[{"line_number":99,"context_line":""},{"line_number":100,"context_line":"        # TODO(pas-ha) remove in Rocky"},{"line_number":101,"context_line":"        adapter_params \u003d {}"},{"line_number":102,"context_line":"        if CONF.keystone.region_name and not CONF.glance.region_name:"},{"line_number":103,"context_line":"            adapter_params[\u0027region_name\u0027] \u003d CONF.keystone.region_name"},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"        adapter \u003d keystone.get_adapter(\u0027glance\u0027, session\u003dsession,"}],"source_content_type":"text/x-python","patch_set":32,"id":"1f485f77_ac1dc2be","line":102,"in_reply_to":"1f485f77_23d0cac9","updated":"2017-11-09 14:49:55.000000000","message":"Ah, ok, I didn\u0027t realize it was mentioned in the last patch in the series.\n\nThese \u0027intermediate\u0027 releases are a bit of a pain... more things/process to think about :-(\n\nLet\u0027s try to land the rest of these patches, in the next, same release :)","commit_id":"94e37c61c8a10f243dbac7a43df6ccd66a7f6264"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"fcdcc5cd855fd2af5c7e50d49b58a7c04965a41a","unresolved":false,"context_lines":[{"line_number":99,"context_line":""},{"line_number":100,"context_line":"        # TODO(pas-ha) remove in Rocky"},{"line_number":101,"context_line":"        adapter_params \u003d {}"},{"line_number":102,"context_line":"        if CONF.keystone.region_name and not CONF.glance.region_name:"},{"line_number":103,"context_line":"            adapter_params[\u0027region_name\u0027] \u003d CONF.keystone.region_name"},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"        adapter \u003d keystone.get_adapter(\u0027glance\u0027, session\u003dsession,"}],"source_content_type":"text/x-python","patch_set":32,"id":"1f485f77_23d0cac9","line":102,"in_reply_to":"3f4b6375_da454ab6","updated":"2017-11-09 07:20:48.000000000","message":"that\u0027s a bit complicated - initially I wanted to avoid making a releasenote per client and just make a single one about keystone.region_name being deprecated (see last patch in the series).\n\nHowever taking intermediate releases into account I should probably go with per-client note.\n\nOTOH it seems to me that the user base of our intermediate releases are only standalone ironic users or those \"living on the edge\" chasing master. First are not bothered by changes to keystone-related stuff, second should know/understand/be prepared for (not so drastic) changes.","commit_id":"94e37c61c8a10f243dbac7a43df6ccd66a7f6264"}],"ironic/common/glance_service/service_utils.py":[{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"85e1b70ce67e13e44c5f86cc6c519034345bc694","unresolved":false,"context_lines":[{"line_number":171,"context_line":"        LOG.warning(\"Support for providing glance image reference in any form \""},{"line_number":172,"context_line":"                    \"other than glance image UUID is deprecated.\")"},{"line_number":173,"context_line":"    else:"},{"line_number":174,"context_line":"        glance_url \u003d _get_api_server()"},{"line_number":175,"context_line":"    try:"},{"line_number":176,"context_line":"        url \u003d urlparse.urlparse(image_href)"},{"line_number":177,"context_line":"        if url.scheme \u003d\u003d \u0027glance\u0027:"}],"source_content_type":"text/x-python","patch_set":4,"id":"df140735_e42f51a5","line":174,"updated":"2017-06-07 10:34:14.000000000","message":"return here","commit_id":"aa43f338e396a7f0cb7bbb454e2316d5ad4feb49"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"b107125781b38c703319e003c7f277dc6e100f12","unresolved":false,"context_lines":[{"line_number":152,"context_line":""},{"line_number":153,"context_line":"    :raises ValueError: when input image href is invalid"},{"line_number":154,"context_line":"    \"\"\""},{"line_number":155,"context_line":"    if \u0027/\u0027 not in six.text_type(image_href):"},{"line_number":156,"context_line":"        image_id \u003d image_href"},{"line_number":157,"context_line":"        (glance_host, glance_port, use_ssl) \u003d _get_api_server()"},{"line_number":158,"context_line":"        return (image_id, glance_host, glance_port, use_ssl)"}],"source_content_type":"text/x-python","patch_set":11,"id":"7f231b9d_574d7c70","side":"PARENT","line":155,"updated":"2017-06-12 15:44:34.000000000","message":".. here was still passing with image_href\u003dNone as it was converted to \u0027None\u0027 string and that obviously does not contain \u0027/\u0027 while actually being a non-valid image_href!","commit_id":"34421e4bfc729e2d403bfaf40f2f2ccfb3d5c07d"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"026cdf0e1a47ba7478307f9aedd18e667e93e879","unresolved":false,"context_lines":[{"line_number":201,"context_line":"    if hasattr(context, \u0027auth_token\u0027) and context.auth_token:"},{"line_number":202,"context_line":"        return True"},{"line_number":203,"context_line":""},{"line_number":204,"context_line":"    if (context.is_admin or"},{"line_number":205,"context_line":"            (getattr(image, \u0027is_public\u0027, None) or"},{"line_number":206,"context_line":"             getattr(image, \u0027visibility\u0027, None) \u003d\u003d \u0027public\u0027)):"},{"line_number":207,"context_line":"        return True"}],"source_content_type":"text/x-python","patch_set":14,"id":"5f201791_707644a7","line":204,"range":{"start_line":204,"start_character":7,"end_line":204,"end_character":27},"updated":"2017-06-21 20:25:54.000000000","message":"nit: I feel like check order should be maintained and context should be checked last, since AIUI, it is what we think is our context, and that may not be correct.","commit_id":"6f3655eeb7ee6ae954462daffaa98846ea8ce094"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"2923163c1ee443e70455f0fdf447f487fea65b36","unresolved":false,"context_lines":[{"line_number":149,"context_line":"        if url.scheme \u003d\u003d \u0027glance\u0027:"},{"line_number":150,"context_line":"            image_id \u003d url.netloc"},{"line_number":151,"context_line":"        else:"},{"line_number":152,"context_line":"            image_id \u003d url.path.split(\u0027/\u0027)[-1]"},{"line_number":153,"context_line":"    except ValueError:"},{"line_number":154,"context_line":"        raise exception.InvalidImageRef(image_href\u003dimage_href)"},{"line_number":155,"context_line":"    return image_id"}],"source_content_type":"text/x-python","patch_set":17,"id":"1f1a1f67_8f2adf8d","line":152,"updated":"2017-07-21 08:18:04.000000000","message":"I wonder if we should catch IndexError from this..","commit_id":"424f92dfbfd2f1a8990fb03c3c56d34bc5e996e6"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"8d5864f95c6dc1df82b0ef06e9025dc8947712a5","unresolved":false,"context_lines":[{"line_number":149,"context_line":"        if url.scheme \u003d\u003d \u0027glance\u0027:"},{"line_number":150,"context_line":"            image_id \u003d url.netloc"},{"line_number":151,"context_line":"        else:"},{"line_number":152,"context_line":"            image_id \u003d url.path.split(\u0027/\u0027)[-1]"},{"line_number":153,"context_line":"    except ValueError:"},{"line_number":154,"context_line":"        raise exception.InvalidImageRef(image_href\u003dimage_href)"},{"line_number":155,"context_line":"    return image_id"}],"source_content_type":"text/x-python","patch_set":17,"id":"df3967d1_603b5c9c","line":152,"in_reply_to":"1f1a1f67_8f2adf8d","updated":"2017-07-28 19:44:34.000000000","message":"Yah, see bug 1705770 and I990a24ea32d0f7123566053046c80e48bce0536b","commit_id":"424f92dfbfd2f1a8990fb03c3c56d34bc5e996e6"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"f8981cf1b85a81cbee90b9fee68d5a24a41b6c6b","unresolved":false,"context_lines":[{"line_number":149,"context_line":"        if url.scheme \u003d\u003d \u0027glance\u0027:"},{"line_number":150,"context_line":"            image_id \u003d url.netloc"},{"line_number":151,"context_line":"        else:"},{"line_number":152,"context_line":"            image_id \u003d url.path.split(\u0027/\u0027)[-1]"},{"line_number":153,"context_line":"    except ValueError:"},{"line_number":154,"context_line":"        raise exception.InvalidImageRef(image_href\u003dimage_href)"},{"line_number":155,"context_line":"    return image_id"}],"source_content_type":"text/x-python","patch_set":17,"id":"df3967d1_e265a246","line":152,"in_reply_to":"1f1a1f67_8f2adf8d","updated":"2017-08-02 13:33:54.000000000","message":"this was here before. Remember, this is to parse the http://.../\u003cimage-id\u003e strings set as sources of images.","commit_id":"424f92dfbfd2f1a8990fb03c3c56d34bc5e996e6"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"f40c32a59ab57d44e5a1956c0d324d5ec1afc6e4","unresolved":false,"context_lines":[{"line_number":149,"context_line":"        if url.scheme \u003d\u003d \u0027glance\u0027:"},{"line_number":150,"context_line":"            image_id \u003d url.netloc"},{"line_number":151,"context_line":"        else:"},{"line_number":152,"context_line":"            image_id \u003d url.path.split(\u0027/\u0027)[-1]"},{"line_number":153,"context_line":"    except ValueError:"},{"line_number":154,"context_line":"        raise exception.InvalidImageRef(image_href\u003dimage_href)"},{"line_number":155,"context_line":"    return image_id"}],"source_content_type":"text/x-python","patch_set":17,"id":"df3967d1_c34956b7","line":152,"in_reply_to":"df3967d1_63ebd8db","updated":"2017-08-03 14:56:31.000000000","message":"Sure, the concern is when there\u0027s no path element in the URL.\n\nBut it looks like urlparse gives you \u0027\u0027 even when there\u0027s no trailing slash in the URL.  So - concern withdrawn.","commit_id":"424f92dfbfd2f1a8990fb03c3c56d34bc5e996e6"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"87405b80eee0a94d7c9f3d3dbbbcc53db928c7db","unresolved":false,"context_lines":[{"line_number":149,"context_line":"        if url.scheme \u003d\u003d \u0027glance\u0027:"},{"line_number":150,"context_line":"            image_id \u003d url.netloc"},{"line_number":151,"context_line":"        else:"},{"line_number":152,"context_line":"            image_id \u003d url.path.split(\u0027/\u0027)[-1]"},{"line_number":153,"context_line":"    except ValueError:"},{"line_number":154,"context_line":"        raise exception.InvalidImageRef(image_href\u003dimage_href)"},{"line_number":155,"context_line":"    return image_id"}],"source_content_type":"text/x-python","patch_set":17,"id":"df3967d1_63ebd8db","line":152,"in_reply_to":"df3967d1_e265a246","updated":"2017-08-03 08:05:26.000000000","message":"also, I doubt there can be an IndexError here - even an empty string will produce a list of 1 element:\n\n  \u003e\u003e\u003e \u0027\u0027.split(\u0027/\u0027)\n  [\u0027\u0027]","commit_id":"424f92dfbfd2f1a8990fb03c3c56d34bc5e996e6"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"8d5864f95c6dc1df82b0ef06e9025dc8947712a5","unresolved":false,"context_lines":[{"line_number":156,"context_line":""},{"line_number":157,"context_line":""},{"line_number":158,"context_line":"# TODO(pas-ha) remove in Queens, work via CONF.glance.endpoint_override"},{"line_number":159,"context_line":"# and keystoneauth adapters"},{"line_number":160,"context_line":"def get_glance_api_server(image_href):"},{"line_number":161,"context_line":"    \"\"\"Construct an glance API url"},{"line_number":162,"context_line":""}],"source_content_type":"text/x-python","patch_set":17,"id":"df3967d1_004a5026","line":159,"range":{"start_line":159,"start_character":6,"end_line":159,"end_character":27},"updated":"2017-07-28 19:44:34.000000000","message":"FYI, ksa adapters automatically and transparently handle endpoint_override from the conf.  You don\u0027t need to do anything on this side.","commit_id":"424f92dfbfd2f1a8990fb03c3c56d34bc5e996e6"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"f8981cf1b85a81cbee90b9fee68d5a24a41b6c6b","unresolved":false,"context_lines":[{"line_number":156,"context_line":""},{"line_number":157,"context_line":""},{"line_number":158,"context_line":"# TODO(pas-ha) remove in Queens, work via CONF.glance.endpoint_override"},{"line_number":159,"context_line":"# and keystoneauth adapters"},{"line_number":160,"context_line":"def get_glance_api_server(image_href):"},{"line_number":161,"context_line":"    \"\"\"Construct an glance API url"},{"line_number":162,"context_line":""}],"source_content_type":"text/x-python","patch_set":17,"id":"df3967d1_022c2600","line":159,"range":{"start_line":159,"start_character":6,"end_line":159,"end_character":27},"in_reply_to":"df3967d1_004a5026","updated":"2017-08-02 13:33:54.000000000","message":"I know. But currently we still need to handle the deprecated options of (glance_host|glance_port|glance_protocol) etc, plus we kind of were supporting providing a path to image as full REST URL containing the glance API address, which we still have to support during the deprecation period.\n\nThis comment is a reminder to drop this function altogether when deprecation is over.","commit_id":"424f92dfbfd2f1a8990fb03c3c56d34bc5e996e6"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"2923163c1ee443e70455f0fdf447f487fea65b36","unresolved":false,"context_lines":[{"line_number":170,"context_line":"    if uuidutils.is_uuid_like(six.text_type(image_href)):"},{"line_number":171,"context_line":"        return _get_api_server()"},{"line_number":172,"context_line":"    LOG.warning(\"Support for providing glance image reference in any form \""},{"line_number":173,"context_line":"                \"other than glance image UUID is deprecated.\")"},{"line_number":174,"context_line":"    try:"},{"line_number":175,"context_line":"        url \u003d urlparse.urlparse(image_href)"},{"line_number":176,"context_line":"        if url.scheme \u003d\u003d \u0027glance\u0027:"}],"source_content_type":"text/x-python","patch_set":17,"id":"1f1a1f67_6f19c386","line":173,"updated":"2017-07-21 08:18:04.000000000","message":"nit: I\u0027d log the received value","commit_id":"424f92dfbfd2f1a8990fb03c3c56d34bc5e996e6"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"f8981cf1b85a81cbee90b9fee68d5a24a41b6c6b","unresolved":false,"context_lines":[{"line_number":170,"context_line":"    if uuidutils.is_uuid_like(six.text_type(image_href)):"},{"line_number":171,"context_line":"        return _get_api_server()"},{"line_number":172,"context_line":"    LOG.warning(\"Support for providing glance image reference in any form \""},{"line_number":173,"context_line":"                \"other than glance image UUID is deprecated.\")"},{"line_number":174,"context_line":"    try:"},{"line_number":175,"context_line":"        url \u003d urlparse.urlparse(image_href)"},{"line_number":176,"context_line":"        if url.scheme \u003d\u003d \u0027glance\u0027:"}],"source_content_type":"text/x-python","patch_set":17,"id":"df3967d1_c235fe47","line":173,"in_reply_to":"1f1a1f67_6f19c386","updated":"2017-08-02 13:33:54.000000000","message":"will do.","commit_id":"424f92dfbfd2f1a8990fb03c3c56d34bc5e996e6"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"942e849f4776ef82542c4de5b07294c8d3d291b3","unresolved":false,"context_lines":[{"line_number":142,"context_line":""},{"line_number":143,"context_line":"    :raises ValueError: when input image href is invalid"},{"line_number":144,"context_line":"    \"\"\""},{"line_number":145,"context_line":"    if uuidutils.is_uuid_like(six.text_type(image_href)):"},{"line_number":146,"context_line":"        return image_href"},{"line_number":147,"context_line":"    try:"},{"line_number":148,"context_line":"        url \u003d urlparse.urlparse(image_href)"}],"source_content_type":"text/x-python","patch_set":20,"id":"df3967d1_e2479476","line":145,"range":{"start_line":145,"start_character":30,"end_line":145,"end_character":43},"updated":"2017-08-04 14:05:05.000000000","message":"i\u0027d rather convert it and use the converted one throughout the function","commit_id":"a5314a4708469d9fab0144e1b23bd1b5ef86a040"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"bca8c15ef71f9513150728997b06037c4d8a837f","unresolved":false,"context_lines":[{"line_number":142,"context_line":""},{"line_number":143,"context_line":"    :raises ValueError: when input image href is invalid"},{"line_number":144,"context_line":"    \"\"\""},{"line_number":145,"context_line":"    if uuidutils.is_uuid_like(six.text_type(image_href)):"},{"line_number":146,"context_line":"        return image_href"},{"line_number":147,"context_line":"    try:"},{"line_number":148,"context_line":"        url \u003d urlparse.urlparse(image_href)"}],"source_content_type":"text/x-python","patch_set":20,"id":"df3967d1_e871b3a9","line":145,"range":{"start_line":145,"start_character":30,"end_line":145,"end_character":43},"in_reply_to":"df3967d1_e2479476","updated":"2017-08-04 14:56:03.000000000","message":"fair point, will do","commit_id":"a5314a4708469d9fab0144e1b23bd1b5ef86a040"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"942e849f4776ef82542c4de5b07294c8d3d291b3","unresolved":false,"context_lines":[{"line_number":203,"context_line":"        return True"},{"line_number":204,"context_line":""},{"line_number":205,"context_line":"    if ((getattr(image, \u0027is_public\u0027, None) or"},{"line_number":206,"context_line":"         getattr(image, \u0027visibility\u0027, None) \u003d\u003d \u0027public\u0027) or context.is_admin):"},{"line_number":207,"context_line":"        return True"},{"line_number":208,"context_line":"    properties \u003d image.properties"},{"line_number":209,"context_line":"    if context.project_id and (\u0027owner_id\u0027 in properties):"}],"source_content_type":"text/x-python","patch_set":20,"id":"df3967d1_02b73888","line":206,"updated":"2017-08-04 14:05:05.000000000","message":"heh, ++","commit_id":"a5314a4708469d9fab0144e1b23bd1b5ef86a040"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"942e849f4776ef82542c4de5b07294c8d3d291b3","unresolved":false,"context_lines":[{"line_number":223,"context_line":"def is_glance_image(image_href):"},{"line_number":224,"context_line":"    if not isinstance(image_href, six.string_types):"},{"line_number":225,"context_line":"        return False"},{"line_number":226,"context_line":"    if uuidutils.is_uuid_like(six.text_type(image_href)):"},{"line_number":227,"context_line":"        return True"},{"line_number":228,"context_line":"    if image_href.startswith(\u0027glance://\u0027):"},{"line_number":229,"context_line":"        LOG.warning(\"Support for glance:// protocol when specifying glance \""}],"source_content_type":"text/x-python","patch_set":20,"id":"df3967d1_22cd9c30","line":226,"range":{"start_line":226,"start_character":30,"end_line":226,"end_character":43},"updated":"2017-08-04 14:05:05.000000000","message":"you\u0027ve already checked it\u0027s a string on L224. if this is about bytes vs str, in py3 six.string_types contains only str.","commit_id":"a5314a4708469d9fab0144e1b23bd1b5ef86a040"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"bca8c15ef71f9513150728997b06037c4d8a837f","unresolved":false,"context_lines":[{"line_number":223,"context_line":"def is_glance_image(image_href):"},{"line_number":224,"context_line":"    if not isinstance(image_href, six.string_types):"},{"line_number":225,"context_line":"        return False"},{"line_number":226,"context_line":"    if uuidutils.is_uuid_like(six.text_type(image_href)):"},{"line_number":227,"context_line":"        return True"},{"line_number":228,"context_line":"    if image_href.startswith(\u0027glance://\u0027):"},{"line_number":229,"context_line":"        LOG.warning(\"Support for glance:// protocol when specifying glance \""}],"source_content_type":"text/x-python","patch_set":20,"id":"df3967d1_68a5c346","line":226,"range":{"start_line":226,"start_character":30,"end_line":226,"end_character":43},"in_reply_to":"df3967d1_22cd9c30","updated":"2017-08-04 14:56:03.000000000","message":"fair, will remove","commit_id":"a5314a4708469d9fab0144e1b23bd1b5ef86a040"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"942e849f4776ef82542c4de5b07294c8d3d291b3","unresolved":false,"context_lines":[{"line_number":228,"context_line":"    if image_href.startswith(\u0027glance://\u0027):"},{"line_number":229,"context_line":"        LOG.warning(\"Support for glance:// protocol when specifying glance \""},{"line_number":230,"context_line":"                    \"image reference is deprecated and will be removed in \""},{"line_number":231,"context_line":"                    \"Queens release. Use glance image UUID instead.\")"},{"line_number":232,"context_line":"        return True"},{"line_number":233,"context_line":"    return False"},{"line_number":234,"context_line":""}],"source_content_type":"text/x-python","patch_set":20,"id":"df3967d1_229b5c18","line":231,"updated":"2017-08-04 14:05:05.000000000","message":"any reason for this? How is this relevant to these changes?","commit_id":"a5314a4708469d9fab0144e1b23bd1b5ef86a040"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"bca8c15ef71f9513150728997b06037c4d8a837f","unresolved":false,"context_lines":[{"line_number":228,"context_line":"    if image_href.startswith(\u0027glance://\u0027):"},{"line_number":229,"context_line":"        LOG.warning(\"Support for glance:// protocol when specifying glance \""},{"line_number":230,"context_line":"                    \"image reference is deprecated and will be removed in \""},{"line_number":231,"context_line":"                    \"Queens release. Use glance image UUID instead.\")"},{"line_number":232,"context_line":"        return True"},{"line_number":233,"context_line":"    return False"},{"line_number":234,"context_line":""}],"source_content_type":"text/x-python","patch_set":20,"id":"df3967d1_886c679c","line":231,"in_reply_to":"df3967d1_229b5c18","updated":"2017-08-04 14:56:03.000000000","message":"not really relevant, just a ground for further simplification of code.\n\ncurrently the code supports 3 ways of specifying the glance image ref:\n- UUID\n- glance://UUID\n- http://GLANCE_API/vN/images/UUID\n\nthe latter must go for sure, as it was for parsing of glance API from the URL, which we do get from Keystone now (or use fixed from endpoint_override) and I am not sure if it even works now.\n\nAnd between the 1st and 2nd I do not see any difference actually. I kind of presume it is cargo-culted from nova (as is most of the Glance-related code in ironic, most of it has not changed since the split of nova-baremetal).\n\nDo you have a case in mind where \u0027glance://\u0027 protocol is still needed?\n\nBut since you are a second person asking for it, it might worth a broader discussion in ML indeed.","commit_id":"a5314a4708469d9fab0144e1b23bd1b5ef86a040"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"628fdc3ee9092cb158f4c4e5f41902a240f4dd2b","unresolved":false,"context_lines":[{"line_number":154,"context_line":"            url \u003d urlparse.urlparse(image_href)"},{"line_number":155,"context_line":"            if url.scheme \u003d\u003d \u0027glance\u0027:"},{"line_number":156,"context_line":"                endpoint \u003d _get_api_server()"},{"line_number":157,"context_line":"                image_id \u003d image_href.split(\u0027/\u0027)[-1]"},{"line_number":158,"context_line":"                return (image_id, endpoint, endpoint.startswith(\u0027https\u0027))"},{"line_number":159,"context_line":"            else:"},{"line_number":160,"context_line":"                glance_port \u003d url.port or 80"}],"source_content_type":"text/x-python","patch_set":22,"id":"9f436f4f_69d87b7e","side":"PARENT","line":157,"range":{"start_line":157,"start_character":16,"end_line":157,"end_character":52},"updated":"2017-08-11 11:34:45.000000000","message":"so this seems to support both\n\n- glance://\u003cwhatever\u003e/\u003cuuid\u003e\n- glance://\u003cuuid\u003e\n\n(although never testing that what it got is actually a UUID.. o_O)\n\nDo we need to support both of the above?","commit_id":"5019cd12361b6ee09715433147782efb54d29cc9"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"628fdc3ee9092cb158f4c4e5f41902a240f4dd2b","unresolved":false,"context_lines":[{"line_number":157,"context_line":"                image_id \u003d image_href.split(\u0027/\u0027)[-1]"},{"line_number":158,"context_line":"                return (image_id, endpoint, endpoint.startswith(\u0027https\u0027))"},{"line_number":159,"context_line":"            else:"},{"line_number":160,"context_line":"                glance_port \u003d url.port or 80"},{"line_number":161,"context_line":"                glance_host \u003d url.netloc.split(\u0027:\u0027, 1)[0]"},{"line_number":162,"context_line":"                image_id \u003d url.path.split(\u0027/\u0027)[-1]"},{"line_number":163,"context_line":"                use_ssl \u003d (url.scheme \u003d\u003d \u0027https\u0027)"},{"line_number":164,"context_line":"                endpoint \u003d \u0027%s://%s:%s\u0027 % (url.scheme, glance_host,"},{"line_number":165,"context_line":"                                           glance_port)"},{"line_number":166,"context_line":"                return (image_id, endpoint, use_ssl)"},{"line_number":167,"context_line":"        except ValueError:"},{"line_number":168,"context_line":"            raise exception.InvalidImageRef(image_href\u003dimage_href)"},{"line_number":169,"context_line":""}],"source_content_type":"text/x-python","patch_set":22,"id":"9f436f4f_89415f3c","side":"PARENT","line":166,"range":{"start_line":160,"start_character":0,"end_line":166,"end_character":52},"updated":"2017-08-11 11:34:45.000000000","message":"actually this code is never reached, since for anything except \u0027\u003cuuid\u003e\u0027 and \u0027glance://..\u0027 `is_glance_image` is False","commit_id":"5019cd12361b6ee09715433147782efb54d29cc9"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"628fdc3ee9092cb158f4c4e5f41902a240f4dd2b","unresolved":false,"context_lines":[{"line_number":145,"context_line":"    image_href \u003d six.text_type(image_href)"},{"line_number":146,"context_line":"    if uuidutils.is_uuid_like(image_href):"},{"line_number":147,"context_line":"        return image_href"},{"line_number":148,"context_line":"    try:"},{"line_number":149,"context_line":"        url \u003d urlparse.urlparse(image_href)"},{"line_number":150,"context_line":"        if url.scheme \u003d\u003d \u0027glance\u0027:"},{"line_number":151,"context_line":"            image_id \u003d url.netloc"},{"line_number":152,"context_line":"        else:"}],"source_content_type":"text/x-python","patch_set":22,"id":"9f436f4f_c9abe786","line":149,"range":{"start_line":148,"start_character":4,"end_line":149,"end_character":43},"updated":"2017-08-11 11:34:45.000000000","message":"should be simplified:\n\n- we reach here only if image_href is either a uuid or starts with \u0027glance://\u0027 (see is_glance_image)\n- no need for \u0027try\u0027, image_href is certainly a string already,\n  and urlparse does not fail even on empty strings.\n- no need for urlparse either, just startswith(\u0027glance://\u0027),\n  and split image_href on \u0027/\u0027(as before)\n- remove support for other than \u0027glance://\u0027 strings, as they\n  should never appear\n- before returning, test that the output is a UUID, raise InvalidImageRef otherwise","commit_id":"966a885dba354e11bdd8a86eed822787796bf889"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"628fdc3ee9092cb158f4c4e5f41902a240f4dd2b","unresolved":false,"context_lines":[{"line_number":170,"context_line":"    \"\"\""},{"line_number":171,"context_line":"    if uuidutils.is_uuid_like(six.text_type(image_href)):"},{"line_number":172,"context_line":"        return _get_api_server()"},{"line_number":173,"context_line":"    LOG.warning(\"Providing glance image reference in any form \""},{"line_number":174,"context_line":"                \"other than glance image UUID is deprecated - \""},{"line_number":175,"context_line":"                \"got image reference %s.\", image_href)"},{"line_number":176,"context_line":"    try:"}],"source_content_type":"text/x-python","patch_set":22,"id":"9f436f4f_299a736d","line":173,"updated":"2017-08-11 11:34:45.000000000","message":"remove, we are keeping \u0027glance://\u0027","commit_id":"966a885dba354e11bdd8a86eed822787796bf889"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"628fdc3ee9092cb158f4c4e5f41902a240f4dd2b","unresolved":false,"context_lines":[{"line_number":173,"context_line":"    LOG.warning(\"Providing glance image reference in any form \""},{"line_number":174,"context_line":"                \"other than glance image UUID is deprecated - \""},{"line_number":175,"context_line":"                \"got image reference %s.\", image_href)"},{"line_number":176,"context_line":"    try:"},{"line_number":177,"context_line":"        url \u003d urlparse.urlparse(image_href)"},{"line_number":178,"context_line":"        if url.scheme \u003d\u003d \u0027glance\u0027:"},{"line_number":179,"context_line":"            glance_url \u003d _get_api_server()"},{"line_number":180,"context_line":"        else:"},{"line_number":181,"context_line":"            glance_url \u003d urlparse.urlunparse("}],"source_content_type":"text/x-python","patch_set":22,"id":"9f436f4f_c999a76e","line":178,"range":{"start_line":176,"start_character":0,"end_line":178,"end_character":34},"updated":"2017-08-11 11:34:45.000000000","message":"remove, test on .startswith(\u0027glance://)","commit_id":"966a885dba354e11bdd8a86eed822787796bf889"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"628fdc3ee9092cb158f4c4e5f41902a240f4dd2b","unresolved":false,"context_lines":[{"line_number":177,"context_line":"        url \u003d urlparse.urlparse(image_href)"},{"line_number":178,"context_line":"        if url.scheme \u003d\u003d \u0027glance\u0027:"},{"line_number":179,"context_line":"            glance_url \u003d _get_api_server()"},{"line_number":180,"context_line":"        else:"},{"line_number":181,"context_line":"            glance_url \u003d urlparse.urlunparse("},{"line_number":182,"context_line":"                (url.scheme, url.netloc, \u0027\u0027, \u0027\u0027, \u0027\u0027, \u0027\u0027))"},{"line_number":183,"context_line":"    except ValueError:"},{"line_number":184,"context_line":"        raise exception.InvalidImageRef(image_href\u003dimage_href)"},{"line_number":185,"context_line":"    return glance_url"}],"source_content_type":"text/x-python","patch_set":22,"id":"9f436f4f_a987830f","line":182,"range":{"start_line":180,"start_character":0,"end_line":182,"end_character":57},"updated":"2017-08-11 11:34:45.000000000","message":"remove, is never reached","commit_id":"966a885dba354e11bdd8a86eed822787796bf889"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"628fdc3ee9092cb158f4c4e5f41902a240f4dd2b","unresolved":false,"context_lines":[{"line_number":227,"context_line":"    if uuidutils.is_uuid_like(image_href):"},{"line_number":228,"context_line":"        return True"},{"line_number":229,"context_line":"    if image_href.startswith(\u0027glance://\u0027):"},{"line_number":230,"context_line":"        LOG.warning(\"Support for glance:// protocol when specifying glance \""},{"line_number":231,"context_line":"                    \"image reference is deprecated and will be removed in \""},{"line_number":232,"context_line":"                    \"Queens release. Use glance image UUID instead.\")"},{"line_number":233,"context_line":"        return True"}],"source_content_type":"text/x-python","patch_set":22,"id":"9f436f4f_e9bb4bc1","line":230,"updated":"2017-08-11 11:34:45.000000000","message":"remove, we are keeping glance\n\nalso might add a second \u0027if\u0027 condition that the image_ref ends with \"/\u003cuuid\u003e\"","commit_id":"966a885dba354e11bdd8a86eed822787796bf889"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"11a8b18fe0f378f407c18e27bedf0fa26491a016","unresolved":false,"context_lines":[{"line_number":163,"context_line":"    :raises InvalidImageRef: when input image href is invalid"},{"line_number":164,"context_line":"    \"\"\""},{"line_number":165,"context_line":"    image_href \u003d six.text_type(image_href)"},{"line_number":166,"context_line":"    if not (uuidutils.is_uuid_like(image_href) or"},{"line_number":167,"context_line":"            image_href.startswith(\u0027glance://\u0027)):"},{"line_number":168,"context_line":"        raise exception.InvalidImageRef(image_href\u003dimage_href)"},{"line_number":169,"context_line":"    return _get_api_server()"},{"line_number":170,"context_line":""}],"source_content_type":"text/x-python","patch_set":28,"id":"7f287b81_e38702b6","line":167,"range":{"start_line":166,"start_character":11,"end_line":167,"end_character":48},"updated":"2017-09-05 12:38:47.000000000","message":"is_glance_image(image_href)?","commit_id":"695f5ce36ac0a9f5935892392abb98aaa7a88d00"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"5e8a5672403aaa909bbb7eacdadf5e9525f0de0d","unresolved":false,"context_lines":[{"line_number":163,"context_line":"    :raises InvalidImageRef: when input image href is invalid"},{"line_number":164,"context_line":"    \"\"\""},{"line_number":165,"context_line":"    image_href \u003d six.text_type(image_href)"},{"line_number":166,"context_line":"    if not (uuidutils.is_uuid_like(image_href) or"},{"line_number":167,"context_line":"            image_href.startswith(\u0027glance://\u0027)):"},{"line_number":168,"context_line":"        raise exception.InvalidImageRef(image_href\u003dimage_href)"},{"line_number":169,"context_line":"    return _get_api_server()"},{"line_number":170,"context_line":""}],"source_content_type":"text/x-python","patch_set":28,"id":"7f287b81_4bb90177","line":167,"range":{"start_line":166,"start_character":11,"end_line":167,"end_character":48},"in_reply_to":"7f287b81_e38702b6","updated":"2017-09-07 16:17:54.000000000","message":"indeed. will change.","commit_id":"695f5ce36ac0a9f5935892392abb98aaa7a88d00"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"11a8b18fe0f378f407c18e27bedf0fa26491a016","unresolved":false,"context_lines":[{"line_number":209,"context_line":"    if not isinstance(image_href, six.string_types):"},{"line_number":210,"context_line":"        return False"},{"line_number":211,"context_line":"    return (uuidutils.is_uuid_like(image_href)"},{"line_number":212,"context_line":"            or image_href.startswith(\u0027glance://\u0027))"},{"line_number":213,"context_line":""},{"line_number":214,"context_line":""},{"line_number":215,"context_line":"def is_image_href_ordinary_file_name(image_href):"}],"source_content_type":"text/x-python","patch_set":28,"id":"7f287b81_83f71e5a","line":212,"updated":"2017-09-05 12:38:47.000000000","message":"any reason for this change? :)","commit_id":"695f5ce36ac0a9f5935892392abb98aaa7a88d00"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"5e8a5672403aaa909bbb7eacdadf5e9525f0de0d","unresolved":false,"context_lines":[{"line_number":209,"context_line":"    if not isinstance(image_href, six.string_types):"},{"line_number":210,"context_line":"        return False"},{"line_number":211,"context_line":"    return (uuidutils.is_uuid_like(image_href)"},{"line_number":212,"context_line":"            or image_href.startswith(\u0027glance://\u0027))"},{"line_number":213,"context_line":""},{"line_number":214,"context_line":""},{"line_number":215,"context_line":"def is_image_href_ordinary_file_name(image_href):"}],"source_content_type":"text/x-python","patch_set":28,"id":"7f287b81_abbe2562","line":212,"in_reply_to":"7f287b81_83f71e5a","updated":"2017-09-07 16:17:54.000000000","message":"not really o_O most probably a leftover from versions where I tried to disable the \u0027glance://\u0027 thing altogether.\n\nWill change back.","commit_id":"695f5ce36ac0a9f5935892392abb98aaa7a88d00"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"fb21180db271a7d50b4634e4bf38778b5f339f41","unresolved":false,"context_lines":[{"line_number":146,"context_line":"        image_id \u003d image_href"},{"line_number":147,"context_line":"    elif image_href.startswith(\u0027glance://\u0027):"},{"line_number":148,"context_line":"        image_id \u003d image_href.split(\u0027/\u0027)[-1]"},{"line_number":149,"context_line":"        if not uuidutils.is_uuid_like(image_id):"},{"line_number":150,"context_line":"            raise exception.InvalidImageRef(image_href\u003dimage_href)"},{"line_number":151,"context_line":"    else:"},{"line_number":152,"context_line":"        raise exception.InvalidImageRef(image_href\u003dimage_href)"}],"source_content_type":"text/x-python","patch_set":30,"id":"3f4b6375_ec2d8afd","line":149,"updated":"2017-11-01 21:49:13.000000000","message":"I don\u0027t recall what form an image_href can have. The original code makes it look like it could be a URL, but you aren\u0027t handling that case now. Why?\n\nOk, got it. The code in common/image_service.py ensures that it can be in only one of these two forms.","commit_id":"67894456fd78bcce884c0fb88e632bbb14e3faf0"}],"ironic/common/image_service.py":[{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"026cdf0e1a47ba7478307f9aedd18e667e93e879","unresolved":false,"context_lines":[{"line_number":275,"context_line":"        scheme \u003d urlparse.urlparse(image_href).scheme.lower()"},{"line_number":276,"context_line":"        if scheme \u003d\u003d \u0027glance\u0027:"},{"line_number":277,"context_line":"            LOG.warning(\"Support for glance:// protocol when specifing glance \""},{"line_number":278,"context_line":"                        \"image reference is deprecated and will be removed in \""},{"line_number":279,"context_line":"                        \"Queens release. Use glance image UUID instead.\")"},{"line_number":280,"context_line":"        cls \u003d protocol_mapping.get(scheme)"},{"line_number":281,"context_line":"        if not cls:"}],"source_content_type":"text/x-python","patch_set":14,"id":"5f201791_7084045f","line":278,"updated":"2017-06-21 20:25:54.000000000","message":"nit: s/Queens/the Queens/","commit_id":"6f3655eeb7ee6ae954462daffaa98846ea8ce094"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"8d5864f95c6dc1df82b0ef06e9025dc8947712a5","unresolved":false,"context_lines":[{"line_number":38,"context_line":"LOG \u003d log.getLogger(__name__)"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"# TODO(pas-ha) in Queens change default to \u00272\u0027,"},{"line_number":42,"context_line":"# but keep the versioned import in place (less work for possible Glance v3)"},{"line_number":43,"context_line":"def GlanceImageService(client\u003dNone, version\u003dNone, context\u003dNone):"},{"line_number":44,"context_line":"    module_str \u003d \u0027ironic.common.glance_service\u0027"}],"source_content_type":"text/x-python","patch_set":17,"id":"df3967d1_800400c8","line":41,"updated":"2017-07-28 19:44:34.000000000","message":"This can probably also be done with ksa version discovery.  Adapter takes version opts.","commit_id":"424f92dfbfd2f1a8990fb03c3c56d34bc5e996e6"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"f8981cf1b85a81cbee90b9fee68d5a24a41b6c6b","unresolved":false,"context_lines":[{"line_number":38,"context_line":"LOG \u003d log.getLogger(__name__)"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"# TODO(pas-ha) in Queens change default to \u00272\u0027,"},{"line_number":42,"context_line":"# but keep the versioned import in place (less work for possible Glance v3)"},{"line_number":43,"context_line":"def GlanceImageService(client\u003dNone, version\u003dNone, context\u003dNone):"},{"line_number":44,"context_line":"    module_str \u003d \u0027ironic.common.glance_service\u0027"}],"source_content_type":"text/x-python","patch_set":17,"id":"df3967d1_c214de50","line":41,"in_reply_to":"df3967d1_800400c8","updated":"2017-08-02 13:33:54.000000000","message":"I do doubt that Glance supports that already...","commit_id":"424f92dfbfd2f1a8990fb03c3c56d34bc5e996e6"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"2923163c1ee443e70455f0fdf447f487fea65b36","unresolved":false,"context_lines":[{"line_number":276,"context_line":"        if scheme \u003d\u003d \u0027glance\u0027:"},{"line_number":277,"context_line":"            LOG.warning(\"Support for glance:// protocol when specifing glance \""},{"line_number":278,"context_line":"                        \"image reference is deprecated and will be removed in \""},{"line_number":279,"context_line":"                        \"the Queens release. Use glance image UUID instead.\")"},{"line_number":280,"context_line":"        cls \u003d protocol_mapping.get(scheme)"},{"line_number":281,"context_line":"        if not cls:"},{"line_number":282,"context_line":"            raise exception.ImageRefValidationFailed("}],"source_content_type":"text/x-python","patch_set":17,"id":"1f1a1f67_4f1e0771","line":279,"updated":"2017-07-21 08:18:04.000000000","message":"not sure about this, I\u0027d keep the ability to use glance://UUID","commit_id":"424f92dfbfd2f1a8990fb03c3c56d34bc5e996e6"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"87405b80eee0a94d7c9f3d3dbbbcc53db928c7db","unresolved":false,"context_lines":[{"line_number":276,"context_line":"        if scheme \u003d\u003d \u0027glance\u0027:"},{"line_number":277,"context_line":"            LOG.warning(\"Support for glance:// protocol when specifing glance \""},{"line_number":278,"context_line":"                        \"image reference is deprecated and will be removed in \""},{"line_number":279,"context_line":"                        \"the Queens release. Use glance image UUID instead.\")"},{"line_number":280,"context_line":"        cls \u003d protocol_mapping.get(scheme)"},{"line_number":281,"context_line":"        if not cls:"},{"line_number":282,"context_line":"            raise exception.ImageRefValidationFailed("}],"source_content_type":"text/x-python","patch_set":17,"id":"df3967d1_43ba14c1","line":279,"in_reply_to":"1f1a1f67_4f1e0771","updated":"2017-08-03 08:05:26.000000000","message":"I might me missing something. What would be rationale for keeping it? How would it be different from simple UUID?\n\nThe only thing I can think of is if ironic ever grows support for other than Glance UUID-based service... but if that has different API from Glance, we\u0027d need a separate ImageService for it anyway, and if not - keep using simple UUIDs..\n\nI could start a broader discussion in ML. WDYT?","commit_id":"424f92dfbfd2f1a8990fb03c3c56d34bc5e996e6"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"942e849f4776ef82542c4de5b07294c8d3d291b3","unresolved":false,"context_lines":[{"line_number":38,"context_line":"LOG \u003d log.getLogger(__name__)"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"# TODO(pas-ha) in Queens change default to \u00272\u0027,"},{"line_number":42,"context_line":"# but keep the versioned import in place (less work for possible Glance v3)"},{"line_number":43,"context_line":"def GlanceImageService(client\u003dNone, version\u003dNone, context\u003dNone):"},{"line_number":44,"context_line":"    module_str \u003d \u0027ironic.common.glance_service\u0027"}],"source_content_type":"text/x-python","patch_set":20,"id":"df3967d1_4d79f191","line":41,"range":{"start_line":41,"start_character":44,"end_line":41,"end_character":45},"updated":"2017-08-04 14:05:05.000000000","message":"Why?","commit_id":"a5314a4708469d9fab0144e1b23bd1b5ef86a040"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"c349fafadb55ed683af52e64cbbf239b543e96e9","unresolved":false,"context_lines":[{"line_number":38,"context_line":"LOG \u003d log.getLogger(__name__)"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"# TODO(pas-ha) in Queens change default to \u00272\u0027,"},{"line_number":42,"context_line":"# but keep the versioned import in place (less work for possible Glance v3)"},{"line_number":43,"context_line":"def GlanceImageService(client\u003dNone, version\u003dNone, context\u003dNone):"},{"line_number":44,"context_line":"    module_str \u003d \u0027ironic.common.glance_service\u0027"}],"source_content_type":"text/x-python","patch_set":20,"id":"df3967d1_b32200b8","line":41,"range":{"start_line":41,"start_character":44,"end_line":41,"end_character":45},"in_reply_to":"df3967d1_1398ac67","updated":"2017-08-04 15:21:24.000000000","message":"yes, it is 2 by default now, but in Queens the whole glance_api_version option is going to be removed, so we need to provide the default for the \u0027version\u0027 argument.","commit_id":"a5314a4708469d9fab0144e1b23bd1b5ef86a040"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"bca8c15ef71f9513150728997b06037c4d8a837f","unresolved":false,"context_lines":[{"line_number":38,"context_line":"LOG \u003d log.getLogger(__name__)"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"# TODO(pas-ha) in Queens change default to \u00272\u0027,"},{"line_number":42,"context_line":"# but keep the versioned import in place (less work for possible Glance v3)"},{"line_number":43,"context_line":"def GlanceImageService(client\u003dNone, version\u003dNone, context\u003dNone):"},{"line_number":44,"context_line":"    module_str \u003d \u0027ironic.common.glance_service\u0027"}],"source_content_type":"text/x-python","patch_set":20,"id":"df3967d1_e8589331","line":41,"range":{"start_line":41,"start_character":44,"end_line":41,"end_character":45},"in_reply_to":"df3967d1_4d79f191","updated":"2017-08-04 14:56:03.000000000","message":"the 1 is already deprecated AFAIK, but we still default to 1, AFAIR there was a plan for such move","commit_id":"a5314a4708469d9fab0144e1b23bd1b5ef86a040"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"22f6dc97be0c72601d307b4005e84427fddfe414","unresolved":false,"context_lines":[{"line_number":38,"context_line":"LOG \u003d log.getLogger(__name__)"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"# TODO(pas-ha) in Queens change default to \u00272\u0027,"},{"line_number":42,"context_line":"# but keep the versioned import in place (less work for possible Glance v3)"},{"line_number":43,"context_line":"def GlanceImageService(client\u003dNone, version\u003dNone, context\u003dNone):"},{"line_number":44,"context_line":"    module_str \u003d \u0027ironic.common.glance_service\u0027"}],"source_content_type":"text/x-python","patch_set":20,"id":"df3967d1_1398ac67","line":41,"range":{"start_line":41,"start_character":44,"end_line":41,"end_character":45},"in_reply_to":"df3967d1_e8589331","updated":"2017-08-04 15:09:03.000000000","message":"I *think* we already default to 2. Will check","commit_id":"a5314a4708469d9fab0144e1b23bd1b5ef86a040"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"628fdc3ee9092cb158f4c4e5f41902a240f4dd2b","unresolved":false,"context_lines":[{"line_number":269,"context_line":"    :returns: Instance of an image service class that is able to download"},{"line_number":270,"context_line":"        specified image."},{"line_number":271,"context_line":"    \"\"\""},{"line_number":272,"context_line":"    if uuidutils.is_uuid_like(six.text_type(image_href)):"},{"line_number":273,"context_line":"        cls \u003d GlanceImageService"},{"line_number":274,"context_line":"    else:"},{"line_number":275,"context_line":"        scheme \u003d urlparse.urlparse(image_href).scheme.lower()"}],"source_content_type":"text/x-python","patch_set":22,"id":"9f436f4f_c9352748","line":272,"updated":"2017-08-11 11:34:45.000000000","message":"use \u0027is_glance_image`?","commit_id":"966a885dba354e11bdd8a86eed822787796bf889"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"628fdc3ee9092cb158f4c4e5f41902a240f4dd2b","unresolved":false,"context_lines":[{"line_number":274,"context_line":"    else:"},{"line_number":275,"context_line":"        scheme \u003d urlparse.urlparse(image_href).scheme.lower()"},{"line_number":276,"context_line":"        if scheme \u003d\u003d \u0027glance\u0027:"},{"line_number":277,"context_line":"            LOG.warning(\"Support for glance:// protocol when specifing glance \""},{"line_number":278,"context_line":"                        \"image reference is deprecated and will be removed in \""},{"line_number":279,"context_line":"                        \"the Queens release. Use glance image UUID instead.\")"},{"line_number":280,"context_line":"        cls \u003d protocol_mapping.get(scheme)"}],"source_content_type":"text/x-python","patch_set":22,"id":"9f436f4f_49f49786","line":277,"updated":"2017-08-11 11:34:45.000000000","message":"remove, we are keeping \u0027glance://\u0027","commit_id":"966a885dba354e11bdd8a86eed822787796bf889"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"2530379c52ed6a02a63264a0de84e06f49f93a03","unresolved":false,"context_lines":[{"line_number":38,"context_line":"LOG \u003d log.getLogger(__name__)"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"# TODO(pas-ha) in Queens change default to \u00272\u0027,"},{"line_number":42,"context_line":"# but keep the versioned import in place (less work for possible Glance v3)"},{"line_number":43,"context_line":"def GlanceImageService(client\u003dNone, version\u003dNone, context\u003dNone):"},{"line_number":44,"context_line":"    module_str \u003d \u0027ironic.common.glance_service\u0027"}],"source_content_type":"text/x-python","patch_set":29,"id":"ff5d4b2f_553b5dd0","line":41,"updated":"2017-09-19 20:59:11.000000000","message":"So we are in Queens development now. Should this be changed to 2?","commit_id":"53777e00c7813d66ec2f39c514f246bdc384d0a6"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"dfc979e2a436636dc6f73d9d662976d1d9769c5f","unresolved":false,"context_lines":[{"line_number":38,"context_line":"LOG \u003d log.getLogger(__name__)"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"# TODO(pas-ha) in Queens change default to \u00272\u0027,"},{"line_number":42,"context_line":"# but keep the versioned import in place (less work for possible Glance v3)"},{"line_number":43,"context_line":"def GlanceImageService(client\u003dNone, version\u003dNone, context\u003dNone):"},{"line_number":44,"context_line":"    module_str \u003d \u0027ironic.common.glance_service\u0027"}],"source_content_type":"text/x-python","patch_set":29,"id":"bf57530f_f0693b8b","line":41,"in_reply_to":"ff5d4b2f_553b5dd0","updated":"2017-09-21 14:38:30.000000000","message":"probably in a separate patch","commit_id":"53777e00c7813d66ec2f39c514f246bdc384d0a6"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"fb21180db271a7d50b4634e4bf38778b5f339f41","unresolved":false,"context_lines":[{"line_number":277,"context_line":"        else:"},{"line_number":278,"context_line":"            raise exception.ImageRefValidationFailed("},{"line_number":279,"context_line":"                image_href\u003dimage_href,"},{"line_number":280,"context_line":"                reason\u003d_(\u0027Scheme-less image_ref is not a UUID.\u0027))"},{"line_number":281,"context_line":"    else:"},{"line_number":282,"context_line":"        cls \u003d protocol_mapping.get(scheme)"},{"line_number":283,"context_line":"        if not cls:"}],"source_content_type":"text/x-python","patch_set":30,"id":"3f4b6375_6cfe3a39","line":280,"updated":"2017-11-01 21:49:13.000000000","message":"do you mean s/image_ref/image_href/ ? Maybe \u0027image href\u0027 (we probably don\u0027t want \u0027image hypertext reference\u0027.","commit_id":"67894456fd78bcce884c0fb88e632bbb14e3faf0"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"c32e0eaacdd0d1fe3e47ec5a70976b38c2fd5873","unresolved":false,"context_lines":[{"line_number":277,"context_line":"        else:"},{"line_number":278,"context_line":"            raise exception.ImageRefValidationFailed("},{"line_number":279,"context_line":"                image_href\u003dimage_href,"},{"line_number":280,"context_line":"                reason\u003d_(\u0027Scheme-less image_ref is not a UUID.\u0027))"},{"line_number":281,"context_line":"    else:"},{"line_number":282,"context_line":"        cls \u003d protocol_mapping.get(scheme)"},{"line_number":283,"context_line":"        if not cls:"}],"source_content_type":"text/x-python","patch_set":30,"id":"3f4b6375_8e690a26","line":280,"in_reply_to":"3f4b6375_6cfe3a39","updated":"2017-11-06 18:23:32.000000000","message":"Done","commit_id":"67894456fd78bcce884c0fb88e632bbb14e3faf0"}],"ironic/conf/glance.py":[{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"fb21180db271a7d50b4634e4bf38778b5f339f41","unresolved":false,"context_lines":[{"line_number":144,"context_line":"               default\u003d\u0027keystone\u0027,"},{"line_number":145,"context_line":"               choices\u003d[\u0027keystone\u0027, \u0027noauth\u0027],"},{"line_number":146,"context_line":"               deprecated_for_removal\u003dTrue,"},{"line_number":147,"context_line":"               deprecated_reason\u003d_(\"Use [glance]auth_type\u003dnone and set \""},{"line_number":148,"context_line":"                                   \"[glance]endpoint_override option \""},{"line_number":149,"context_line":"                                   \"to glance API address instead.\"),"},{"line_number":150,"context_line":"               help\u003d_(\u0027Authentication strategy to use when connecting to \u0027"}],"source_content_type":"text/x-python","patch_set":30,"id":"3f4b6375_69f3cce8","line":147,"updated":"2017-11-01 21:49:13.000000000","message":"Is this only if they want \u0027noauth\u0027?","commit_id":"67894456fd78bcce884c0fb88e632bbb14e3faf0"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"d88d07b35f032aba07dce94b7fc99353cf4e2b2e","unresolved":false,"context_lines":[{"line_number":144,"context_line":"               default\u003d\u0027keystone\u0027,"},{"line_number":145,"context_line":"               choices\u003d[\u0027keystone\u0027, \u0027noauth\u0027],"},{"line_number":146,"context_line":"               deprecated_for_removal\u003dTrue,"},{"line_number":147,"context_line":"               deprecated_reason\u003d_(\"Use [glance]auth_type\u003dnone and set \""},{"line_number":148,"context_line":"                                   \"[glance]endpoint_override option \""},{"line_number":149,"context_line":"                                   \"to glance API address instead.\"),"},{"line_number":150,"context_line":"               help\u003d_(\u0027Authentication strategy to use when connecting to \u0027"}],"source_content_type":"text/x-python","patch_set":30,"id":"3f4b6375_b1b8b074","line":147,"in_reply_to":"3f4b6375_69f3cce8","updated":"2017-11-06 10:53:18.000000000","message":"yes, I\u0027ll make it more clear","commit_id":"67894456fd78bcce884c0fb88e632bbb14e3faf0"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"c32e0eaacdd0d1fe3e47ec5a70976b38c2fd5873","unresolved":false,"context_lines":[{"line_number":144,"context_line":"               default\u003d\u0027keystone\u0027,"},{"line_number":145,"context_line":"               choices\u003d[\u0027keystone\u0027, \u0027noauth\u0027],"},{"line_number":146,"context_line":"               deprecated_for_removal\u003dTrue,"},{"line_number":147,"context_line":"               deprecated_reason\u003d_(\"Use [glance]auth_type\u003dnone and set \""},{"line_number":148,"context_line":"                                   \"[glance]endpoint_override option \""},{"line_number":149,"context_line":"                                   \"to glance API address instead.\"),"},{"line_number":150,"context_line":"               help\u003d_(\u0027Authentication strategy to use when connecting to \u0027"}],"source_content_type":"text/x-python","patch_set":30,"id":"3f4b6375_2e645649","line":147,"in_reply_to":"3f4b6375_b1b8b074","updated":"2017-11-06 18:23:32.000000000","message":"Done","commit_id":"67894456fd78bcce884c0fb88e632bbb14e3faf0"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"77017f880621253c09c120145ac5f0a51b6d1747","unresolved":false,"context_lines":[{"line_number":125,"context_line":"               default\u003d\u0027keystone\u0027,"},{"line_number":126,"context_line":"               choices\u003d[\u0027keystone\u0027, \u0027noauth\u0027],"},{"line_number":127,"context_line":"               deprecated_for_removal\u003dTrue,"},{"line_number":128,"context_line":"               deprecated_reason\u003d_(\"To configure glance in noauth mode, \""},{"line_number":129,"context_line":"                                   \"set [glance]/auth_type\u003dnone and \""},{"line_number":130,"context_line":"                                   \"set [glance]/endpoint_override option \""},{"line_number":131,"context_line":"                                   \"to glance API address instead.\"),"}],"source_content_type":"text/x-python","patch_set":31,"id":"3f4b6375_9a42603d","line":128,"updated":"2017-11-06 22:45:11.000000000","message":"it isn\u0027t misspelled here, did you hand-edit the .sample file?","commit_id":"e4d8cb3f7b8c0ede83dea72e180e08e7a5453a05"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"5646a16295aba6219ca59cdf798938eb525012be","unresolved":false,"context_lines":[{"line_number":125,"context_line":"               default\u003d\u0027keystone\u0027,"},{"line_number":126,"context_line":"               choices\u003d[\u0027keystone\u0027, \u0027noauth\u0027],"},{"line_number":127,"context_line":"               deprecated_for_removal\u003dTrue,"},{"line_number":128,"context_line":"               deprecated_reason\u003d_(\"To configure glance in noauth mode, \""},{"line_number":129,"context_line":"                                   \"set [glance]/auth_type\u003dnone and \""},{"line_number":130,"context_line":"                                   \"set [glance]/endpoint_override option \""},{"line_number":131,"context_line":"                                   \"to glance API address instead.\"),"}],"source_content_type":"text/x-python","patch_set":31,"id":"3f4b6375_e7dc15e2","line":128,"in_reply_to":"3f4b6375_9a42603d","updated":"2017-11-07 12:53:41.000000000","message":"yep, that\u0027s the reason.\n\nFixed by regenerating the config sample.","commit_id":"e4d8cb3f7b8c0ede83dea72e180e08e7a5453a05"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"77017f880621253c09c120145ac5f0a51b6d1747","unresolved":false,"context_lines":[{"line_number":128,"context_line":"               deprecated_reason\u003d_(\"To configure glance in noauth mode, \""},{"line_number":129,"context_line":"                                   \"set [glance]/auth_type\u003dnone and \""},{"line_number":130,"context_line":"                                   \"set [glance]/endpoint_override option \""},{"line_number":131,"context_line":"                                   \"to glance API address instead.\"),"},{"line_number":132,"context_line":"               help\u003d_(\u0027Authentication strategy to use when connecting to \u0027"},{"line_number":133,"context_line":"                      \u0027glance.\u0027)),"},{"line_number":134,"context_line":"    cfg.StrOpt(\u0027glance_cafile\u0027,"}],"source_content_type":"text/x-python","patch_set":31,"id":"3f4b6375_fa7a7485","line":131,"updated":"2017-11-06 22:45:11.000000000","message":"maybe \n\nset [glance]/auth_type\u003dnone and [glance]/endpoint_override\u003d\u003cglance API address\u003e ?","commit_id":"e4d8cb3f7b8c0ede83dea72e180e08e7a5453a05"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"5646a16295aba6219ca59cdf798938eb525012be","unresolved":false,"context_lines":[{"line_number":128,"context_line":"               deprecated_reason\u003d_(\"To configure glance in noauth mode, \""},{"line_number":129,"context_line":"                                   \"set [glance]/auth_type\u003dnone and \""},{"line_number":130,"context_line":"                                   \"set [glance]/endpoint_override option \""},{"line_number":131,"context_line":"                                   \"to glance API address instead.\"),"},{"line_number":132,"context_line":"               help\u003d_(\u0027Authentication strategy to use when connecting to \u0027"},{"line_number":133,"context_line":"                      \u0027glance.\u0027)),"},{"line_number":134,"context_line":"    cfg.StrOpt(\u0027glance_cafile\u0027,"}],"source_content_type":"text/x-python","patch_set":31,"id":"3f4b6375_bdde2c0e","line":131,"in_reply_to":"3f4b6375_fa7a7485","updated":"2017-11-07 12:53:41.000000000","message":"Done","commit_id":"e4d8cb3f7b8c0ede83dea72e180e08e7a5453a05"}],"ironic/tests/unit/common/test_glance_service.py":[{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"2530379c52ed6a02a63264a0de84e06f49f93a03","unresolved":false,"context_lines":[{"line_number":352,"context_line":""},{"line_number":353,"context_line":"        wrapped_func \u003d base_image_service.check_image_service(func)"},{"line_number":354,"context_line":"        self.assertTrue(wrapped_func(self.service))"},{"line_number":355,"context_line":"        self.assertEqual(0, mock_gclient.call_count)"},{"line_number":356,"context_line":"        self.assertEqual(0, mock_sess.call_count)"},{"line_number":357,"context_line":"        self.assertEqual(0, mock_adapter.call_count)"},{"line_number":358,"context_line":"        self.assertEqual(0, mock_auth.call_count)"}],"source_content_type":"text/x-python","patch_set":29,"id":"df6247ed_8918b975","line":355,"updated":"2017-09-19 20:59:11.000000000","message":"Can we change all these to use:\n\n  assert_not_called()\n\n    Assert the mock was never called.\n\nhttps://docs.python.org/3/library/unittest.mock.html","commit_id":"53777e00c7813d66ec2f39c514f246bdc384d0a6"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"589d39ed9d3a4431393aa54109c86f6e2a82486b","unresolved":false,"context_lines":[{"line_number":352,"context_line":""},{"line_number":353,"context_line":"        wrapped_func \u003d base_image_service.check_image_service(func)"},{"line_number":354,"context_line":"        self.assertTrue(wrapped_func(self.service))"},{"line_number":355,"context_line":"        self.assertEqual(0, mock_gclient.call_count)"},{"line_number":356,"context_line":"        self.assertEqual(0, mock_sess.call_count)"},{"line_number":357,"context_line":"        self.assertEqual(0, mock_adapter.call_count)"},{"line_number":358,"context_line":"        self.assertEqual(0, mock_auth.call_count)"}],"source_content_type":"text/x-python","patch_set":29,"id":"9f5c4f37_18c51a3d","line":355,"in_reply_to":"9f5c4f37_2821b54e","updated":"2017-09-21 14:54:57.000000000","message":"Oh yeah, I keep forgetting there is a bug about that.\n\nhttps://bugs.python.org/issue28380\n\nBut it isn\u0027t yet in the mock version we are using.","commit_id":"53777e00c7813d66ec2f39c514f246bdc384d0a6"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"dfc979e2a436636dc6f73d9d662976d1d9769c5f","unresolved":false,"context_lines":[{"line_number":352,"context_line":""},{"line_number":353,"context_line":"        wrapped_func \u003d base_image_service.check_image_service(func)"},{"line_number":354,"context_line":"        self.assertTrue(wrapped_func(self.service))"},{"line_number":355,"context_line":"        self.assertEqual(0, mock_gclient.call_count)"},{"line_number":356,"context_line":"        self.assertEqual(0, mock_sess.call_count)"},{"line_number":357,"context_line":"        self.assertEqual(0, mock_adapter.call_count)"},{"line_number":358,"context_line":"        self.assertEqual(0, mock_auth.call_count)"}],"source_content_type":"text/x-python","patch_set":29,"id":"9f5c4f37_2821b54e","line":355,"in_reply_to":"df6247ed_8918b975","updated":"2017-09-21 14:38:30.000000000","message":"unfortunately it seems assert_not_called() does not work with \u0027autospec\u0027ed mocks:\n\n\n  In [1]: class Foo(object):\n     ...:     def foo(self, spam, ham):\n     ...:         return spam, ham\n     ...:     \n\n  In [2]: f \u003d Foo()\n\n  In [3]: import mock\n\n  In [4]: with mock.patch.object(f, \u0027foo\u0027, autospec\u003dTrue) as m:\n     ...:     m.assert_not_called()\n     ...:     \n  ---------------------------------------------------------------------------\n  AttributeError                            Traceback (most recent call last)\n  \u003cipython-input-4-92a67978c14b\u003e in \u003cmodule\u003e()\n        1 with mock.patch.object(f, \u0027foo\u0027, autospec\u003dTrue) as m:\n  ----\u003e 2     m.assert_not_called()\n        3 \n\n  AttributeError: \u0027function\u0027 object has no attribute \u0027assert_not_called\u0027\n\n  In [5]: with mock.patch.object(f, \u0027foo\u0027) as m:\n     ...:     m.assert_not_called()\n     ...:     \n     ...:\n\nit probably was forgotten to be added to the list of mock-specific methods that \u0027autospec\u0027 passes through. Or may be because some people already have precautions in place to not use such previously \"fake friends\" as \u0027assert_not_called\u0027 (new in Py3.5) and \u0027assert_called_once\u0027 (new in Py3.6)\n\nhttp://engineroom.trackmaven.com/blog/mocking-mistakes/","commit_id":"53777e00c7813d66ec2f39c514f246bdc384d0a6"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"2530379c52ed6a02a63264a0de84e06f49f93a03","unresolved":false,"context_lines":[{"line_number":441,"context_line":"        mock_adapter.assert_called_once_with("},{"line_number":442,"context_line":"            \u0027glance\u0027, session\u003dmock.sentinel.session,"},{"line_number":443,"context_line":"            auth\u003dmock.sentinel.auth, region_name\u003d\u0027OtherRegion\u0027)"},{"line_number":444,"context_line":"        self.assertEqual(0, mock_sauth.call_count)"},{"line_number":445,"context_line":"        mock_auth.assert_called_once_with(\u0027glance\u0027)"},{"line_number":446,"context_line":""},{"line_number":447,"context_line":"    def test_check_image_service__no_auth(self, mock_gclient, mock_sess,"}],"source_content_type":"text/x-python","patch_set":29,"id":"df6247ed_092609b9","line":444,"updated":"2017-09-19 20:59:11.000000000","message":"See line 355 comment","commit_id":"53777e00c7813d66ec2f39c514f246bdc384d0a6"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"2530379c52ed6a02a63264a0de84e06f49f93a03","unresolved":false,"context_lines":[{"line_number":465,"context_line":"        mock_adapter.assert_called_once_with(\u0027glance\u0027,"},{"line_number":466,"context_line":"                                             session\u003dmock.sentinel.session,"},{"line_number":467,"context_line":"                                             auth\u003dmock.sentinel.auth)"},{"line_number":468,"context_line":"        self.assertEqual(0, mock_sauth.call_count)"},{"line_number":469,"context_line":""},{"line_number":470,"context_line":""},{"line_number":471,"context_line":"def _create_failing_glance_client(info):"}],"source_content_type":"text/x-python","patch_set":29,"id":"df6247ed_a9349ddf","line":468,"updated":"2017-09-19 20:59:11.000000000","message":"See line 355 comment","commit_id":"53777e00c7813d66ec2f39c514f246bdc384d0a6"}],"ironic/tests/unit/common/test_image_service.py":[{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"fb21180db271a7d50b4634e4bf38778b5f339f41","unresolved":false,"context_lines":[{"line_number":315,"context_line":"    def test_get_image_service_invalid_image_ref(self):"},{"line_number":316,"context_line":"        invalid_refs \u003d ("},{"line_number":317,"context_line":"            \u0027usenet://alt.binaries.dvd/image.qcow2\u0027,"},{"line_number":318,"context_line":"            \u0027no shema, no uuid\u0027)"},{"line_number":319,"context_line":"        for image_ref in invalid_refs:"},{"line_number":320,"context_line":"            self.assertRaises(exception.ImageRefValidationFailed,"},{"line_number":321,"context_line":"                              image_service.get_image_service, image_ref)"}],"source_content_type":"text/x-python","patch_set":30,"id":"3f4b6375_7f6c9a35","line":318,"updated":"2017-11-01 21:49:13.000000000","message":"nit, s/shema/scheme/ ?\n\nYou wanted this as one string, right? not two?","commit_id":"67894456fd78bcce884c0fb88e632bbb14e3faf0"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"c32e0eaacdd0d1fe3e47ec5a70976b38c2fd5873","unresolved":false,"context_lines":[{"line_number":315,"context_line":"    def test_get_image_service_invalid_image_ref(self):"},{"line_number":316,"context_line":"        invalid_refs \u003d ("},{"line_number":317,"context_line":"            \u0027usenet://alt.binaries.dvd/image.qcow2\u0027,"},{"line_number":318,"context_line":"            \u0027no shema, no uuid\u0027)"},{"line_number":319,"context_line":"        for image_ref in invalid_refs:"},{"line_number":320,"context_line":"            self.assertRaises(exception.ImageRefValidationFailed,"},{"line_number":321,"context_line":"                              image_service.get_image_service, image_ref)"}],"source_content_type":"text/x-python","patch_set":30,"id":"3f4b6375_eece3e2b","line":318,"in_reply_to":"3f4b6375_7f6c9a35","updated":"2017-11-06 18:23:32.000000000","message":"yes, one set of characters that does not has an URI scheme and is not an UUID :) and is clear on what it tests.\n\nfixed grammar","commit_id":"67894456fd78bcce884c0fb88e632bbb14e3faf0"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"77017f880621253c09c120145ac5f0a51b6d1747","unresolved":false,"context_lines":[{"line_number":315,"context_line":"    def test_get_image_service_invalid_image_ref(self):"},{"line_number":316,"context_line":"        invalid_refs \u003d ("},{"line_number":317,"context_line":"            \u0027usenet://alt.binaries.dvd/image.qcow2\u0027,"},{"line_number":318,"context_line":"            \u0027no sheme, no uuid\u0027)"},{"line_number":319,"context_line":"        for image_ref in invalid_refs:"},{"line_number":320,"context_line":"            self.assertRaises(exception.ImageRefValidationFailed,"},{"line_number":321,"context_line":"                              image_service.get_image_service, image_ref)"}],"source_content_type":"text/x-python","patch_set":31,"id":"3f4b6375_7aab24d5","line":318,"updated":"2017-11-06 22:45:11.000000000","message":"heh, nit s/sheme/scheme/","commit_id":"e4d8cb3f7b8c0ede83dea72e180e08e7a5453a05"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"5646a16295aba6219ca59cdf798938eb525012be","unresolved":false,"context_lines":[{"line_number":315,"context_line":"    def test_get_image_service_invalid_image_ref(self):"},{"line_number":316,"context_line":"        invalid_refs \u003d ("},{"line_number":317,"context_line":"            \u0027usenet://alt.binaries.dvd/image.qcow2\u0027,"},{"line_number":318,"context_line":"            \u0027no sheme, no uuid\u0027)"},{"line_number":319,"context_line":"        for image_ref in invalid_refs:"},{"line_number":320,"context_line":"            self.assertRaises(exception.ImageRefValidationFailed,"},{"line_number":321,"context_line":"                              image_service.get_image_service, image_ref)"}],"source_content_type":"text/x-python","patch_set":31,"id":"3f4b6375_bd074c82","line":318,"in_reply_to":"3f4b6375_7aab24d5","updated":"2017-11-07 12:53:41.000000000","message":"Done","commit_id":"e4d8cb3f7b8c0ede83dea72e180e08e7a5453a05"}],"releasenotes/notes/deprecate-glance-url-scheme-ceff3008cf9cf590.yaml":[{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"fb21180db271a7d50b4634e4bf38778b5f339f41","unresolved":false,"context_lines":[{"line_number":2,"context_line":"deprecations:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Support for references to glance images in any form other than"},{"line_number":5,"context_line":"    glance image UUID is deprecated will be removed in the Queens release."},{"line_number":6,"context_line":"    This includes image references that use ``glance://`` scheme and"},{"line_number":7,"context_line":"    image references that have a full REST API path to the image"},{"line_number":8,"context_line":"    (``http://host:port/image_path/uuid``)."}],"source_content_type":"text/x-yaml","patch_set":14,"id":"5f201791_f0eecf86","line":5,"updated":"2017-11-01 21:49:13.000000000","message":"nit s/will/and will/","commit_id":"6f3655eeb7ee6ae954462daffaa98846ea8ce094"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"2530379c52ed6a02a63264a0de84e06f49f93a03","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"other:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Support for parsing glance api endpoint from full REST path to a glance"},{"line_number":5,"context_line":"    image was removed as it was not working any way."},{"line_number":6,"context_line":"    Image service API is now always resolved from keystone catalog or"},{"line_number":7,"context_line":"    ``[glance]`` section in ironic configuration file."}],"source_content_type":"text/x-yaml","patch_set":29,"id":"ff5d4b2f_82bcf969","line":4,"range":{"start_line":4,"start_character":44,"end_line":4,"end_character":53},"updated":"2017-09-19 20:59:11.000000000","message":"s/from full/from the full/","commit_id":"53777e00c7813d66ec2f39c514f246bdc384d0a6"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"2530379c52ed6a02a63264a0de84e06f49f93a03","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"other:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Support for parsing glance api endpoint from full REST path to a glance"},{"line_number":5,"context_line":"    image was removed as it was not working any way."},{"line_number":6,"context_line":"    Image service API is now always resolved from keystone catalog or"},{"line_number":7,"context_line":"    ``[glance]`` section in ironic configuration file."}],"source_content_type":"text/x-yaml","patch_set":29,"id":"ff5d4b2f_e2bdf568","line":4,"range":{"start_line":4,"start_character":16,"end_line":4,"end_character":30},"updated":"2017-09-19 20:59:11.000000000","message":"s/parsing glance api/parsing the glance API/","commit_id":"53777e00c7813d66ec2f39c514f246bdc384d0a6"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"a1604e4413e5783c56547ef3953f5ab755565d5f","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"other:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Support for parsing glance api endpoint from full REST path to a glance"},{"line_number":5,"context_line":"    image was removed as it was not working any way."},{"line_number":6,"context_line":"    Image service API is now always resolved from keystone catalog or"},{"line_number":7,"context_line":"    ``[glance]`` section in ironic configuration file."}],"source_content_type":"text/x-yaml","patch_set":29,"id":"3f4b6375_7843be14","line":4,"range":{"start_line":4,"start_character":44,"end_line":4,"end_character":53},"in_reply_to":"ff5d4b2f_82bcf969","updated":"2017-10-31 16:58:14.000000000","message":"Done","commit_id":"53777e00c7813d66ec2f39c514f246bdc384d0a6"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"a1604e4413e5783c56547ef3953f5ab755565d5f","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"other:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Support for parsing glance api endpoint from full REST path to a glance"},{"line_number":5,"context_line":"    image was removed as it was not working any way."},{"line_number":6,"context_line":"    Image service API is now always resolved from keystone catalog or"},{"line_number":7,"context_line":"    ``[glance]`` section in ironic configuration file."}],"source_content_type":"text/x-yaml","patch_set":29,"id":"3f4b6375_584a4227","line":4,"range":{"start_line":4,"start_character":16,"end_line":4,"end_character":30},"in_reply_to":"ff5d4b2f_e2bdf568","updated":"2017-10-31 16:58:14.000000000","message":"Done","commit_id":"53777e00c7813d66ec2f39c514f246bdc384d0a6"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"2530379c52ed6a02a63264a0de84e06f49f93a03","unresolved":false,"context_lines":[{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Support for parsing glance api endpoint from full REST path to a glance"},{"line_number":5,"context_line":"    image was removed as it was not working any way."},{"line_number":6,"context_line":"    Image service API is now always resolved from keystone catalog or"},{"line_number":7,"context_line":"    ``[glance]`` section in ironic configuration file."}],"source_content_type":"text/x-yaml","patch_set":29,"id":"ff5d4b2f_42ae012f","line":6,"range":{"start_line":6,"start_character":67,"end_line":6,"end_character":69},"updated":"2017-09-19 20:59:11.000000000","message":"s/or/or the/","commit_id":"53777e00c7813d66ec2f39c514f246bdc384d0a6"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"a1604e4413e5783c56547ef3953f5ab755565d5f","unresolved":false,"context_lines":[{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Support for parsing glance api endpoint from full REST path to a glance"},{"line_number":5,"context_line":"    image was removed as it was not working any way."},{"line_number":6,"context_line":"    Image service API is now always resolved from keystone catalog or"},{"line_number":7,"context_line":"    ``[glance]`` section in ironic configuration file."}],"source_content_type":"text/x-yaml","patch_set":29,"id":"3f4b6375_f84e8e36","line":6,"range":{"start_line":6,"start_character":67,"end_line":6,"end_character":69},"in_reply_to":"ff5d4b2f_42ae012f","updated":"2017-10-31 16:58:14.000000000","message":"Done","commit_id":"53777e00c7813d66ec2f39c514f246bdc384d0a6"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"fb21180db271a7d50b4634e4bf38778b5f339f41","unresolved":false,"context_lines":[{"line_number":2,"context_line":"other:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Support for parsing the glance API endpoint from the full REST path"},{"line_number":5,"context_line":"    to a glance image was removed as it was not working any way."},{"line_number":6,"context_line":"    Image service API is now always resolved from keystone catalog or the"},{"line_number":7,"context_line":"    ``[glance]`` section in ironic configuration file."}],"source_content_type":"text/x-yaml","patch_set":30,"id":"3f4b6375_1fd5a6e5","line":5,"updated":"2017-11-01 21:49:13.000000000","message":"nit s/any way/anyway/\n\nSince it wasn\u0027t working, should we even mention this? Did we document anywhere that we supported this?","commit_id":"67894456fd78bcce884c0fb88e632bbb14e3faf0"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"c32e0eaacdd0d1fe3e47ec5a70976b38c2fd5873","unresolved":false,"context_lines":[{"line_number":2,"context_line":"other:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Support for parsing the glance API endpoint from the full REST path"},{"line_number":5,"context_line":"    to a glance image was removed as it was not working any way."},{"line_number":6,"context_line":"    Image service API is now always resolved from keystone catalog or the"},{"line_number":7,"context_line":"    ``[glance]`` section in ironic configuration file."}],"source_content_type":"text/x-yaml","patch_set":30,"id":"3f4b6375_eee75eab","line":5,"in_reply_to":"3f4b6375_1fd5a6e5","updated":"2017-11-06 18:23:32.000000000","message":"Done\n\nNot sure if it was officially documented, but the code for that was definitely there.","commit_id":"67894456fd78bcce884c0fb88e632bbb14e3faf0"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"fb21180db271a7d50b4634e4bf38778b5f339f41","unresolved":false,"context_lines":[{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Support for parsing the glance API endpoint from the full REST path"},{"line_number":5,"context_line":"    to a glance image was removed as it was not working any way."},{"line_number":6,"context_line":"    Image service API is now always resolved from keystone catalog or the"},{"line_number":7,"context_line":"    ``[glance]`` section in ironic configuration file."}],"source_content_type":"text/x-yaml","patch_set":30,"id":"3f4b6375_ff052a7b","line":6,"updated":"2017-11-01 21:49:13.000000000","message":"nit s/Image/The image/\n\nnit: s/or the/or via the options in the/ ??","commit_id":"67894456fd78bcce884c0fb88e632bbb14e3faf0"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"c32e0eaacdd0d1fe3e47ec5a70976b38c2fd5873","unresolved":false,"context_lines":[{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Support for parsing the glance API endpoint from the full REST path"},{"line_number":5,"context_line":"    to a glance image was removed as it was not working any way."},{"line_number":6,"context_line":"    Image service API is now always resolved from keystone catalog or the"},{"line_number":7,"context_line":"    ``[glance]`` section in ironic configuration file."}],"source_content_type":"text/x-yaml","patch_set":30,"id":"3f4b6375_ae05e647","line":6,"in_reply_to":"3f4b6375_ff052a7b","updated":"2017-11-06 18:23:32.000000000","message":"Done","commit_id":"67894456fd78bcce884c0fb88e632bbb14e3faf0"}],"releasenotes/notes/deprecated-glance-opts-4825f000d20c2932.yaml":[{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"fb21180db271a7d50b4634e4bf38778b5f339f41","unresolved":false,"context_lines":[{"line_number":6,"context_line":"    of the configuration file are deprecated"},{"line_number":7,"context_line":"    and will be ignored in the Queens release."},{"line_number":8,"context_line":"    Instead, use ``[glance]endpoint_override`` configuration option to set"},{"line_number":9,"context_line":"    specific (possibly load-balanced) glance api address when automatic"},{"line_number":10,"context_line":"    discovery of glance API endpoint from keystone catalog is not desired."},{"line_number":11,"context_line":"    This new option has no default value (``None``) and must be set explicitly."},{"line_number":12,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":14,"id":"5f201791_90e43bae","line":9,"updated":"2017-11-01 21:49:13.000000000","message":"nit s/api/API/","commit_id":"6f3655eeb7ee6ae954462daffaa98846ea8ce094"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"8d5864f95c6dc1df82b0ef06e9025dc8947712a5","unresolved":false,"context_lines":[{"line_number":2,"context_line":"upgrade:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    The configuration option ``[glance]glance_host`` is now empty by default."},{"line_number":5,"context_line":"    If neither of ``[glance]glance_host`` (deprecated),"},{"line_number":6,"context_line":"    ``[glance]glance_api_servers`` (deprecated) or"},{"line_number":7,"context_line":"    ``[glance]endpoint_override`` are provided, ironic will now try fetching"},{"line_number":8,"context_line":"    the Image service endpoint from the service catalog."}],"source_content_type":"text/x-yaml","patch_set":17,"id":"df3967d1_60323caa","line":5,"range":{"start_line":5,"start_character":7,"end_line":5,"end_character":14},"updated":"2017-07-28 19:44:34.000000000","message":"none","commit_id":"424f92dfbfd2f1a8990fb03c3c56d34bc5e996e6"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"87405b80eee0a94d7c9f3d3dbbbcc53db928c7db","unresolved":false,"context_lines":[{"line_number":2,"context_line":"upgrade:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    The configuration option ``[glance]glance_host`` is now empty by default."},{"line_number":5,"context_line":"    If neither of ``[glance]glance_host`` (deprecated),"},{"line_number":6,"context_line":"    ``[glance]glance_api_servers`` (deprecated) or"},{"line_number":7,"context_line":"    ``[glance]endpoint_override`` are provided, ironic will now try fetching"},{"line_number":8,"context_line":"    the Image service endpoint from the service catalog."}],"source_content_type":"text/x-yaml","patch_set":17,"id":"df3967d1_03e52cdc","line":5,"range":{"start_line":5,"start_character":7,"end_line":5,"end_character":14},"in_reply_to":"df3967d1_0d07b784","updated":"2017-08-03 08:05:26.000000000","message":"Done","commit_id":"424f92dfbfd2f1a8990fb03c3c56d34bc5e996e6"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"f8981cf1b85a81cbee90b9fee68d5a24a41b6c6b","unresolved":false,"context_lines":[{"line_number":2,"context_line":"upgrade:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    The configuration option ``[glance]glance_host`` is now empty by default."},{"line_number":5,"context_line":"    If neither of ``[glance]glance_host`` (deprecated),"},{"line_number":6,"context_line":"    ``[glance]glance_api_servers`` (deprecated) or"},{"line_number":7,"context_line":"    ``[glance]endpoint_override`` are provided, ironic will now try fetching"},{"line_number":8,"context_line":"    the Image service endpoint from the service catalog."}],"source_content_type":"text/x-yaml","patch_set":17,"id":"df3967d1_0d07b784","line":5,"range":{"start_line":5,"start_character":7,"end_line":5,"end_character":14},"in_reply_to":"df3967d1_60323caa","updated":"2017-08-02 13:33:54.000000000","message":"will change","commit_id":"424f92dfbfd2f1a8990fb03c3c56d34bc5e996e6"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"8d5864f95c6dc1df82b0ef06e9025dc8947712a5","unresolved":false,"context_lines":[{"line_number":15,"context_line":"    Instead, use ``[glance]endpoint_override`` configuration option to set"},{"line_number":16,"context_line":"    specific (possibly load-balanced) glance api address when automatic"},{"line_number":17,"context_line":"    discovery of glance API endpoint from keystone catalog is not desired."},{"line_number":18,"context_line":"    This new option has no default value (``None``) and must be set explicitly."},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"  - |"},{"line_number":21,"context_line":"    Configuration option ``[glance]glance_api_insecure`` is deprecated"}],"source_content_type":"text/x-yaml","patch_set":17,"id":"df3967d1_0021304e","line":18,"range":{"start_line":18,"start_character":20,"end_line":18,"end_character":55},"updated":"2017-07-28 19:44:34.000000000","message":"defaults to ``None``","commit_id":"424f92dfbfd2f1a8990fb03c3c56d34bc5e996e6"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"f8981cf1b85a81cbee90b9fee68d5a24a41b6c6b","unresolved":false,"context_lines":[{"line_number":15,"context_line":"    Instead, use ``[glance]endpoint_override`` configuration option to set"},{"line_number":16,"context_line":"    specific (possibly load-balanced) glance api address when automatic"},{"line_number":17,"context_line":"    discovery of glance API endpoint from keystone catalog is not desired."},{"line_number":18,"context_line":"    This new option has no default value (``None``) and must be set explicitly."},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"  - |"},{"line_number":21,"context_line":"    Configuration option ``[glance]glance_api_insecure`` is deprecated"}],"source_content_type":"text/x-yaml","patch_set":17,"id":"df3967d1_cd008f6a","line":18,"range":{"start_line":18,"start_character":20,"end_line":18,"end_character":55},"in_reply_to":"df3967d1_0021304e","updated":"2017-08-02 13:33:54.000000000","message":"will change","commit_id":"424f92dfbfd2f1a8990fb03c3c56d34bc5e996e6"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"87405b80eee0a94d7c9f3d3dbbbcc53db928c7db","unresolved":false,"context_lines":[{"line_number":15,"context_line":"    Instead, use ``[glance]endpoint_override`` configuration option to set"},{"line_number":16,"context_line":"    specific (possibly load-balanced) glance api address when automatic"},{"line_number":17,"context_line":"    discovery of glance API endpoint from keystone catalog is not desired."},{"line_number":18,"context_line":"    This new option has no default value (``None``) and must be set explicitly."},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"  - |"},{"line_number":21,"context_line":"    Configuration option ``[glance]glance_api_insecure`` is deprecated"}],"source_content_type":"text/x-yaml","patch_set":17,"id":"df3967d1_be99d7c4","line":18,"range":{"start_line":18,"start_character":20,"end_line":18,"end_character":55},"in_reply_to":"df3967d1_cd008f6a","updated":"2017-08-03 08:05:26.000000000","message":"Done","commit_id":"424f92dfbfd2f1a8990fb03c3c56d34bc5e996e6"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"2530379c52ed6a02a63264a0de84e06f49f93a03","unresolved":false,"context_lines":[{"line_number":9,"context_line":"deprecations:"},{"line_number":10,"context_line":"  - |"},{"line_number":11,"context_line":"    Configuration options ``glance_host``, ``glance_port``,"},{"line_number":12,"context_line":"    ``glance_protocol``, ``glance_api_servers`` from the ``[glance]`` section"},{"line_number":13,"context_line":"    of the configuration file are deprecated"},{"line_number":14,"context_line":"    and will be ignored in the Rocky release."},{"line_number":15,"context_line":"    Instead, use ``[glance]endpoint_override`` configuration option to set"}],"source_content_type":"text/x-yaml","patch_set":29,"id":"ff5d4b2f_22e42dac","line":12,"range":{"start_line":12,"start_character":4,"end_line":12,"end_character":46},"updated":"2017-09-19 20:59:11.000000000","message":"``glance_protocol``, and ``glance_api_servers``","commit_id":"53777e00c7813d66ec2f39c514f246bdc384d0a6"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"a1604e4413e5783c56547ef3953f5ab755565d5f","unresolved":false,"context_lines":[{"line_number":9,"context_line":"deprecations:"},{"line_number":10,"context_line":"  - |"},{"line_number":11,"context_line":"    Configuration options ``glance_host``, ``glance_port``,"},{"line_number":12,"context_line":"    ``glance_protocol``, ``glance_api_servers`` from the ``[glance]`` section"},{"line_number":13,"context_line":"    of the configuration file are deprecated"},{"line_number":14,"context_line":"    and will be ignored in the Rocky release."},{"line_number":15,"context_line":"    Instead, use ``[glance]endpoint_override`` configuration option to set"}],"source_content_type":"text/x-yaml","patch_set":29,"id":"3f4b6375_d8d19259","line":12,"range":{"start_line":12,"start_character":4,"end_line":12,"end_character":46},"in_reply_to":"ff5d4b2f_22e42dac","updated":"2017-10-31 16:58:14.000000000","message":"Done","commit_id":"53777e00c7813d66ec2f39c514f246bdc384d0a6"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"2530379c52ed6a02a63264a0de84e06f49f93a03","unresolved":false,"context_lines":[{"line_number":10,"context_line":"  - |"},{"line_number":11,"context_line":"    Configuration options ``glance_host``, ``glance_port``,"},{"line_number":12,"context_line":"    ``glance_protocol``, ``glance_api_servers`` from the ``[glance]`` section"},{"line_number":13,"context_line":"    of the configuration file are deprecated"},{"line_number":14,"context_line":"    and will be ignored in the Rocky release."},{"line_number":15,"context_line":"    Instead, use ``[glance]endpoint_override`` configuration option to set"},{"line_number":16,"context_line":"    specific (possibly load-balanced) glance api address when automatic"}],"source_content_type":"text/x-yaml","patch_set":29,"id":"ff5d4b2f_e2ef3585","line":13,"range":{"start_line":13,"start_character":4,"end_line":13,"end_character":6},"updated":"2017-09-19 20:59:11.000000000","message":"s/of/in/","commit_id":"53777e00c7813d66ec2f39c514f246bdc384d0a6"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"a1604e4413e5783c56547ef3953f5ab755565d5f","unresolved":false,"context_lines":[{"line_number":10,"context_line":"  - |"},{"line_number":11,"context_line":"    Configuration options ``glance_host``, ``glance_port``,"},{"line_number":12,"context_line":"    ``glance_protocol``, ``glance_api_servers`` from the ``[glance]`` section"},{"line_number":13,"context_line":"    of the configuration file are deprecated"},{"line_number":14,"context_line":"    and will be ignored in the Rocky release."},{"line_number":15,"context_line":"    Instead, use ``[glance]endpoint_override`` configuration option to set"},{"line_number":16,"context_line":"    specific (possibly load-balanced) glance api address when automatic"}],"source_content_type":"text/x-yaml","patch_set":29,"id":"3f4b6375_f8e0ce28","line":13,"range":{"start_line":13,"start_character":4,"end_line":13,"end_character":6},"in_reply_to":"ff5d4b2f_e2ef3585","updated":"2017-10-31 16:58:14.000000000","message":"Done","commit_id":"53777e00c7813d66ec2f39c514f246bdc384d0a6"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"2530379c52ed6a02a63264a0de84e06f49f93a03","unresolved":false,"context_lines":[{"line_number":15,"context_line":"    Instead, use ``[glance]endpoint_override`` configuration option to set"},{"line_number":16,"context_line":"    specific (possibly load-balanced) glance api address when automatic"},{"line_number":17,"context_line":"    discovery of glance API endpoint from keystone catalog is not desired."},{"line_number":18,"context_line":"    This new option default to ``None`` and must be set explicitly if needed."},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"  - |"},{"line_number":21,"context_line":"    Configuration option ``[glance]glance_api_insecure`` is deprecated"}],"source_content_type":"text/x-yaml","patch_set":29,"id":"ff5d4b2f_62034544","line":18,"range":{"start_line":18,"start_character":20,"end_line":18,"end_character":27},"updated":"2017-09-19 20:59:11.000000000","message":"s/default/defaults/","commit_id":"53777e00c7813d66ec2f39c514f246bdc384d0a6"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"a1604e4413e5783c56547ef3953f5ab755565d5f","unresolved":false,"context_lines":[{"line_number":15,"context_line":"    Instead, use ``[glance]endpoint_override`` configuration option to set"},{"line_number":16,"context_line":"    specific (possibly load-balanced) glance api address when automatic"},{"line_number":17,"context_line":"    discovery of glance API endpoint from keystone catalog is not desired."},{"line_number":18,"context_line":"    This new option default to ``None`` and must be set explicitly if needed."},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"  - |"},{"line_number":21,"context_line":"    Configuration option ``[glance]glance_api_insecure`` is deprecated"}],"source_content_type":"text/x-yaml","patch_set":29,"id":"3f4b6375_38d78652","line":18,"range":{"start_line":18,"start_character":20,"end_line":18,"end_character":27},"in_reply_to":"ff5d4b2f_62034544","updated":"2017-10-31 16:58:14.000000000","message":"Done","commit_id":"53777e00c7813d66ec2f39c514f246bdc384d0a6"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"2530379c52ed6a02a63264a0de84e06f49f93a03","unresolved":false,"context_lines":[{"line_number":16,"context_line":"    specific (possibly load-balanced) glance api address when automatic"},{"line_number":17,"context_line":"    discovery of glance API endpoint from keystone catalog is not desired."},{"line_number":18,"context_line":"    This new option default to ``None`` and must be set explicitly if needed."},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"  - |"},{"line_number":21,"context_line":"    Configuration option ``[glance]glance_api_insecure`` is deprecated"},{"line_number":22,"context_line":"    and will be ignored in the Rocky release."}],"source_content_type":"text/x-yaml","patch_set":29,"id":"ff5d4b2f_c299d11f","line":19,"updated":"2017-09-19 20:59:11.000000000","message":"I wonder if we should say that we recommend people not use the override and they should use the service catalog.","commit_id":"53777e00c7813d66ec2f39c514f246bdc384d0a6"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"a1604e4413e5783c56547ef3953f5ab755565d5f","unresolved":false,"context_lines":[{"line_number":16,"context_line":"    specific (possibly load-balanced) glance api address when automatic"},{"line_number":17,"context_line":"    discovery of glance API endpoint from keystone catalog is not desired."},{"line_number":18,"context_line":"    This new option default to ``None`` and must be set explicitly if needed."},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"  - |"},{"line_number":21,"context_line":"    Configuration option ``[glance]glance_api_insecure`` is deprecated"},{"line_number":22,"context_line":"    and will be ignored in the Rocky release."}],"source_content_type":"text/x-yaml","patch_set":29,"id":"3f4b6375_78f5feec","line":19,"in_reply_to":"ff5d4b2f_c299d11f","updated":"2017-10-31 16:58:14.000000000","message":"Done","commit_id":"53777e00c7813d66ec2f39c514f246bdc384d0a6"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"2530379c52ed6a02a63264a0de84e06f49f93a03","unresolved":false,"context_lines":[{"line_number":21,"context_line":"    Configuration option ``[glance]glance_api_insecure`` is deprecated"},{"line_number":22,"context_line":"    and will be ignored in the Rocky release."},{"line_number":23,"context_line":"    Instead, use ``[glance]insecure`` configuration option"},{"line_number":24,"context_line":"    (its default is also ``False``)."},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"  - |"},{"line_number":27,"context_line":"    Configuration option ``[glance]glance_cafile`` is deprecated"}],"source_content_type":"text/x-yaml","patch_set":29,"id":"ff5d4b2f_82a3d94f","line":24,"range":{"start_line":24,"start_character":17,"end_line":24,"end_character":24},"updated":"2017-09-19 20:59:11.000000000","message":"s/is also/is/","commit_id":"53777e00c7813d66ec2f39c514f246bdc384d0a6"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"a1604e4413e5783c56547ef3953f5ab755565d5f","unresolved":false,"context_lines":[{"line_number":21,"context_line":"    Configuration option ``[glance]glance_api_insecure`` is deprecated"},{"line_number":22,"context_line":"    and will be ignored in the Rocky release."},{"line_number":23,"context_line":"    Instead, use ``[glance]insecure`` configuration option"},{"line_number":24,"context_line":"    (its default is also ``False``)."},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"  - |"},{"line_number":27,"context_line":"    Configuration option ``[glance]glance_cafile`` is deprecated"}],"source_content_type":"text/x-yaml","patch_set":29,"id":"3f4b6375_38c0a67c","line":24,"range":{"start_line":24,"start_character":17,"end_line":24,"end_character":24},"in_reply_to":"ff5d4b2f_82a3d94f","updated":"2017-10-31 16:58:14.000000000","message":"Done","commit_id":"53777e00c7813d66ec2f39c514f246bdc384d0a6"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"2530379c52ed6a02a63264a0de84e06f49f93a03","unresolved":false,"context_lines":[{"line_number":27,"context_line":"    Configuration option ``[glance]glance_cafile`` is deprecated"},{"line_number":28,"context_line":"    and will be ignored in the Rocky release."},{"line_number":29,"context_line":"    Instead, use ``[glance]cafile`` configuration option"},{"line_number":30,"context_line":"    (its default is also ``None``)."},{"line_number":31,"context_line":"  - |"},{"line_number":32,"context_line":"    Configuration option ``[glance]auth_strategy`` is deprecated"},{"line_number":33,"context_line":"    and will be ignored in the Rocky release."}],"source_content_type":"text/x-yaml","patch_set":29,"id":"ff5d4b2f_2292edf7","line":30,"range":{"start_line":30,"start_character":17,"end_line":30,"end_character":24},"updated":"2017-09-19 20:59:11.000000000","message":"s/is also/is/","commit_id":"53777e00c7813d66ec2f39c514f246bdc384d0a6"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"a1604e4413e5783c56547ef3953f5ab755565d5f","unresolved":false,"context_lines":[{"line_number":27,"context_line":"    Configuration option ``[glance]glance_cafile`` is deprecated"},{"line_number":28,"context_line":"    and will be ignored in the Rocky release."},{"line_number":29,"context_line":"    Instead, use ``[glance]cafile`` configuration option"},{"line_number":30,"context_line":"    (its default is also ``None``)."},{"line_number":31,"context_line":"  - |"},{"line_number":32,"context_line":"    Configuration option ``[glance]auth_strategy`` is deprecated"},{"line_number":33,"context_line":"    and will be ignored in the Rocky release."}],"source_content_type":"text/x-yaml","patch_set":29,"id":"3f4b6375_b83936a4","line":30,"range":{"start_line":30,"start_character":17,"end_line":30,"end_character":24},"in_reply_to":"ff5d4b2f_2292edf7","updated":"2017-10-31 16:58:14.000000000","message":"Done","commit_id":"53777e00c7813d66ec2f39c514f246bdc384d0a6"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"fb21180db271a7d50b4634e4bf38778b5f339f41","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"upgrade:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    The configuration option ``[glance]/glance_host`` is now empty by default."},{"line_number":5,"context_line":"    If none of ``[glance]/glance_host`` (deprecated),"},{"line_number":6,"context_line":"    ``[glance]/glance_api_servers`` (deprecated) or"},{"line_number":7,"context_line":"    ``[glance]/endpoint_override`` are provided, ironic will now try fetching"}],"source_content_type":"text/x-yaml","patch_set":30,"id":"3f4b6375_9f2ab629","line":4,"updated":"2017-11-01 21:49:13.000000000","message":"wasn\u0027t it always empty? Or at least, it was empty before this patch. Also in pike.","commit_id":"67894456fd78bcce884c0fb88e632bbb14e3faf0"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"d88d07b35f032aba07dce94b7fc99353cf4e2b2e","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"upgrade:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    The configuration option ``[glance]/glance_host`` is now empty by default."},{"line_number":5,"context_line":"    If none of ``[glance]/glance_host`` (deprecated),"},{"line_number":6,"context_line":"    ``[glance]/glance_api_servers`` (deprecated) or"},{"line_number":7,"context_line":"    ``[glance]/endpoint_override`` are provided, ironic will now try fetching"}],"source_content_type":"text/x-yaml","patch_set":30,"id":"3f4b6375_b16d5004","line":4,"in_reply_to":"3f4b6375_9f2ab629","updated":"2017-11-06 10:53:18.000000000","message":"yep, this was just carried over from pre-pike versions of this patch, will update.","commit_id":"67894456fd78bcce884c0fb88e632bbb14e3faf0"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"c32e0eaacdd0d1fe3e47ec5a70976b38c2fd5873","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"upgrade:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    The configuration option ``[glance]/glance_host`` is now empty by default."},{"line_number":5,"context_line":"    If none of ``[glance]/glance_host`` (deprecated),"},{"line_number":6,"context_line":"    ``[glance]/glance_api_servers`` (deprecated) or"},{"line_number":7,"context_line":"    ``[glance]/endpoint_override`` are provided, ironic will now try fetching"}],"source_content_type":"text/x-yaml","patch_set":30,"id":"3f4b6375_2ec0d6e0","line":4,"in_reply_to":"3f4b6375_b16d5004","updated":"2017-11-06 18:23:32.000000000","message":"Done","commit_id":"67894456fd78bcce884c0fb88e632bbb14e3faf0"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"fb21180db271a7d50b4634e4bf38778b5f339f41","unresolved":false,"context_lines":[{"line_number":9,"context_line":"deprecations:"},{"line_number":10,"context_line":"  - |"},{"line_number":11,"context_line":"    Configuration options ``glance_host``, ``glance_port``,"},{"line_number":12,"context_line":"    ``glance_protocol`` in ``glance_api_servers`` from the ``[glance]``"},{"line_number":13,"context_line":"    section in the configuration file are deprecated"},{"line_number":14,"context_line":"    and will be ignored in the Rocky release."},{"line_number":15,"context_line":"    Instead, use ``[glance]/endpoint_override`` configuration option to set"}],"source_content_type":"text/x-yaml","patch_set":30,"id":"3f4b6375_dfd5ce1c","line":12,"updated":"2017-11-01 21:49:13.000000000","message":"s/in/and/","commit_id":"67894456fd78bcce884c0fb88e632bbb14e3faf0"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"c32e0eaacdd0d1fe3e47ec5a70976b38c2fd5873","unresolved":false,"context_lines":[{"line_number":9,"context_line":"deprecations:"},{"line_number":10,"context_line":"  - |"},{"line_number":11,"context_line":"    Configuration options ``glance_host``, ``glance_port``,"},{"line_number":12,"context_line":"    ``glance_protocol`` in ``glance_api_servers`` from the ``[glance]``"},{"line_number":13,"context_line":"    section in the configuration file are deprecated"},{"line_number":14,"context_line":"    and will be ignored in the Rocky release."},{"line_number":15,"context_line":"    Instead, use ``[glance]/endpoint_override`` configuration option to set"}],"source_content_type":"text/x-yaml","patch_set":30,"id":"3f4b6375_0ec3daee","line":12,"in_reply_to":"3f4b6375_dfd5ce1c","updated":"2017-11-06 18:23:32.000000000","message":"Done","commit_id":"67894456fd78bcce884c0fb88e632bbb14e3faf0"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"fb21180db271a7d50b4634e4bf38778b5f339f41","unresolved":false,"context_lines":[{"line_number":13,"context_line":"    section in the configuration file are deprecated"},{"line_number":14,"context_line":"    and will be ignored in the Rocky release."},{"line_number":15,"context_line":"    Instead, use ``[glance]/endpoint_override`` configuration option to set"},{"line_number":16,"context_line":"    specific (possibly load-balanced) glance api address when automatic"},{"line_number":17,"context_line":"    discovery of glance API endpoint from keystone catalog is not desired."},{"line_number":18,"context_line":"    This new option defaults to ``None`` and must be set explicitly if needed."},{"line_number":19,"context_line":"    This option is mostly suited for standalone ironic deployments without"}],"source_content_type":"text/x-yaml","patch_set":30,"id":"3f4b6375_5fe1defb","line":16,"updated":"2017-11-01 21:49:13.000000000","message":"s/specific/a specific/\n\ns/api/API/","commit_id":"67894456fd78bcce884c0fb88e632bbb14e3faf0"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"c32e0eaacdd0d1fe3e47ec5a70976b38c2fd5873","unresolved":false,"context_lines":[{"line_number":13,"context_line":"    section in the configuration file are deprecated"},{"line_number":14,"context_line":"    and will be ignored in the Rocky release."},{"line_number":15,"context_line":"    Instead, use ``[glance]/endpoint_override`` configuration option to set"},{"line_number":16,"context_line":"    specific (possibly load-balanced) glance api address when automatic"},{"line_number":17,"context_line":"    discovery of glance API endpoint from keystone catalog is not desired."},{"line_number":18,"context_line":"    This new option defaults to ``None`` and must be set explicitly if needed."},{"line_number":19,"context_line":"    This option is mostly suited for standalone ironic deployments without"}],"source_content_type":"text/x-yaml","patch_set":30,"id":"3f4b6375_8eaeaa2b","line":16,"in_reply_to":"3f4b6375_5fe1defb","updated":"2017-11-06 18:23:32.000000000","message":"Done","commit_id":"67894456fd78bcce884c0fb88e632bbb14e3faf0"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"fb21180db271a7d50b4634e4bf38778b5f339f41","unresolved":false,"context_lines":[{"line_number":18,"context_line":"    This new option defaults to ``None`` and must be set explicitly if needed."},{"line_number":19,"context_line":"    This option is mostly suited for standalone ironic deployments without"},{"line_number":20,"context_line":"    keystone and its service catalog, and it is generally recommended to"},{"line_number":21,"context_line":"    rely on keystone service catalog for service endpoint discovery."},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"  - |"},{"line_number":24,"context_line":"    Configuration option ``[glance]/glance_api_insecure`` is deprecated"}],"source_content_type":"text/x-yaml","patch_set":30,"id":"3f4b6375_dfba6ebe","line":21,"updated":"2017-11-01 21:49:13.000000000","message":"I wonder (so a nit) if it makes more sense to reverse this. E.g.\n\nIt is not recommended to use this option, but to use the keystone service catalog for service endpoint discovery. However, this option is useful for standalone deployments without keystone and its service catalog.\n\nWell, it is still a mouthful. Maybe ignore this.","commit_id":"67894456fd78bcce884c0fb88e632bbb14e3faf0"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"fb21180db271a7d50b4634e4bf38778b5f339f41","unresolved":false,"context_lines":[{"line_number":34,"context_line":"  - |"},{"line_number":35,"context_line":"    Configuration option ``[glance]/auth_strategy`` is deprecated"},{"line_number":36,"context_line":"    and will be ignored in the Rocky release."},{"line_number":37,"context_line":"    Instead, set ``[glance]/auth_type`` configuration option to ``none``"},{"line_number":38,"context_line":"    and provide glance API address as ``[glance]/endpoint_override``"},{"line_number":39,"context_line":"    configuration option."}],"source_content_type":"text/x-yaml","patch_set":30,"id":"3f4b6375_1fc0062a","line":37,"updated":"2017-11-01 21:49:13.000000000","message":"this is just if they want to replace auth_strategy\u003dnoauth, right?","commit_id":"67894456fd78bcce884c0fb88e632bbb14e3faf0"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"c32e0eaacdd0d1fe3e47ec5a70976b38c2fd5873","unresolved":false,"context_lines":[{"line_number":34,"context_line":"  - |"},{"line_number":35,"context_line":"    Configuration option ``[glance]/auth_strategy`` is deprecated"},{"line_number":36,"context_line":"    and will be ignored in the Rocky release."},{"line_number":37,"context_line":"    Instead, set ``[glance]/auth_type`` configuration option to ``none``"},{"line_number":38,"context_line":"    and provide glance API address as ``[glance]/endpoint_override``"},{"line_number":39,"context_line":"    configuration option."}],"source_content_type":"text/x-yaml","patch_set":30,"id":"3f4b6375_ae7846c3","line":37,"in_reply_to":"3f4b6375_1fc0062a","updated":"2017-11-06 18:23:32.000000000","message":"Done","commit_id":"67894456fd78bcce884c0fb88e632bbb14e3faf0"}],"releasenotes/notes/glance-keystone-dd30b884f07f83fb.yaml":[{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"fb21180db271a7d50b4634e4bf38778b5f339f41","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"upgrade:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    The configuration option ``[glance]glance_host`` is now empty by default."},{"line_number":5,"context_line":"    If neither it nor ``[glance]glance_api_servers`` are provided, ironic will"}],"source_content_type":"text/x-yaml","patch_set":30,"id":"3f4b6375_bf59f2fe","side":"PARENT","line":2,"updated":"2017-11-01 21:49:13.000000000","message":"I\u0027m not sure if we can delete this if it was in an ironic release. Or maybe we can... who will know...","commit_id":"8321543501fd6b3d41392ecd20a04191c966df82"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"c32e0eaacdd0d1fe3e47ec5a70976b38c2fd5873","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"upgrade:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    The configuration option ``[glance]glance_host`` is now empty by default."},{"line_number":5,"context_line":"    If neither it nor ``[glance]glance_api_servers`` are provided, ironic will"}],"source_content_type":"text/x-yaml","patch_set":30,"id":"3f4b6375_6e7eceaf","side":"PARENT","line":2,"in_reply_to":"3f4b6375_51573c27","updated":"2017-11-06 18:23:32.000000000","message":"Done","commit_id":"8321543501fd6b3d41392ecd20a04191c966df82"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"d88d07b35f032aba07dce94b7fc99353cf4e2b2e","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"upgrade:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    The configuration option ``[glance]glance_host`` is now empty by default."},{"line_number":5,"context_line":"    If neither it nor ``[glance]glance_api_servers`` are provided, ironic will"}],"source_content_type":"text/x-yaml","patch_set":30,"id":"3f4b6375_51573c27","side":"PARENT","line":2,"in_reply_to":"3f4b6375_bf59f2fe","updated":"2017-11-06 10:53:18.000000000","message":"Indeed, it is in release already. This is why I\u0027ll leave this file in place and change the other file accordingly (see my previous reply).","commit_id":"8321543501fd6b3d41392ecd20a04191c966df82"}],"releasenotes/notes/keystoneauth-adapter-opts-ca4f68f568e6cf6f.yaml":[{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"fb21180db271a7d50b4634e4bf38778b5f339f41","unresolved":false,"context_lines":[{"line_number":24,"context_line":""},{"line_number":25,"context_line":"    - service_catalog"},{"line_number":26,"context_line":"    - glance"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"features:"},{"line_number":29,"context_line":"  - |"},{"line_number":30,"context_line":"    Options for service endpoint discovery can now be set per-service in"}],"source_content_type":"text/x-yaml","patch_set":30,"id":"3f4b6375_9f43d613","line":27,"updated":"2017-11-01 21:49:13.000000000","message":"I *think* the train has left. If this reno was already in the proposed ironic release [1], and I suspect it was, we will need a new one.\n\n[1] https://review.openstack.org/514395","commit_id":"67894456fd78bcce884c0fb88e632bbb14e3faf0"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"2583c26dd795dd634c4dd6609e1a7d77bf78bd30","unresolved":false,"context_lines":[{"line_number":24,"context_line":""},{"line_number":25,"context_line":"    - service_catalog"},{"line_number":26,"context_line":"    - glance"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"features:"},{"line_number":29,"context_line":"  - |"},{"line_number":30,"context_line":"    Options for service endpoint discovery can now be set per-service in"}],"source_content_type":"text/x-yaml","patch_set":30,"id":"3f4b6375_a975e065","line":27,"in_reply_to":"3f4b6375_2e4e9696","updated":"2017-11-06 18:30:19.000000000","message":"Ironic hasn\u0027t released yet with this release note, so let\u0027s keep updating this until that happens. Maybe we\u0027ll get this into the same release :)","commit_id":"67894456fd78bcce884c0fb88e632bbb14e3faf0"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"c32e0eaacdd0d1fe3e47ec5a70976b38c2fd5873","unresolved":false,"context_lines":[{"line_number":24,"context_line":""},{"line_number":25,"context_line":"    - service_catalog"},{"line_number":26,"context_line":"    - glance"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"features:"},{"line_number":29,"context_line":"  - |"},{"line_number":30,"context_line":"    Options for service endpoint discovery can now be set per-service in"}],"source_content_type":"text/x-yaml","patch_set":30,"id":"3f4b6375_2e4e9696","line":27,"in_reply_to":"3f4b6375_950fd92c","updated":"2017-11-06 18:23:32.000000000","message":"still not sure what to do with this file (is editing a released reno note ok?) will leave it as it is for now.","commit_id":"67894456fd78bcce884c0fb88e632bbb14e3faf0"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"d88d07b35f032aba07dce94b7fc99353cf4e2b2e","unresolved":false,"context_lines":[{"line_number":24,"context_line":""},{"line_number":25,"context_line":"    - service_catalog"},{"line_number":26,"context_line":"    - glance"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"features:"},{"line_number":29,"context_line":"  - |"},{"line_number":30,"context_line":"    Options for service endpoint discovery can now be set per-service in"}],"source_content_type":"text/x-yaml","patch_set":30,"id":"3f4b6375_b13b10e8","line":27,"in_reply_to":"3f4b6375_9f43d613","updated":"2017-11-06 10:53:18.000000000","message":"will do, probably just copy over most of the words from here to a new file","commit_id":"67894456fd78bcce884c0fb88e632bbb14e3faf0"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"58d4103d1f90e76fd765f2ac9b8b382de5b7cf6b","unresolved":false,"context_lines":[{"line_number":24,"context_line":""},{"line_number":25,"context_line":"    - service_catalog"},{"line_number":26,"context_line":"    - glance"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"features:"},{"line_number":29,"context_line":"  - |"},{"line_number":30,"context_line":"    Options for service endpoint discovery can now be set per-service in"}],"source_content_type":"text/x-yaml","patch_set":30,"id":"3f4b6375_950fd92c","line":27,"in_reply_to":"3f4b6375_b13b10e8","updated":"2017-11-06 15:20:10.000000000","message":"My bad. That was an ironic pike release, not a master release. Having said that, I thought we were going to do an ironic release \"soon\". Guess we should find out when...","commit_id":"67894456fd78bcce884c0fb88e632bbb14e3faf0"}],"releasenotes/notes/keystoneauth-config-1baa45a0a2dd93b4.yaml":[{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"03f8f9234a4d9e098de807c4fbed77b7abbe9d4b","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":34,"id":"ff82abbf_108f06cd","line":7,"updated":"2017-11-20 15:42:08.000000000","message":"I\u0027d prefer more verbose (ie copy/paste) from the initial release note (keystoneauth-adapter-opts-ca4f68f568e6cf6f.yaml)\n\nbut there are a few other patches in this series, so we can improve on it as we go along.","commit_id":"63e0ff2f6ce3a8275c262127e046fffbb1f1ff65"}]}
