Authorization failed: Cannot authenticate without an auth_url
I installed Docker and mistral version 3.1.0.
I am following https://www.youtube.com/watch?v=9kaac_AfNow (Mistral 0.1 Part 1 official video tutorial).
I created a workflow as below:
---
version: '2.0'
get_first_keystone_project:
type: direct
output:
project:
id: $.local_id
name: $.local_name
tasks:
get_project:
action: keystone.projects_list
publish:
local_id: $[0].id
local_name: $[0].name
While creating the execution it fails. Here, is the error I get:
https://drive.google.com/open?id=0ByVK0AKX2_r9R2lfNWdUTlRnUjg (Mistral Keystone Authentication Error - Authorization failed: Cannot authenticate without an auth_url)
I tried running the action keystone.projects_list
directly from mistral and thought of debugging it, but, it seems --debug
option doesn't help much in this case.
root@d215630adf2d:/home/mistral# mistral run-action keystone.projects_list --debug
DEBUG (extension) found extension EntryPoint.parse('keystone = mistralclient.auth.keystone:KeystoneAuthHandler')
DEBUG (extension) found extension EntryPoint.parse('keycloak-oidc = mistralclient.auth.keycloak:KeycloakAuthHandler')
DEBUG (extension) found extension EntryPoint.parse('table = cliff.formatters.table:TableFormatter')
DEBUG (extension) found extension EntryPoint.parse('json = cliff.formatters.json_format:JSONFormatter')
DEBUG (extension) found extension EntryPoint.parse('shell = cliff.formatters.shell:ShellFormatter')
DEBUG (extension) found extension EntryPoint.parse('value = cliff.formatters.value:ValueFormatter')
DEBUG (extension) found extension EntryPoint.parse('yaml = cliff.formatters.yaml_format:YAMLFormatter')
DEBUG (command) run(Namespace(columns=[], formatter='table', input=None, max_width=0, name='keystone.projects_list', noindent=False, prefix='', print_empty=False, run_sync=False, save_result=False, target=None, variables=[]))
DEBUG (connectionpool) Starting new HTTP connection (1): localhost
DEBUG (connectionpool) http://localhost:8989 "POST /v2/action_executions HTTP/1.1" 201 617
DEBUG (httpclient) HTTP POST http://localhost:8989/v2/action_executions 201
{"result": "Failed to run action [action_ex_id=None, action_cls='<class 'mistral.actions.action_factory.KeystoneAction'>', attributes='{u'client_method_name': u'projects.list'}', params='{}']\n KeystoneAction.projects.list failed: <class 'keystoneauth1.exceptions.auth.AuthorizationFailure'>: Authorization failed: Cannot authenticate without an auth_url"}
I have OpenStack version 3.11.0 and it is installed at below location:
root@d215630adf2d:/home/mistral# which openstack
/usr/local/bin/openstack
I see following packages in openstack installation directory, where I don't find any keystone
package as such.
https://drive.google.com/open?id=0ByVK0AKX2_r9Y2NDMjMxSEhxYVE (Openstack Installation on Mistral)
Here is the https://drive.google.com/open?id=0ByVK0AKX2_r9bEZWVDdrUEtYazQ (mistral.conf).
Please advise if I am missing any configuration or I need to correct something.
Thank you very much.
This video that you are following is very old and out dated. I would follow the guides in the Mistral documentation: https://docs.openstack.org/mistral/la...