问题描述
执行glanceimage-list报错信息用户名和密码已经检查没有问题谢谢回复![root@openstack~]#glanceimage-list/usr/lib/python2.6/site-packages/keystoneclient/access.py:20:DeprecationWarning:Theoslonamespacepackageisdeprecated.Pleaseuseoslo_utilsinstead.fromoslo.utilsimporttimeutils/usr/lib/python2.6/site-packages/keystoneclient/i18n.py:21:DeprecationWarning:Theoslonamespacepackageisdeprecated.Pleaseuseoslo_i18ninstead.fromosloimporti18n/usr/lib/python2.6/site-packages/keystoneclient/session.py:20:DeprecationWarning:Theoslonamespacepackageisdeprecated.Pleaseuseoslo_configinstead.fromoslo.configimportcfg/usr/lib/python2.6/site-packages/keystoneclient/session.py:21:DeprecationWarning:Theoslonamespacepackageisdeprecated.Pleaseuseoslo_serializationinstead.fromoslo.serializationimportjsonutils2015-01-0804:30:52.22540569DEBUGkeystone.middleware.core[-]Authtokennotintherequestheader.Willnotbuildauthcontext.process_request/usr/lib/python2.6/site-packages/keystone/middleware/core.py:2712015-01-0804:30:52.23140569DEBUGkeystone.common.wsgi[-]arg_dict:{}__call__/usr/lib/python2.6/site-packages/keystone/common/wsgi.py:1812015-01-0804:30:52.23740569INFOeventlet.wsgi.server[-]192.168.7.120--[08/Jan/201504:30:52]"GET/v2.0HTTP/1.1"2007700.0140502015-01-0804:30:52.24140569DEBUGkeystone.middleware.core[-]Authtokennotintherequestheader.Willnotbuildauthcontext.process_request/usr/lib/python2.6/site-packages/keystone/middleware/core.py:2712015-01-0804:30:52.24640569DEBUGkeystone.common.wsgi[-]arg_dict:{}__call__/usr/lib/python2.6/site-packages/keystone/common/wsgi.py:1812015-01-0804:30:52.26740569DEBUGkeystone.notifications[-]CADFEvent:{'typeURI':'http://schemas.dmtf.org/cloud/audit/1.0/event','initiator':{'typeURI':'service/security/account/user','host':{'agent':'python-keystoneclient','address':'192.168.7.120'},'id':'openstack:19f4b2be-8682-4400-b941-049bdccafe68','name':u'8876c1500a674249acc8a4572e093bd0'},'target':{'typeURI':'service/security/account/user','id':'openstack:20ca9cd5-1aab-4dea-be23-c1b656301e1c'},'observer':{'typeURI':'service/security','id':'openstack:4851e5b7-f4ba-48a1-a6cb-6dec63be5cf0'},'eventType':'activity','eventTime':'2015-01-07T20:30:52.266864+0000','action':'authenticate','outcome':'pending','id':'openstack:d38c13fa-9560-4f7b-8890-7dea26eca05e'}_send_audit_notification/usr/lib/python2.6/site-packages/keystone/notifications.py:2892015-01-0804:30:52.34440569DEBUGkeystone.notifications[-]CADFEvent:{'typeURI':'http://schemas.dmtf.org/cloud/audit/1.0/event','initiator':{'typeURI':'service/security/account/user','host':{'agent':'python-keystoneclient','address':'192.168.7.120'},'id':'openstack:19f4b2be-8682-4400-b941-049bdccafe68','name':u'8876c1500a674249acc8a4572e093bd0'},'target':{'typeURI':'service/security/account/user','id':'openstack:8a2e79b0-e3cf-4863-a757-975c1e1435bf'},'observer':{'typeURI':'service/security','id':'openstack:c9b93960-a841-437b-86fb-2b4fc5a221df'},'eventType':'activity','eventTime':'2015-01-07T20:30:52.343717+0000','action':'authenticate','outcome':'failure','id':'openstack:07a1f002-0d61-4332-8e0e-edb610295d6d'}_send_audit_notification/usr/lib/python2.6/site-packages/keystone/notifications.py:2892015-01-0804:30:52.34640569WARNINGkeystone.common.wsgi[-]Authorizationfailed.Invaliduser/passwordfrom192.168.7.120Authenticationfailure:Invaliduser/password(HTTP401)相关配置信息exportOS_TENANT_NAME=ADMINexportOS_USERNAME=ADMINexportOS_PASSWORD=ADMINexportOS_AUTH_URL=http://192.168.7.120:35357/v2.0vi/etc/glance/glance-api.conf[keystone_authtoken]auth_uri=http://192.168.7.120:35357identity_uri=http://192.168.7.120:35357auth_host=192.168.7.120auth_port=37357auth_protocol=httpadmin_tenant_name=adminadmin_user=adminadmin_password=adminkeystoneendpoint-list-----------------------------+|id|region|publicurl|internalurl|adminurl|service_id|+----------------------------------+-----------+---------------------------------+--------------------------------+---------------------------------+----------------------------------+|7eabcbc9154640b5afd0b1da38712642|regionOne|http://192.168.7.120:35357/v2.0|http://192.168.7.120:5000/v2.0|http://192.168.7.120:35357/v2.0|89fbc09beaf64e97891ddc6a2eccfb1f||f2351fc1e0a2431081e4ebc643d1194b|regionOne|http://192.168.7.120:9292|http://192.168.7.120:9292|http://192.168.7.120:9292|5d6c7f11a4414ef5bd701458280f8ce5|