)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"74229220a8db7b2bdea0fa87285849143f6ad68e","unresolved":false,"context_lines":[{"line_number":10,"context_line":"registering public endpoints for services, but ironic defaults to"},{"line_number":11,"context_line":"\u0027internal\u0027 API endpoints when discovering those from keystone catalog."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Although ironic was not broken yet due to explicitly or implicitly setting"},{"line_number":14,"context_line":"the API urls for all services in our config, we should move to discovery from"},{"line_number":15,"context_line":"catalog eventually."},{"line_number":16,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":14,"id":"5f201791_56dd8012","line":13,"updated":"2017-06-21 22:25:55.000000000","message":"\u0027was not broken yet\u0027. heh.","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"9ede4fe386452c487b82618a205bd788539a8052","unresolved":false,"context_lines":[{"line_number":10,"context_line":"registering public endpoints for services, but ironic defaults to"},{"line_number":11,"context_line":"\u0027internal\u0027 API endpoints when discovering those from keystone catalog."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Although ironic was not broken yet due to explicitly or implicitly setting"},{"line_number":14,"context_line":"the API urls for all services in our config, we should move to discovery from"},{"line_number":15,"context_line":"catalog eventually."},{"line_number":16,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":14,"id":"5f201791_3a953ee5","line":13,"in_reply_to":"5f201791_56dd8012","updated":"2017-06-22 08:44:27.000000000","message":":-) :-/","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"74229220a8db7b2bdea0fa87285849143f6ad68e","unresolved":false,"context_lines":[{"line_number":17,"context_line":"To support this, register keystoneauth1.adapter.Adapter options to all"},{"line_number":18,"context_line":"config sections for service clients auth."},{"line_number":19,"context_line":"Among others it exports `interface` option, that can be set to \u0027public\u0027"},{"line_number":20,"context_line":"(default in keystoneauth1 and clients) or \u0027internal\u0027."},{"line_number":21,"context_line":"Other exported options are `service_type`, `service_name`, `region_name`"},{"line_number":22,"context_line":"and `endpoint_override`."},{"line_number":23,"context_line":"The latter will eventually be used by all clients to specify a specific"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":14,"id":"5f201791_f6eb6cad","line":20,"updated":"2017-06-21 22:25:55.000000000","message":"here it sez that interface defaults to public, but in your release note you say something different.","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"e27e32c58b75115b7a47bc315e898ce3ccbe37a0","unresolved":false,"context_lines":[{"line_number":17,"context_line":"To support this, register keystoneauth1.adapter.Adapter options to all"},{"line_number":18,"context_line":"config sections for service clients auth."},{"line_number":19,"context_line":"Among others it exports `interface` option, that can be set to \u0027public\u0027"},{"line_number":20,"context_line":"(default in keystoneauth1 and clients) or \u0027internal\u0027."},{"line_number":21,"context_line":"Other exported options are `service_type`, `service_name`, `region_name`"},{"line_number":22,"context_line":"and `endpoint_override`."},{"line_number":23,"context_line":"The latter will eventually be used by all clients to specify a specific"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":14,"id":"5f201791_a67ecf68","line":20,"in_reply_to":"5f201791_f6eb6cad","updated":"2017-06-22 12:41:35.000000000","message":"Done","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":2,"name":"Monty Taylor","email":"mordred@inaugust.com","username":"mordred"},"change_message_id":"b3b97d9205362a009116e2213060ad0f45a0fe73","unresolved":false,"context_lines":[{"line_number":17,"context_line":"To support this, register keystoneauth1.adapter.Adapter options to all"},{"line_number":18,"context_line":"config sections for service clients auth."},{"line_number":19,"context_line":"Among others it exports `interface` option, that can be set to \u0027public\u0027"},{"line_number":20,"context_line":"(default in keystoneauth1 and clients) or \u0027internal\u0027."},{"line_number":21,"context_line":"Other exported options are `service_type`, `service_name`, `region_name`"},{"line_number":22,"context_line":"and `endpoint_override`."},{"line_number":23,"context_line":"The latter will eventually be used by all clients to specify a specific"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":14,"id":"5f201791_a91eae09","line":20,"in_reply_to":"5f201791_f6eb6cad","updated":"2017-06-22 04:12:06.000000000","message":"In an upcoming patch, keystoneauth will support a list of interfaces in order of preference - so you can set \"interface\u003dinternal,public\" - which is important for some deployer use-cases.","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"74229220a8db7b2bdea0fa87285849143f6ad68e","unresolved":false,"context_lines":[{"line_number":20,"context_line":"(default in keystoneauth1 and clients) or \u0027internal\u0027."},{"line_number":21,"context_line":"Other exported options are `service_type`, `service_name`, `region_name`"},{"line_number":22,"context_line":"and `endpoint_override`."},{"line_number":23,"context_line":"The latter will eventually be used by all clients to specify a specific"},{"line_number":24,"context_line":"endpoint to use (for example in noauth mode)."},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"Effectively this patch starts to move all clients code to load client"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":14,"id":"5f201791_5606a088","line":23,"updated":"2017-06-21 22:25:55.000000000","message":"oh, doesn\u0027t the code changes here use \u0027endpoint_override\u0027? If not, we need to document which are being ignored since it appears in our .sample file.","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"9ede4fe386452c487b82618a205bd788539a8052","unresolved":false,"context_lines":[{"line_number":20,"context_line":"(default in keystoneauth1 and clients) or \u0027internal\u0027."},{"line_number":21,"context_line":"Other exported options are `service_type`, `service_name`, `region_name`"},{"line_number":22,"context_line":"and `endpoint_override`."},{"line_number":23,"context_line":"The latter will eventually be used by all clients to specify a specific"},{"line_number":24,"context_line":"endpoint to use (for example in noauth mode)."},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"Effectively this patch starts to move all clients code to load client"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":14,"id":"5f201791_1a1962d6","line":23,"in_reply_to":"5f201791_5606a088","updated":"2017-06-22 08:44:27.000000000","message":"Well, we have kind of chicken-and-egg problem here - I better to register all the adapter options for all client sections in a single patch, but start using those options in later patches, changing one client code per patch, and indeed, until all clients have been moved to recognize new options there is no use for them.\n\nI see two ways of dealing with this:\n- either just do not commit those changes to config sample yet, do it later in the last patch; \n- or I register the adapter-related options for single client per patch, and use them (moving this registration bits to single place in the last patch)\n\nWDYT?","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"74229220a8db7b2bdea0fa87285849143f6ad68e","unresolved":false,"context_lines":[{"line_number":29,"context_line":"option being deprecated in favor of [service_catalog]endpoint_override."},{"line_number":30,"context_line":"More patches moving other clients to consume these new options and"},{"line_number":31,"context_line":"deprecate some other options will follow."},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"Also, follow suit with DevStack by registering only a public ironic API"},{"line_number":34,"context_line":"endpoint in our devstack plugin."},{"line_number":35,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":14,"id":"5f201791_b6f6148f","line":32,"updated":"2017-06-21 22:25:55.000000000","message":"you also deprecated [keystone] region_name","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"e27e32c58b75115b7a47bc315e898ce3ccbe37a0","unresolved":false,"context_lines":[{"line_number":29,"context_line":"option being deprecated in favor of [service_catalog]endpoint_override."},{"line_number":30,"context_line":"More patches moving other clients to consume these new options and"},{"line_number":31,"context_line":"deprecate some other options will follow."},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"Also, follow suit with DevStack by registering only a public ironic API"},{"line_number":34,"context_line":"endpoint in our devstack plugin."},{"line_number":35,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":14,"id":"5f201791_26e75f43","line":32,"in_reply_to":"5f201791_b6f6148f","updated":"2017-06-22 12:41:35.000000000","message":"Done","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"9ede4fe386452c487b82618a205bd788539a8052","unresolved":false,"context_lines":[{"line_number":29,"context_line":"option being deprecated in favor of [service_catalog]endpoint_override."},{"line_number":30,"context_line":"More patches moving other clients to consume these new options and"},{"line_number":31,"context_line":"deprecate some other options will follow."},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"Also, follow suit with DevStack by registering only a public ironic API"},{"line_number":34,"context_line":"endpoint in our devstack plugin."},{"line_number":35,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":14,"id":"5f201791_7ae4d6ac","line":32,"in_reply_to":"5f201791_b6f6148f","updated":"2017-06-22 08:44:27.000000000","message":"will add","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"c90639cdab407d9dc3ac864ce78ead3b34f5e561","unresolved":false,"context_lines":[{"line_number":34,"context_line":"endpoint in our devstack plugin."},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"[0] https://review.openstack.org/#/c/433272"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"Change-Id: I1283ef3b4d736ac089df0cc74a5850a93b24b6ab"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":14,"id":"5f201791_90c68067","line":37,"updated":"2017-06-21 20:26:33.000000000","message":"Bug id for the RFE needed, likely also the bug for our broken gate.","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"9ede4fe386452c487b82618a205bd788539a8052","unresolved":false,"context_lines":[{"line_number":34,"context_line":"endpoint in our devstack plugin."},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"[0] https://review.openstack.org/#/c/433272"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"Change-Id: I1283ef3b4d736ac089df0cc74a5850a93b24b6ab"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":14,"id":"5f201791_3af09e67","line":37,"in_reply_to":"5f201791_90c68067","updated":"2017-06-22 08:44:27.000000000","message":"Yes, now I filed those and have numbers :)","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"ae7631073829a8888d697f79192ec1f0869a5057","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Introduce keystoneauth adapters for clients"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Currently ironic explicitly or implicitly sets the API urls for most services"},{"line_number":10,"context_line":"in the config. This is quite fragile and we should move to discovery from"},{"line_number":11,"context_line":"catalog eventually."},{"line_number":12,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":22,"id":"df3967d1_9ee38ad9","line":9,"range":{"start_line":9,"start_character":72,"end_line":9,"end_character":77},"updated":"2017-08-04 10:13:54.000000000","message":"long lines, not nice :D","commit_id":"27a0351c6bc29f236bc42daebc49a496c11d5353"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"0ecb77e9565f7ead302e9c59c02cfda2de85575c","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Introduce keystoneauth adapters for clients"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Currently ironic explicitly or implicitly sets the API urls for most services"},{"line_number":10,"context_line":"in the config. This is quite fragile and we should move to discovery from"},{"line_number":11,"context_line":"catalog eventually."},{"line_number":12,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":22,"id":"df3967d1_9931645d","line":9,"range":{"start_line":9,"start_character":72,"end_line":9,"end_character":77},"in_reply_to":"df3967d1_9ee38ad9","updated":"2017-08-04 10:47:21.000000000","message":"done","commit_id":"27a0351c6bc29f236bc42daebc49a496c11d5353"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"8905ebcc2deac9a562f358f228a3af87c79351b3","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Introduce keystoneauth adapters for clients"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Currently ironic explicitly or implicitly sets the API urls for most services"},{"line_number":10,"context_line":"in the config. This is quite fragile and we should move to discovery from"},{"line_number":11,"context_line":"catalog eventually."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"To support this, register keystoneauth1.adapter.Adapter options to all"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":27,"id":"9f436f4f_aef20599","line":10,"range":{"start_line":9,"start_character":0,"end_line":10,"end_character":73},"updated":"2017-08-21 16:25:49.000000000","message":"please make these two fit 72 chars :)","commit_id":"d411a5e9a82a26daf40bbfc5605798dac2745b5c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"5b4bba857a52dc4acd38182804a745da1565d272","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Introduce keystoneauth adapters for clients"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Currently ironic explicitly or implicitly sets the API urls for most services"},{"line_number":10,"context_line":"in the config. This is quite fragile and we should move to discovery from"},{"line_number":11,"context_line":"catalog eventually."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"To support this, register keystoneauth1.adapter.Adapter options to all"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":27,"id":"9f436f4f_f22a222a","line":10,"range":{"start_line":9,"start_character":0,"end_line":10,"end_character":73},"in_reply_to":"9f436f4f_aef20599","updated":"2017-08-22 06:06:20.000000000","message":"Done","commit_id":"d411a5e9a82a26daf40bbfc5605798dac2745b5c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"8ab20f21a536aa9cc4e9edd49ab4abcf80fb2cfe","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Introduce keystoneauth adapters for clients"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Currently ironic explicitly or implicitly sets the API urls for most services"},{"line_number":10,"context_line":"in the config. This is quite fragile and we should move to discovery from"},{"line_number":11,"context_line":"catalog eventually."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"To support this, register keystoneauth1.adapter.Adapter options to all"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":27,"id":"9f436f4f_2512b359","line":10,"range":{"start_line":9,"start_character":0,"end_line":10,"end_character":73},"in_reply_to":"9f436f4f_aef20599","updated":"2017-08-21 17:34:40.000000000","message":"will do","commit_id":"d411a5e9a82a26daf40bbfc5605798dac2745b5c"}],"devstack/lib/ironic":[{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"97e0196dd38d46e3d397364272d4226d0e94bd4d","unresolved":false,"context_lines":[{"line_number":1116,"context_line":"    service_type\u003d$2"},{"line_number":1117,"context_line":"    iniset $IRONIC_CONF_FILE $service_config_section region_name $REGION_NAME"},{"line_number":1118,"context_line":"    iniset $IRONIC_CONF_FILE $service_config_section interface public"},{"line_number":1119,"context_line":"    iniset $IRONIC_CONF_FILE $service_config_section service_type $service_type"},{"line_number":1120,"context_line":"}"},{"line_number":1121,"context_line":""},{"line_number":1122,"context_line":"function configure_client_for {"}],"source_content_type":"application/x-shellscript","patch_set":9,"id":"9f0e0f27_460e1ce6","line":1119,"updated":"2017-06-09 10:00:38.000000000","message":"I\u0027d prefer we leave this value at its default. It\u0027s an extremely rare case that it has to be changed. Then we don\u0027t need $service_type option to all these calls.","commit_id":"cb15a2521486935f7988851a51b8e8b667fc376d"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"4e5af9583ed6833f7f7145ce994e8a22d60ce998","unresolved":false,"context_lines":[{"line_number":1116,"context_line":"    service_type\u003d$2"},{"line_number":1117,"context_line":"    iniset $IRONIC_CONF_FILE $service_config_section region_name $REGION_NAME"},{"line_number":1118,"context_line":"    iniset $IRONIC_CONF_FILE $service_config_section interface public"},{"line_number":1119,"context_line":"    iniset $IRONIC_CONF_FILE $service_config_section service_type $service_type"},{"line_number":1120,"context_line":"}"},{"line_number":1121,"context_line":""},{"line_number":1122,"context_line":"function configure_client_for {"}],"source_content_type":"application/x-shellscript","patch_set":9,"id":"9f0e0f27_d19d4467","line":1119,"in_reply_to":"9f0e0f27_460e1ce6","updated":"2017-06-09 10:43:06.000000000","message":"will do.","commit_id":"cb15a2521486935f7988851a51b8e8b667fc376d"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"53d48197728b3112d1d580ca1fc2fec7799a3217","unresolved":false,"context_lines":[{"line_number":1096,"context_line":"# Sets options to instantiate clients for other services"},{"line_number":1097,"context_line":"# single argument - config section to fill"},{"line_number":1098,"context_line":"function configure_client_for {"},{"line_number":1099,"context_line":"    # keystoneauth auth plugin options"},{"line_number":1100,"context_line":"    iniset $IRONIC_CONF_FILE $1 auth_type password"},{"line_number":1101,"context_line":"    iniset $IRONIC_CONF_FILE $1 auth_url $KEYSTONE_SERVICE_URI"},{"line_number":1102,"context_line":"    iniset $IRONIC_CONF_FILE $1 username ironic"}],"source_content_type":"application/x-shellscript","patch_set":14,"id":"5f201791_adb8032a","line":1099,"updated":"2017-06-21 19:38:43.000000000","message":"nit: i liked the previous style of not using the positional variable name for lines 1100-1111, but just a nit.","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"e27e32c58b75115b7a47bc315e898ce3ccbe37a0","unresolved":false,"context_lines":[{"line_number":1096,"context_line":"# Sets options to instantiate clients for other services"},{"line_number":1097,"context_line":"# single argument - config section to fill"},{"line_number":1098,"context_line":"function configure_client_for {"},{"line_number":1099,"context_line":"    # keystoneauth auth plugin options"},{"line_number":1100,"context_line":"    iniset $IRONIC_CONF_FILE $1 auth_type password"},{"line_number":1101,"context_line":"    iniset $IRONIC_CONF_FILE $1 auth_url $KEYSTONE_SERVICE_URI"},{"line_number":1102,"context_line":"    iniset $IRONIC_CONF_FILE $1 username ironic"}],"source_content_type":"application/x-shellscript","patch_set":14,"id":"5f201791_26f404cf","line":1099,"in_reply_to":"5f201791_9bbfc1fa","updated":"2017-06-22 12:41:35.000000000","message":"Done","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"9ede4fe386452c487b82618a205bd788539a8052","unresolved":false,"context_lines":[{"line_number":1096,"context_line":"# Sets options to instantiate clients for other services"},{"line_number":1097,"context_line":"# single argument - config section to fill"},{"line_number":1098,"context_line":"function configure_client_for {"},{"line_number":1099,"context_line":"    # keystoneauth auth plugin options"},{"line_number":1100,"context_line":"    iniset $IRONIC_CONF_FILE $1 auth_type password"},{"line_number":1101,"context_line":"    iniset $IRONIC_CONF_FILE $1 auth_url $KEYSTONE_SERVICE_URI"},{"line_number":1102,"context_line":"    iniset $IRONIC_CONF_FILE $1 username ironic"}],"source_content_type":"application/x-shellscript","patch_set":14,"id":"5f201791_fa9ea605","line":1099,"in_reply_to":"5f201791_9bbfc1fa","updated":"2017-06-22 08:44:27.000000000","message":"will do","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"9e693b8d60821a6ad0c9eeaeeac83c2e93601ca1","unresolved":false,"context_lines":[{"line_number":1096,"context_line":"# Sets options to instantiate clients for other services"},{"line_number":1097,"context_line":"# single argument - config section to fill"},{"line_number":1098,"context_line":"function configure_client_for {"},{"line_number":1099,"context_line":"    # keystoneauth auth plugin options"},{"line_number":1100,"context_line":"    iniset $IRONIC_CONF_FILE $1 auth_type password"},{"line_number":1101,"context_line":"    iniset $IRONIC_CONF_FILE $1 auth_url $KEYSTONE_SERVICE_URI"},{"line_number":1102,"context_line":"    iniset $IRONIC_CONF_FILE $1 username ironic"}],"source_content_type":"application/x-shellscript","patch_set":14,"id":"5f201791_9bbfc1fa","line":1099,"in_reply_to":"5f201791_adb8032a","updated":"2017-06-21 22:04:11.000000000","message":"+1, easier to read :-)","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"9e693b8d60821a6ad0c9eeaeeac83c2e93601ca1","unresolved":false,"context_lines":[{"line_number":1115,"context_line":"# Sets conductor specific settings."},{"line_number":1116,"context_line":"function configure_ironic_conductor {"},{"line_number":1117,"context_line":""},{"line_number":1118,"context_line":"    local client_sections\u003d\"neutron swift glance inspector cinder service_catalog\""},{"line_number":1119,"context_line":"    for conf_section in $client_sections; do"},{"line_number":1120,"context_line":"        configure_client_for $conf_section"},{"line_number":1121,"context_line":"    done"}],"source_content_type":"application/x-shellscript","patch_set":14,"id":"5f201791_fb5eb5e4","line":1118,"updated":"2017-06-21 22:04:11.000000000","message":"maybe add the comment back about why service_catalog is needed","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"e27e32c58b75115b7a47bc315e898ce3ccbe37a0","unresolved":false,"context_lines":[{"line_number":1115,"context_line":"# Sets conductor specific settings."},{"line_number":1116,"context_line":"function configure_ironic_conductor {"},{"line_number":1117,"context_line":""},{"line_number":1118,"context_line":"    local client_sections\u003d\"neutron swift glance inspector cinder service_catalog\""},{"line_number":1119,"context_line":"    for conf_section in $client_sections; do"},{"line_number":1120,"context_line":"        configure_client_for $conf_section"},{"line_number":1121,"context_line":"    done"}],"source_content_type":"application/x-shellscript","patch_set":14,"id":"5f201791_52afbae2","line":1118,"in_reply_to":"5f201791_fb5eb5e4","updated":"2017-06-22 12:41:35.000000000","message":"Done","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"9ede4fe386452c487b82618a205bd788539a8052","unresolved":false,"context_lines":[{"line_number":1115,"context_line":"# Sets conductor specific settings."},{"line_number":1116,"context_line":"function configure_ironic_conductor {"},{"line_number":1117,"context_line":""},{"line_number":1118,"context_line":"    local client_sections\u003d\"neutron swift glance inspector cinder service_catalog\""},{"line_number":1119,"context_line":"    for conf_section in $client_sections; do"},{"line_number":1120,"context_line":"        configure_client_for $conf_section"},{"line_number":1121,"context_line":"    done"}],"source_content_type":"application/x-shellscript","patch_set":14,"id":"5f201791_ba882ec6","line":1118,"in_reply_to":"5f201791_fb5eb5e4","updated":"2017-06-22 08:44:27.000000000","message":"will do","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"8b7aae441a6bf2d09378cfa868429733f0a7418d","unresolved":false,"context_lines":[{"line_number":1127,"context_line":""},{"line_number":1128,"context_line":"    # NOTE(pas-ha) service_catalog section is used to discover"},{"line_number":1129,"context_line":"    # ironic API endpoint from keystone catalog"},{"line_number":1130,"context_line":"    local client_sections\u003d\"neutron swift glance inspector cinder service_catalog\""},{"line_number":1131,"context_line":"    for conf_section in $client_sections; do"},{"line_number":1132,"context_line":"        configure_client_for $conf_section"},{"line_number":1133,"context_line":"    done"}],"source_content_type":"application/x-shellscript","patch_set":19,"id":"1f1a1f67_afaa3b16","line":1130,"updated":"2017-07-21 08:14:31.000000000","message":"this has to include \"storage\" now :)","commit_id":"663a3338dd5a080c811d50c23502a3baeddac115"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"cc87ee07aba8481cdb36904ce2aac84e43a7f938","unresolved":false,"context_lines":[{"line_number":1127,"context_line":""},{"line_number":1128,"context_line":"    # NOTE(pas-ha) service_catalog section is used to discover"},{"line_number":1129,"context_line":"    # ironic API endpoint from keystone catalog"},{"line_number":1130,"context_line":"    local client_sections\u003d\"neutron swift glance inspector cinder service_catalog\""},{"line_number":1131,"context_line":"    for conf_section in $client_sections; do"},{"line_number":1132,"context_line":"        configure_client_for $conf_section"},{"line_number":1133,"context_line":"    done"}],"source_content_type":"application/x-shellscript","patch_set":19,"id":"ff346bd7_8241d4ab","line":1130,"in_reply_to":"1f1a1f67_afaa3b16","updated":"2017-07-28 14:13:51.000000000","message":"has the \u0027cinder\u0027 group been renamed to \u0027storage\u0027? I do not see such group in the config sample and the code, just \u0027cinder\u0027...","commit_id":"663a3338dd5a080c811d50c23502a3baeddac115"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"8905ebcc2deac9a562f358f228a3af87c79351b3","unresolved":false,"context_lines":[{"line_number":1258,"context_line":"        get_or_create_service \"ironic\" \"baremetal\" \"Ironic baremetal provisioning service\""},{"line_number":1259,"context_line":"        get_or_create_endpoint \"baremetal\" \\"},{"line_number":1260,"context_line":"            \"$REGION_NAME\" \\"},{"line_number":1261,"context_line":"            \"$IRONIC_SERVICE_PROTOCOL://$IRONIC_HOSTPORT\""},{"line_number":1262,"context_line":""},{"line_number":1263,"context_line":"        # Create ironic service user"},{"line_number":1264,"context_line":"        # TODO(deva): make this work with the \u0027service\u0027 role"}],"source_content_type":"application/x-shellscript","patch_set":27,"id":"9f436f4f_ce6d499a","line":1261,"updated":"2017-08-21 16:25:49.000000000","message":"so, why don\u0027t we add an internal endpoint?","commit_id":"d411a5e9a82a26daf40bbfc5605798dac2745b5c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"5b4bba857a52dc4acd38182804a745da1565d272","unresolved":false,"context_lines":[{"line_number":1258,"context_line":"        get_or_create_service \"ironic\" \"baremetal\" \"Ironic baremetal provisioning service\""},{"line_number":1259,"context_line":"        get_or_create_endpoint \"baremetal\" \\"},{"line_number":1260,"context_line":"            \"$REGION_NAME\" \\"},{"line_number":1261,"context_line":"            \"$IRONIC_SERVICE_PROTOCOL://$IRONIC_HOSTPORT\""},{"line_number":1262,"context_line":""},{"line_number":1263,"context_line":"        # Create ironic service user"},{"line_number":1264,"context_line":"        # TODO(deva): make this work with the \u0027service\u0027 role"}],"source_content_type":"application/x-shellscript","patch_set":27,"id":"9f436f4f_72e1922a","line":1261,"in_reply_to":"9f436f4f_85015f07","updated":"2017-08-22 06:06:20.000000000","message":"and this way we also test that \u0027interfaces\u0027 as a list of interfaces to try in order of preference is working - we set [internal, public] by default.","commit_id":"d411a5e9a82a26daf40bbfc5605798dac2745b5c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"8ab20f21a536aa9cc4e9edd49ab4abcf80fb2cfe","unresolved":false,"context_lines":[{"line_number":1258,"context_line":"        get_or_create_service \"ironic\" \"baremetal\" \"Ironic baremetal provisioning service\""},{"line_number":1259,"context_line":"        get_or_create_endpoint \"baremetal\" \\"},{"line_number":1260,"context_line":"            \"$REGION_NAME\" \\"},{"line_number":1261,"context_line":"            \"$IRONIC_SERVICE_PROTOCOL://$IRONIC_HOSTPORT\""},{"line_number":1262,"context_line":""},{"line_number":1263,"context_line":"        # Create ironic service user"},{"line_number":1264,"context_line":"        # TODO(deva): make this work with the \u0027service\u0027 role"}],"source_content_type":"application/x-shellscript","patch_set":27,"id":"9f436f4f_85015f07","line":1261,"in_reply_to":"9f436f4f_ce6d499a","updated":"2017-08-21 17:34:40.000000000","message":"because noone else in devstack does any more..","commit_id":"d411a5e9a82a26daf40bbfc5605798dac2745b5c"}],"etc/ironic/ironic.conf.sample":[{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"9e693b8d60821a6ad0c9eeaeeac83c2e93601ca1","unresolved":false,"context_lines":[{"line_number":940,"context_line":""},{"line_number":941,"context_line":"# The default interface for endpoint URL discovery. (string"},{"line_number":942,"context_line":"# value)"},{"line_number":943,"context_line":"#interface \u003d \u003cNone\u003e"},{"line_number":944,"context_line":""},{"line_number":945,"context_line":"# PEM encoded client certificate key file (string value)"},{"line_number":946,"context_line":"#keyfile \u003d \u003cNone\u003e"}],"source_content_type":"application/octet-stream","patch_set":14,"id":"5f201791_fb3fd5d3","line":943,"updated":"2017-06-21 22:04:11.000000000","message":"i had assumed that the default interface would be public?","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"9ede4fe386452c487b82618a205bd788539a8052","unresolved":false,"context_lines":[{"line_number":940,"context_line":""},{"line_number":941,"context_line":"# The default interface for endpoint URL discovery. (string"},{"line_number":942,"context_line":"# value)"},{"line_number":943,"context_line":"#interface \u003d \u003cNone\u003e"},{"line_number":944,"context_line":""},{"line_number":945,"context_line":"# PEM encoded client certificate key file (string value)"},{"line_number":946,"context_line":"#keyfile \u003d \u003cNone\u003e"}],"source_content_type":"application/octet-stream","patch_set":14,"id":"5f201791_5aa91a79","line":943,"in_reply_to":"5f201791_49bcbadb","updated":"2017-06-22 08:44:27.000000000","message":"keystoneauth Adapter loading exports this with default of None.\nI\u0027m not sure what to do to force-override defaults for options registered by other libraries except for doing smth like what I\u0027m already doing for the service_type during conductor start.","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":2,"name":"Monty Taylor","email":"mordred@inaugust.com","username":"mordred"},"change_message_id":"b3b97d9205362a009116e2213060ad0f45a0fe73","unresolved":false,"context_lines":[{"line_number":940,"context_line":""},{"line_number":941,"context_line":"# The default interface for endpoint URL discovery. (string"},{"line_number":942,"context_line":"# value)"},{"line_number":943,"context_line":"#interface \u003d \u003cNone\u003e"},{"line_number":944,"context_line":""},{"line_number":945,"context_line":"# PEM encoded client certificate key file (string value)"},{"line_number":946,"context_line":"#keyfile \u003d \u003cNone\u003e"}],"source_content_type":"application/octet-stream","patch_set":14,"id":"5f201791_49bcbadb","line":943,"in_reply_to":"5f201791_fb3fd5d3","updated":"2017-06-22 04:12:06.000000000","message":"It is - although re: comment in commit message- I think Ironic likely wants to default the value of this to \"internal,public\" as soon as we get that support landed to KSA (hopefully next week)","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"9e693b8d60821a6ad0c9eeaeeac83c2e93601ca1","unresolved":false,"context_lines":[{"line_number":977,"context_line":""},{"line_number":978,"context_line":"# The default service_type for endpoint URL discovery. (string"},{"line_number":979,"context_line":"# value)"},{"line_number":980,"context_line":"#service_type \u003d \u003cNone\u003e"},{"line_number":981,"context_line":""},{"line_number":982,"context_line":"# Tenant ID (string value)"},{"line_number":983,"context_line":"#tenant_id \u003d \u003cNone\u003e"}],"source_content_type":"application/octet-stream","patch_set":14,"id":"5f201791_1b3bb1eb","line":980,"updated":"2017-06-21 22:04:11.000000000","message":"don\u0027t we want this to show as default eg \u0027#service_type \u003d volumev3\u0027 ?","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":2,"name":"Monty Taylor","email":"mordred@inaugust.com","username":"mordred"},"change_message_id":"b3b97d9205362a009116e2213060ad0f45a0fe73","unresolved":false,"context_lines":[{"line_number":977,"context_line":""},{"line_number":978,"context_line":"# The default service_type for endpoint URL discovery. (string"},{"line_number":979,"context_line":"# value)"},{"line_number":980,"context_line":"#service_type \u003d \u003cNone\u003e"},{"line_number":981,"context_line":""},{"line_number":982,"context_line":"# Tenant ID (string value)"},{"line_number":983,"context_line":"#tenant_id \u003d \u003cNone\u003e"}],"source_content_type":"application/octet-stream","patch_set":14,"id":"5f201791_29c17e55","line":980,"in_reply_to":"5f201791_1b3bb1eb","updated":"2017-06-22 04:12:06.000000000","message":"Default should be \"block-storage\"","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"9ede4fe386452c487b82618a205bd788539a8052","unresolved":false,"context_lines":[{"line_number":977,"context_line":""},{"line_number":978,"context_line":"# The default service_type for endpoint URL discovery. (string"},{"line_number":979,"context_line":"# value)"},{"line_number":980,"context_line":"#service_type \u003d \u003cNone\u003e"},{"line_number":981,"context_line":""},{"line_number":982,"context_line":"# Tenant ID (string value)"},{"line_number":983,"context_line":"#tenant_id \u003d \u003cNone\u003e"}],"source_content_type":"application/octet-stream","patch_set":14,"id":"5f201791_7ac5f63b","line":980,"in_reply_to":"5f201791_1b3bb1eb","updated":"2017-06-22 08:44:27.000000000","message":"again, I could somehow hack the load_opts() for config generator to pass in all the actual defaults we are setting here.","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"9ede4fe386452c487b82618a205bd788539a8052","unresolved":false,"context_lines":[{"line_number":977,"context_line":""},{"line_number":978,"context_line":"# The default service_type for endpoint URL discovery. (string"},{"line_number":979,"context_line":"# value)"},{"line_number":980,"context_line":"#service_type \u003d \u003cNone\u003e"},{"line_number":981,"context_line":""},{"line_number":982,"context_line":"# Tenant ID (string value)"},{"line_number":983,"context_line":"#tenant_id \u003d \u003cNone\u003e"}],"source_content_type":"application/octet-stream","patch_set":14,"id":"5f201791_da040a7e","line":980,"in_reply_to":"5f201791_29c17e55","updated":"2017-06-22 08:44:27.000000000","message":"not really, as the boot-from-volume work AFAIK heavily depends on Cinder V3.\n\nUntil there is a unified framework for API version discovery for services by Adapters, I think we should stick to volumev3 by default.","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"}],"ironic/cmd/conductor.py":[{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"d1721642cac51041ef2fba20233dc38d585e44ea","unresolved":false,"context_lines":[{"line_number":53,"context_line":"                        \"keystone catalog. \""},{"line_number":54,"context_line":"                        \"Backward compatible handling of these options \""},{"line_number":55,"context_line":"                        \"defaults will be removed in the Queens release.\","},{"line_number":56,"context_line":"                        section)"},{"line_number":57,"context_line":"        conf.set_default(\u0027service_type\u0027, _SERVICE_TYPES_MAP[section],"},{"line_number":58,"context_line":"                         group\u003dsection)"},{"line_number":59,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"bf091321_3fae79e7","line":56,"updated":"2017-06-08 09:38:58.000000000","message":"wrong logging formatting","commit_id":"9787b4c4b0da30aab8662c1951aa06901257c49d"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"97e0196dd38d46e3d397364272d4226d0e94bd4d","unresolved":false,"context_lines":[{"line_number":53,"context_line":"                        \"in the keystone catalog. \""},{"line_number":54,"context_line":"                        \"Backward compatible handling of these options \""},{"line_number":55,"context_line":"                        \"defaults will be removed in the Queens release.\","},{"line_number":56,"context_line":"                        section)"},{"line_number":57,"context_line":"        conf.set_default(\u0027service_type\u0027, _SERVICE_TYPES_MAP[section],"},{"line_number":58,"context_line":"                         group\u003dsection)"},{"line_number":59,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"9f0e0f27_660920dc","line":56,"updated":"2017-06-09 10:00:38.000000000","message":"I strongly disagree with this. We do need the names of the services we are going to deal with. In 99% of cases people will not have to change e.g. [cinder]service_type. Please keep providing default here.","commit_id":"cb15a2521486935f7988851a51b8e8b667fc376d"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"1d56ae477e138201d41ca2e28aa32301e5a51f32","unresolved":false,"context_lines":[{"line_number":53,"context_line":"                        \"in the keystone catalog. \""},{"line_number":54,"context_line":"                        \"Backward compatible handling of these options \""},{"line_number":55,"context_line":"                        \"defaults will be removed in the Queens release.\","},{"line_number":56,"context_line":"                        section)"},{"line_number":57,"context_line":"        conf.set_default(\u0027service_type\u0027, _SERVICE_TYPES_MAP[section],"},{"line_number":58,"context_line":"                         group\u003dsection)"},{"line_number":59,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"9f0e0f27_d1c42443","line":56,"in_reply_to":"9f0e0f27_1194dc43","updated":"2017-06-09 10:46:26.000000000","message":"it should be DEBUG, if anything, I think. INFO is for unit of works that are important for operation.","commit_id":"cb15a2521486935f7988851a51b8e8b667fc376d"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"4e5af9583ed6833f7f7145ce994e8a22d60ce998","unresolved":false,"context_lines":[{"line_number":53,"context_line":"                        \"in the keystone catalog. \""},{"line_number":54,"context_line":"                        \"Backward compatible handling of these options \""},{"line_number":55,"context_line":"                        \"defaults will be removed in the Queens release.\","},{"line_number":56,"context_line":"                        section)"},{"line_number":57,"context_line":"        conf.set_default(\u0027service_type\u0027, _SERVICE_TYPES_MAP[section],"},{"line_number":58,"context_line":"                         group\u003dsection)"},{"line_number":59,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"9f0e0f27_1194dc43","line":56,"in_reply_to":"9f0e0f27_660920dc","updated":"2017-06-09 10:43:06.000000000","message":"yes, AFAIR all clients have a default for those in the clients themselves.\n\nI still think we need a log here to indicate we are changing the config at runtime, probably INFO would suffice.","commit_id":"cb15a2521486935f7988851a51b8e8b667fc376d"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"e6677da13a7edc7d844cc38bcc1f8d7b27c4ae4f","unresolved":false,"context_lines":[{"line_number":53,"context_line":"                        \"in the keystone catalog. \""},{"line_number":54,"context_line":"                        \"Backward compatible handling of these options \""},{"line_number":55,"context_line":"                        \"defaults will be removed in the Queens release.\","},{"line_number":56,"context_line":"                        section)"},{"line_number":57,"context_line":"        conf.set_default(\u0027service_type\u0027, _SERVICE_TYPES_MAP[section],"},{"line_number":58,"context_line":"                         group\u003dsection)"},{"line_number":59,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"9f0e0f27_59d036ca","line":56,"in_reply_to":"9f0e0f27_d1c42443","updated":"2017-06-09 14:14:46.000000000","message":"Ok, debug it will be :)","commit_id":"cb15a2521486935f7988851a51b8e8b667fc376d"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"5396ac94924300d72f8ec806aeb339e33b668429","unresolved":false,"context_lines":[{"line_number":53,"context_line":"                        \"in the keystone catalog. \""},{"line_number":54,"context_line":"                        \"Backward compatible handling of these options \""},{"line_number":55,"context_line":"                        \"defaults will be removed in the Queens release.\","},{"line_number":56,"context_line":"                        section)"},{"line_number":57,"context_line":"        conf.set_default(\u0027service_type\u0027, _SERVICE_TYPES_MAP[section],"},{"line_number":58,"context_line":"                         group\u003dsection)"},{"line_number":59,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"9f0e0f27_f6903951","line":56,"in_reply_to":"9f0e0f27_d1c42443","updated":"2017-06-09 14:11:53.000000000","message":"Ok, debug it will be :)","commit_id":"cb15a2521486935f7988851a51b8e8b667fc376d"},{"author":{"_account_id":2,"name":"Monty Taylor","email":"mordred@inaugust.com","username":"mordred"},"change_message_id":"b3b97d9205362a009116e2213060ad0f45a0fe73","unresolved":false,"context_lines":[{"line_number":40,"context_line":"                      \u0027glance\u0027: \u0027image\u0027,"},{"line_number":41,"context_line":"                      \u0027swift\u0027: \u0027object-store\u0027,"},{"line_number":42,"context_line":"                      \u0027inspector\u0027: \u0027baremetal-introspection\u0027,"},{"line_number":43,"context_line":"                      \u0027cinder\u0027: \u0027volumev3\u0027}"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"def set_default_service_types(conf):"}],"source_content_type":"text/x-python","patch_set":14,"id":"5f201791_a9cc6e89","line":43,"updated":"2017-06-22 04:12:06.000000000","message":"As soon as we land the ksa patch for doing service-type-aliases, this should be block-storage, fwiw.","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"9ede4fe386452c487b82618a205bd788539a8052","unresolved":false,"context_lines":[{"line_number":40,"context_line":"                      \u0027glance\u0027: \u0027image\u0027,"},{"line_number":41,"context_line":"                      \u0027swift\u0027: \u0027object-store\u0027,"},{"line_number":42,"context_line":"                      \u0027inspector\u0027: \u0027baremetal-introspection\u0027,"},{"line_number":43,"context_line":"                      \u0027cinder\u0027: \u0027volumev3\u0027}"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"def set_default_service_types(conf):"}],"source_content_type":"text/x-python","patch_set":14,"id":"5f201791_9aae922c","line":43,"in_reply_to":"5f201791_a9cc6e89","updated":"2017-06-22 08:44:27.000000000","message":"again, our cinder integration AFAIK heavily depends on Cinder V3 being available, so not sure what to do here","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"9e693b8d60821a6ad0c9eeaeeac83c2e93601ca1","unresolved":false,"context_lines":[{"line_number":51,"context_line":"                             group\u003dsection)"},{"line_number":52,"context_line":"            changed.append(section)"},{"line_number":53,"context_line":"    if changed:"},{"line_number":54,"context_line":"        LOG.debug(\"Default value for option \u0027service_type\u0027 in sections %s \""},{"line_number":55,"context_line":"                  \"was changed.\", \u0027, \u0027.join(changed))"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":""}],"source_content_type":"text/x-python","patch_set":14,"id":"5f201791_9b0221b4","line":54,"updated":"2017-06-21 22:04:11.000000000","message":"maybe s/option/configuration option/","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"e27e32c58b75115b7a47bc315e898ce3ccbe37a0","unresolved":false,"context_lines":[{"line_number":51,"context_line":"                             group\u003dsection)"},{"line_number":52,"context_line":"            changed.append(section)"},{"line_number":53,"context_line":"    if changed:"},{"line_number":54,"context_line":"        LOG.debug(\"Default value for option \u0027service_type\u0027 in sections %s \""},{"line_number":55,"context_line":"                  \"was changed.\", \u0027, \u0027.join(changed))"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":""}],"source_content_type":"text/x-python","patch_set":14,"id":"5f201791_b23a8e95","line":54,"in_reply_to":"5f201791_9b0221b4","updated":"2017-06-22 12:41:35.000000000","message":"Done","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"9ede4fe386452c487b82618a205bd788539a8052","unresolved":false,"context_lines":[{"line_number":51,"context_line":"                             group\u003dsection)"},{"line_number":52,"context_line":"            changed.append(section)"},{"line_number":53,"context_line":"    if changed:"},{"line_number":54,"context_line":"        LOG.debug(\"Default value for option \u0027service_type\u0027 in sections %s \""},{"line_number":55,"context_line":"                  \"was changed.\", \u0027, \u0027.join(changed))"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":""}],"source_content_type":"text/x-python","patch_set":14,"id":"5f201791_5aa8fa1d","line":54,"in_reply_to":"5f201791_9b0221b4","updated":"2017-06-22 08:44:27.000000000","message":"will do.","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"9e693b8d60821a6ad0c9eeaeeac83c2e93601ca1","unresolved":false,"context_lines":[{"line_number":52,"context_line":"            changed.append(section)"},{"line_number":53,"context_line":"    if changed:"},{"line_number":54,"context_line":"        LOG.debug(\"Default value for option \u0027service_type\u0027 in sections %s \""},{"line_number":55,"context_line":"                  \"was changed.\", \u0027, \u0027.join(changed))"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"def warn_about_unsafe_shred_parameters(conf):"}],"source_content_type":"text/x-python","patch_set":14,"id":"5f201791_7b74e535","line":55,"updated":"2017-06-21 22:04:11.000000000","message":"might be worth indicating what the values were changed to. Also, what was the original default value? You don\u0027t check that, you just set it. (I am showing that I don\u0027t know what is going on and why you need to change the default service type :-))","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"e27e32c58b75115b7a47bc315e898ce3ccbe37a0","unresolved":false,"context_lines":[{"line_number":52,"context_line":"            changed.append(section)"},{"line_number":53,"context_line":"    if changed:"},{"line_number":54,"context_line":"        LOG.debug(\"Default value for option \u0027service_type\u0027 in sections %s \""},{"line_number":55,"context_line":"                  \"was changed.\", \u0027, \u0027.join(changed))"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"def warn_about_unsafe_shred_parameters(conf):"}],"source_content_type":"text/x-python","patch_set":14,"id":"5f201791_7244f61b","line":55,"in_reply_to":"5f201791_7b74e535","updated":"2017-06-22 12:41:35.000000000","message":"Done","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"9ede4fe386452c487b82618a205bd788539a8052","unresolved":false,"context_lines":[{"line_number":52,"context_line":"            changed.append(section)"},{"line_number":53,"context_line":"    if changed:"},{"line_number":54,"context_line":"        LOG.debug(\"Default value for option \u0027service_type\u0027 in sections %s \""},{"line_number":55,"context_line":"                  \"was changed.\", \u0027, \u0027.join(changed))"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"def warn_about_unsafe_shred_parameters(conf):"}],"source_content_type":"text/x-python","patch_set":14,"id":"5f201791_b56961bf","line":55,"in_reply_to":"5f201791_7b74e535","updated":"2017-06-22 08:44:27.000000000","message":"defaults for all those as registered by keystoneauth Adapter are None.\n\nIn most cases this is more or less fine as most actual clients have some sane default for their respective service themselves when passed in service_type is None.\nException in [service_catalog] section, as we do not instantiate an actual ironic-client instance and just using the adapter for endpoint discovery, and thus need some sane default.","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"9e693b8d60821a6ad0c9eeaeeac83c2e93601ca1","unresolved":false,"context_lines":[{"line_number":76,"context_line":"def issue_startup_warnings(conf):"},{"line_number":77,"context_line":"    warn_about_unsafe_shred_parameters(conf)"},{"line_number":78,"context_line":"    warn_about_missing_default_boot_option(conf)"},{"line_number":79,"context_line":"    set_default_service_types(conf)"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"def main():"}],"source_content_type":"text/x-python","patch_set":14,"id":"5f201791_fb2c7548","line":79,"updated":"2017-06-21 22:04:11.000000000","message":"now issue_startup_warnings() is not *just* issuing warnings.\n\nMaybe change it to \u0027check_config_settings\u0027 ? Dunno...","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"9ede4fe386452c487b82618a205bd788539a8052","unresolved":false,"context_lines":[{"line_number":76,"context_line":"def issue_startup_warnings(conf):"},{"line_number":77,"context_line":"    warn_about_unsafe_shred_parameters(conf)"},{"line_number":78,"context_line":"    warn_about_missing_default_boot_option(conf)"},{"line_number":79,"context_line":"    set_default_service_types(conf)"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"def main():"}],"source_content_type":"text/x-python","patch_set":14,"id":"5f201791_b5ae01e5","line":79,"in_reply_to":"5f201791_fb2c7548","updated":"2017-06-22 08:44:27.000000000","message":"\u0027pre-flight checks\" ? :)","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"8197578e069bec12e1580628bfe8f3eeea68c0fc","unresolved":false,"context_lines":[{"line_number":49,"context_line":"            conf.set_default(\u0027service_type\u0027, service_type,"},{"line_number":50,"context_line":"                             group\u003dsection)"},{"line_number":51,"context_line":"            LOG.debug(\"Default value for configuration option \u0027service_type\u0027 \""},{"line_number":52,"context_line":"                      \"in section %(section)s was changed \""},{"line_number":53,"context_line":"                      \"from None to %(stype)s.\","},{"line_number":54,"context_line":"                      {\u0027section\u0027: section, \u0027stype\u0027: service_type})"},{"line_number":55,"context_line":""}],"source_content_type":"text/x-python","patch_set":16,"id":"5f201791_5ca34c9f","line":52,"updated":"2017-06-22 14:10:06.000000000","message":"might be clearer as \u0027...for configuration option \u0027[%(section)s]/service_type was changed from ...\u0027","commit_id":"eba4d1f4f09db5c4d464a33a3e90a27627a5d421"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"8197578e069bec12e1580628bfe8f3eeea68c0fc","unresolved":false,"context_lines":[{"line_number":51,"context_line":"            LOG.debug(\"Default value for configuration option \u0027service_type\u0027 \""},{"line_number":52,"context_line":"                      \"in section %(section)s was changed \""},{"line_number":53,"context_line":"                      \"from None to %(stype)s.\","},{"line_number":54,"context_line":"                      {\u0027section\u0027: section, \u0027stype\u0027: service_type})"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"def warn_about_unsafe_shred_parameters(conf):"}],"source_content_type":"text/x-python","patch_set":16,"id":"5f201791_9fa55607","line":54,"updated":"2017-06-22 14:10:06.000000000","message":"so these configuration options don\u0027t show up in our .sample file. i don\u0027t think we should be doing this until they show up, otherwise it would be very confusing to the user.","commit_id":"eba4d1f4f09db5c4d464a33a3e90a27627a5d421"}],"ironic/common/keystone.py":[{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"9e693b8d60821a6ad0c9eeaeeac83c2e93601ca1","unresolved":false,"context_lines":[{"line_number":51,"context_line":""},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"@ks_exceptions"},{"line_number":54,"context_line":"def get_session(group, **session_kwargs):"},{"line_number":55,"context_line":"    return kaloading.load_session_from_conf_options("},{"line_number":56,"context_line":"        CONF, group, **session_kwargs)"},{"line_number":57,"context_line":""}],"source_content_type":"text/x-python","patch_set":14,"id":"5f201791_9be461ae","line":54,"updated":"2017-06-21 22:04:11.000000000","message":"It would be nice to have docstrings for all of these, but I guess we never did that.","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"e27e32c58b75115b7a47bc315e898ce3ccbe37a0","unresolved":false,"context_lines":[{"line_number":51,"context_line":""},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"@ks_exceptions"},{"line_number":54,"context_line":"def get_session(group, **session_kwargs):"},{"line_number":55,"context_line":"    return kaloading.load_session_from_conf_options("},{"line_number":56,"context_line":"        CONF, group, **session_kwargs)"},{"line_number":57,"context_line":""}],"source_content_type":"text/x-python","patch_set":14,"id":"5f201791_92b2f2e5","line":54,"in_reply_to":"5f201791_9be461ae","updated":"2017-06-22 12:41:35.000000000","message":"Done","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"9ede4fe386452c487b82618a205bd788539a8052","unresolved":false,"context_lines":[{"line_number":51,"context_line":""},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"@ks_exceptions"},{"line_number":54,"context_line":"def get_session(group, **session_kwargs):"},{"line_number":55,"context_line":"    return kaloading.load_session_from_conf_options("},{"line_number":56,"context_line":"        CONF, group, **session_kwargs)"},{"line_number":57,"context_line":""}],"source_content_type":"text/x-python","patch_set":14,"id":"5f201791_75b86929","line":54,"in_reply_to":"5f201791_9be461ae","updated":"2017-06-22 08:44:27.000000000","message":"will add","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"9e693b8d60821a6ad0c9eeaeeac83c2e93601ca1","unresolved":false,"context_lines":[{"line_number":74,"context_line":""},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"def get_endpoint_auth(endpoint, token\u003dNone):"},{"line_number":77,"context_line":"    \"\"\"Auth provider to use with token and endpoint_url."},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"    If token is None, noauth mode is assumed and token is set to \u0027notused\u0027."},{"line_number":80,"context_line":"    \"\"\""}],"source_content_type":"text/x-python","patch_set":14,"id":"5f201791_bb695d26","line":77,"updated":"2017-06-21 22:04:11.000000000","message":"by \u0027endpoint_url\u0027, you mean the parameter \u0027endpoint\u0027?","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"e27e32c58b75115b7a47bc315e898ce3ccbe37a0","unresolved":false,"context_lines":[{"line_number":74,"context_line":""},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"def get_endpoint_auth(endpoint, token\u003dNone):"},{"line_number":77,"context_line":"    \"\"\"Auth provider to use with token and endpoint_url."},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"    If token is None, noauth mode is assumed and token is set to \u0027notused\u0027."},{"line_number":80,"context_line":"    \"\"\""}],"source_content_type":"text/x-python","patch_set":14,"id":"5f201791_72b516cd","line":77,"in_reply_to":"5f201791_bb695d26","updated":"2017-06-22 12:41:35.000000000","message":"Done","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"9ede4fe386452c487b82618a205bd788539a8052","unresolved":false,"context_lines":[{"line_number":74,"context_line":""},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"def get_endpoint_auth(endpoint, token\u003dNone):"},{"line_number":77,"context_line":"    \"\"\"Auth provider to use with token and endpoint_url."},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"    If token is None, noauth mode is assumed and token is set to \u0027notused\u0027."},{"line_number":80,"context_line":"    \"\"\""}],"source_content_type":"text/x-python","patch_set":14,"id":"5f201791_3584315e","line":77,"in_reply_to":"5f201791_bb695d26","updated":"2017-06-22 08:44:27.000000000","message":"yes, will change the docstring","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"9e693b8d60821a6ad0c9eeaeeac83c2e93601ca1","unresolved":false,"context_lines":[{"line_number":85,"context_line":"def adapter_to_client(adapter):"},{"line_number":86,"context_line":"    params \u003d (\u0027service_type\u0027, \u0027service_name\u0027, \u0027region_name\u0027,"},{"line_number":87,"context_line":"              \u0027interface\u0027, \u0027endpoint_override\u0027)"},{"line_number":88,"context_line":"    return {p: getattr(adapter, p) for p in params}"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"# TODO(pas-ha) move all clients to sessions, then we do not need this"}],"source_content_type":"text/x-python","patch_set":14,"id":"5f201791_3bcc2d34","line":88,"updated":"2017-06-21 22:04:11.000000000","message":"I\u0027m not sure why you need this (maybe i will find out as i continue), but would be good to have a docstring describing what this is doing.","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"e27e32c58b75115b7a47bc315e898ce3ccbe37a0","unresolved":false,"context_lines":[{"line_number":85,"context_line":"def adapter_to_client(adapter):"},{"line_number":86,"context_line":"    params \u003d (\u0027service_type\u0027, \u0027service_name\u0027, \u0027region_name\u0027,"},{"line_number":87,"context_line":"              \u0027interface\u0027, \u0027endpoint_override\u0027)"},{"line_number":88,"context_line":"    return {p: getattr(adapter, p) for p in params}"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"# TODO(pas-ha) move all clients to sessions, then we do not need this"}],"source_content_type":"text/x-python","patch_set":14,"id":"5f201791_52cc5a69","line":88,"in_reply_to":"5f201791_3bcc2d34","updated":"2017-06-22 12:41:35.000000000","message":"Done","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"9ede4fe386452c487b82618a205bd788539a8052","unresolved":false,"context_lines":[{"line_number":85,"context_line":"def adapter_to_client(adapter):"},{"line_number":86,"context_line":"    params \u003d (\u0027service_type\u0027, \u0027service_name\u0027, \u0027region_name\u0027,"},{"line_number":87,"context_line":"              \u0027interface\u0027, \u0027endpoint_override\u0027)"},{"line_number":88,"context_line":"    return {p: getattr(adapter, p) for p in params}"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"# TODO(pas-ha) move all clients to sessions, then we do not need this"}],"source_content_type":"text/x-python","patch_set":14,"id":"5f201791_bda147ac","line":88,"in_reply_to":"5f201791_3bcc2d34","updated":"2017-06-22 08:44:27.000000000","message":"Will add.\n\nBasically the problem is that keystoneauth Adapter loading is always loading an instance of keystoneauth.adapter.Adapter class.\n\nBut all the \u0027good\u0027 clients implement their SessionClient as subclass of Adapter, and I know of no client that would accept \u0027adapter\u0027 kwarg to re-use an existing one. So I need to decompose all the options loaded from config back to kwarg options understood by SessionClient\n\nBesides, some clients (looking at you, swiftclient and inspectorclient) do not have Adapter-based SessionClient at all, and have their own way of supporting these options.","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"d4a6c73c6a64c8288f41c48d062a78fa7e4480bc","unresolved":false,"context_lines":[{"line_number":128,"context_line":"    return {p: getattr(adapter, p) for p in params}"},{"line_number":129,"context_line":""},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"# NOTE(pas-ha) Used by neutronclient only"},{"line_number":132,"context_line":"# FIXME(pas-ha) remove this while moving to kesytoneauth adapters"},{"line_number":133,"context_line":"@ks_exceptions"},{"line_number":134,"context_line":"def get_service_url(session, **kwargs):"}],"source_content_type":"text/x-python","patch_set":20,"id":"df3967d1_cc9d5158","line":131,"range":{"start_line":131,"start_character":0,"end_line":131,"end_character":41},"updated":"2017-08-01 17:37:55.000000000","message":"Is this true?  Not also for glance (ironic.common.glance_service.service_utils._get_api_server_iterator)?","commit_id":"4ebbb853827fb69e40879a15f9117677de5a25da"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"82b6f48e8ff2d4a95741f6f7902305ddbd6573bb","unresolved":false,"context_lines":[{"line_number":128,"context_line":"    return {p: getattr(adapter, p) for p in params}"},{"line_number":129,"context_line":""},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"# NOTE(pas-ha) Used by neutronclient only"},{"line_number":132,"context_line":"# FIXME(pas-ha) remove this while moving to kesytoneauth adapters"},{"line_number":133,"context_line":"@ks_exceptions"},{"line_number":134,"context_line":"def get_service_url(session, **kwargs):"}],"source_content_type":"text/x-python","patch_set":20,"id":"df3967d1_8d2847e2","line":131,"range":{"start_line":131,"start_character":0,"end_line":131,"end_character":41},"in_reply_to":"df3967d1_cc9d5158","updated":"2017-08-02 13:44:04.000000000","message":"apparently yes, but it will be removed in the next patch that reworks glance-related code.","commit_id":"4ebbb853827fb69e40879a15f9117677de5a25da"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"d4a6c73c6a64c8288f41c48d062a78fa7e4480bc","unresolved":false,"context_lines":[{"line_number":145,"context_line":""},{"line_number":146,"context_line":"    if \u0027interface\u0027 in kwargs:"},{"line_number":147,"context_line":"        return session.get_endpoint(**kwargs)"},{"line_number":148,"context_line":"    try:"},{"line_number":149,"context_line":"        return session.get_endpoint(interface\u003d\u0027internal\u0027, **kwargs)"},{"line_number":150,"context_line":"    except kaexception.EndpointNotFound:"},{"line_number":151,"context_line":"        return session.get_endpoint(interface\u003d\u0027public\u0027, **kwargs)"}],"source_content_type":"text/x-python","patch_set":20,"id":"df3967d1_4c8de12f","line":151,"range":{"start_line":148,"start_character":0,"end_line":151,"end_character":65},"updated":"2017-08-01 17:37:55.000000000","message":"As of ksa 3.1.0, you can pass a list to the interface kwarg, so you can do this in one shot:\n\n return session.get_endpoint(interface\u003d[\u0027internal\u0027, \u0027public\u0027], **kwargs)","commit_id":"4ebbb853827fb69e40879a15f9117677de5a25da"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"82b6f48e8ff2d4a95741f6f7902305ddbd6573bb","unresolved":false,"context_lines":[{"line_number":145,"context_line":""},{"line_number":146,"context_line":"    if \u0027interface\u0027 in kwargs:"},{"line_number":147,"context_line":"        return session.get_endpoint(**kwargs)"},{"line_number":148,"context_line":"    try:"},{"line_number":149,"context_line":"        return session.get_endpoint(interface\u003d\u0027internal\u0027, **kwargs)"},{"line_number":150,"context_line":"    except kaexception.EndpointNotFound:"},{"line_number":151,"context_line":"        return session.get_endpoint(interface\u003d\u0027public\u0027, **kwargs)"}],"source_content_type":"text/x-python","patch_set":20,"id":"df3967d1_ad3e6bd7","line":151,"range":{"start_line":148,"start_character":0,"end_line":151,"end_character":65},"in_reply_to":"df3967d1_4c8de12f","updated":"2017-08-02 13:44:04.000000000","message":"nice, will change","commit_id":"4ebbb853827fb69e40879a15f9117677de5a25da"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"ae7631073829a8888d697f79192ec1f0869a5057","unresolved":false,"context_lines":[{"line_number":106,"context_line":"def get_endpoint_auth(endpoint, token\u003dNone):"},{"line_number":107,"context_line":"    \"\"\"Auth provider to use with token and endpoint."},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"    If token is None, noauth mode is assumed and token is set to \u0027notused\u0027."},{"line_number":110,"context_line":"    \"\"\""},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"    return token_endpoint.Token(endpoint, token\u003dtoken or \u0027notused\u0027)"}],"source_content_type":"text/x-python","patch_set":22,"id":"df3967d1_9e0b8ad4","line":109,"range":{"start_line":109,"start_character":4,"end_line":109,"end_character":20},"updated":"2017-08-04 10:13:54.000000000","message":"Should we even consider a case when this is used for keystone token auth (in case of usage by ironic to initialize all the service clients)? As it won\u0027t reauthenticate. Why not always set \u0027notused\u0027 here and be explicit?","commit_id":"27a0351c6bc29f236bc42daebc49a496c11d5353"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"0ecb77e9565f7ead302e9c59c02cfda2de85575c","unresolved":false,"context_lines":[{"line_number":106,"context_line":"def get_endpoint_auth(endpoint, token\u003dNone):"},{"line_number":107,"context_line":"    \"\"\"Auth provider to use with token and endpoint."},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"    If token is None, noauth mode is assumed and token is set to \u0027notused\u0027."},{"line_number":110,"context_line":"    \"\"\""},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"    return token_endpoint.Token(endpoint, token\u003dtoken or \u0027notused\u0027)"}],"source_content_type":"text/x-python","patch_set":22,"id":"df3967d1_b90668cd","line":109,"range":{"start_line":109,"start_character":4,"end_line":109,"end_character":20},"in_reply_to":"df3967d1_9e0b8ad4","updated":"2017-08-04 10:47:21.000000000","message":"This function will be solely used to create an auth pligin to use for client with token from API user request, loading auth from config is working separately.\n\nI probably should add a comment to this regard.","commit_id":"27a0351c6bc29f236bc42daebc49a496c11d5353"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"ae7631073829a8888d697f79192ec1f0869a5057","unresolved":false,"context_lines":[{"line_number":124,"context_line":"    back to arguments that a SessionClient can understand."},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"    \"\"\""},{"line_number":127,"context_line":"    params \u003d (\u0027service_type\u0027, \u0027service_name\u0027, \u0027region_name\u0027,"},{"line_number":128,"context_line":"              \u0027interface\u0027, \u0027endpoint_override\u0027)"},{"line_number":129,"context_line":"    return {p: getattr(adapter, p) for p in params}"},{"line_number":130,"context_line":""}],"source_content_type":"text/x-python","patch_set":22,"id":"df3967d1_7e8106fb","line":127,"updated":"2017-08-04 10:13:54.000000000","message":"why not include version arguments here as we anyway include those in config? they should be passed through to the adapter constructor underlying the session client","commit_id":"27a0351c6bc29f236bc42daebc49a496c11d5353"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"0ecb77e9565f7ead302e9c59c02cfda2de85575c","unresolved":false,"context_lines":[{"line_number":124,"context_line":"    back to arguments that a SessionClient can understand."},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"    \"\"\""},{"line_number":127,"context_line":"    params \u003d (\u0027service_type\u0027, \u0027service_name\u0027, \u0027region_name\u0027,"},{"line_number":128,"context_line":"              \u0027interface\u0027, \u0027endpoint_override\u0027)"},{"line_number":129,"context_line":"    return {p: getattr(adapter, p) for p in params}"},{"line_number":130,"context_line":""}],"source_content_type":"text/x-python","patch_set":22,"id":"df3967d1_39fa78bc","line":127,"in_reply_to":"df3967d1_7e8106fb","updated":"2017-08-04 10:47:21.000000000","message":"nice catch, will add","commit_id":"27a0351c6bc29f236bc42daebc49a496c11d5353"}],"ironic/common/neutron.py":[{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"c162c38b9f599bdc055bc1d1fbc9c1c58f58333b","unresolved":false,"context_lines":[{"line_number":57,"context_line":"            if url:"},{"line_number":58,"context_line":"                params[\u0027endpoint_override\u0027] \u003d url"},{"line_number":59,"context_line":"            else:"},{"line_number":60,"context_line":"                params[\u0027region_name\u0027] \u003d CONF.keystone.region_name"},{"line_number":61,"context_line":"        else:"},{"line_number":62,"context_line":"            params[\u0027token\u0027] \u003d token"},{"line_number":63,"context_line":"            params[\u0027endpoint_url\u0027] \u003d url or session.get_endpoint("}],"source_content_type":"text/x-python","patch_set":14,"id":"5f201791_165ca87c","line":60,"updated":"2017-06-21 22:30:32.000000000","message":"what about using CONF.neutron.region_name?","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":2,"name":"Monty Taylor","email":"mordred@inaugust.com","username":"mordred"},"change_message_id":"b3b97d9205362a009116e2213060ad0f45a0fe73","unresolved":false,"context_lines":[{"line_number":57,"context_line":"            if url:"},{"line_number":58,"context_line":"                params[\u0027endpoint_override\u0027] \u003d url"},{"line_number":59,"context_line":"            else:"},{"line_number":60,"context_line":"                params[\u0027region_name\u0027] \u003d CONF.keystone.region_name"},{"line_number":61,"context_line":"        else:"},{"line_number":62,"context_line":"            params[\u0027token\u0027] \u003d token"},{"line_number":63,"context_line":"            params[\u0027endpoint_url\u0027] \u003d url or session.get_endpoint("}],"source_content_type":"text/x-python","patch_set":14,"id":"5f201791_a9910e55","line":60,"in_reply_to":"5f201791_165ca87c","updated":"2017-06-22 04:12:06.000000000","message":"++","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"e27e32c58b75115b7a47bc315e898ce3ccbe37a0","unresolved":false,"context_lines":[{"line_number":57,"context_line":"            if url:"},{"line_number":58,"context_line":"                params[\u0027endpoint_override\u0027] \u003d url"},{"line_number":59,"context_line":"            else:"},{"line_number":60,"context_line":"                params[\u0027region_name\u0027] \u003d CONF.keystone.region_name"},{"line_number":61,"context_line":"        else:"},{"line_number":62,"context_line":"            params[\u0027token\u0027] \u003d token"},{"line_number":63,"context_line":"            params[\u0027endpoint_url\u0027] \u003d url or session.get_endpoint("}],"source_content_type":"text/x-python","patch_set":14,"id":"5f201791_925c327f","line":60,"in_reply_to":"5f201791_7db28fe8","updated":"2017-06-22 12:41:35.000000000","message":"ok, added a simple or to first try CONF.neutron.endpoint_override. Will be replaced to some extent in follow patches any way","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"9ede4fe386452c487b82618a205bd788539a8052","unresolved":false,"context_lines":[{"line_number":57,"context_line":"            if url:"},{"line_number":58,"context_line":"                params[\u0027endpoint_override\u0027] \u003d url"},{"line_number":59,"context_line":"            else:"},{"line_number":60,"context_line":"                params[\u0027region_name\u0027] \u003d CONF.keystone.region_name"},{"line_number":61,"context_line":"        else:"},{"line_number":62,"context_line":"            params[\u0027token\u0027] \u003d token"},{"line_number":63,"context_line":"            params[\u0027endpoint_url\u0027] \u003d url or session.get_endpoint("}],"source_content_type":"text/x-python","patch_set":14,"id":"5f201791_7db28fe8","line":60,"in_reply_to":"5f201791_a9910e55","updated":"2017-06-22 08:44:27.000000000","message":"that will be used in the follow up patch that actually rewrites this get_cient() method. See my other comment about \u0027chicken-and-egg\u0027 problem (could do all in a single patch, but that would be huge).","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"}],"ironic/conf/auth.py":[{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"d4a6c73c6a64c8288f41c48d062a78fa7e4480bc","unresolved":false,"context_lines":[{"line_number":63,"context_line":"        add_options(opts, kaloading.get_auth_plugin_conf_options(plugin))"},{"line_number":64,"context_line":"    add_options(opts, kaloading.get_session_conf_options())"},{"line_number":65,"context_line":"    if service_type:"},{"line_number":66,"context_line":"        adapter_opts \u003d kaloading.get_adapter_conf_options("},{"line_number":67,"context_line":"            include_deprecated\u003dFalse)"},{"line_number":68,"context_line":"        # adding defaults for valid interfaces"},{"line_number":69,"context_line":"        for o in adapter_opts:"},{"line_number":70,"context_line":"            if o.name \u003d\u003d \u0027valid-interfaces\u0027:"}],"source_content_type":"text/x-python","patch_set":20,"id":"df3967d1_ecf93580","line":67,"range":{"start_line":66,"start_character":58,"end_line":67,"end_character":36},"updated":"2017-08-01 17:37:55.000000000","message":"I\u0027m afraid this is busted until https://review.openstack.org/#/c/488568/ is released.  The workaround looks like this: https://review.openstack.org/#/c/488137/4/nova/conf/glance.py@156","commit_id":"4ebbb853827fb69e40879a15f9117677de5a25da"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"82b6f48e8ff2d4a95741f6f7902305ddbd6573bb","unresolved":false,"context_lines":[{"line_number":63,"context_line":"        add_options(opts, kaloading.get_auth_plugin_conf_options(plugin))"},{"line_number":64,"context_line":"    add_options(opts, kaloading.get_session_conf_options())"},{"line_number":65,"context_line":"    if service_type:"},{"line_number":66,"context_line":"        adapter_opts \u003d kaloading.get_adapter_conf_options("},{"line_number":67,"context_line":"            include_deprecated\u003dFalse)"},{"line_number":68,"context_line":"        # adding defaults for valid interfaces"},{"line_number":69,"context_line":"        for o in adapter_opts:"},{"line_number":70,"context_line":"            if o.name \u003d\u003d \u0027valid-interfaces\u0027:"}],"source_content_type":"text/x-python","patch_set":20,"id":"df3967d1_cd9f6f01","line":67,"range":{"start_line":66,"start_character":58,"end_line":67,"end_character":36},"in_reply_to":"df3967d1_ecf93580","updated":"2017-08-02 13:44:04.000000000","message":"I\u0027m not sure this affects us. This part is only listing the options to be put into the config file sample, so I\u0027m just hiding the deprecated \u0027interface\u0027 option here. At runtime it is still registered (L35 above). And even if not - the \u0027interface\u0027 option was not there before, and we do not advertize it it the config sample, so I doubt anybody would actually use it.","commit_id":"4ebbb853827fb69e40879a15f9117677de5a25da"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"d4a6c73c6a64c8288f41c48d062a78fa7e4480bc","unresolved":false,"context_lines":[{"line_number":66,"context_line":"        adapter_opts \u003d kaloading.get_adapter_conf_options("},{"line_number":67,"context_line":"            include_deprecated\u003dFalse)"},{"line_number":68,"context_line":"        # adding defaults for valid interfaces"},{"line_number":69,"context_line":"        for o in adapter_opts:"},{"line_number":70,"context_line":"            if o.name \u003d\u003d \u0027valid-interfaces\u0027:"},{"line_number":71,"context_line":"                o.default \u003d DEFAULT_VALID_INTERFACES"},{"line_number":72,"context_line":"            if o.name \u003d\u003d \u0027service-type\u0027:"},{"line_number":73,"context_line":"                o.default \u003d service_type"},{"line_number":74,"context_line":"        add_options(opts, adapter_opts)"},{"line_number":75,"context_line":"    opts.sort(key\u003dlambda x: x.name)"},{"line_number":76,"context_line":"    return opts"}],"source_content_type":"text/x-python","patch_set":20,"id":"df3967d1_ac4fadbb","line":73,"range":{"start_line":69,"start_character":0,"end_line":73,"end_character":40},"updated":"2017-08-01 17:37:55.000000000","message":"Use oslo_config.cfg.set_defaults","commit_id":"4ebbb853827fb69e40879a15f9117677de5a25da"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"82b6f48e8ff2d4a95741f6f7902305ddbd6573bb","unresolved":false,"context_lines":[{"line_number":66,"context_line":"        adapter_opts \u003d kaloading.get_adapter_conf_options("},{"line_number":67,"context_line":"            include_deprecated\u003dFalse)"},{"line_number":68,"context_line":"        # adding defaults for valid interfaces"},{"line_number":69,"context_line":"        for o in adapter_opts:"},{"line_number":70,"context_line":"            if o.name \u003d\u003d \u0027valid-interfaces\u0027:"},{"line_number":71,"context_line":"                o.default \u003d DEFAULT_VALID_INTERFACES"},{"line_number":72,"context_line":"            if o.name \u003d\u003d \u0027service-type\u0027:"},{"line_number":73,"context_line":"                o.default \u003d service_type"},{"line_number":74,"context_line":"        add_options(opts, adapter_opts)"},{"line_number":75,"context_line":"    opts.sort(key\u003dlambda x: x.name)"},{"line_number":76,"context_line":"    return opts"}],"source_content_type":"text/x-python","patch_set":20,"id":"df3967d1_cd464f7d","line":73,"range":{"start_line":69,"start_character":0,"end_line":73,"end_character":40},"in_reply_to":"df3967d1_ac4fadbb","updated":"2017-08-02 13:44:04.000000000","message":"indeed, will do.","commit_id":"4ebbb853827fb69e40879a15f9117677de5a25da"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"ae7631073829a8888d697f79192ec1f0869a5057","unresolved":false,"context_lines":[{"line_number":65,"context_line":"    add_options(opts, kaloading.get_session_conf_options())"},{"line_number":66,"context_line":"    if service_type:"},{"line_number":67,"context_line":"        adapter_opts \u003d kaloading.get_adapter_conf_options("},{"line_number":68,"context_line":"            include_deprecated\u003dFalse)"},{"line_number":69,"context_line":"        # adding defaults for valid interfaces"},{"line_number":70,"context_line":"        cfg.set_defaults(adapter_opts, service_type\u003dservice_type,"},{"line_number":71,"context_line":"                         valid_interfaces\u003dDEFAULT_VALID_INTERFACES)"}],"source_content_type":"text/x-python","patch_set":22,"id":"df3967d1_7eafc67c","line":68,"range":{"start_line":68,"start_character":31,"end_line":68,"end_character":36},"updated":"2017-08-04 10:13:54.000000000","message":"Why not include it in sample? We do register and accept the deprecated ones.","commit_id":"27a0351c6bc29f236bc42daebc49a496c11d5353"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"0ecb77e9565f7ead302e9c59c02cfda2de85575c","unresolved":false,"context_lines":[{"line_number":65,"context_line":"    add_options(opts, kaloading.get_session_conf_options())"},{"line_number":66,"context_line":"    if service_type:"},{"line_number":67,"context_line":"        adapter_opts \u003d kaloading.get_adapter_conf_options("},{"line_number":68,"context_line":"            include_deprecated\u003dFalse)"},{"line_number":69,"context_line":"        # adding defaults for valid interfaces"},{"line_number":70,"context_line":"        cfg.set_defaults(adapter_opts, service_type\u003dservice_type,"},{"line_number":71,"context_line":"                         valid_interfaces\u003dDEFAULT_VALID_INTERFACES)"}],"source_content_type":"text/x-python","patch_set":22,"id":"df3967d1_79da404b","line":68,"range":{"start_line":68,"start_character":31,"end_line":68,"end_character":36},"in_reply_to":"df3967d1_7eafc67c","updated":"2017-08-04 10:47:21.000000000","message":"we register/override defaults for the valid_interfaces implicitly, thus in interfaces is also provided, adapter loading will break. Also mordred on IRC advised to hide those.","commit_id":"27a0351c6bc29f236bc42daebc49a496c11d5353"}],"ironic/conf/conductor.py":[{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"9e693b8d60821a6ad0c9eeaeeac83c2e93601ca1","unresolved":false,"context_lines":[{"line_number":31,"context_line":"    cfg.URIOpt(\u0027api_url\u0027,"},{"line_number":32,"context_line":"               schemes\u003d(\u0027http\u0027, \u0027https\u0027),"},{"line_number":33,"context_line":"               deprecated_for_removal\u003dTrue,"},{"line_number":34,"context_line":"               deprecated_reason\u003d_(\"Use [service_catalog]endpoint_override \""},{"line_number":35,"context_line":"                                   \"option instead if required to use \""},{"line_number":36,"context_line":"                                   \"a specific ironic api address, \""},{"line_number":37,"context_line":"                                   \"for example in noauth mode.\"),"}],"source_content_type":"text/x-python","patch_set":14,"id":"5f201791_b66614ed","line":34,"updated":"2017-06-21 22:04:11.000000000","message":"nit s/[service_catalog]endpoint_override/[service_catalog]/endpoint_override/ (to be consistent with other descriptions)","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"9ede4fe386452c487b82618a205bd788539a8052","unresolved":false,"context_lines":[{"line_number":31,"context_line":"    cfg.URIOpt(\u0027api_url\u0027,"},{"line_number":32,"context_line":"               schemes\u003d(\u0027http\u0027, \u0027https\u0027),"},{"line_number":33,"context_line":"               deprecated_for_removal\u003dTrue,"},{"line_number":34,"context_line":"               deprecated_reason\u003d_(\"Use [service_catalog]endpoint_override \""},{"line_number":35,"context_line":"                                   \"option instead if required to use \""},{"line_number":36,"context_line":"                                   \"a specific ironic api address, \""},{"line_number":37,"context_line":"                                   \"for example in noauth mode.\"),"}],"source_content_type":"text/x-python","patch_set":14,"id":"5f201791_bd06e785","line":34,"in_reply_to":"5f201791_b66614ed","updated":"2017-06-22 08:44:27.000000000","message":"not really understand WDYM...","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"53d48197728b3112d1d580ca1fc2fec7799a3217","unresolved":false,"context_lines":[{"line_number":30,"context_line":"               help\u003d_(\u0027Seconds between conductor heart beats.\u0027)),"},{"line_number":31,"context_line":"    cfg.URIOpt(\u0027api_url\u0027,"},{"line_number":32,"context_line":"               schemes\u003d(\u0027http\u0027, \u0027https\u0027),"},{"line_number":33,"context_line":"               deprecated_for_removal\u003dTrue,"},{"line_number":34,"context_line":"               deprecated_reason\u003d_(\"Use [service_catalog]endpoint_override \""},{"line_number":35,"context_line":"                                   \"option instead if required to use \""},{"line_number":36,"context_line":"                                   \"a specific ironic api address, \""},{"line_number":37,"context_line":"                                   \"for example in noauth mode.\"),"},{"line_number":38,"context_line":"               help\u003d_(\u0027URL of Ironic API service. If not set ironic can \u0027"},{"line_number":39,"context_line":"                      \u0027get the current value from the keystone service \u0027"},{"line_number":40,"context_line":"                      \u0027catalog. If set, the value must start with either \u0027"}],"source_content_type":"text/x-python","patch_set":14,"id":"5f201791_4aa6f5c3","line":37,"range":{"start_line":33,"start_character":12,"end_line":37,"end_character":66},"updated":"2017-06-21 19:38:43.000000000","message":"nit: I\u0027m kind of -1 about removing this....  I also worry that endpoint_override won\u0027t speak to people hunting for how to configure ironic for a specific environment quite the same way. Partly, I feel this because it feels like a very widely used/needed option.","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"9e693b8d60821a6ad0c9eeaeeac83c2e93601ca1","unresolved":false,"context_lines":[{"line_number":30,"context_line":"               help\u003d_(\u0027Seconds between conductor heart beats.\u0027)),"},{"line_number":31,"context_line":"    cfg.URIOpt(\u0027api_url\u0027,"},{"line_number":32,"context_line":"               schemes\u003d(\u0027http\u0027, \u0027https\u0027),"},{"line_number":33,"context_line":"               deprecated_for_removal\u003dTrue,"},{"line_number":34,"context_line":"               deprecated_reason\u003d_(\"Use [service_catalog]endpoint_override \""},{"line_number":35,"context_line":"                                   \"option instead if required to use \""},{"line_number":36,"context_line":"                                   \"a specific ironic api address, \""},{"line_number":37,"context_line":"                                   \"for example in noauth mode.\"),"},{"line_number":38,"context_line":"               help\u003d_(\u0027URL of Ironic API service. If not set ironic can \u0027"},{"line_number":39,"context_line":"                      \u0027get the current value from the keystone service \u0027"},{"line_number":40,"context_line":"                      \u0027catalog. If set, the value must start with either \u0027"}],"source_content_type":"text/x-python","patch_set":14,"id":"5f201791_d612b058","line":37,"range":{"start_line":33,"start_character":12,"end_line":37,"end_character":66},"in_reply_to":"5f201791_4aa6f5c3","updated":"2017-06-21 22:04:11.000000000","message":"Hmm, seems like we almost want to alias this to [service_catalog] endpoint_override...","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"9ede4fe386452c487b82618a205bd788539a8052","unresolved":false,"context_lines":[{"line_number":30,"context_line":"               help\u003d_(\u0027Seconds between conductor heart beats.\u0027)),"},{"line_number":31,"context_line":"    cfg.URIOpt(\u0027api_url\u0027,"},{"line_number":32,"context_line":"               schemes\u003d(\u0027http\u0027, \u0027https\u0027),"},{"line_number":33,"context_line":"               deprecated_for_removal\u003dTrue,"},{"line_number":34,"context_line":"               deprecated_reason\u003d_(\"Use [service_catalog]endpoint_override \""},{"line_number":35,"context_line":"                                   \"option instead if required to use \""},{"line_number":36,"context_line":"                                   \"a specific ironic api address, \""},{"line_number":37,"context_line":"                                   \"for example in noauth mode.\"),"},{"line_number":38,"context_line":"               help\u003d_(\u0027URL of Ironic API service. If not set ironic can \u0027"},{"line_number":39,"context_line":"                      \u0027get the current value from the keystone service \u0027"},{"line_number":40,"context_line":"                      \u0027catalog. If set, the value must start with either \u0027"}],"source_content_type":"text/x-python","patch_set":14,"id":"5f201791_3d56575e","line":37,"range":{"start_line":33,"start_character":12,"end_line":37,"end_character":66},"in_reply_to":"5f201791_4aa6f5c3","updated":"2017-06-22 08:44:27.000000000","message":"yes, I understand that\u0027s a bit controversial, but could not find any better way to do it when unifying API discovery from catalog..\n\nJust for the record, I did not like the whole [service_catalog] name (was asked to create this new section for ironic self-discovering its own endpoint), and initially wanted to re-use [deploy] or [conductor] sections","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"9ede4fe386452c487b82618a205bd788539a8052","unresolved":false,"context_lines":[{"line_number":30,"context_line":"               help\u003d_(\u0027Seconds between conductor heart beats.\u0027)),"},{"line_number":31,"context_line":"    cfg.URIOpt(\u0027api_url\u0027,"},{"line_number":32,"context_line":"               schemes\u003d(\u0027http\u0027, \u0027https\u0027),"},{"line_number":33,"context_line":"               deprecated_for_removal\u003dTrue,"},{"line_number":34,"context_line":"               deprecated_reason\u003d_(\"Use [service_catalog]endpoint_override \""},{"line_number":35,"context_line":"                                   \"option instead if required to use \""},{"line_number":36,"context_line":"                                   \"a specific ironic api address, \""},{"line_number":37,"context_line":"                                   \"for example in noauth mode.\"),"},{"line_number":38,"context_line":"               help\u003d_(\u0027URL of Ironic API service. If not set ironic can \u0027"},{"line_number":39,"context_line":"                      \u0027get the current value from the keystone service \u0027"},{"line_number":40,"context_line":"                      \u0027catalog. If set, the value must start with either \u0027"}],"source_content_type":"text/x-python","patch_set":14,"id":"5f201791_3d3f7726","line":37,"range":{"start_line":33,"start_character":12,"end_line":37,"end_character":66},"in_reply_to":"5f201791_d612b058","updated":"2017-06-22 08:44:27.000000000","message":"as the \u0027endpoint_override\u0027 option is exported from essentially third-party lib, I\u0027m not sure how could I change defaults/aliases etc for such options","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"}],"ironic/conf/keystone.py":[{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"9e693b8d60821a6ad0c9eeaeeac83c2e93601ca1","unresolved":false,"context_lines":[{"line_number":19,"context_line":"opts \u003d ["},{"line_number":20,"context_line":"    cfg.StrOpt(\u0027region_name\u0027,"},{"line_number":21,"context_line":"               deprecated_for_removal\u003dTrue,"},{"line_number":22,"context_line":"               deprecated_reason\u003d_(\"Use \u0027region_name\u0027 option in a section for \""},{"line_number":23,"context_line":"                                   \"particular service client: \""},{"line_number":24,"context_line":"                                   \"[glance] for glance, \""},{"line_number":25,"context_line":"                                   \"[neutron] for neutron, \""}],"source_content_type":"text/x-python","patch_set":14,"id":"5f201791_f626ccb7","line":22,"updated":"2017-06-21 22:04:11.000000000","message":"nit s/in a section for/in the section for a particular service client/\n\nMaybe we don\u0027t even need \u0027client\u0027.","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"9ede4fe386452c487b82618a205bd788539a8052","unresolved":false,"context_lines":[{"line_number":19,"context_line":"opts \u003d ["},{"line_number":20,"context_line":"    cfg.StrOpt(\u0027region_name\u0027,"},{"line_number":21,"context_line":"               deprecated_for_removal\u003dTrue,"},{"line_number":22,"context_line":"               deprecated_reason\u003d_(\"Use \u0027region_name\u0027 option in a section for \""},{"line_number":23,"context_line":"                                   \"particular service client: \""},{"line_number":24,"context_line":"                                   \"[glance] for glance, \""},{"line_number":25,"context_line":"                                   \"[neutron] for neutron, \""}],"source_content_type":"text/x-python","patch_set":14,"id":"5f201791_c063f819","line":22,"in_reply_to":"5f201791_f626ccb7","updated":"2017-06-22 08:44:27.000000000","message":"will do","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"53d48197728b3112d1d580ca1fc2fec7799a3217","unresolved":false,"context_lines":[{"line_number":27,"context_line":"                                   \"[cinder] for cinder, \""},{"line_number":28,"context_line":"                                   \"[inspector] for ironic-inspector, \""},{"line_number":29,"context_line":"                                   \"[service_catalog] for ironic api \""},{"line_number":30,"context_line":"                                   \"discovery.\"),"},{"line_number":31,"context_line":"               help\u003d_(\u0027The region used for getting endpoints of OpenStack\u0027"},{"line_number":32,"context_line":"                      \u0027 services.\u0027)),"},{"line_number":33,"context_line":"]"}],"source_content_type":"text/x-python","patch_set":14,"id":"5f201791_aa4fc9bb","line":30,"updated":"2017-06-21 19:38:43.000000000","message":"\\o/","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"8197578e069bec12e1580628bfe8f3eeea68c0fc","unresolved":false,"context_lines":[{"line_number":27,"context_line":"                                   \"[cinder] for cinder, \""},{"line_number":28,"context_line":"                                   \"[inspector] for ironic-inspector, \""},{"line_number":29,"context_line":"                                   \"[service_catalog] for ironic api \""},{"line_number":30,"context_line":"                                   \"discovery.\"),"},{"line_number":31,"context_line":"               help\u003d_(\u0027The region used for getting endpoints of OpenStack\u0027"},{"line_number":32,"context_line":"                      \u0027 services.\u0027)),"},{"line_number":33,"context_line":"]"}],"source_content_type":"text/x-python","patch_set":16,"id":"5f201791_1f92669f","line":30,"updated":"2017-06-22 14:10:06.000000000","message":"the region_name config option only shows up for service_catalog, in our .sample file. So maybe reword it to indicate it is deprecated for that only? or ?? ugh. maybe deprecate it when we are using the new region_name configs.","commit_id":"eba4d1f4f09db5c4d464a33a3e90a27627a5d421"}],"ironic/drivers/modules/deploy_utils.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":"53d48197728b3112d1d580ca1fc2fec7799a3217","unresolved":false,"context_lines":[{"line_number":94,"context_line":"    \"\"\""},{"line_number":95,"context_line":"    # TODO(pas-ha) rework this after CONF.conductor.api_url is removed"},{"line_number":96,"context_line":"    # and \u0027none\u0027 auth plugin is available in keystoneauth"},{"line_number":97,"context_line":"    adapter_opts \u003d {\u0027session\u0027: _get_ironic_session()}"},{"line_number":98,"context_line":"    if CONF.conductor.api_url:"},{"line_number":99,"context_line":"        adapter_opts[\u0027endpoint_override\u0027] \u003d CONF.conductor.api_url"},{"line_number":100,"context_line":"    if CONF.auth_strategy \u003d\u003d \u0027keystone\u0027:"}],"source_content_type":"text/x-python","patch_set":14,"id":"5f201791_0a40fd55","line":97,"updated":"2017-06-21 19:38:43.000000000","message":"Firing up a session, and connecting to keystone, regardless of a url being defined seems like the wrong thing to do. It seems like we should check if the URL is defined in the config, for both options, and if not, then proceed with getting the session, auth, endpoint from keystone.","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"9ede4fe386452c487b82618a205bd788539a8052","unresolved":false,"context_lines":[{"line_number":94,"context_line":"    \"\"\""},{"line_number":95,"context_line":"    # TODO(pas-ha) rework this after CONF.conductor.api_url is removed"},{"line_number":96,"context_line":"    # and \u0027none\u0027 auth plugin is available in keystoneauth"},{"line_number":97,"context_line":"    adapter_opts \u003d {\u0027session\u0027: _get_ironic_session()}"},{"line_number":98,"context_line":"    if CONF.conductor.api_url:"},{"line_number":99,"context_line":"        adapter_opts[\u0027endpoint_override\u0027] \u003d CONF.conductor.api_url"},{"line_number":100,"context_line":"    if CONF.auth_strategy \u003d\u003d \u0027keystone\u0027:"}],"source_content_type":"text/x-python","patch_set":14,"id":"5f201791_e05ef410","line":97,"in_reply_to":"5f201791_0a40fd55","updated":"2017-06-22 08:44:27.000000000","message":"the thing is, the session returned by _get_ironic_session() would not connect anywhere - it lacks auth plugin from the start [0] [1].\n\nbelow I conditionally set either auth plugin or endpoint_override to use. When having endpoint_override set, the adapter will not try to connect anywhere, and just return this endpoint_override on adapter.get_endpoint() [2]\n\n[0] https://github.com/openstack/keystoneauth/blob/master/keystoneauth1/adapter.py#L73-L105\n[1] https://github.com/openstack/keystoneauth/blob/master/keystoneauth1/session.py#L233-L257\n[2] https://github.com/openstack/keystoneauth/blob/master/keystoneauth1/adapter.py#L176-L193","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"9e693b8d60821a6ad0c9eeaeeac83c2e93601ca1","unresolved":false,"context_lines":[{"line_number":96,"context_line":"    # and \u0027none\u0027 auth plugin is available in keystoneauth"},{"line_number":97,"context_line":"    adapter_opts \u003d {\u0027session\u0027: _get_ironic_session()}"},{"line_number":98,"context_line":"    if CONF.conductor.api_url:"},{"line_number":99,"context_line":"        adapter_opts[\u0027endpoint_override\u0027] \u003d CONF.conductor.api_url"},{"line_number":100,"context_line":"    if CONF.auth_strategy \u003d\u003d \u0027keystone\u0027:"},{"line_number":101,"context_line":"        adapter_opts[\u0027auth\u0027] \u003d keystone.get_auth(\u0027service_catalog\u0027)"},{"line_number":102,"context_line":"    if CONF.keystone.region_name:"}],"source_content_type":"text/x-python","patch_set":14,"id":"5f201791_f65b6c2b","line":99,"updated":"2017-06-21 22:04:11.000000000","message":"if we decide to deprecate, should we log a warning about it being deprecated? I think we normally do that.","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"9ede4fe386452c487b82618a205bd788539a8052","unresolved":false,"context_lines":[{"line_number":96,"context_line":"    # and \u0027none\u0027 auth plugin is available in keystoneauth"},{"line_number":97,"context_line":"    adapter_opts \u003d {\u0027session\u0027: _get_ironic_session()}"},{"line_number":98,"context_line":"    if CONF.conductor.api_url:"},{"line_number":99,"context_line":"        adapter_opts[\u0027endpoint_override\u0027] \u003d CONF.conductor.api_url"},{"line_number":100,"context_line":"    if CONF.auth_strategy \u003d\u003d \u0027keystone\u0027:"},{"line_number":101,"context_line":"        adapter_opts[\u0027auth\u0027] \u003d keystone.get_auth(\u0027service_catalog\u0027)"},{"line_number":102,"context_line":"    if CONF.keystone.region_name:"}],"source_content_type":"text/x-python","patch_set":14,"id":"5f201791_e0b3944c","line":99,"in_reply_to":"5f201791_f65b6c2b","updated":"2017-06-22 08:44:27.000000000","message":"this is done automatically for oslo_config options that have \u0027deprecated_for_removal\u0027 on config parsing (and shows up in logs on conductor start)","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"9e693b8d60821a6ad0c9eeaeeac83c2e93601ca1","unresolved":false,"context_lines":[{"line_number":100,"context_line":"    if CONF.auth_strategy \u003d\u003d \u0027keystone\u0027:"},{"line_number":101,"context_line":"        adapter_opts[\u0027auth\u0027] \u003d keystone.get_auth(\u0027service_catalog\u0027)"},{"line_number":102,"context_line":"    if CONF.keystone.region_name:"},{"line_number":103,"context_line":"        adapter_opts[\u0027region_name\u0027] \u003d CONF.keystone.region_name"},{"line_number":104,"context_line":"    adapter \u003d keystone.get_adapter(\u0027service_catalog\u0027, **adapter_opts)"},{"line_number":105,"context_line":"    try:"},{"line_number":106,"context_line":"        ironic_api \u003d adapter.get_endpoint()"}],"source_content_type":"text/x-python","patch_set":14,"id":"5f201791_5684605e","line":103,"updated":"2017-06-21 22:04:11.000000000","message":"ditto about a warning","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"9ede4fe386452c487b82618a205bd788539a8052","unresolved":false,"context_lines":[{"line_number":100,"context_line":"    if CONF.auth_strategy \u003d\u003d \u0027keystone\u0027:"},{"line_number":101,"context_line":"        adapter_opts[\u0027auth\u0027] \u003d keystone.get_auth(\u0027service_catalog\u0027)"},{"line_number":102,"context_line":"    if CONF.keystone.region_name:"},{"line_number":103,"context_line":"        adapter_opts[\u0027region_name\u0027] \u003d CONF.keystone.region_name"},{"line_number":104,"context_line":"    adapter \u003d keystone.get_adapter(\u0027service_catalog\u0027, **adapter_opts)"},{"line_number":105,"context_line":"    try:"},{"line_number":106,"context_line":"        ironic_api \u003d adapter.get_endpoint()"}],"source_content_type":"text/x-python","patch_set":14,"id":"5f201791_807e2069","line":103,"in_reply_to":"5f201791_5684605e","updated":"2017-06-22 08:44:27.000000000","message":"see my comment above","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"9e693b8d60821a6ad0c9eeaeeac83c2e93601ca1","unresolved":false,"context_lines":[{"line_number":101,"context_line":"        adapter_opts[\u0027auth\u0027] \u003d keystone.get_auth(\u0027service_catalog\u0027)"},{"line_number":102,"context_line":"    if CONF.keystone.region_name:"},{"line_number":103,"context_line":"        adapter_opts[\u0027region_name\u0027] \u003d CONF.keystone.region_name"},{"line_number":104,"context_line":"    adapter \u003d keystone.get_adapter(\u0027service_catalog\u0027, **adapter_opts)"},{"line_number":105,"context_line":"    try:"},{"line_number":106,"context_line":"        ironic_api \u003d adapter.get_endpoint()"},{"line_number":107,"context_line":"    except (exception.KeystoneFailure,"}],"source_content_type":"text/x-python","patch_set":14,"id":"5f201791_76b51c31","line":104,"updated":"2017-06-21 22:04:11.000000000","message":"so if [keystone]/region_name and [service_catalog]/region_name are both specified, we use [service_catalog]/region_name? I think that\u0027s what we want to do but just want to get clarification on that.","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"9ede4fe386452c487b82618a205bd788539a8052","unresolved":false,"context_lines":[{"line_number":101,"context_line":"        adapter_opts[\u0027auth\u0027] \u003d keystone.get_auth(\u0027service_catalog\u0027)"},{"line_number":102,"context_line":"    if CONF.keystone.region_name:"},{"line_number":103,"context_line":"        adapter_opts[\u0027region_name\u0027] \u003d CONF.keystone.region_name"},{"line_number":104,"context_line":"    adapter \u003d keystone.get_adapter(\u0027service_catalog\u0027, **adapter_opts)"},{"line_number":105,"context_line":"    try:"},{"line_number":106,"context_line":"        ironic_api \u003d adapter.get_endpoint()"},{"line_number":107,"context_line":"    except (exception.KeystoneFailure,"}],"source_content_type":"text/x-python","patch_set":14,"id":"5f201791_805aa0f0","line":104,"in_reply_to":"5f201791_76b51c31","updated":"2017-06-22 08:44:27.000000000","message":"currently the [keystone]region_name will win when set to not None as I pass its value explicitly in the adapter_opts which will override what\u0027s loaded from config by adapter loading ([service_catalog]region_name in this case.\n\nWho should win when both are set is an interesting question, but I could easily change the logic on L102 to be \n\n  if CONF.keystone.region_name and not CONF.service_catalog.region_name:\n      ...\n\nto have service_catalog.region_name win when both are set.\n\nWDYT?","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"e27e32c58b75115b7a47bc315e898ce3ccbe37a0","unresolved":false,"context_lines":[{"line_number":101,"context_line":"        adapter_opts[\u0027auth\u0027] \u003d keystone.get_auth(\u0027service_catalog\u0027)"},{"line_number":102,"context_line":"    if CONF.keystone.region_name:"},{"line_number":103,"context_line":"        adapter_opts[\u0027region_name\u0027] \u003d CONF.keystone.region_name"},{"line_number":104,"context_line":"    adapter \u003d keystone.get_adapter(\u0027service_catalog\u0027, **adapter_opts)"},{"line_number":105,"context_line":"    try:"},{"line_number":106,"context_line":"        ironic_api \u003d adapter.get_endpoint()"},{"line_number":107,"context_line":"    except (exception.KeystoneFailure,"}],"source_content_type":"text/x-python","patch_set":14,"id":"5f201791_5289fac7","line":104,"in_reply_to":"5f201791_805aa0f0","updated":"2017-06-22 12:41:35.000000000","message":"Done","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"ae7631073829a8888d697f79192ec1f0869a5057","unresolved":false,"context_lines":[{"line_number":77,"context_line":"def _get_ironic_session():"},{"line_number":78,"context_line":"    global _IRONIC_SESSION"},{"line_number":79,"context_line":"    if not _IRONIC_SESSION:"},{"line_number":80,"context_line":"        _IRONIC_SESSION \u003d keystone.get_session(\u0027service_catalog\u0027)"},{"line_number":81,"context_line":"    return _IRONIC_SESSION"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":""}],"source_content_type":"text/x-python","patch_set":22,"id":"df3967d1_9e1a6ac9","line":80,"updated":"2017-08-04 10:13:54.000000000","message":"why is auth gone?","commit_id":"27a0351c6bc29f236bc42daebc49a496c11d5353"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"0ecb77e9565f7ead302e9c59c02cfda2de85575c","unresolved":false,"context_lines":[{"line_number":77,"context_line":"def _get_ironic_session():"},{"line_number":78,"context_line":"    global _IRONIC_SESSION"},{"line_number":79,"context_line":"    if not _IRONIC_SESSION:"},{"line_number":80,"context_line":"        _IRONIC_SESSION \u003d keystone.get_session(\u0027service_catalog\u0027)"},{"line_number":81,"context_line":"    return _IRONIC_SESSION"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":""}],"source_content_type":"text/x-python","patch_set":22,"id":"df3967d1_19a1f494","line":80,"in_reply_to":"df3967d1_9e1a6ac9","updated":"2017-08-04 10:47:21.000000000","message":"see below","commit_id":"27a0351c6bc29f236bc42daebc49a496c11d5353"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"ae7631073829a8888d697f79192ec1f0869a5057","unresolved":false,"context_lines":[{"line_number":94,"context_line":"    \"\"\""},{"line_number":95,"context_line":"    adapter_opts \u003d {\u0027session\u0027: _get_ironic_session()}"},{"line_number":96,"context_line":"    # NOTE(pas-ha) force \u0027none\u0027 auth plugin for noauth mode"},{"line_number":97,"context_line":"    if CONF.auth_strategy !\u003d \u0027keystone\u0027:"},{"line_number":98,"context_line":"        CONF.set_override(\u0027auth_type\u0027, \u0027none\u0027, group\u003d\u0027service_catalog\u0027)"},{"line_number":99,"context_line":"    adapter_opts[\u0027auth\u0027] \u003d keystone.get_auth(\u0027service_catalog\u0027)"},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"    # TODO(pas-ha) remove after deprecation period (in Queens)"},{"line_number":102,"context_line":"    # NOTE(pas-ha) if both set, the new options win"}],"source_content_type":"text/x-python","patch_set":22,"id":"df3967d1_be7aceed","line":99,"range":{"start_line":97,"start_character":4,"end_line":99,"end_character":63},"updated":"2017-08-04 10:13:54.000000000","message":"why is it done here instead of in _get_ironic_session?","commit_id":"27a0351c6bc29f236bc42daebc49a496c11d5353"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"0ecb77e9565f7ead302e9c59c02cfda2de85575c","unresolved":false,"context_lines":[{"line_number":94,"context_line":"    \"\"\""},{"line_number":95,"context_line":"    adapter_opts \u003d {\u0027session\u0027: _get_ironic_session()}"},{"line_number":96,"context_line":"    # NOTE(pas-ha) force \u0027none\u0027 auth plugin for noauth mode"},{"line_number":97,"context_line":"    if CONF.auth_strategy !\u003d \u0027keystone\u0027:"},{"line_number":98,"context_line":"        CONF.set_override(\u0027auth_type\u0027, \u0027none\u0027, group\u003d\u0027service_catalog\u0027)"},{"line_number":99,"context_line":"    adapter_opts[\u0027auth\u0027] \u003d keystone.get_auth(\u0027service_catalog\u0027)"},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"    # TODO(pas-ha) remove after deprecation period (in Queens)"},{"line_number":102,"context_line":"    # NOTE(pas-ha) if both set, the new options win"}],"source_content_type":"text/x-python","patch_set":22,"id":"df3967d1_79fda06c","line":99,"range":{"start_line":97,"start_character":4,"end_line":99,"end_character":63},"in_reply_to":"df3967d1_be7aceed","updated":"2017-08-04 10:47:21.000000000","message":"whenever possible, I prefer to separate session from auth loading and provide them separately if the client or smth else (like adapter) understands it. It this particular case it is indeed not really needed, but generally it allows for more flexibility re what auth plugin to use (from config or made from incoming user token), and always re-use the same session object.\n\nSo just to keep things similar as much as possible I\u0027ve separated them here as well.","commit_id":"27a0351c6bc29f236bc42daebc49a496c11d5353"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"ae7631073829a8888d697f79192ec1f0869a5057","unresolved":false,"context_lines":[{"line_number":102,"context_line":"    # NOTE(pas-ha) if both set, the new options win"},{"line_number":103,"context_line":"    if CONF.conductor.api_url and not CONF.service_catalog.endpoint_override:"},{"line_number":104,"context_line":"        adapter_opts[\u0027endpoint_override\u0027] \u003d CONF.conductor.api_url"},{"line_number":105,"context_line":"    if CONF.keystone.region_name and not CONF.service_catalog.region_name:"},{"line_number":106,"context_line":"        adapter_opts[\u0027region_name\u0027] \u003d CONF.keystone.region_name"},{"line_number":107,"context_line":"    adapter \u003d keystone.get_adapter(\u0027service_catalog\u0027, **adapter_opts)"},{"line_number":108,"context_line":"    try:"}],"source_content_type":"text/x-python","patch_set":22,"id":"df3967d1_7ee7c6ad","line":105,"range":{"start_line":105,"start_character":21,"end_line":105,"end_character":32},"updated":"2017-08-04 10:13:54.000000000","message":"so is it deprecated now? should we indicate this in the option itself?","commit_id":"27a0351c6bc29f236bc42daebc49a496c11d5353"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"0ecb77e9565f7ead302e9c59c02cfda2de85575c","unresolved":false,"context_lines":[{"line_number":102,"context_line":"    # NOTE(pas-ha) if both set, the new options win"},{"line_number":103,"context_line":"    if CONF.conductor.api_url and not CONF.service_catalog.endpoint_override:"},{"line_number":104,"context_line":"        adapter_opts[\u0027endpoint_override\u0027] \u003d CONF.conductor.api_url"},{"line_number":105,"context_line":"    if CONF.keystone.region_name and not CONF.service_catalog.region_name:"},{"line_number":106,"context_line":"        adapter_opts[\u0027region_name\u0027] \u003d CONF.keystone.region_name"},{"line_number":107,"context_line":"    adapter \u003d keystone.get_adapter(\u0027service_catalog\u0027, **adapter_opts)"},{"line_number":108,"context_line":"    try:"}],"source_content_type":"text/x-python","patch_set":22,"id":"df3967d1_599bfc64","line":105,"range":{"start_line":105,"start_character":21,"end_line":105,"end_character":32},"in_reply_to":"df3967d1_7ee7c6ad","updated":"2017-08-04 10:47:21.000000000","message":"as I change one client per patch to use adapters, it seems it would be not correct to explicitly declare the [keystone]region_name as deprecated as there is no alternative for glance, neutron and cinder sections yet.\n\nI\u0027ll make it deprecated in one of followup patches.","commit_id":"27a0351c6bc29f236bc42daebc49a496c11d5353"}],"ironic/drivers/modules/inspector.py":[{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"9e693b8d60821a6ad0c9eeaeeac83c2e93601ca1","unresolved":false,"context_lines":[{"line_number":46,"context_line":"    global _INSPECTOR_SESSION"},{"line_number":47,"context_line":"    if not _INSPECTOR_SESSION:"},{"line_number":48,"context_line":"        _INSPECTOR_SESSION \u003d keystone.get_session("},{"line_number":49,"context_line":"            \u0027inspector\u0027, auth\u003dkeystone.get_auth(\u0027inspector\u0027))"},{"line_number":50,"context_line":"    return _INSPECTOR_SESSION"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":""}],"source_content_type":"text/x-python","patch_set":14,"id":"5f201791_768e3c79","line":49,"updated":"2017-06-21 22:04:11.000000000","message":"I may not understand how the code worked before -- if [keystone]/region_name and [inspector]/region_name wasn\u0027t, will this call use keystone\u0027s config option?","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"9ede4fe386452c487b82618a205bd788539a8052","unresolved":false,"context_lines":[{"line_number":46,"context_line":"    global _INSPECTOR_SESSION"},{"line_number":47,"context_line":"    if not _INSPECTOR_SESSION:"},{"line_number":48,"context_line":"        _INSPECTOR_SESSION \u003d keystone.get_session("},{"line_number":49,"context_line":"            \u0027inspector\u0027, auth\u003dkeystone.get_auth(\u0027inspector\u0027))"},{"line_number":50,"context_line":"    return _INSPECTOR_SESSION"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":""}],"source_content_type":"text/x-python","patch_set":14,"id":"5f201791_c0a1b8ab","line":49,"in_reply_to":"5f201791_768e3c79","updated":"2017-06-22 08:44:27.000000000","message":"this was not using the [keystone]region_name option at all,\nand will start to use it in a followup patch\n\ninspectorclient is a bit special - it does not have a SessionClient subclassed from keystoneauth1.adapter.Adapter, and does not support all the adapter options, so this would have to be massaged a bit.","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"}],"releasenotes/notes/deprecated-conductor-opts-abe2a45cd913a82a.yaml":[{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"9e693b8d60821a6ad0c9eeaeeac83c2e93601ca1","unresolved":false,"context_lines":[{"line_number":2,"context_line":"deprecations:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Configuration option ``[conductor]api_url`` is deprecated"},{"line_number":5,"context_line":"    and will be ignored in the Queens release."},{"line_number":6,"context_line":"    Instead, use ``[service_catalog]endpoint_override`` configuration option"},{"line_number":7,"context_line":"    to set specific ironic API address if automatic discovery of ironic API"},{"line_number":8,"context_line":"    endpoint from keystone catalog is not desired."}],"source_content_type":"text/x-yaml","patch_set":14,"id":"5f201791_d6dcf075","line":5,"updated":"2017-06-21 22:04:11.000000000","message":"will we ignore it or remove it?","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"9ede4fe386452c487b82618a205bd788539a8052","unresolved":false,"context_lines":[{"line_number":2,"context_line":"deprecations:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Configuration option ``[conductor]api_url`` is deprecated"},{"line_number":5,"context_line":"    and will be ignored in the Queens release."},{"line_number":6,"context_line":"    Instead, use ``[service_catalog]endpoint_override`` configuration option"},{"line_number":7,"context_line":"    to set specific ironic API address if automatic discovery of ironic API"},{"line_number":8,"context_line":"    endpoint from keystone catalog is not desired."}],"source_content_type":"text/x-yaml","patch_set":14,"id":"5f201791_00c69049","line":5,"in_reply_to":"5f201791_d6dcf075","updated":"2017-06-22 08:44:27.000000000","message":"it does not matter - you can write whatever you want in config and it does not break anything, but unless those options are registered, they are not seen.\n\nSo after deprecation, we will _remove_ it from our registered options, but having [keystone]region_name in your config will not break you, but it will be _ignored_.","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"}],"releasenotes/notes/keystoneauth-adapter-opts-ca4f68f568e6cf6f.yaml":[{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"9e693b8d60821a6ad0c9eeaeeac83c2e93601ca1","unresolved":false,"context_lines":[{"line_number":2,"context_line":"deprecations:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Configuration option ``[keystone]region_name`` is deprecated"},{"line_number":5,"context_line":"    and will be ignored in Queens release."},{"line_number":6,"context_line":"    Instead, set ``region_name`` option in configuration file sections"},{"line_number":7,"context_line":"    related to specific service client, currently those are:"},{"line_number":8,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":14,"id":"5f201791_56d2205e","line":5,"updated":"2017-06-21 22:04:11.000000000","message":"will we ignore or remove?","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"9ede4fe386452c487b82618a205bd788539a8052","unresolved":false,"context_lines":[{"line_number":2,"context_line":"deprecations:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Configuration option ``[keystone]region_name`` is deprecated"},{"line_number":5,"context_line":"    and will be ignored in Queens release."},{"line_number":6,"context_line":"    Instead, set ``region_name`` option in configuration file sections"},{"line_number":7,"context_line":"    related to specific service client, currently those are:"},{"line_number":8,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":14,"id":"5f201791_40d128fb","line":5,"in_reply_to":"5f201791_56d2205e","updated":"2017-06-22 08:44:27.000000000","message":"see my comment above","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"9e693b8d60821a6ad0c9eeaeeac83c2e93601ca1","unresolved":false,"context_lines":[{"line_number":4,"context_line":"    Configuration option ``[keystone]region_name`` is deprecated"},{"line_number":5,"context_line":"    and will be ignored in Queens release."},{"line_number":6,"context_line":"    Instead, set ``region_name`` option in configuration file sections"},{"line_number":7,"context_line":"    related to specific service client, currently those are:"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"    - service_catalog"},{"line_number":10,"context_line":"    - neutron"}],"source_content_type":"text/x-yaml","patch_set":14,"id":"5f201791_76bcfc04","line":7,"updated":"2017-06-21 22:04:11.000000000","message":"nit s/related to specific service client, currently those are/of the specific service clients/","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"e27e32c58b75115b7a47bc315e898ce3ccbe37a0","unresolved":false,"context_lines":[{"line_number":4,"context_line":"    Configuration option ``[keystone]region_name`` is deprecated"},{"line_number":5,"context_line":"    and will be ignored in Queens release."},{"line_number":6,"context_line":"    Instead, set ``region_name`` option in configuration file sections"},{"line_number":7,"context_line":"    related to specific service client, currently those are:"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"    - service_catalog"},{"line_number":10,"context_line":"    - neutron"}],"source_content_type":"text/x-yaml","patch_set":14,"id":"5f201791_d263ca19","line":7,"in_reply_to":"5f201791_76bcfc04","updated":"2017-06-22 12:41:35.000000000","message":"Done","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"9ede4fe386452c487b82618a205bd788539a8052","unresolved":false,"context_lines":[{"line_number":4,"context_line":"    Configuration option ``[keystone]region_name`` is deprecated"},{"line_number":5,"context_line":"    and will be ignored in Queens release."},{"line_number":6,"context_line":"    Instead, set ``region_name`` option in configuration file sections"},{"line_number":7,"context_line":"    related to specific service client, currently those are:"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"    - service_catalog"},{"line_number":10,"context_line":"    - neutron"}],"source_content_type":"text/x-yaml","patch_set":14,"id":"5f201791_00db301b","line":7,"in_reply_to":"5f201791_76bcfc04","updated":"2017-06-22 08:44:27.000000000","message":"will change","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"9e693b8d60821a6ad0c9eeaeeac83c2e93601ca1","unresolved":false,"context_lines":[{"line_number":18,"context_line":"    To facilitate automatic discovery of services from keystone catalog, every"},{"line_number":19,"context_line":"    configuration file section related to specific service client can specify"},{"line_number":20,"context_line":"    the ``service_type``, ``service_name``, ``interface`` and"},{"line_number":21,"context_line":"    ``region_name`` options."},{"line_number":22,"context_line":"    These options together must uniquely specify an endpoint for a service"},{"line_number":23,"context_line":"    registered in the keystone catalog."},{"line_number":24,"context_line":"    Defaults of None for ``service_type` or ``service_name`` options can be"}],"source_content_type":"text/x-yaml","patch_set":14,"id":"5f201791_5660e0a5","line":21,"updated":"2017-06-21 22:04:11.000000000","message":"Maybe something like \u0027To facilitate automatic discovery of services from the keystone catalog, the configuration file sections for each service includes these configuration options: ``service_type`, etc.\n\nDo we need to provide a description of each option? :-(","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"9ede4fe386452c487b82618a205bd788539a8052","unresolved":false,"context_lines":[{"line_number":18,"context_line":"    To facilitate automatic discovery of services from keystone catalog, every"},{"line_number":19,"context_line":"    configuration file section related to specific service client can specify"},{"line_number":20,"context_line":"    the ``service_type``, ``service_name``, ``interface`` and"},{"line_number":21,"context_line":"    ``region_name`` options."},{"line_number":22,"context_line":"    These options together must uniquely specify an endpoint for a service"},{"line_number":23,"context_line":"    registered in the keystone catalog."},{"line_number":24,"context_line":"    Defaults of None for ``service_type` or ``service_name`` options can be"}],"source_content_type":"text/x-yaml","patch_set":14,"id":"5f201791_c0be5864","line":21,"in_reply_to":"5f201791_5660e0a5","updated":"2017-06-22 08:44:27.000000000","message":"I\u0027d just say \"go read keystoneauth docs\" - we do not provide descriptions e.g. for new oslo_log options in our release notes when such appear .","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"9e693b8d60821a6ad0c9eeaeeac83c2e93601ca1","unresolved":false,"context_lines":[{"line_number":21,"context_line":"    ``region_name`` options."},{"line_number":22,"context_line":"    These options together must uniquely specify an endpoint for a service"},{"line_number":23,"context_line":"    registered in the keystone catalog."},{"line_number":24,"context_line":"    Defaults of None for ``service_type` or ``service_name`` options can be"},{"line_number":25,"context_line":"    (but not guaranteed to) handled by Python API clients for services"},{"line_number":26,"context_line":"    themselves,"},{"line_number":27,"context_line":"    while for ``interface`` option default of None is usually treated by"}],"source_content_type":"text/x-yaml","patch_set":14,"id":"5f201791_165a68f2","line":24,"updated":"2017-06-21 22:04:11.000000000","message":"didn\u0027t you code it so that service_type doesn\u0027t default to None?","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"e27e32c58b75115b7a47bc315e898ce3ccbe37a0","unresolved":false,"context_lines":[{"line_number":21,"context_line":"    ``region_name`` options."},{"line_number":22,"context_line":"    These options together must uniquely specify an endpoint for a service"},{"line_number":23,"context_line":"    registered in the keystone catalog."},{"line_number":24,"context_line":"    Defaults of None for ``service_type` or ``service_name`` options can be"},{"line_number":25,"context_line":"    (but not guaranteed to) handled by Python API clients for services"},{"line_number":26,"context_line":"    themselves,"},{"line_number":27,"context_line":"    while for ``interface`` option default of None is usually treated by"}],"source_content_type":"text/x-yaml","patch_set":14,"id":"5f201791_666af7b3","line":24,"in_reply_to":"5f201791_165a68f2","updated":"2017-06-22 12:41:35.000000000","message":"Done","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"9ede4fe386452c487b82618a205bd788539a8052","unresolved":false,"context_lines":[{"line_number":21,"context_line":"    ``region_name`` options."},{"line_number":22,"context_line":"    These options together must uniquely specify an endpoint for a service"},{"line_number":23,"context_line":"    registered in the keystone catalog."},{"line_number":24,"context_line":"    Defaults of None for ``service_type` or ``service_name`` options can be"},{"line_number":25,"context_line":"    (but not guaranteed to) handled by Python API clients for services"},{"line_number":26,"context_line":"    themselves,"},{"line_number":27,"context_line":"    while for ``interface`` option default of None is usually treated by"}],"source_content_type":"text/x-yaml","patch_set":14,"id":"5f201791_60d424be","line":24,"in_reply_to":"5f201791_165a68f2","updated":"2017-06-22 08:44:27.000000000","message":"yes, will change. This is a remnant of previous version where I wanted these defaults to be a temporary solution for deprecation period, and proposed to make those required after deprecation.\nBut Dmitry requested that some sane defaults to always be provided.\n\nWill change.","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"9e693b8d60821a6ad0c9eeaeeac83c2e93601ca1","unresolved":false,"context_lines":[{"line_number":26,"context_line":"    themselves,"},{"line_number":27,"context_line":"    while for ``interface`` option default of None is usually treated by"},{"line_number":28,"context_line":"    clients as \u0027public\u0027,"},{"line_number":29,"context_line":"    and region_name must be specified in mult-regional setup for endpoint"},{"line_number":30,"context_line":"    discovery to succeed."},{"line_number":31,"context_line":"    The configuration file sections in question are currently:"},{"line_number":32,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":14,"id":"5f201791_b6705474","line":29,"updated":"2017-06-21 22:04:11.000000000","message":"nit s/mult-regional/multi-regional/","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"9ede4fe386452c487b82618a205bd788539a8052","unresolved":false,"context_lines":[{"line_number":26,"context_line":"    themselves,"},{"line_number":27,"context_line":"    while for ``interface`` option default of None is usually treated by"},{"line_number":28,"context_line":"    clients as \u0027public\u0027,"},{"line_number":29,"context_line":"    and region_name must be specified in mult-regional setup for endpoint"},{"line_number":30,"context_line":"    discovery to succeed."},{"line_number":31,"context_line":"    The configuration file sections in question are currently:"},{"line_number":32,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":14,"id":"5f201791_00e570a8","line":29,"in_reply_to":"5f201791_b6705474","updated":"2017-06-22 08:44:27.000000000","message":"will do","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"9e693b8d60821a6ad0c9eeaeeac83c2e93601ca1","unresolved":false,"context_lines":[{"line_number":28,"context_line":"    clients as \u0027public\u0027,"},{"line_number":29,"context_line":"    and region_name must be specified in mult-regional setup for endpoint"},{"line_number":30,"context_line":"    discovery to succeed."},{"line_number":31,"context_line":"    The configuration file sections in question are currently:"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"    - service_catalog"},{"line_number":34,"context_line":"    - neutron"}],"source_content_type":"text/x-yaml","patch_set":14,"id":"5f201791_560580c1","line":31,"updated":"2017-06-21 22:04:11.000000000","message":"s/in question are currently/are/","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"e27e32c58b75115b7a47bc315e898ce3ccbe37a0","unresolved":false,"context_lines":[{"line_number":28,"context_line":"    clients as \u0027public\u0027,"},{"line_number":29,"context_line":"    and region_name must be specified in mult-regional setup for endpoint"},{"line_number":30,"context_line":"    discovery to succeed."},{"line_number":31,"context_line":"    The configuration file sections in question are currently:"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"    - service_catalog"},{"line_number":34,"context_line":"    - neutron"}],"source_content_type":"text/x-yaml","patch_set":14,"id":"5f201791_a6700fa7","line":31,"in_reply_to":"5f201791_560580c1","updated":"2017-06-22 12:41:35.000000000","message":"Done","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"9ede4fe386452c487b82618a205bd788539a8052","unresolved":false,"context_lines":[{"line_number":28,"context_line":"    clients as \u0027public\u0027,"},{"line_number":29,"context_line":"    and region_name must be specified in mult-regional setup for endpoint"},{"line_number":30,"context_line":"    discovery to succeed."},{"line_number":31,"context_line":"    The configuration file sections in question are currently:"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"    - service_catalog"},{"line_number":34,"context_line":"    - neutron"}],"source_content_type":"text/x-yaml","patch_set":14,"id":"5f201791_80eaa072","line":31,"in_reply_to":"5f201791_560580c1","updated":"2017-06-22 08:44:27.000000000","message":"will do","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"9e693b8d60821a6ad0c9eeaeeac83c2e93601ca1","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":14,"id":"5f201791_f645ac18","line":39,"updated":"2017-06-21 22:04:11.000000000","message":"I wonder if we need a features: section too because we\u0027ve added new configuration options.","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"e27e32c58b75115b7a47bc315e898ce3ccbe37a0","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":14,"id":"5f201791_8673d3b1","line":39,"in_reply_to":"5f201791_f645ac18","updated":"2017-06-22 12:41:35.000000000","message":"Done","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"9ede4fe386452c487b82618a205bd788539a8052","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":14,"id":"5f201791_c09538e6","line":39,"in_reply_to":"5f201791_f645ac18","updated":"2017-06-22 08:44:27.000000000","message":"good idea, will add","commit_id":"eb0a6ac41ae8a06ef54c5aca548ddb6538e38b3c"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"8197578e069bec12e1580628bfe8f3eeea68c0fc","unresolved":false,"context_lines":[{"line_number":4,"context_line":"    Configuration option ``[keystone]region_name`` is deprecated"},{"line_number":5,"context_line":"    and will be ignored in Queens release."},{"line_number":6,"context_line":"    Instead, set ``region_name`` option in configuration file sections"},{"line_number":7,"context_line":"    of the to specific service clients:"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"    - service_catalog"},{"line_number":10,"context_line":"    - neutron"}],"source_content_type":"text/x-yaml","patch_set":16,"id":"5f201791_1f55c6c6","line":7,"updated":"2017-06-22 14:10:06.000000000","message":"s/to //\n\ncan probably also do s/service clients/services/","commit_id":"eba4d1f4f09db5c4d464a33a3e90a27627a5d421"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"ae28ff63af9882ccfaf12167b10efc8ef579f698","unresolved":false,"context_lines":[{"line_number":18,"context_line":"    To facilitate automatic discovery of services from the keystone catalog,"},{"line_number":19,"context_line":"    the configuration file sections for each service includes these"},{"line_number":20,"context_line":"    configuration options: ``service_type``, ``service_name``, ``interface``"},{"line_number":21,"context_line":"      and ``region_name``."},{"line_number":22,"context_line":"    Consult the ``keystoneauth`` library documentation for their meaning and"},{"line_number":23,"context_line":"    possible values."},{"line_number":24,"context_line":"    These options together must uniquely specify an endpoint for a service"}],"source_content_type":"text/x-yaml","patch_set":16,"id":"5f201791_434460b7","line":21,"range":{"start_line":21,"start_character":4,"end_line":21,"end_character":6},"updated":"2017-06-23 16:14:23.000000000","message":"These extra spaces are causing the error:\n\nhttp://logs.openstack.org/27/469627/16/check/gate-ironic-releasenotes/e3ddd99/console.html#_2017-06-22_20_04_24_230514","commit_id":"eba4d1f4f09db5c4d464a33a3e90a27627a5d421"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"dea3466974f5dea36cbab34655a2c8e97ae5fc4c","unresolved":false,"context_lines":[{"line_number":4,"context_line":"    To facilitate automatic discovery of services from the keystone catalog,"},{"line_number":5,"context_line":"    the configuration file sections for service clients may include these"},{"line_number":6,"context_line":"    configuration options: ``service_type``, ``service_name``, ``interface``"},{"line_number":7,"context_line":"      and ``region_name``."},{"line_number":8,"context_line":"    Consult the ``keystoneauth`` library documentation for their meaning and"},{"line_number":9,"context_line":"    possible values."},{"line_number":10,"context_line":"    These options together must uniquely specify an endpoint for a service"}],"source_content_type":"text/x-yaml","patch_set":17,"id":"5f201791_3eef3bb1","line":7,"range":{"start_line":7,"start_character":4,"end_line":7,"end_character":6},"updated":"2017-06-23 16:48:13.000000000","message":"This will cause the releasenotes job to fail.","commit_id":"8aa8b1a902a00115d1d5e482801fbf71f71a6c1f"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"35710b494fb2c0c0ab4ad736969d2b3e97b232b1","unresolved":false,"context_lines":[{"line_number":4,"context_line":"    To facilitate automatic discovery of services from the keystone catalog,"},{"line_number":5,"context_line":"    the configuration file sections for service clients may include these"},{"line_number":6,"context_line":"    configuration options: ``service_type``, ``service_name``, ``interface``"},{"line_number":7,"context_line":"      and ``region_name``."},{"line_number":8,"context_line":"    Consult the ``keystoneauth`` library documentation for their meaning and"},{"line_number":9,"context_line":"    possible values."},{"line_number":10,"context_line":"    These options together must uniquely specify an endpoint for a service"}],"source_content_type":"text/x-yaml","patch_set":17,"id":"3f1d235d_1b24fcc5","line":7,"range":{"start_line":7,"start_character":4,"end_line":7,"end_character":6},"in_reply_to":"5f201791_3eef3bb1","updated":"2017-06-29 09:34:51.000000000","message":"thanks for pinpointing this, done.","commit_id":"8aa8b1a902a00115d1d5e482801fbf71f71a6c1f"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"8b7aae441a6bf2d09378cfa868429733f0a7418d","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":19,"id":"1f1a1f67_cfad7732","updated":"2017-07-21 08:14:31.000000000","message":"nit: I\u0027d use just one release notes file","commit_id":"663a3338dd5a080c811d50c23502a3baeddac115"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"cc87ee07aba8481cdb36904ce2aac84e43a7f938","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":19,"id":"ff346bd7_02984419","in_reply_to":"1f1a1f67_cfad7732","updated":"2017-07-28 14:13:51.000000000","message":"well, they kind of have different scope so naming them separately seems a bit beneficial, but OK, will merge","commit_id":"663a3338dd5a080c811d50c23502a3baeddac115"}]}
