Activity log for bug #1021162

Date Who What changed Old value New value Message
2012-07-05 07:48:48 Vincent Hou bug added bug
2012-07-05 07:49:07 Vincent Hou 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. enabled cinder in the ENABLED_SERVICES. 2. Login horizon and got to page http://<your ip>/nova/instances/ 3. Click the button launch instance. ==============================Log of horizon===================================== [Thu Jul 05 02:39:38 2012] [error] [Thu Jul 05 02:39:38 2012] [error] DEBUG:horizon.api.glance:glanceclient connection created using token "e1a9439e4f854cb0b92858c4ca6f2 46e" and url "http://9.119.148.177:9292" [Thu Jul 05 02:39:38 2012] [error] DEBUG:glanceclient.common.http:REQ: curl -i http://9.119.148.177:9292/v1/images/detail?property-own er_id=e257f9071032424b9fd495297336cfce&limit=1001 -X GET -H "X-Auth-Token: e1a9439e4f854cb0b92858c4ca6f246e" -H "Content-Type: applica tion/json" -H "User-Agent: python-glanceclient" [Thu Jul 05 02:39:38 2012] [error] [Thu Jul 05 02:39:38 2012] [error] DEBUG:glanceclient.common.http:RESP: {'date': 'Thu, 05 Jul 2012 07:39:38 GMT', 'status': '200', 'co ntent-length': '14', 'content-type': 'application/json; charset=UTF-8', 'content-location': u'http://9.119.148.177:9292/v1/images/deta il?property-owner_id=e257f9071032424b9fd495297336cfce&limit=1001'} [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.api.nova:novaclient connection created using token "e1a9439e4f854cb0b92858c4ca6f246e" and url "http://9.119.148.177:8774/v2/e257f9071032424b9fd495297336cfce" [Thu Jul 05 02:39:38 2012] [error] DEBUG:horizon.api.nova:novaclient connection created using token "e1a9439e4f854cb0b92858c4ca6f246e" and url "http://9.119.148.177:8774/v2/e257f9071032424b9fd495297336cfce" [Thu Jul 05 02:39:38 2012] [error] DEBUG:horizon.api.nova:novaclient connection created using token "e1a9439e4f854cb0b92858c4ca6f246e" and url "http://9.119.148.177:8774/v2/e257f9071032424b9fd495297336cfce" [Thu Jul 05 02:39:39 2012] [error] DEBUG:horizon.api.nova:novaclient connection created using token "e1a9439e4f854cb0b92858c4ca6f246e" and url "http://9.119.148.177:8774/v2/e257f9071032424b9fd495297336cfce" [Thu Jul 05 02:39:39 2012] [error] DEBUG:horizon.api.nova:cinderclient connection created using token "e1a9439e4f854cb0b92858c4ca6f246 e" and url "http://9.119.148.177:8776/v1/e257f9071032424b9fd495297336cfce" [Thu Jul 05 02:39:39 2012] [error] ERROR:horizon.exceptions:\x1b[31;1mRecoverable error: n/a (HTTP 400)\x1b[0m [Thu Jul 05 02:39:39 2012] [error] Traceback (most recent call last): [Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/dashboards/nova/instances/workflo ws.py", line 281, in get_help_text [Thu Jul 05 02:39:39 2012] [error] extra['usages'] = api.nova.tenant_quota_usages(self.request) [Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/utils/memoized.py", line 33, in _ _call__ [Thu Jul 05 02:39:39 2012] [error] value = self.func(*args) [Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/api/nova.py", line 416, in tenant _quota_usages [Thu Jul 05 02:39:39 2012] [error] volumes = volume_list(request) [Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/api/nova.py", line 488, in volume _list [Thu Jul 05 02:39:39 2012] [error] return cinderclient(request).volumes.list() [Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/python-novaclient/novaclient/v1_1/volumes.py", line 79, in list [Thu Jul 05 02:39:39 2012] [error] return self._list("/volumes/detail", "volumes") [Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/python-novaclient/novaclient/base.py", line 62, in _list [Thu Jul 05 02:39:39 2012] [error] _resp, body = self.api.client.get(url) [Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/python-novaclient/novaclient/client.py", line 170, in get [Thu Jul 05 02:39:39 2012] [error] return self._cs_request(url, 'GET', **kwargs) [Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/python-novaclient/novaclient/client.py", line 158, in _cs_request [Thu Jul 05 02:39:39 2012] [error] **kwargs) [Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/python-novaclient/novaclient/client.py", line 140, in _time_request [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/python-novaclient/novaclient/client.py", line 134, in request [Thu Jul 05 02:39:39 2012] [error] raise exceptions.from_response(resp, body) [Thu Jul 05 02:39:39 2012] [error] BadRequest: n/a (HTTP 400) [Thu Jul 05 02:39:39 2012] [error] DEBUG:horizon.api.nova:novaclient connection created using token "e1a9439e4f854cb0b92858c4ca6f246e" and url "http://9.119.148.177:8774/v2/e257f9071032424b9fd495297336cfce" [Thu Jul 05 02:39:39 2012] [error] DEBUG:horizon.api.nova:novaclient connection created using token "e1a9439e4f854cb0b92858c4ca6f246e" and url "http://9.119.148.177:8774/v2/e257f9071032424b9fd495297336cfce" [Thu Jul 05 02:39:39 2012] [error] DEBUG:horizon.api.nova:cinderclient connection created using token "e1a9439e4f854cb0b92858c4ca6f246e" and url "http://9.119.148.177:8776/v1/e257f9071032424b9fd495297336cfce" [Thu Jul 05 02:39:39 2012] [error] ERROR:horizon.exceptions:\x1b[31;1mRecoverable error: n/a (HTTP 400)\x1b[0m [Thu Jul 05 02:39:39 2012] [error] Traceback (most recent call last): [Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/dashboards/nova/instances/workflows.py", line 113, in populate_volume_id_choices [Thu Jul 05 02:39:39 2012] [error] volumes = [v for v in api.nova.volume_list(self.request) [Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/api/nova.py", line 488, in volume_list [Thu Jul 05 02:39:39 2012] [error] return cinderclient(request).volumes.list() [Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/python-novaclient/novaclient/v1_1/volumes.py", line 79, in list [Thu Jul 05 02:39:39 2012] [error] return self._list("/volumes/detail", "volumes") [Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/python-novaclient/novaclient/base.py", line 62, in _list [Thu Jul 05 02:39:39 2012] [error] _resp, body = self.api.client.get(url) [Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/python-novaclient/novaclient/client.py", line 170, in get [Thu Jul 05 02:39:39 2012] [error] return self._cs_request(url, 'GET', **kwargs) [Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/python-novaclient/novaclient/client.py", line 158, in _cs_request [Thu Jul 05 02:39:39 2012] [error] **kwargs) [Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/python-novaclient/novaclient/client.py", line 140, in _time_request [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/python-novaclient/novaclient/client.py", line 134, in request [Thu Jul 05 02:39:39 2012] [error] raise exceptions.from_response(resp, body) [Thu Jul 05 02:39:39 2012] [error] BadRequest: n/a (HTTP 400) [Thu Jul 05 02:39:39 2012] [error] DEBUG:horizon.api.nova:cinderclient connection created using token "e1a9439e4f854cb0b92858c4ca6f246e" and url "http://9.119.148.177:8776/v1/e257f9071032424b9fd495297336cfce" [Thu Jul 05 02:39:39 2012] [error] ERROR:horizon.exceptions:\x1b[31;1mRecoverable error: n/a (HTTP 400)\x1b[0m [Thu Jul 05 02:39:39 2012] [error] Traceback (most recent call last): [Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/dashboards/nova/instances/workflows.py", line 125, in populate_volume_snapshot_id_choices [Thu Jul 05 02:39:39 2012] [error] snapshots = api.nova.volume_snapshot_list(self.request) [Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/api/nova.py", line 540, in volume_snapshot_list [Thu Jul 05 02:39:39 2012] [error] return cinderclient(request).volume_snapshots.list() [Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/python-novaclient/novaclient/v1_1/volume_snapshots.py", line 78, in list [Thu Jul 05 02:39:39 2012] [error] return self._list("/snapshots/detail", "snapshots") [Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/python-novaclient/novaclient/base.py", line 62, in _list [Thu Jul 05 02:39:39 2012] [error] _resp, body = self.api.client.get(url) [Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/python-novaclient/novaclient/client.py", line 170, in get [Thu Jul 05 02:39:39 2012] [error] return self._cs_request(url, 'GET', **kwargs) [Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/python-novaclient/novaclient/client.py", line 158, in _cs_request [Thu Jul 05 02:39:39 2012] [error] **kwargs) [Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/python-novaclient/novaclient/client.py", line 140, in _time_request [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/python-novaclient/novaclient/client.py", line 134, in request [Thu Jul 05 02:39:39 2012] [error] raise exceptions.from_response(resp, body) [Thu Jul 05 02:39:39 2012] [error] BadRequest: n/a (HTTP 400) 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. ==============================Log of horizon===================================== [Thu Jul 05 02:39:38 2012] [error] [Thu Jul 05 02:39:38 2012] [error] DEBUG:horizon.api.glance:glanceclient connection created using token "e1a9439e4f854cb0b92858c4ca6f2 46e" and url "http://9.119.148.177:9292" [Thu Jul 05 02:39:38 2012] [error] DEBUG:glanceclient.common.http:REQ: curl -i http://9.119.148.177:9292/v1/images/detail?property-own er_id=e257f9071032424b9fd495297336cfce&limit=1001 -X GET -H "X-Auth-Token: e1a9439e4f854cb0b92858c4ca6f246e" -H "Content-Type: applica tion/json" -H "User-Agent: python-glanceclient" [Thu Jul 05 02:39:38 2012] [error] [Thu Jul 05 02:39:38 2012] [error] DEBUG:glanceclient.common.http:RESP: {'date': 'Thu, 05 Jul 2012 07:39:38 GMT', 'status': '200', 'co ntent-length': '14', 'content-type': 'application/json; charset=UTF-8', 'content-location': u'http://9.119.148.177:9292/v1/images/deta il?property-owner_id=e257f9071032424b9fd495297336cfce&limit=1001'} [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.api.nova:novaclient connection created using token "e1a9439e4f854cb0b92858c4ca6f246e"  and url "http://9.119.148.177:8774/v2/e257f9071032424b9fd495297336cfce" [Thu Jul 05 02:39:38 2012] [error] DEBUG:horizon.api.nova:novaclient connection created using token "e1a9439e4f854cb0b92858c4ca6f246e"  and url "http://9.119.148.177:8774/v2/e257f9071032424b9fd495297336cfce" [Thu Jul 05 02:39:38 2012] [error] DEBUG:horizon.api.nova:novaclient connection created using token "e1a9439e4f854cb0b92858c4ca6f246e"  and url "http://9.119.148.177:8774/v2/e257f9071032424b9fd495297336cfce" [Thu Jul 05 02:39:39 2012] [error] DEBUG:horizon.api.nova:novaclient connection created using token "e1a9439e4f854cb0b92858c4ca6f246e"  and url "http://9.119.148.177:8774/v2/e257f9071032424b9fd495297336cfce" [Thu Jul 05 02:39:39 2012] [error] DEBUG:horizon.api.nova:cinderclient connection created using token "e1a9439e4f854cb0b92858c4ca6f246 e" and url "http://9.119.148.177:8776/v1/e257f9071032424b9fd495297336cfce" [Thu Jul 05 02:39:39 2012] [error] ERROR:horizon.exceptions:\x1b[31;1mRecoverable error: n/a (HTTP 400)\x1b[0m [Thu Jul 05 02:39:39 2012] [error] Traceback (most recent call last): [Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/dashboards/nova/instances/workflo ws.py", line 281, in get_help_text [Thu Jul 05 02:39:39 2012] [error] extra['usages'] = api.nova.tenant_quota_usages(self.request) [Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/utils/memoized.py", line 33, in _ _call__ [Thu Jul 05 02:39:39 2012] [error] value = self.func(*args) [Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/api/nova.py", line 416, in tenant _quota_usages [Thu Jul 05 02:39:39 2012] [error] volumes = volume_list(request) [Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/api/nova.py", line 488, in volume _list [Thu Jul 05 02:39:39 2012] [error] return cinderclient(request).volumes.list() [Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/python-novaclient/novaclient/v1_1/volumes.py", line 79, in list [Thu Jul 05 02:39:39 2012] [error] return self._list("/volumes/detail", "volumes") [Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/python-novaclient/novaclient/base.py", line 62, in _list [Thu Jul 05 02:39:39 2012] [error] _resp, body = self.api.client.get(url) [Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/python-novaclient/novaclient/client.py", line 170, in get [Thu Jul 05 02:39:39 2012] [error] return self._cs_request(url, 'GET', **kwargs) [Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/python-novaclient/novaclient/client.py", line 158, in _cs_request [Thu Jul 05 02:39:39 2012] [error] **kwargs) [Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/python-novaclient/novaclient/client.py", line 140, in _time_request [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/python-novaclient/novaclient/client.py", line 134, in request [Thu Jul 05 02:39:39 2012] [error] raise exceptions.from_response(resp, body) [Thu Jul 05 02:39:39 2012] [error] BadRequest: n/a (HTTP 400) [Thu Jul 05 02:39:39 2012] [error] DEBUG:horizon.api.nova:novaclient connection created using token "e1a9439e4f854cb0b92858c4ca6f246e" and url "http://9.119.148.177:8774/v2/e257f9071032424b9fd495297336cfce" [Thu Jul 05 02:39:39 2012] [error] DEBUG:horizon.api.nova:novaclient connection created using token "e1a9439e4f854cb0b92858c4ca6f246e" and url "http://9.119.148.177:8774/v2/e257f9071032424b9fd495297336cfce" [Thu Jul 05 02:39:39 2012] [error] DEBUG:horizon.api.nova:cinderclient connection created using token "e1a9439e4f854cb0b92858c4ca6f246e" and url "http://9.119.148.177:8776/v1/e257f9071032424b9fd495297336cfce" [Thu Jul 05 02:39:39 2012] [error] ERROR:horizon.exceptions:\x1b[31;1mRecoverable error: n/a (HTTP 400)\x1b[0m [Thu Jul 05 02:39:39 2012] [error] Traceback (most recent call last): [Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/dashboards/nova/instances/workflows.py", line 113, in populate_volume_id_choices [Thu Jul 05 02:39:39 2012] [error] volumes = [v for v in api.nova.volume_list(self.request) [Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/api/nova.py", line 488, in volume_list [Thu Jul 05 02:39:39 2012] [error] return cinderclient(request).volumes.list() [Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/python-novaclient/novaclient/v1_1/volumes.py", line 79, in list [Thu Jul 05 02:39:39 2012] [error] return self._list("/volumes/detail", "volumes") [Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/python-novaclient/novaclient/base.py", line 62, in _list [Thu Jul 05 02:39:39 2012] [error] _resp, body = self.api.client.get(url) [Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/python-novaclient/novaclient/client.py", line 170, in get [Thu Jul 05 02:39:39 2012] [error] return self._cs_request(url, 'GET', **kwargs) [Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/python-novaclient/novaclient/client.py", line 158, in _cs_request [Thu Jul 05 02:39:39 2012] [error] **kwargs) [Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/python-novaclient/novaclient/client.py", line 140, in _time_request [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/python-novaclient/novaclient/client.py", line 134, in request [Thu Jul 05 02:39:39 2012] [error] raise exceptions.from_response(resp, body) [Thu Jul 05 02:39:39 2012] [error] BadRequest: n/a (HTTP 400) [Thu Jul 05 02:39:39 2012] [error] DEBUG:horizon.api.nova:cinderclient connection created using token "e1a9439e4f854cb0b92858c4ca6f246e" and url "http://9.119.148.177:8776/v1/e257f9071032424b9fd495297336cfce" [Thu Jul 05 02:39:39 2012] [error] ERROR:horizon.exceptions:\x1b[31;1mRecoverable error: n/a (HTTP 400)\x1b[0m [Thu Jul 05 02:39:39 2012] [error] Traceback (most recent call last): [Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/dashboards/nova/instances/workflows.py", line 125, in populate_volume_snapshot_id_choices [Thu Jul 05 02:39:39 2012] [error] snapshots = api.nova.volume_snapshot_list(self.request) [Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/api/nova.py", line 540, in volume_snapshot_list [Thu Jul 05 02:39:39 2012] [error] return cinderclient(request).volume_snapshots.list() [Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/python-novaclient/novaclient/v1_1/volume_snapshots.py", line 78, in list [Thu Jul 05 02:39:39 2012] [error] return self._list("/snapshots/detail", "snapshots") [Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/python-novaclient/novaclient/base.py", line 62, in _list [Thu Jul 05 02:39:39 2012] [error] _resp, body = self.api.client.get(url) [Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/python-novaclient/novaclient/client.py", line 170, in get [Thu Jul 05 02:39:39 2012] [error] return self._cs_request(url, 'GET', **kwargs) [Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/python-novaclient/novaclient/client.py", line 158, in _cs_request [Thu Jul 05 02:39:39 2012] [error] **kwargs) [Thu Jul 05 02:39:39 2012] [error] File "/opt/stack/python-novaclient/novaclient/client.py", line 140, in _time_request [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/python-novaclient/novaclient/client.py", line 134, in request [Thu Jul 05 02:39:39 2012] [error] raise exceptions.from_response(resp, body) [Thu Jul 05 02:39:39 2012] [error] BadRequest: n/a (HTTP 400)
2012-07-05 07:49:45 Vincent Hou attachment added This bug https://bugs.launchpad.net/horizon/+bug/1021162/+attachment/3213719/+files/2012-07-05%2015%3A44%3A55%E7%9A%84%E5%B1%8F%E5%B9%95%E6%88%AA%E5%9B%BE.png
2012-07-05 07:55:43 Vincent Hou bug task added cinder
2012-07-05 09:38:50 Vincent Hou cinder: status New Invalid
2012-07-05 09:38:55 Vincent Hou horizon: status New Invalid