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
when we use DOMAIN_ NAME=default DOMAIN_ NAME=default NAME=admin ocatacon: 35357/v3 API_VERSION= 3 API_VERSION= 2
export OS_PROJECT_
export OS_USER_
export OS_PROJECT_
export OS_USERNAME=admin
export OS_PASSWORD=huayun
export OS_AUTH_URL=http://
export OS_IDENTITY_
export OS_IMAGE_
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-e6633eef16 1e - - - - -] GET http:// ocatacon: 35357/v3/ common. wsgi [req-af695a0a- f555-4cfb- 90ed-1bce2acfe7 8f - - - - -] POST http:// ocatacon: 35357/v3/ auth/tokens f555-4cfb- 90ed-1bce2acfe7 8f - - - - -] Could not find domain: default. common. wsgi [req-af695a0a- f555-4cfb- 90ed-1bce2acfe7 8f - - - - -] Authorization failed. The request you have made requires authentication. from 10.51.4.70 common. wsgi [req-59db17ab- 70d8-468f- 978c-e14bd6fba9 50 1c4f9e3e8581443 fa89946996e8d37 a2 c17580eeed5c4ab 78e64a7b680db3c b0 - fdc79c4b63e8492 d98271412320e86 72 fdc79c4b63e8492 d98271412320e86 72] GET http:// ocatacon: 35357/v3/ auth/tokens
2017-04-05 10:22:40.995 66362 INFO keystone.
2017-04-05 10:22:41.001 66362 WARNING keystone.auth.core [req-af695a0a-
2017-04-05 10:22:41.002 66362 WARNING keystone.
2017-04-05 10:23:18.568 66363 INFO keystone.
so we need set cinder code value to None.