perform the token command" openstack token issue” wrong
Hello, when I install openstack( Miltake version) on Cenos 7 , I encounter a problem at the end of keystone installation. My install book is openstack offie version "http://docs.openstack.org/mitaka/zh_CN/install-guide-rdo/keystone-openrc.html" The command is issued " openstack token issue ” to obtain a token .the log recording as the following :
[root@controller ~]# tail -f /var/log/keystone/keystone.log
2017-02-06 21:04:51.089 2162 WARNING keystone.assignment.core [-] Deprecated: Use of the identity driver config to automatically configure the same assignment driver has been deprecated, in the "O" release, the assignment driver will need to be expicitly configured if different than the default (SQL).
2017-02-06 21:04:52.100 2162 WARNING keystone.middleware.core [-] The admin_token_auth middleware presents a security risk and should be removed from the [pipeline:api_v3], [pipeline:admin_api], and [pipeline:public_api] sections of your paste ini file.
2017-02-06 21:04:52.277 2162 WARNING keystone.middleware.core [-] The admin_token_auth middleware presents a security risk and should be removed from the [pipeline:api_v3], [pipeline:admin_api], and [pipeline:public_api] sections of your paste ini file.
2017-02-06 21:04:52.600 2162 INFO keystone.common.wsgi [req-954aaa2b-7cba-41fb-92de-7f7f0e33723b - - - - -] GET http://controller:35357/v3/
2017-02-06 21:04:57.173 2161 WARNING keystone.assignment.core [-] Deprecated: Use of the identity driver config to automatically configure the same assignment driver has been deprecated, in the "O" release, the assignment driver will need to be expicitly configured if different than the default (SQL).
2017-02-06 21:04:57.812 2161 WARNING keystone.middleware.core [-] The admin_token_auth middleware presents a security risk and should be removed from the [pipeline:api_v3], [pipeline:admin_api], and [pipeline:public_api] sections of your paste ini file.
2017-02-06 21:04:57.971 2161 WARNING keystone.middleware.core [-] The admin_token_auth middleware presents a security risk and should be removed from the [pipeline:api_v3], [pipeline:admin_api], and [pipeline:public_api] sections of your paste ini file.
2017-02-06 21:04:58.288 2161 INFO keystone.common.wsgi [req-4d4c774f-7f39-4d66-9be3-ff7859556e11 - - - - -] POST http://controller:35357/v3/auth/tokens
2017-02-06 21:04:59.889 2161 WARNING keystone.common.wsgi [req-4d4c774f-7f39-4d66-9be3-ff7859556e11 - - - - -] Authorization failed. The request you have made requires authentication. from 192.168.0.5.
Thanks for your warm help!
It looks like you are not authenticating correctly. Typo in the openrc file?