)]}'
{"specs/pike/approved/use-service-catalog-for-endpoints.rst":[{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"baeb08fc16e1e01e5f9a10b4539ee6f00fa14b55","unresolved":false,"context_lines":[{"line_number":66,"context_line":""},{"line_number":67,"context_line":"   \u003cservice_type\u003e:\u003cservice_name\u003e:\u003cinterface\u003e"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"If should be noted that ``publicURL`` is the form that has been used up until"},{"line_number":70,"context_line":"now, but ``public`` is the keystone v3 version of interface. The config should"},{"line_number":71,"context_line":"accept both, but documentation should be updated to show examples using"},{"line_number":72,"context_line":"``public``."},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"To make retrieving API endpoint consistent, we can add a new method"},{"line_number":75,"context_line":"``get_service_url()`` in Nova. To establish communication with any other"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3f044301_e3588157","side":"PARENT","line":72,"range":{"start_line":69,"start_character":0,"end_line":72,"end_character":11},"updated":"2017-05-04 01:34:20.000000000","message":"Monty specifically called this out in a later update after we merged the spec, so I\u0027m not sure why it\u0027s removed.","commit_id":"c505d25f07fa5cba81996ded55c95d6718536673"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"baeb08fc16e1e01e5f9a10b4539ee6f00fa14b55","unresolved":false,"context_lines":[{"line_number":60,"context_line":"   [ironic]"},{"line_number":61,"context_line":"   api_endpoint \u003d http://127.0.0.1:6385"},{"line_number":62,"context_line":"   [cinder]"},{"line_number":63,"context_line":"   catalog_info \u003d volumev3:cinderv3:public"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"Keystoneauth provides a simple and consistent way to get API endpoints from"},{"line_number":66,"context_line":"the Keystone service catalog instead of configuring it in a conf file."}],"source_content_type":"text/x-rst","patch_set":2,"id":"3f044301_633a31e8","line":63,"range":{"start_line":63,"start_character":36,"end_line":63,"end_character":42},"updated":"2017-05-04 01:34:20.000000000","message":"The default is publicURL and that\u0027s why Monty amended the spec to point out that it should be \u0027public\u0027 and publicURL is the old form. I think you want to leave that and his note.","commit_id":"6bcbdd3e3a53484b81823c9baa19f85a3df71795"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"f341d4112855d486ace42bfa093c5b8ec74c77ce","unresolved":false,"context_lines":[{"line_number":60,"context_line":"   [ironic]"},{"line_number":61,"context_line":"   api_endpoint \u003d http://127.0.0.1:6385"},{"line_number":62,"context_line":"   [cinder]"},{"line_number":63,"context_line":"   catalog_info \u003d volumev3:cinderv3:public"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"Keystoneauth provides a simple and consistent way to get API endpoints from"},{"line_number":66,"context_line":"the Keystone service catalog instead of configuring it in a conf file."}],"source_content_type":"text/x-rst","patch_set":2,"id":"3f044301_fa0ec5e3","line":63,"range":{"start_line":63,"start_character":36,"end_line":63,"end_character":42},"in_reply_to":"3f044301_633a31e8","updated":"2017-05-04 18:55:31.000000000","message":"Done (put the note below in discussion of interface iteration).","commit_id":"6bcbdd3e3a53484b81823c9baa19f85a3df71795"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"baeb08fc16e1e01e5f9a10b4539ee6f00fa14b55","unresolved":false,"context_lines":[{"line_number":77,"context_line":"logged. The old deprecated endpoint options will be removed in the Queens"},{"line_number":78,"context_line":"release.  ``[glance]api_servers`` will continue to be supported as there is no"},{"line_number":79,"context_line":"mechanism in ``keystoneauth`` to retrieve a *list* of service endpoints, and"},{"line_number":80,"context_line":"this feature continues to be needed for Glance."},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"If the existing configuration option is *not* found or has no value, then the"},{"line_number":83,"context_line":"method will look up the API endpoint corresponding to the conf group from the"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3f044301_a6fe0703","line":80,"range":{"start_line":80,"start_character":29,"end_line":80,"end_character":46},"updated":"2017-05-04 01:34:20.000000000","message":"I know what you\u0027re saying here, but this reads oddly. I don\u0027t have a suggestion, just noting it.","commit_id":"6bcbdd3e3a53484b81823c9baa19f85a3df71795"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"f341d4112855d486ace42bfa093c5b8ec74c77ce","unresolved":false,"context_lines":[{"line_number":77,"context_line":"logged. The old deprecated endpoint options will be removed in the Queens"},{"line_number":78,"context_line":"release.  ``[glance]api_servers`` will continue to be supported as there is no"},{"line_number":79,"context_line":"mechanism in ``keystoneauth`` to retrieve a *list* of service endpoints, and"},{"line_number":80,"context_line":"this feature continues to be needed for Glance."},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"If the existing configuration option is *not* found or has no value, then the"},{"line_number":83,"context_line":"method will look up the API endpoint corresponding to the conf group from the"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3f044301_dabae9dc","line":80,"range":{"start_line":80,"start_character":29,"end_line":80,"end_character":46},"in_reply_to":"3f044301_a6fe0703","updated":"2017-05-04 18:55:31.000000000","message":"Did a little shuffling, see if ya like it.","commit_id":"6bcbdd3e3a53484b81823c9baa19f85a3df71795"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"baeb08fc16e1e01e5f9a10b4539ee6f00fa14b55","unresolved":false,"context_lines":[{"line_number":92,"context_line":"- ``region_name``"},{"line_number":93,"context_line":"- ``endpoint_override``"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"If ``service_type`` is not supplied, a mapping from conf group name to"},{"line_number":96,"context_line":"corresponding service types will be consulted, and each will be tried"},{"line_number":97,"context_line":"successively until a result is found. (This mapping may be hardcoded initially,"},{"line_number":98,"context_line":"but should ultimately move to using ``os-client-config`` or"},{"line_number":99,"context_line":"``service-types-authority``.) If ``interface`` is not supplied, ``internal``,"},{"line_number":100,"context_line":"``public``, and ``admin`` will be tried successively until a result is found."}],"source_content_type":"text/x-rst","patch_set":2,"id":"3f044301_6656bf09","line":97,"range":{"start_line":95,"start_character":0,"end_line":97,"end_character":37},"updated":"2017-05-04 01:34:20.000000000","message":"An example to explain this might help. Like, the neutron options are in the [neutron] group so are you going to look for neutron, or networking?","commit_id":"6bcbdd3e3a53484b81823c9baa19f85a3df71795"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"f341d4112855d486ace42bfa093c5b8ec74c77ce","unresolved":false,"context_lines":[{"line_number":92,"context_line":"- ``region_name``"},{"line_number":93,"context_line":"- ``endpoint_override``"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"If ``service_type`` is not supplied, a mapping from conf group name to"},{"line_number":96,"context_line":"corresponding service types will be consulted, and each will be tried"},{"line_number":97,"context_line":"successively until a result is found. (This mapping may be hardcoded initially,"},{"line_number":98,"context_line":"but should ultimately move to using ``os-client-config`` or"},{"line_number":99,"context_line":"``service-types-authority``.) If ``interface`` is not supplied, ``internal``,"},{"line_number":100,"context_line":"``public``, and ``admin`` will be tried successively until a result is found."}],"source_content_type":"text/x-rst","patch_set":2,"id":"3f044301_7adab517","line":97,"range":{"start_line":95,"start_character":0,"end_line":97,"end_character":37},"in_reply_to":"3f044301_6656bf09","updated":"2017-05-04 18:55:31.000000000","message":"Done.  Used cinder, to illustrate looping over multiple possibilities.","commit_id":"6bcbdd3e3a53484b81823c9baa19f85a3df71795"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"baeb08fc16e1e01e5f9a10b4539ee6f00fa14b55","unresolved":false,"context_lines":[{"line_number":96,"context_line":"corresponding service types will be consulted, and each will be tried"},{"line_number":97,"context_line":"successively until a result is found. (This mapping may be hardcoded initially,"},{"line_number":98,"context_line":"but should ultimately move to using ``os-client-config`` or"},{"line_number":99,"context_line":"``service-types-authority``.) If ``interface`` is not supplied, ``internal``,"},{"line_number":100,"context_line":"``public``, and ``admin`` will be tried successively until a result is found."},{"line_number":101,"context_line":""},{"line_number":102,"context_line":"Conf groups must also include keystone auth and session options, or may pass"},{"line_number":103,"context_line":"existing auth and/or session objects to ``get_service_url()``."}],"source_content_type":"text/x-rst","patch_set":2,"id":"3f044301_06381bd1","line":100,"range":{"start_line":99,"start_character":30,"end_line":100,"end_character":77},"updated":"2017-05-04 01:34:20.000000000","message":"Why don\u0027t we just not pass anything and let ksa determine the default? Maybe that\u0027s a question for Monty. For example, we have a [placement]os_interface option but it defaults to None, so why wouldn\u0027t we just do the same here?\n\nAlso, does this mean we\u0027re going to use the new get_service_url for the placement service (it\u0027s internal to nova but deployed as an external service so we can split it out later)? I\u0027d think \u0027yes\u0027 which probably means deprecating the os_interface and os_region_name options in the [placement] group too.","commit_id":"6bcbdd3e3a53484b81823c9baa19f85a3df71795"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"f341d4112855d486ace42bfa093c5b8ec74c77ce","unresolved":false,"context_lines":[{"line_number":96,"context_line":"corresponding service types will be consulted, and each will be tried"},{"line_number":97,"context_line":"successively until a result is found. (This mapping may be hardcoded initially,"},{"line_number":98,"context_line":"but should ultimately move to using ``os-client-config`` or"},{"line_number":99,"context_line":"``service-types-authority``.) If ``interface`` is not supplied, ``internal``,"},{"line_number":100,"context_line":"``public``, and ``admin`` will be tried successively until a result is found."},{"line_number":101,"context_line":""},{"line_number":102,"context_line":"Conf groups must also include keystone auth and session options, or may pass"},{"line_number":103,"context_line":"existing auth and/or session objects to ``get_service_url()``."}],"source_content_type":"text/x-rst","patch_set":2,"id":"3f044301_1a361105","line":100,"range":{"start_line":99,"start_character":30,"end_line":100,"end_character":77},"in_reply_to":"3f044301_06381bd1","updated":"2017-05-04 18:55:31.000000000","message":"Per IRC [1][2], keeping the loop, but changing to \u0027internal\u0027, \u0027admin\u0027, \u0027public\u0027.\n\nRegarding placement, sure, I think I see how this could be used there.  We haven\u0027t attempted to be comprehensive in the list of services encompassed by this spec; do I need to call placement out specifically here?\n\n[1] http://eavesdrop.openstack.org/irclogs/%23openstack-nova/%23openstack-nova.2017-05-04.log.html#t2017-05-04T18:05:32\n[2] http://eavesdrop.openstack.org/irclogs/%23openstack-operators/%23openstack-operators.2017-05-04.log.html#t2017-05-04T18:23:15","commit_id":"6bcbdd3e3a53484b81823c9baa19f85a3df71795"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"ee46b1fc617f7e314d8bc2487db9566a4f75f20c","unresolved":false,"context_lines":[{"line_number":77,"context_line":"removed in the Queens release."},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"The exception is ``[glance]api_servers``, which will continue to be supported."},{"line_number":80,"context_line":"Glance needs a way to specify a *list* of service endpoints, and there is no"},{"line_number":81,"context_line":"such mechanism available via the service catalog."},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"If the existing configuration option is *not* found or has no value, then the"}],"source_content_type":"text/x-rst","patch_set":3,"id":"3f044301_fdbd9c68","line":80,"range":{"start_line":80,"start_character":0,"end_line":80,"end_character":18},"updated":"2017-05-04 20:56:20.000000000","message":"Glance doesn\u0027t need it, nova apparently does, so this might be better worded as something like, \"For glance we need a way to specify...\". Just a nit in case you respin.","commit_id":"f3ff8f3e2e4bd1c7b6c71bc01aed9f2e17fb05aa"},{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"7a5a250c4bd3a53c969bad6fc7409c85a1ba0215","unresolved":false,"context_lines":[{"line_number":77,"context_line":"removed in the Queens release."},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"The exception is ``[glance]api_servers``, which will continue to be supported."},{"line_number":80,"context_line":"Glance needs a way to specify a *list* of service endpoints, and there is no"},{"line_number":81,"context_line":"such mechanism available via the service catalog."},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"If the existing configuration option is *not* found or has no value, then the"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ff0f0b1f_5bec028e","line":80,"range":{"start_line":80,"start_character":0,"end_line":80,"end_character":18},"in_reply_to":"3f044301_fdbd9c68","updated":"2017-05-23 18:13:57.000000000","message":"Nova doesn\u0027t need it. Apparently *some* operators do.","commit_id":"f3ff8f3e2e4bd1c7b6c71bc01aed9f2e17fb05aa"}]}
