)]}'
{"openrc":[{"author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"change_message_id":"f4ae1ccc3cccfe82ce3b3377784ed79212a53fa0","unresolved":false,"context_lines":[{"line_number":80,"context_line":"export OS_IDENTITY_API_VERSION\u003d${IDENTITY_API_VERSION:-3}"},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"# Ask keystoneauth1 to use keystone"},{"line_number":83,"context_line":"export OS_AUTH_TYPE\u003dpassword"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"# Authenticating against an OpenStack cloud using Keystone returns a **Token**"},{"line_number":86,"context_line":"# and **Service Catalog**.  The catalog contains the endpoints for all services"}],"source_content_type":"application/octet-stream","patch_set":1,"id":"da36d5c6_86b34497","line":83,"updated":"2017-02-25 13:54:47.000000000","message":"isn\u0027t this going to potentially change the behavior of running services that get restarted after this is set?","commit_id":"807de8e5907f4bce8a697c194383d161b0e9c572"},{"author":{"_account_id":2813,"name":"Mehdi Abaakouk","email":"sileht@sileht.net","username":"sileht"},"change_message_id":"4d96f3937695372b851d451611d3cbac857b09b5","unresolved":false,"context_lines":[{"line_number":80,"context_line":"export OS_IDENTITY_API_VERSION\u003d${IDENTITY_API_VERSION:-3}"},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"# Ask keystoneauth1 to use keystone"},{"line_number":83,"context_line":"export OS_AUTH_TYPE\u003dpassword"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"# Authenticating against an OpenStack cloud using Keystone returns a **Token**"},{"line_number":86,"context_line":"# and **Service Catalog**.  The catalog contains the endpoints for all services"}],"source_content_type":"application/octet-stream","patch_set":1,"id":"da36d5c6_cc9e3b62","line":83,"in_reply_to":"da36d5c6_86b34497","updated":"2017-02-25 17:10:11.000000000","message":"No, because the python library keystoneauth1 itself doesn\u0027t set any auth_type. This is up to the application to set it.\n\nServices uses some keystoneauth1 helpers to read auth_type from oslo.config and the OS_AUTH_TYPE environment variable is not read by these helpers.\n\nAlso cli tools uses some keystoneauth1 helper to read auth_type with argparse and read OS_AUTH_TYPE environment variable but if that one is absent, auth_type is set to None, making about authentication attempt complains about missing auth_type.\n\nThis is up to the cli tools to set a default for auth_type. This is what openstackclient does. But not all/other cli tools.\n\nAnd to finish if OS_AUTH_TYPE\u003dsomething-not-password is already present, every client fails even after we (re)source the openrc.","commit_id":"807de8e5907f4bce8a697c194383d161b0e9c572"}]}
