Mistral-Client: Auth variable with Keystone v3

asked 2016-10-07 16:17:34 -0500

JungsuHan gravatar image

Hello guys,

After running mistral engine, api and executor, I export some variables for authentication as below.

export OS_PROJECT_DOMAIN_NAME=default

export OS_USER_DOMAIN_NAME=default

export OS_PROJECT_NAME=admin

export OS_USERNAME=admin

export OS_PASSWORD=PASS

export OS_AUTH_URL=http://<ip>:35357/v3

export OS_IDENTITY_API_VERSION=3

export OS_IMAGE_API_VERSION=2

and then,

$ mistral workflow-list

ERROR (app) The request you have made requires authentication. (HTTP 401) (Request-ID: req-78e223c7-c811-4fb5-88c7-97ca3f5b8316)

doesn't mistral-client compatible with keystone v3 ?

In the mistral document, auth variables are like this.

$ export OS_AUTH_URL=http://<keystone_host>:5000/v2.0

$ export OS_USERNAME=admin

$ export OS_TENANT_NAME=tenant

$ export OS_PASSWORD=secret

$ export OS_MISTRAL_URL=http://<mistral host="">:8989/v2 (optional, by default URL=http://localhost:8989/v2)

to solve this issue, I edited mistral.conf to disiable authentication for the mistral service

auth_enable = False

and it works well.

Do you have any idea ?

edit retag flag offensive close merge delete

Comments

Which version of mistral are you using?

d0ugal gravatar imaged0ugal ( 2016-10-11 06:48:36 -0500 )edit
1

Could you also provide information how mistral is configured? Especially section "keystone_authtoken" from mistral.conf

dawid-deja-0 gravatar imagedawid-deja-0 ( 2016-10-11 07:12:20 -0500 )edit