Unable to retrieve list of volume snapshots; Unable to retrieve list of volumes; Unable to retrieve quota information
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Invalid
|
Undecided
|
Unassigned | ||
OpenStack Dashboard (Horizon) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I used the latest devstack and master source code. I enabled cinder in the ENABLED_SERVICES.
When I was trying to launch a VM in horizon, I received the following errors.
How to create this bug:
1. Enable cinder in the ENABLED_SERVICES.
2. Login horizon and got to page http://<your ip>/nova/instances/
3. Click the button launch instance.
=======
[Thu Jul 05 02:39:38 2012] [error]
[Thu Jul 05 02:39:38 2012] [error] DEBUG:horizon.
46e" and url "http://
[Thu Jul 05 02:39:38 2012] [error] DEBUG:glancecli
er_id=e257f9071
tion/json" -H "User-Agent: python-
[Thu Jul 05 02:39:38 2012] [error]
[Thu Jul 05 02:39:38 2012] [error] DEBUG:glancecli
ntent-length': '14', 'content-type': 'application/json; charset=UTF-8', 'content-location': u'http://
il?property-
[Thu Jul 05 02:39:38 2012] [error] RESP BODY: {"images": []}
[Thu Jul 05 02:39:38 2012] [error]
[Thu Jul 05 02:39:38 2012] [error] DEBUG:horizon.
and url "http://
[Thu Jul 05 02:39:38 2012] [error] DEBUG:horizon.
and url "http://
[Thu Jul 05 02:39:38 2012] [error] DEBUG:horizon.
and url "http://
[Thu Jul 05 02:39:39 2012] [error] DEBUG:horizon.
and url "http://
[Thu Jul 05 02:39:39 2012] [error] DEBUG:horizon.
e" and url "http://
[Thu Jul 05 02:39:39 2012] [error] ERROR:horizon.
[Thu Jul 05 02:39:39 2012] [error] Traceback (most recent call last):
[Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/
ws.py", line 281, in get_help_text
[Thu Jul 05 02:39:39 2012] [error] extra['usages'] = api.nova.
[Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/
_call__
[Thu Jul 05 02:39:39 2012] [error] value = self.func(*args)
[Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/
_quota_usages
[Thu Jul 05 02:39:39 2012] [error] volumes = volume_
[Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/
_list
[Thu Jul 05 02:39:39 2012] [error] return cinderclient(
[Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/
[Thu Jul 05 02:39:39 2012] [error] return self._list(
[Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/
[Thu Jul 05 02:39:39 2012] [error] _resp, body = self.api.
[Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/
[Thu Jul 05 02:39:39 2012] [error] return self._cs_
[Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/
[Thu Jul 05 02:39:39 2012] [error] **kwargs)
[Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/
[Thu Jul 05 02:39:39 2012] [error] resp, body = self.request(url, method, **kwargs)
[Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/
[Thu Jul 05 02:39:39 2012] [error] raise exceptions.
[Thu Jul 05 02:39:39 2012] [error] BadRequest: n/a (HTTP 400)
[Thu Jul 05 02:39:39 2012] [error] DEBUG:horizon.
[Thu Jul 05 02:39:39 2012] [error] DEBUG:horizon.
[Thu Jul 05 02:39:39 2012] [error] DEBUG:horizon.
[Thu Jul 05 02:39:39 2012] [error] ERROR:horizon.
[Thu Jul 05 02:39:39 2012] [error] Traceback (most recent call last):
[Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/
[Thu Jul 05 02:39:39 2012] [error] volumes = [v for v in api.nova.
[Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/
[Thu Jul 05 02:39:39 2012] [error] return cinderclient(
[Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/
[Thu Jul 05 02:39:39 2012] [error] return self._list(
[Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/
[Thu Jul 05 02:39:39 2012] [error] _resp, body = self.api.
[Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/
[Thu Jul 05 02:39:39 2012] [error] return self._cs_
[Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/
[Thu Jul 05 02:39:39 2012] [error] **kwargs)
[Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/
[Thu Jul 05 02:39:39 2012] [error] resp, body = self.request(url, method, **kwargs)
[Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/
[Thu Jul 05 02:39:39 2012] [error] raise exceptions.
[Thu Jul 05 02:39:39 2012] [error] BadRequest: n/a (HTTP 400)
[Thu Jul 05 02:39:39 2012] [error] DEBUG:horizon.
[Thu Jul 05 02:39:39 2012] [error] ERROR:horizon.
[Thu Jul 05 02:39:39 2012] [error] Traceback (most recent call last):
[Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/
[Thu Jul 05 02:39:39 2012] [error] snapshots = api.nova.
[Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/
[Thu Jul 05 02:39:39 2012] [error] return cinderclient(
[Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/
[Thu Jul 05 02:39:39 2012] [error] return self._list(
[Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/
[Thu Jul 05 02:39:39 2012] [error] _resp, body = self.api.
[Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/
[Thu Jul 05 02:39:39 2012] [error] return self._cs_
[Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/
[Thu Jul 05 02:39:39 2012] [error] **kwargs)
[Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/
[Thu Jul 05 02:39:39 2012] [error] resp, body = self.request(url, method, **kwargs)
[Thu Jul 05 02:39:39 2012] [error] resp, body = self.request(url, method, **kwargs)
[Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/
[Thu Jul 05 02:39:39 2012] [error] raise exceptions.
[Thu Jul 05 02:39:39 2012] [error] BadRequest: n/a (HTTP 400)
Sorry, I found the solution to it.
I need to add cinder, c-api, c-vol and c-sch into ENABLED_SERVICES to make it work.