Ask Your Question

khandhedia's profile - activity

2018-02-27 03:43:11 -0500 received badge  Famous Question (source)
2017-08-24 20:20:10 -0500 received badge  Notable Question (source)
2017-07-24 02:48:35 -0500 received badge  Popular Question (source)
2017-07-06 00:30:35 -0500 asked a question Authorization failed: Cannot authenticate without an auth_url

I installed Docker and mistral version 3.1.0.

I am following (Mistral 0.1 Part 1 official video tutorial).

I created a workflow as below:


version: '2.0'

  type: direct

      id: $.local_id
      name: $.local_name

      action: keystone.projects_list
        local_id: $[0].id
        local_name: $[0].name

While creating the execution it fails. Here, is the error I get: (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 =')
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

I see following packages in openstack installation directory, where I don't find any keystone package as such. (Openstack Installation on Mistral)

Here is the (mistral.conf).

Please advise if I am missing any configuration or I need to correct something.

Thank you very much.