OpenStack horizo​​n无法找到令牌

时间:2015-08-19 09:09:39

标签: python-2.7 ubuntu openstack-horizon

我正在开发OpenStack视野,并在http://docs.openstack.org/developer/horizon/quickstart.html开始快速启动。 但是当我将我的后端服务URL添加到local_settings.py时,启动服务器。它只是抛出错误:

  

未经授权:无法找到令牌,99a3682bc1e3a0ca55cb51436a2ff766。 (HTTP 401)   无法检索项目列表。   Traceback(最近一次调用最后一次):     文件" /usr/local/lib/python2.7/dist-packages/openstack_auth/user.py",308行,在authorized_tenants中       is_federated = self.is_federated)     文件" /usr/local/lib/python2.7/dist-packages/openstack_auth/utils.py" ;,第145行,在包装器中       result = func(* args,** kwargs)     文件" /usr/local/lib/python2.7/dist-packages/openstack_auth/utils.py",第256行,在get_project_list中       projects = client.tenants.list()     文件" /usr/local/lib/python2.7/dist-packages/keystoneclient/v2_0/tenants.py" ;,第123行,在列表中       tenant_list = self._list(' /租户%s'%查询,'租户')     文件" /usr/local/lib/python2.7/dist-packages/keystoneclient/base.py" ;,第113行,在_list中       resp,body = self.client.get(url,** kwargs)     文件" /usr/local/lib/python2.7/dist-packages/keystoneclient/adapter.py" ;,第170行,获取       return self.request(url,' GET',** kwargs)     文件" /usr/local/lib/python2.7/dist-packages/keystoneclient/adapter.py",第206行,请求中       resp = super(LegacyJsonAdapter,self).request(* args,** kwargs)     文件" /usr/local/lib/python2.7/dist-packages/keystoneclient/adapter.py",第95行,请求中       return self.session.request(url,method,** kwargs)     文件" /usr/local/lib/python2.7/dist-packages/keystoneclient/utils.py" ;,第336行,内在       return func(* args,** kwargs)     文件" /usr/local/lib/python2.7/dist-packages/keystoneclient/session.py",第397行,请求中       引发exceptions.from_response(resp,method,url)   未经授权:无法找到令牌,99a3682bc1e3a0ca55cb51436a2ff766。 (HTTP 401)   无法检索项目列表。   回溯(最近一次调用最后一次):

0 个答案:

没有答案