cinder list error

asked 2016-02-22 18:50:26 -0600

slosh_liuxin gravatar image
  Hi,my openstack is kilo.I click any button in dashboard like volumes,access & security or the network tables,all the same error like this:

 [Tue Feb 23 08:44:00.383587 2016] [:error] [pid 45685] Traceback (most recent call last):
[Tue Feb 23 08:44:00.383595 2016] [:error] [pid 45685]   File "/usr/lib/python2.7/site-packages/horizon/tables/base.py", line 1260, in _filter_action
[Tue Feb 23 08:44:00.383600 2016] [:error] [pid 45685]     return action._allowed(request, datum) and row_matched
[Tue Feb 23 08:44:00.383605 2016] [:error] [pid 45685]   File "/usr/lib/python2.7/site-packages/horizon/tables/actions.py", line 136, in _allowed
[Tue Feb 23 08:44:00.383610 2016] [:error] [pid 45685]     self.allowed(request, datum))
[Tue Feb 23 08:44:00.383619 2016] [:error] [pid 45685]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/networks/tables.py", line 94, in allowed
[Tue Feb 23 08:44:00.383626 2016] [:error] [pid 45685]     usages = quotas.tenant_quota_usages(request)
[Tue Feb 23 08:44:00.383631 2016] [:error] [pid 45685]   File "/usr/lib/python2.7/site-packages/horizon/utils/memoized.py", line 90, in wrapped
[Tue Feb 23 08:44:00.383661 2016] [:error] [pid 45685]     value = cache[key] = func(*args, **kwargs)
[Tue Feb 23 08:44:00.383668 2016] [:error] [pid 45685]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/quotas.py", line 349, in tenant_quota_usages
[Tue Feb 23 08:44:00.383674 2016] [:error] [pid 45685]     tenant_id=tenant_id):
[Tue Feb 23 08:44:00.383681 2016] [:error] [pid 45685]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/quotas.py", line 165, in get_tenant_quota_data
[Tue Feb 23 08:44:00.383686 2016] [:error] [pid 45685]     tenant_id=tenant_id)
[Tue Feb 23 08:44:00.383699 2016] [:error] [pid 45685]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/quotas.py", line 147, in _get_quota_data
[Tue Feb 23 08:44:00.383744 2016] [:error] [pid 45685]     quotasets.append(getattr(cinder, method_name)(request, tenant_id))
[Tue Feb 23 08:44:00.383765 2016] [:error] [pid 45685]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/cinder.py", line 409, in tenant_quota_get
[Tue Feb 23 08:44:00.383768 2016] [:error] [pid 45685]     return base.QuotaSet(c_client.quotas.get(tenant_id))
[Tue Feb 23 08:44:00.383771 2016] [:error] [pid 45685]   File "/usr/lib/python2.7/site-packages/cinderclient/v2/quotas.py", line 37, in get
[Tue Feb 23 08:44:00.383773 2016] [:error] [pid 45685]     "quota_set")
[Tue Feb 23 08:44:00.383776 2016] [:error] [pid 45685]   File "/usr/lib/python2.7/site-packages/cinderclient/base.py", line 173, in _get
[Tue Feb 23 08:44:00.383778 2016] [:error] [pid 45685]     resp, body = self.api.client.get(url)
[Tue Feb 23 08:44:00.383780 2016] [:error] [pid 45685]   File "/usr/lib/python2.7/site-packages/cinderclient/client.py", line 326, in get
[Tue Feb 23 08:44:00.383785 2016] [:error] [pid 45685]     return self._cs_request(url, 'GET', **kwargs)
[Tue Feb 23 08:44:00.383796 2016] [:error] [pid ...
(more)
edit retag flag offensive close merge delete

Comments

did u login to dashboard as admin user?

teju gravatar imageteju ( 2016-02-22 22:59:20 -0600 )edit

Yes,i use admin user to login the dashboard.But i got the same error: WARNING keystonemiddleware.auth_token [-] Unable to find authentication token in headers

slosh_liuxin gravatar imageslosh_liuxin ( 2016-02-22 23:27:13 -0600 )edit

Are you able to run cinder commands with admin credentials?

teju gravatar imageteju ( 2016-02-23 00:18:10 -0600 )edit

Hi,thanks teju!I fix the problem!It is my conf file was wrong....cinder-api service use two conf file..BTW,thank u very much for helping me to fix my problems!

slosh_liuxin gravatar imageslosh_liuxin ( 2016-02-23 02:46:48 -0600 )edit