Comment 0 for bug 1679934

Revision history for this message
jianfeng zhang (zhangjianfeng) wrote :

when we use
export OS_PROJECT_DOMAIN_NAME=default
export OS_USER_DOMAIN_NAME=default
export OS_PROJECT_NAME=admin
export OS_USERNAME=admin
export OS_PASSWORD=huayun
export OS_AUTH_URL=http://ocatacon:35357/v3
export OS_IDENTITY_API_VERSION=3
export OS_IMAGE_API_VERSION=2
we not set project domain id and user domain id.
nova client code will set value to default.

this will lead 401 ceilometer client response.

and keystone.log

2017-04-05 10:22:40.978 66364 INFO keystone.common.wsgi [req-0cb4c64c-ce73-4043-9a5f-e6633eef161e - - - - -] GET http://ocatacon:35357/v3/
2017-04-05 10:22:40.995 66362 INFO keystone.common.wsgi [req-af695a0a-f555-4cfb-90ed-1bce2acfe78f - - - - -] POST http://ocatacon:35357/v3/auth/tokens
2017-04-05 10:22:41.001 66362 WARNING keystone.auth.core [req-af695a0a-f555-4cfb-90ed-1bce2acfe78f - - - - -] Could not find domain: default.
2017-04-05 10:22:41.002 66362 WARNING keystone.common.wsgi [req-af695a0a-f555-4cfb-90ed-1bce2acfe78f - - - - -] Authorization failed. The request you have made requires authentication. from 10.51.4.70
2017-04-05 10:23:18.568 66363 INFO keystone.common.wsgi [req-59db17ab-70d8-468f-978c-e14bd6fba950 1c4f9e3e8581443fa89946996e8d37a2 c17580eeed5c4ab78e64a7b680db3cb0 - fdc79c4b63e8492d98271412320e8672 fdc79c4b63e8492d98271412320e8672] GET http://ocatacon:35357/v3/auth/tokens

so we need set cinder code value to None.