我以前已经发过同样帖子,我已经重新配置,可以还有警告,大家帮帮忙
[root@controller ~]# keystone --debug user-list
WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored).
DEBUG:keystoneclient.session:REQ: curl -i -X GET http://controller:35357/v2.0/users -H "User-Agent: python-keystoneclient" -H "X-Auth-Token: bbdb1b9ab22489458ac5"
INFO:urllib3.connectionpool:Starting new HTTP connection (1): controller
DEBUG:urllib3.connectionpool:"GET /v2.0/users HTTP/1.1" 200 260
DEBUG:keystoneclient.session:RESP: [200] {'date': 'Fri, 13 Mar 2015 01:22:39 GMT', 'content-type': 'application/json', 'content-length': '260', 'vary': 'X-Auth-Token'}
RESP BODY: {"users": [{"username": "admin", "name": "admin", "enabled": true, "email": "ADMIN_EMAIL", "id": "07ca03740fef4388b0b1407ad0a1bbe1"}, {"username": "nova", "name": "nova", "enabled": true, "email": "nova@example.com", "id": "cd711991555e46929b7e7e4a182f50a3"}]}
我如下配置
[root@controller ~]# export OS_SERVICE_TOKEN=$ADMIN_TOKEN [root@controller ~]# export OS_SERVICE_ENDPOINT=http://controller:35357/v2.0 [root@controller ~]#vi ./bin/admin-openrc.sh exportOS_USERNAME=admin exportOS_PASSWORD=ADMIN_PASS exportOS_TENANT_NAME=admin
exportOS_AUTH_URL=http://controller:35357/v2.0
openstack-config--set /etc/keystone/keystone.conf DEFAULT admin_token bbdb1b9ab22489458ac5
就这几个地方配置,为什么还有警告
|