Created
January 10, 2012 19:25
-
-
Save treshenry/1590646 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tres@ubuntu:~/horizon$ ./run_tests.sh | |
Checking environment. | |
Environment is up to date. | |
Running Horizon application tests | |
nosetests --verbosity 1 horizon --nocapture --cover-package=horizon --cover-inclusive | |
Creating test database for alias 'default'... | |
Destroying old test database 'default'... | |
.INFO:horizon.dashboards.nova.access_and_security.floating_ips.forms:Associating Floating IP "58.58.58.58" with Instance "1" | |
DEBUG:horizon.api.nova:novaclient connection created using token "aToken" and url "http://nova/novapi/internal" | |
DEBUG:novaclient.client:REQ: curl -i http://nova/novapi/internal/os-keypairs -X GET -H "X-Auth-Project-Id: 1" -H "User-Agent: python-novaclient" -H "X-Auth-Token: aToken" | |
DEBUG:novaclient.client:RESP:{'status': '400', 'content-length': 368, 'content-type': 'text/plain'} An external URI request tried to escape through an httplib2 client. Args: (<novaclient.client.HTTPClient object at 0x3d17990>, <httplib2.HTTPConnectionWithTimeout instance at 0x3d1a7a0>, '/novapi/internal/os-keypairs', 'GET', None, {'x-auth-project-id': '1', 'x-auth-token': 'aToken', 'accept-encoding': 'gzip, deflate', 'user-agent': 'python-novaclient'}), kwargs: {} | |
ERROR:horizon.dashboards.nova.access_and_security.views:Exception in keypair index | |
Traceback (most recent call last): | |
File "/home/tres/horizon/horizon/horizon/dashboards/nova/access_and_security/views.py", line 47, in get_keypairs_data | |
keypairs = api.nova.keypair_list(self.request) | |
File "/home/tres/horizon/horizon/horizon/api/nova.py", line 220, in keypair_list | |
return [KeyPair(key) for key in novaclient(request).keypairs.list()] | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/v1_1/keypairs.py", line 72, in list | |
return self._list('/os-keypairs', 'keypairs') | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/base.py", line 69, in _list | |
resp, body = self.api.client.get(url) | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/client.py", line 130, in get | |
return self._cs_request(url, 'GET', **kwargs) | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/client.py", line 118, in _cs_request | |
**kwargs) | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/client.py", line 101, in request | |
raise exceptions.from_response(resp, body) | |
BadRequest: n/a (HTTP 400) | |
DEBUG:horizon.api.nova:novaclient connection created using token "aToken" and url "http://nova/novapi/internal" | |
DEBUG:novaclient.client:REQ: curl -i http://nova/novapi/internal/os-security-groups -X GET -H "X-Auth-Project-Id: 1" -H "User-Agent: python-novaclient" -H "X-Auth-Token: aToken" | |
DEBUG:novaclient.client:RESP:{'status': '400', 'content-length': 375, 'content-type': 'text/plain'} An external URI request tried to escape through an httplib2 client. Args: (<novaclient.client.HTTPClient object at 0x3d251d0>, <httplib2.HTTPConnectionWithTimeout instance at 0x288bc20>, '/novapi/internal/os-security-groups', 'GET', None, {'x-auth-project-id': '1', 'x-auth-token': 'aToken', 'accept-encoding': 'gzip, deflate', 'user-agent': 'python-novaclient'}), kwargs: {} | |
ERROR:horizon.dashboards.nova.access_and_security.views:ClientException in security_groups index | |
Traceback (most recent call last): | |
File "/home/tres/horizon/horizon/horizon/dashboards/nova/access_and_security/views.py", line 57, in get_security_groups_data | |
security_groups = api.security_group_list(self.request) | |
File "/home/tres/horizon/horizon/horizon/api/nova.py", line 294, in security_group_list | |
return [SecurityGroup(g) for g in novaclient(request).\ | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/v1_1/security_groups.py", line 73, in list | |
return self._list("/os-security-groups", "security_groups") | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/base.py", line 69, in _list | |
resp, body = self.api.client.get(url) | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/client.py", line 130, in get | |
return self._cs_request(url, 'GET', **kwargs) | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/client.py", line 118, in _cs_request | |
**kwargs) | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/client.py", line 101, in request | |
raise exceptions.from_response(resp, body) | |
BadRequest: n/a (HTTP 400) | |
.ERROR:horizon.dashboards.nova.access_and_security.floating_ips.forms:ClientException in FloatingIpAssociate | |
Traceback (most recent call last): | |
File "/home/tres/horizon/horizon/horizon/dashboards/nova/access_and_security/floating_ips/forms.py", line 53, in handle | |
data['floating_ip_id']) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 1010, in __call__ | |
raise expected_method._exception | |
ClientException: clientException (HTTP ClientException) | |
.INFO:horizon.dashboards.nova.access_and_security.floating_ips.tables:Disassociating Floating IP "1". | |
.ERROR:horizon.dashboards.nova.access_and_security.floating_ips.tables:ClientException in FloatingIpAssociate | |
Traceback (most recent call last): | |
File "/home/tres/horizon/horizon/horizon/dashboards/nova/access_and_security/floating_ips/tables.py", line 101, in single | |
api.server_remove_floating_ip(request, fip.instance_id, fip.id) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 765, in __call__ | |
return mock_method(*params, **named_params) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 1010, in __call__ | |
raise expected_method._exception | |
ClientException: clientException (HTTP ClientException) | |
.INFO:horizon.dashboards.nova.access_and_security.keypairs.forms:Creating keypair "newKeypair" | |
ERROR:horizon.dashboards.nova.access_and_security.keypairs.forms:ClientException in CreateKeyPair | |
Traceback (most recent call last): | |
File "/home/tres/horizon/horizon/horizon/dashboards/nova/access_and_security/keypairs/forms.py", line 50, in handle | |
keypair = api.keypair_create(request, data['name']) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 765, in __call__ | |
return mock_method(*params, **named_params) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 1010, in __call__ | |
raise expected_method._exception | |
ClientException: clientException (HTTP clientException) | |
..INFO:horizon.dashboards.nova.access_and_security.keypairs.forms:Creating keypair "newKeypair" | |
.DEBUG:horizon.api.nova:novaclient connection created using token "aToken" and url "http://nova/novapi/internal" | |
DEBUG:novaclient.client:REQ: curl -i http://nova/novapi/internal/os-security-groups -X GET -H "X-Auth-Project-Id: 1" -H "User-Agent: python-novaclient" -H "X-Auth-Token: aToken" | |
DEBUG:novaclient.client:RESP:{'status': '400', 'content-length': 375, 'content-type': 'text/plain'} An external URI request tried to escape through an httplib2 client. Args: (<novaclient.client.HTTPClient object at 0x3d4c150>, <httplib2.HTTPConnectionWithTimeout instance at 0x3d2f908>, '/novapi/internal/os-security-groups', 'GET', None, {'x-auth-project-id': '1', 'x-auth-token': 'aToken', 'accept-encoding': 'gzip, deflate', 'user-agent': 'python-novaclient'}), kwargs: {} | |
ERROR:horizon.dashboards.nova.access_and_security.views:ClientException in security_groups index | |
Traceback (most recent call last): | |
File "/home/tres/horizon/horizon/horizon/dashboards/nova/access_and_security/views.py", line 57, in get_security_groups_data | |
security_groups = api.security_group_list(self.request) | |
File "/home/tres/horizon/horizon/horizon/api/nova.py", line 294, in security_group_list | |
return [SecurityGroup(g) for g in novaclient(request).\ | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/v1_1/security_groups.py", line 73, in list | |
return self._list("/os-security-groups", "security_groups") | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/base.py", line 69, in _list | |
resp, body = self.api.client.get(url) | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/client.py", line 130, in get | |
return self._cs_request(url, 'GET', **kwargs) | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/client.py", line 118, in _cs_request | |
**kwargs) | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/client.py", line 101, in request | |
raise exceptions.from_response(resp, body) | |
BadRequest: n/a (HTTP 400) | |
DEBUG:horizon.api.nova:novaclient connection created using token "aToken" and url "http://nova/novapi/internal" | |
DEBUG:novaclient.client:REQ: curl -i http://nova/novapi/internal/os-floating-ips -X GET -H "X-Auth-Project-Id: 1" -H "User-Agent: python-novaclient" -H "X-Auth-Token: aToken" | |
DEBUG:novaclient.client:RESP:{'status': '400', 'content-length': 372, 'content-type': 'text/plain'} An external URI request tried to escape through an httplib2 client. Args: (<novaclient.client.HTTPClient object at 0x289a810>, <httplib2.HTTPConnectionWithTimeout instance at 0x3d33998>, '/novapi/internal/os-floating-ips', 'GET', None, {'x-auth-project-id': '1', 'x-auth-token': 'aToken', 'accept-encoding': 'gzip, deflate', 'user-agent': 'python-novaclient'}), kwargs: {} | |
ERROR:horizon.dashboards.nova.access_and_security.views:ClientException in floating ip index | |
Traceback (most recent call last): | |
File "/home/tres/horizon/horizon/horizon/dashboards/nova/access_and_security/views.py", line 67, in get_floating_ips_data | |
floating_ips = api.tenant_floating_ip_list(self.request) | |
File "/home/tres/horizon/horizon/horizon/api/nova.py", line 179, in tenant_floating_ip_list | |
return [FloatingIp(ip) for ip in novaclient(request).floating_ips.list()] | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/v1_1/floating_ips.py", line 34, in list | |
return self._list("/os-floating-ips", "floating_ips") | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/base.py", line 69, in _list | |
resp, body = self.api.client.get(url) | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/client.py", line 130, in get | |
return self._cs_request(url, 'GET', **kwargs) | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/client.py", line 118, in _cs_request | |
**kwargs) | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/client.py", line 101, in request | |
raise exceptions.from_response(resp, body) | |
BadRequest: n/a (HTTP 400) | |
.DEBUG:horizon.api.nova:novaclient connection created using token "aToken" and url "http://nova/novapi/internal" | |
DEBUG:novaclient.client:REQ: curl -i http://nova/novapi/internal/os-security-groups -X GET -H "X-Auth-Project-Id: 1" -H "User-Agent: python-novaclient" -H "X-Auth-Token: aToken" | |
DEBUG:novaclient.client:RESP:{'status': '400', 'content-length': 375, 'content-type': 'text/plain'} An external URI request tried to escape through an httplib2 client. Args: (<novaclient.client.HTTPClient object at 0x3d25990>, <httplib2.HTTPConnectionWithTimeout instance at 0x3d33c68>, '/novapi/internal/os-security-groups', 'GET', None, {'x-auth-project-id': '1', 'x-auth-token': 'aToken', 'accept-encoding': 'gzip, deflate', 'user-agent': 'python-novaclient'}), kwargs: {} | |
ERROR:horizon.dashboards.nova.access_and_security.views:ClientException in security_groups index | |
Traceback (most recent call last): | |
File "/home/tres/horizon/horizon/horizon/dashboards/nova/access_and_security/views.py", line 57, in get_security_groups_data | |
security_groups = api.security_group_list(self.request) | |
File "/home/tres/horizon/horizon/horizon/api/nova.py", line 294, in security_group_list | |
return [SecurityGroup(g) for g in novaclient(request).\ | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/v1_1/security_groups.py", line 73, in list | |
return self._list("/os-security-groups", "security_groups") | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/base.py", line 69, in _list | |
resp, body = self.api.client.get(url) | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/client.py", line 130, in get | |
return self._cs_request(url, 'GET', **kwargs) | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/client.py", line 118, in _cs_request | |
**kwargs) | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/client.py", line 101, in request | |
raise exceptions.from_response(resp, body) | |
BadRequest: n/a (HTTP 400) | |
DEBUG:horizon.api.nova:novaclient connection created using token "aToken" and url "http://nova/novapi/internal" | |
DEBUG:novaclient.client:REQ: curl -i http://nova/novapi/internal/os-floating-ips -X GET -H "X-Auth-Project-Id: 1" -H "User-Agent: python-novaclient" -H "X-Auth-Token: aToken" | |
DEBUG:novaclient.client:RESP:{'status': '400', 'content-length': 372, 'content-type': 'text/plain'} An external URI request tried to escape through an httplib2 client. Args: (<novaclient.client.HTTPClient object at 0x3d1b190>, <httplib2.HTTPConnectionWithTimeout instance at 0x3d50bd8>, '/novapi/internal/os-floating-ips', 'GET', None, {'x-auth-project-id': '1', 'x-auth-token': 'aToken', 'accept-encoding': 'gzip, deflate', 'user-agent': 'python-novaclient'}), kwargs: {} | |
ERROR:horizon.dashboards.nova.access_and_security.views:ClientException in floating ip index | |
Traceback (most recent call last): | |
File "/home/tres/horizon/horizon/horizon/dashboards/nova/access_and_security/views.py", line 67, in get_floating_ips_data | |
floating_ips = api.tenant_floating_ip_list(self.request) | |
File "/home/tres/horizon/horizon/horizon/api/nova.py", line 179, in tenant_floating_ip_list | |
return [FloatingIp(ip) for ip in novaclient(request).floating_ips.list()] | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/v1_1/floating_ips.py", line 34, in list | |
return self._list("/os-floating-ips", "floating_ips") | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/base.py", line 69, in _list | |
resp, body = self.api.client.get(url) | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/client.py", line 130, in get | |
return self._cs_request(url, 'GET', **kwargs) | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/client.py", line 118, in _cs_request | |
**kwargs) | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/client.py", line 101, in request | |
raise exceptions.from_response(resp, body) | |
BadRequest: n/a (HTTP 400) | |
ERROR:horizon.dashboards.nova.access_and_security.keypairs.tables:Error deleting keypair. | |
Traceback (most recent call last): | |
File "/home/tres/horizon/horizon/horizon/dashboards/nova/access_and_security/keypairs/tables.py", line 41, in handle | |
api.nova.keypair_delete(request, obj_id) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 765, in __call__ | |
return mock_method(*params, **named_params) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 1010, in __call__ | |
raise expected_method._exception | |
ClientException: clientException (HTTP clientException) | |
..INFO:horizon.dashboards.nova.access_and_security.security_groups.forms:Add security_group: "{'tenant_id': u'1', 'description': u'fakegroup_desc', 'method': u'CreateGroup', 'name': u'fakegroup'}" | |
.INFO:horizon.dashboards.nova.access_and_security.security_groups.forms:Add security_group: "{'tenant_id': u'1', 'description': u'fakegroup_desc', 'method': u'CreateGroup', 'name': u'fakegroup'}" | |
ERROR:horizon.dashboards.nova.access_and_security.security_groups.forms:ClientException in CreateGroup | |
Traceback (most recent call last): | |
File "/home/tres/horizon/horizon/horizon/dashboards/nova/access_and_security/security_groups/forms.py", line 47, in handle | |
data['description']) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 765, in __call__ | |
return mock_method(*params, **named_params) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 1010, in __call__ | |
raise expected_method._exception | |
ClientException: ClientException (HTTP ClientException) | |
.INFO:horizon.dashboards.nova.access_and_security.security_groups.tables:Deleted security_group: "group_2" | |
.ERROR:horizon.dashboards.nova.access_and_security.security_groups.tables:Error deleting security group | |
Traceback (most recent call last): | |
File "/home/tres/horizon/horizon/horizon/dashboards/nova/access_and_security/security_groups/tables.py", line 51, in handle | |
security_group = api.security_group_delete(request, obj_id) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 765, in __call__ | |
return mock_method(*params, **named_params) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 1010, in __call__ | |
raise expected_method._exception | |
ClientException: ClientException (HTTP ClientException) | |
.INFO:horizon.dashboards.nova.access_and_security.security_groups.forms:Add security_group_rule: "{'from_port': u'-1', 'ip_protocol': u'icmp', 'to_port': u'-1', 'tenant_id': u'1', 'security_group_id': u'2', 'cidr': u'0.0.0.0/0', 'method': u'AddRule'}" | |
.INFO:horizon.dashboards.nova.access_and_security.security_groups.forms:Add security_group_rule: "{'from_port': u'-1', 'ip_protocol': u'icmp', 'to_port': u'-1', 'tenant_id': u'1', 'security_group_id': u'2', 'cidr': u'0.0.0.0/0', 'method': u'AddRule'}" | |
ERROR:horizon.dashboards.nova.access_and_security.security_groups.forms:ClientException in AddRule | |
Traceback (most recent call last): | |
File "/home/tres/horizon/horizon/horizon/dashboards/nova/access_and_security/security_groups/forms.py", line 82, in handle | |
data['cidr']) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 765, in __call__ | |
return mock_method(*params, **named_params) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 1010, in __call__ | |
raise expected_method._exception | |
ClientException: ClientException (HTTP ClientException) | |
.INFO:horizon.dashboards.nova.access_and_security.security_groups.tables:Delete security_group_rule: "1" | |
.INFO:horizon.dashboards.nova.access_and_security.security_groups.tables:Delete security_group_rule: "1" | |
ERROR:horizon.dashboards.nova.access_and_security.security_groups.tables:ClientException in DeleteRule | |
Traceback (most recent call last): | |
File "/home/tres/horizon/horizon/horizon/dashboards/nova/access_and_security/security_groups/tables.py", line 99, in single | |
security_group = api.security_group_rule_delete(request, obj_id) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 765, in __call__ | |
return mock_method(*params, **named_params) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 1010, in __call__ | |
raise expected_method._exception | |
ClientException: ClientException (HTTP ClientException) | |
..ERROR:horizon.dashboards.nova.access_and_security.security_groups.views:ClientException in security_groups rules edit | |
Traceback (most recent call last): | |
File "/home/tres/horizon/horizon/horizon/dashboards/nova/access_and_security/security_groups/views.py", line 49, in get_data | |
security_group_id) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 765, in __call__ | |
return mock_method(*params, **named_params) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 1010, in __call__ | |
raise expected_method._exception | |
ClientException: ClientException (HTTP ClientException) | |
DEBUG:horizon.api.nova:novaclient connection created using token "aToken" and url "http://nova/novapi/internal" | |
DEBUG:novaclient.client:REQ: curl -i http://nova/novapi/internal/os-keypairs -X GET -H "X-Auth-Project-Id: 1" -H "User-Agent: python-novaclient" -H "X-Auth-Token: aToken" | |
DEBUG:novaclient.client:RESP:{'status': '400', 'content-length': 368, 'content-type': 'text/plain'} An external URI request tried to escape through an httplib2 client. Args: (<novaclient.client.HTTPClient object at 0x28b5990>, <httplib2.HTTPConnectionWithTimeout instance at 0x3d50b48>, '/novapi/internal/os-keypairs', 'GET', None, {'x-auth-project-id': '1', 'x-auth-token': 'aToken', 'accept-encoding': 'gzip, deflate', 'user-agent': 'python-novaclient'}), kwargs: {} | |
ERROR:horizon.dashboards.nova.access_and_security.views:Exception in keypair index | |
Traceback (most recent call last): | |
File "/home/tres/horizon/horizon/horizon/dashboards/nova/access_and_security/views.py", line 47, in get_keypairs_data | |
keypairs = api.nova.keypair_list(self.request) | |
File "/home/tres/horizon/horizon/horizon/api/nova.py", line 220, in keypair_list | |
return [KeyPair(key) for key in novaclient(request).keypairs.list()] | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/v1_1/keypairs.py", line 72, in list | |
return self._list('/os-keypairs', 'keypairs') | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/base.py", line 69, in _list | |
resp, body = self.api.client.get(url) | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/client.py", line 130, in get | |
return self._cs_request(url, 'GET', **kwargs) | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/client.py", line 118, in _cs_request | |
**kwargs) | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/client.py", line 101, in request | |
raise exceptions.from_response(resp, body) | |
BadRequest: n/a (HTTP 400) | |
DEBUG:horizon.api.nova:novaclient connection created using token "aToken" and url "http://nova/novapi/internal" | |
DEBUG:novaclient.client:REQ: curl -i http://nova/novapi/internal/os-security-groups -X GET -H "X-Auth-Project-Id: 1" -H "User-Agent: python-novaclient" -H "X-Auth-Token: aToken" | |
DEBUG:novaclient.client:RESP:{'status': '400', 'content-length': 375, 'content-type': 'text/plain'} An external URI request tried to escape through an httplib2 client. Args: (<novaclient.client.HTTPClient object at 0x3d4b450>, <httplib2.HTTPConnectionWithTimeout instance at 0x3d474d0>, '/novapi/internal/os-security-groups', 'GET', None, {'x-auth-project-id': '1', 'x-auth-token': 'aToken', 'accept-encoding': 'gzip, deflate', 'user-agent': 'python-novaclient'}), kwargs: {} | |
ERROR:horizon.dashboards.nova.access_and_security.views:ClientException in security_groups index | |
Traceback (most recent call last): | |
File "/home/tres/horizon/horizon/horizon/dashboards/nova/access_and_security/views.py", line 57, in get_security_groups_data | |
security_groups = api.security_group_list(self.request) | |
File "/home/tres/horizon/horizon/horizon/api/nova.py", line 294, in security_group_list | |
return [SecurityGroup(g) for g in novaclient(request).\ | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/v1_1/security_groups.py", line 73, in list | |
return self._list("/os-security-groups", "security_groups") | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/base.py", line 69, in _list | |
resp, body = self.api.client.get(url) | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/client.py", line 130, in get | |
return self._cs_request(url, 'GET', **kwargs) | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/client.py", line 118, in _cs_request | |
**kwargs) | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/client.py", line 101, in request | |
raise exceptions.from_response(resp, body) | |
BadRequest: n/a (HTTP 400) | |
DEBUG:horizon.api.nova:novaclient connection created using token "aToken" and url "http://nova/novapi/internal" | |
DEBUG:novaclient.client:REQ: curl -i http://nova/novapi/internal/os-floating-ips -X GET -H "X-Auth-Project-Id: 1" -H "User-Agent: python-novaclient" -H "X-Auth-Token: aToken" | |
DEBUG:novaclient.client:RESP:{'status': '400', 'content-length': 372, 'content-type': 'text/plain'} An external URI request tried to escape through an httplib2 client. Args: (<novaclient.client.HTTPClient object at 0x3d4bb90>, <httplib2.HTTPConnectionWithTimeout instance at 0x2894a28>, '/novapi/internal/os-floating-ips', 'GET', None, {'x-auth-project-id': '1', 'x-auth-token': 'aToken', 'accept-encoding': 'gzip, deflate', 'user-agent': 'python-novaclient'}), kwargs: {} | |
ERROR:horizon.dashboards.nova.access_and_security.views:ClientException in floating ip index | |
Traceback (most recent call last): | |
File "/home/tres/horizon/horizon/horizon/dashboards/nova/access_and_security/views.py", line 67, in get_floating_ips_data | |
floating_ips = api.tenant_floating_ip_list(self.request) | |
File "/home/tres/horizon/horizon/horizon/api/nova.py", line 179, in tenant_floating_ip_list | |
return [FloatingIp(ip) for ip in novaclient(request).floating_ips.list()] | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/v1_1/floating_ips.py", line 34, in list | |
return self._list("/os-floating-ips", "floating_ips") | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/base.py", line 69, in _list | |
resp, body = self.api.client.get(url) | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/client.py", line 130, in get | |
return self._cs_request(url, 'GET', **kwargs) | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/client.py", line 118, in _cs_request | |
**kwargs) | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/client.py", line 101, in request | |
raise exceptions.from_response(resp, body) | |
BadRequest: n/a (HTTP 400) | |
.....ERROR:horizon.dashboards.nova.containers.forms:Unable to delete container "containerName". Exception: "Cannot delete non-empty Container containerNotEmpty" | |
Traceback (most recent call last): | |
File "/home/tres/horizon/horizon/horizon/dashboards/nova/containers/forms.py", line 40, in handle | |
api.swift_delete_container(request, data['container_name']) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 765, in __call__ | |
return mock_method(*params, **named_params) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 1010, in __call__ | |
raise expected_method._exception | |
ContainerNotEmpty: Cannot delete non-empty Container containerNotEmpty | |
..........ERROR:horizon.dashboards.nova.images_and_snapshots.images.views:Unable to retrieve list of instance types | |
Traceback (most recent call last): | |
File "/home/tres/horizon/horizon/horizon/dashboards/nova/images_and_snapshots/images/views.py", line 82, in flavorlist | |
fl = api.flavor_list(request) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 765, in __call__ | |
return mock_method(*params, **named_params) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 1010, in __call__ | |
raise expected_method._exception | |
ApiException: <attribute 'message' of 'exceptions.BaseException' objects> (HTTP apiException) | |
DEBUG:horizon.api.base:Unknown attribute "id" on APIResource object of type "<class 'horizon.api.glance.Image'>" | |
.ERROR:horizon.forms.base:Error while handling form "LaunchForm". | |
Traceback (most recent call last): | |
File "/home/tres/horizon/horizon/horizon/forms/base.py", line 211, in maybe_handle | |
return form, form.handle(request, data) | |
File "/home/tres/horizon/horizon/horizon/dashboards/nova/images_and_snapshots/images/forms.py", line 161, in handle | |
data.get('security_groups')) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 765, in __call__ | |
return mock_method(*params, **named_params) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 1002, in __call__ | |
expected_method = self._VerifyMethodCall() | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 1060, in _VerifyMethodCall | |
raise UnexpectedMethodCallError(self, expected) | |
UnexpectedMethodCallError: Unexpected method call. unexpected:- expected:+ | |
+ server_create.__call__(<class 'django.http.HttpRequest'>, 'serverName', <horizon.api.glance.Image object at 0x28ab890>, <horizon.api.nova.Flavor object at 0x3d8b2d0>, 'keyName', 'userData', (<horizon.api.nova.SecurityGroup object at 0x3d8b150>,)) -> None | |
- server_create.__call__(<WSGIRequest | |
- GET:<QueryDict: {}>, | |
- POST:<QueryDict: {u'name': [u'serverName'], u'key_name': [u'keyName'], u'user_data': [u'userData'], u'image_id': [u'1'], u'tenant_id': [u'1'], u'flavor': [u'1'], u'method': [u'LaunchForm'], u'security_groups': [u'default']}>, | |
- COOKIES:{}, | |
- META:{'CONTENT_LENGTH': 634, | |
- 'CONTENT_TYPE': 'multipart/form-data; boundary=BoUnDaRyStRiNg', | |
- 'CSRF_COOKIE': '1d02a5862e2bbcbdb65179bc472173a8', | |
- 'HTTP_COOKIE': '', | |
- 'PATH_INFO': u'/nova/images_and_snapshots/1/launch/', | |
- 'QUERY_STRING': '', | |
- 'REMOTE_ADDR': '127.0.0.1', | |
- 'REQUEST_METHOD': 'POST', | |
- 'SCRIPT_NAME': u'', | |
- 'SERVER_NAME': 'testserver', | |
- 'SERVER_PORT': '80', | |
- 'SERVER_PROTOCOL': 'HTTP/1.1', | |
- 'wsgi.errors': <cStringIO.StringO object at 0x3d98928>, | |
- 'wsgi.input': <django.test.client.FakePayload object at 0x3d4b2d0>, | |
- 'wsgi.multiprocess': True, | |
- 'wsgi.multithread': False, | |
- 'wsgi.run_once': False, | |
- 'wsgi.url_scheme': 'http', | |
- 'wsgi.version': (1, 0)}>, u'serverName', <horizon.api.glance.Image object at 0x28ab890>, <horizon.api.nova.Flavor object at 0x3d8b2d0>, u'keyName', u'userData', [u'default']) -> None | |
DEBUG:horizon.api.base:Unknown attribute "id" on APIResource object of type "<class 'horizon.api.glance.Image'>" | |
.DEBUG:horizon.api.base:Unknown attribute "id" on APIResource object of type "<class 'horizon.api.glance.Image'>" | |
.ERROR:horizon.dashboards.nova.images_and_snapshots.images.views:Unable to retrieve list of keypairs | |
Traceback (most recent call last): | |
File "/home/tres/horizon/horizon/horizon/dashboards/nova/images_and_snapshots/images/views.py", line 94, in keynamelist | |
fl = api.keypair_list(request) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 765, in __call__ | |
return mock_method(*params, **named_params) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 1010, in __call__ | |
raise expected_method._exception | |
ApiException: <attribute 'message' of 'exceptions.BaseException' objects> (HTTP apiException) | |
DEBUG:horizon.api.base:Unknown attribute "id" on APIResource object of type "<class 'horizon.api.glance.Image'>" | |
.INFO:horizon.dashboards.nova.images_and_snapshots.images.forms:Instance was successfully launched | |
.ERROR:horizon.dashboards.nova.images_and_snapshots.snapshots.views:Unable to retrieve instance: <attribute 'message' of 'exceptions.BaseException' objects> (HTTP apiException) | |
Traceback (most recent call last): | |
File "/home/tres/horizon/horizon/horizon/dashboards/nova/images_and_snapshots/snapshots/views.py", line 76, in create | |
instance = api.server_get(request, instance_id) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 765, in __call__ | |
return mock_method(*params, **named_params) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 1010, in __call__ | |
raise expected_method._exception | |
ApiException: <attribute 'message' of 'exceptions.BaseException' objects> (HTTP apiException) | |
...INFO:horizon.dashboards.nova.images_and_snapshots.snapshots.forms:Creating snapshot "snappy" | |
.INFO:horizon.dashboards.nova.images_and_snapshots.snapshots.forms:Creating snapshot "snappy" | |
ERROR:horizon.dashboards.nova.images_and_snapshots.snapshots.forms:Error Creating Snapshot: apiException | |
Traceback (most recent call last): | |
File "/home/tres/horizon/horizon/horizon/dashboards/nova/images_and_snapshots/snapshots/forms.py", line 46, in handle | |
data['name']) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 765, in __call__ | |
return mock_method(*params, **named_params) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 1010, in __call__ | |
raise expected_method._exception | |
ApiException: apiException (HTTP apiException) | |
.DEBUG:horizon.api.base:Unknown attribute "id" on APIResource object of type "<class 'horizon.api.glance.Image'>" | |
DEBUG:horizon.api.base:Unknown attribute "id" on APIResource object of type "<class 'horizon.api.glance.Image'>" | |
DEBUG:horizon.api.base:Unknown attribute "id" on APIResource object of type "<class 'horizon.api.glance.Image'>" | |
DEBUG:horizon.api.base:Unknown attribute "properties" on APIResource object of type "<class 'horizon.api.glance.Image'>" | |
DEBUG:horizon.api.base:Unknown attribute "properties" on APIResource object of type "<class 'horizon.api.glance.Image'>" | |
DEBUG:horizon.api.base:Unknown attribute "status" on APIResource object of type "<class 'horizon.api.glance.Image'>" | |
DEBUG:horizon.api.base:Unknown attribute "status" on APIResource object of type "<class 'horizon.api.glance.Image'>" | |
DEBUG:horizon.api.base:Unknown attribute "id" on APIResource object of type "<class 'horizon.api.glance.Image'>" | |
DEBUG:horizon.api.base:Unknown attribute "id" on APIResource object of type "<class 'horizon.api.glance.Image'>" | |
DEBUG:horizon.api.base:Unknown attribute "owner" on APIResource object of type "<class 'horizon.api.glance.Image'>" | |
DEBUG:horizon.api.base:Unknown attribute "owner" on APIResource object of type "<class 'horizon.api.glance.Image'>" | |
DEBUG:horizon.api.base:Unknown attribute "id" on APIResource object of type "<class 'horizon.api.glance.Image'>" | |
DEBUG:horizon.api.base:Unknown attribute "id" on APIResource object of type "<class 'horizon.api.glance.Image'>" | |
DEBUG:horizon.api.base:Unknown attribute "properties" on APIResource object of type "<class 'horizon.api.glance.Image'>" | |
DEBUG:horizon.api.base:Unknown attribute "properties" on APIResource object of type "<class 'horizon.api.glance.Image'>" | |
DEBUG:horizon.api.base:Unknown attribute "status" on APIResource object of type "<class 'horizon.api.glance.Image'>" | |
DEBUG:horizon.api.base:Unknown attribute "status" on APIResource object of type "<class 'horizon.api.glance.Image'>" | |
DEBUG:horizon.api.base:Unknown attribute "owner" on APIResource object of type "<class 'horizon.api.glance.Image'>" | |
DEBUG:horizon.api.base:Unknown attribute "owner" on APIResource object of type "<class 'horizon.api.glance.Image'>" | |
ERROR:horizon.templatetags.launch_form:Unable to retrieve list of keypairs | |
Traceback (most recent call last): | |
File "/home/tres/horizon/horizon/horizon/templatetags/launch_form.py", line 57, in keynamelist | |
fl = api.keypair_list(request) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 765, in __call__ | |
return mock_method(*params, **named_params) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 1002, in __call__ | |
expected_method = self._VerifyMethodCall() | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 1049, in _VerifyMethodCall | |
expected = self._PopNextMethod() | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 1035, in _PopNextMethod | |
raise UnexpectedMethodCallError(self, None) | |
UnexpectedMethodCallError: Unexpected method call keypair_list.__call__(<WSGIRequest | |
GET:<QueryDict: {}>, | |
POST:<QueryDict: {}>, | |
COOKIES:{}, | |
META:{'CONTENT_TYPE': 'text/html; charset=utf-8', | |
'CSRF_COOKIE': '226a1b5cd0134f98531e09b8c16bf568', | |
'CSRF_COOKIE_USED': True, | |
'HTTP_COOKIE': '', | |
'PATH_INFO': u'/nova/images_and_snapshots/', | |
'QUERY_STRING': '', | |
'REMOTE_ADDR': '127.0.0.1', | |
'REQUEST_METHOD': 'GET', | |
'SCRIPT_NAME': u'', | |
'SERVER_NAME': 'testserver', | |
'SERVER_PORT': '80', | |
'SERVER_PROTOCOL': 'HTTP/1.1', | |
'wsgi.errors': <cStringIO.StringO object at 0x3db55e0>, | |
'wsgi.input': <django.test.client.FakePayload object at 0x3daae50>, | |
'wsgi.multiprocess': True, | |
'wsgi.multithread': False, | |
'wsgi.run_once': False, | |
'wsgi.url_scheme': 'http', | |
'wsgi.version': (1, 0)}>) -> None | |
.ERROR:horizon.dashboards.nova.images_and_snapshots.views:Error connecting to glance | |
Traceback (most recent call last): | |
File "/home/tres/horizon/horizon/horizon/dashboards/nova/images_and_snapshots/views.py", line 53, in index | |
all_images = api.image_list_detailed(request) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 765, in __call__ | |
return mock_method(*params, **named_params) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 1010, in __call__ | |
raise expected_method._exception | |
ClientConnectionError: There was an error connecting to a server | |
Details: clientConnError | |
.DEBUG:horizon.api.base:Unknown attribute "properties" on APIResource object of type "<class 'horizon.api.glance.Image'>" | |
DEBUG:horizon.api.base:Unknown attribute "properties" on APIResource object of type "<class 'horizon.api.glance.Image'>" | |
DEBUG:horizon.api.base:Unknown attribute "status" on APIResource object of type "<class 'horizon.api.glance.Image'>" | |
DEBUG:horizon.api.base:Unknown attribute "status" on APIResource object of type "<class 'horizon.api.glance.Image'>" | |
DEBUG:horizon.api.base:Unknown attribute "owner" on APIResource object of type "<class 'horizon.api.glance.Image'>" | |
DEBUG:horizon.api.base:Unknown attribute "owner" on APIResource object of type "<class 'horizon.api.glance.Image'>" | |
..ERROR:horizon.dashboards.nova.instances_and_volumes.instances.views:ApiException while fetching instance console | |
Traceback (most recent call last): | |
File "/home/tres/horizon/horizon/horizon/dashboards/nova/instances_and_volumes/instances/views.py", line 189, in console | |
console = api.console_create(request, instance_id, 'text') | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 765, in __call__ | |
return mock_method(*params, **named_params) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 1010, in __call__ | |
raise expected_method._exception | |
ApiException: apiException (HTTP apiException) | |
...ERROR:horizon.dashboards.nova.instances_and_volumes.instances.views:ApiException while fetching instance info | |
Traceback (most recent call last): | |
File "/home/tres/horizon/horizon/horizon/dashboards/nova/instances_and_volumes/instances/views.py", line 228, in update | |
instance = api.server_get(request, instance_id) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 765, in __call__ | |
return mock_method(*params, **named_params) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 1010, in __call__ | |
raise expected_method._exception | |
ApiException: <attribute 'message' of 'exceptions.BaseException' objects> (HTTP apiException) | |
.....ERROR:horizon.dashboards.nova.instances_and_volumes.instances.views:ApiException in instance usage | |
Traceback (most recent call last): | |
File "/home/tres/horizon/horizon/horizon/dashboards/nova/instances_and_volumes/instances/views.py", line 130, in usage | |
usage = api.usage_get(request, tenant_id, datetime_start, datetime_end) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 765, in __call__ | |
return mock_method(*params, **named_params) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 1010, in __call__ | |
raise expected_method._exception | |
ApiException: apiException (HTTP apiException) | |
..ERROR:horizon.dashboards.nova.instances_and_volumes.instances.views:ApiException while fetching instance vnc connection | |
Traceback (most recent call last): | |
File "/home/tres/horizon/horizon/horizon/dashboards/nova/instances_and_volumes/instances/views.py", line 211, in vnc | |
console = api.console_create(request, instance_id, 'vnc') | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 765, in __call__ | |
return mock_method(*params, **named_params) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 1010, in __call__ | |
raise expected_method._exception | |
ApiException: apiException (HTTP apiException) | |
.INFO:horizon.dashboards.nova.instances_and_volumes.instances.forms:Instance 1 has been rebooted. | |
.ERROR:horizon.dashboards.nova.instances_and_volumes.instances.forms:ApiException while rebooting instance "1" | |
Traceback (most recent call last): | |
File "/home/tres/horizon/horizon/horizon/dashboards/nova/instances_and_volumes/instances/forms.py", line 64, in handle | |
server = api.server_reboot(request, instance_id) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 765, in __call__ | |
return mock_method(*params, **named_params) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 1010, in __call__ | |
raise expected_method._exception | |
ApiException: apiException (HTTP ApiException) | |
.INFO:horizon.dashboards.nova.instances_and_volumes.instances.forms:Instance 1 has been terminated. | |
.ERROR:horizon.dashboards.nova.instances_and_volumes.instances.forms:ApiException while terminating instance "1" | |
Traceback (most recent call last): | |
File "/home/tres/horizon/horizon/horizon/dashboards/nova/instances_and_volumes/instances/forms.py", line 43, in handle | |
api.server_delete(request, instance) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 765, in __call__ | |
return mock_method(*params, **named_params) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 1010, in __call__ | |
raise expected_method._exception | |
ApiException: apiException (HTTP ApiException) | |
.DEBUG:horizon.api.nova:novaclient connection created using token "aToken" and url "http://nova/novapi/internal" | |
DEBUG:novaclient.client:REQ: curl -i http://nova/novapi/internal/flavors/detail -X GET -H "X-Auth-Project-Id: 1" -H "User-Agent: python-novaclient" -H "X-Auth-Token: aToken" | |
DEBUG:novaclient.client:RESP:{'status': '400', 'content-length': 371, 'content-type': 'text/plain'} An external URI request tried to escape through an httplib2 client. Args: (<novaclient.client.HTTPClient object at 0x3daa410>, <httplib2.HTTPConnectionWithTimeout instance at 0x3e6d758>, '/novapi/internal/flavors/detail', 'GET', None, {'x-auth-project-id': '1', 'x-auth-token': 'aToken', 'accept-encoding': 'gzip, deflate', 'user-agent': 'python-novaclient'}), kwargs: {} | |
ERROR:horizon.dashboards.nova.instances_and_volumes.views:Exception while fetching flavor info | |
Traceback (most recent call last): | |
File "/home/tres/horizon/horizon/horizon/dashboards/nova/instances_and_volumes/views.py", line 74, in index | |
flavors = api.flavor_list(request) | |
File "/home/tres/horizon/horizon/horizon/api/nova.py", line 172, in flavor_list | |
return [Flavor(f) for f in novaclient(request).flavors.list()] | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/v1_1/flavors.py", line 30, in list | |
return self._list("/flavors/detail", "flavors") | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/base.py", line 69, in _list | |
resp, body = self.api.client.get(url) | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/client.py", line 130, in get | |
return self._cs_request(url, 'GET', **kwargs) | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/client.py", line 118, in _cs_request | |
**kwargs) | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/client.py", line 101, in request | |
raise exceptions.from_response(resp, body) | |
BadRequest: n/a (HTTP 400) | |
DEBUG:horizon.api.base:Attempted to access unknown attribute "full_flavor" on APIResource object of type "<class 'horizon.api.nova.Server'>" wrapping resource of type "<type 'NoneType'>" | |
DEBUG:horizon.api.base:Attempted to access unknown attribute "full_flavor" on APIResource object of type "<class 'horizon.api.nova.Server'>" wrapping resource of type "<type 'NoneType'>" | |
DEBUG:horizon.api.base:Attempted to access unknown attribute "full_flavor" on APIResource object of type "<class 'horizon.api.nova.Server'>" wrapping resource of type "<type 'NoneType'>" | |
.ERROR:horizon.dashboards.nova.instances_and_volumes.views:Exception in instance index | |
Traceback (most recent call last): | |
File "/home/tres/horizon/horizon/horizon/dashboards/nova/instances_and_volumes/views.py", line 58, in index | |
instances = api.server_list(request) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 765, in __call__ | |
return mock_method(*params, **named_params) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 1010, in __call__ | |
raise expected_method._exception | |
ApiException: <attribute 'message' of 'exceptions.BaseException' objects> (HTTP apiException) | |
DEBUG:horizon.api.nova:novaclient connection created using token "aToken" and url "http://nova/novapi/internal" | |
DEBUG:novaclient.client:REQ: curl -i http://nova/novapi/internal/flavors/detail -X GET -H "X-Auth-Project-Id: 1" -H "User-Agent: python-novaclient" -H "X-Auth-Token: aToken" | |
DEBUG:novaclient.client:RESP:{'status': '400', 'content-length': 371, 'content-type': 'text/plain'} An external URI request tried to escape through an httplib2 client. Args: (<novaclient.client.HTTPClient object at 0x3e8b610>, <httplib2.HTTPConnectionWithTimeout instance at 0x3e743b0>, '/novapi/internal/flavors/detail', 'GET', None, {'x-auth-project-id': '1', 'x-auth-token': 'aToken', 'accept-encoding': 'gzip, deflate', 'user-agent': 'python-novaclient'}), kwargs: {} | |
ERROR:horizon.dashboards.nova.instances_and_volumes.views:Exception while fetching flavor info | |
Traceback (most recent call last): | |
File "/home/tres/horizon/horizon/horizon/dashboards/nova/instances_and_volumes/views.py", line 74, in index | |
flavors = api.flavor_list(request) | |
File "/home/tres/horizon/horizon/horizon/api/nova.py", line 172, in flavor_list | |
return [Flavor(f) for f in novaclient(request).flavors.list()] | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/v1_1/flavors.py", line 30, in list | |
return self._list("/flavors/detail", "flavors") | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/base.py", line 69, in _list | |
resp, body = self.api.client.get(url) | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/client.py", line 130, in get | |
return self._cs_request(url, 'GET', **kwargs) | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/client.py", line 118, in _cs_request | |
**kwargs) | |
File "/home/tres/horizon/.horizon-venv/src/python-novaclient/novaclient/client.py", line 101, in request | |
raise exceptions.from_response(resp, body) | |
BadRequest: n/a (HTTP 400) | |
.INFO:horizon.dashboards.nova.networks.forms:Creating network Test | |
.INFO:horizon.dashboards.nova.networks.forms:Deleting network n1 | |
INFO:horizon.dashboards.nova.networks.forms:Network n1 has been deleted. | |
...INFO:horizon.dashboards.nova.networks.forms:Renaming network n1 to Test1 | |
INFO:horizon.dashboards.nova.networks.forms:Network n1 has been renamed to Test1. | |
.INFO:horizon.dashboards.nova.networks.forms:Attaching p1 port to VIF v1 | |
.INFO:horizon.dashboards.nova.networks.forms:Creating 1 ports on network n1 | |
INFO:horizon.dashboards.nova.networks.forms:1 ports created on network n1. | |
.INFO:horizon.dashboards.nova.networks.forms:Deleting p1 ports on network n1 | |
INFO:horizon.dashboards.nova.networks.forms:Port p1 deleted from network n1. | |
DEBUG:quantum.client:Client issuing request: /networks/n1 | |
ERROR:quantum.client:Unable to connect to server. Got error: [Errno 111] ECONNREFUSED | |
Traceback (most recent call last): | |
File "/home/tres/horizon/.horizon-venv/src/quantum/quantum/client.py", line 183, in do_request | |
res = self._send_request(conn, method, action, body, headers) | |
File "/home/tres/horizon/.horizon-venv/src/quantum/quantum/client.py", line 136, in _send_request | |
conn.request(method, action, body, headers) | |
File "/usr/lib/python2.7/httplib.py", line 955, in request | |
self._send_request(method, url, body, headers) | |
File "/usr/lib/python2.7/httplib.py", line 989, in _send_request | |
self.endheaders(body) | |
File "/usr/lib/python2.7/httplib.py", line 951, in endheaders | |
self._send_output(message_body) | |
File "/usr/lib/python2.7/httplib.py", line 811, in _send_output | |
self.send(msg) | |
File "/usr/lib/python2.7/httplib.py", line 773, in send | |
self.connect() | |
File "/usr/lib/python2.7/httplib.py", line 754, in connect | |
self.timeout, self.source_address) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/eventlet/green/socket.py", line 59, in create_connection | |
raise error, msg | |
error: [Errno 111] ECONNREFUSED | |
ERROR:horizon.dashboards.nova.networks.views:Unable to get network details. | |
Traceback (most recent call last): | |
File "/home/tres/horizon/horizon/horizon/dashboards/nova/networks/views.py", line 101, in detail | |
network_details = api.quantum_network_details(request, network_id) | |
File "/home/tres/horizon/horizon/horizon/api/quantum.py", line 52, in quantum_network_details | |
return quantum_api(request).show_network_details(network_id) | |
File "/home/tres/horizon/.horizon-venv/src/quantum/quantum/client.py", line 57, in with_params | |
ret = self.function(instance, *args) | |
File "/home/tres/horizon/.horizon-venv/src/quantum/quantum/client.py", line 266, in show_network_details | |
exception_args={"net_id": network}) | |
File "/home/tres/horizon/.horizon-venv/src/quantum/quantum/client.py", line 210, in do_request | |
raise Exception(msg) | |
Exception: Unable to connect to server. Got error: [Errno 111] ECONNREFUSED | |
.INFO:horizon.dashboards.nova.networks.forms:Detaching port p1 | |
INFO:horizon.dashboards.nova.networks.forms:Port p1 detached. | |
DEBUG:quantum.client:Client issuing request: /networks/n1 | |
ERROR:quantum.client:Unable to connect to server. Got error: [Errno 111] ECONNREFUSED | |
Traceback (most recent call last): | |
File "/home/tres/horizon/.horizon-venv/src/quantum/quantum/client.py", line 183, in do_request | |
res = self._send_request(conn, method, action, body, headers) | |
File "/home/tres/horizon/.horizon-venv/src/quantum/quantum/client.py", line 136, in _send_request | |
conn.request(method, action, body, headers) | |
File "/usr/lib/python2.7/httplib.py", line 955, in request | |
self._send_request(method, url, body, headers) | |
File "/usr/lib/python2.7/httplib.py", line 989, in _send_request | |
self.endheaders(body) | |
File "/usr/lib/python2.7/httplib.py", line 951, in endheaders | |
self._send_output(message_body) | |
File "/usr/lib/python2.7/httplib.py", line 811, in _send_output | |
self.send(msg) | |
File "/usr/lib/python2.7/httplib.py", line 773, in send | |
self.connect() | |
File "/usr/lib/python2.7/httplib.py", line 754, in connect | |
self.timeout, self.source_address) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/eventlet/green/socket.py", line 59, in create_connection | |
raise error, msg | |
error: [Errno 111] ECONNREFUSED | |
ERROR:horizon.dashboards.nova.networks.views:Unable to get network details. | |
Traceback (most recent call last): | |
File "/home/tres/horizon/horizon/horizon/dashboards/nova/networks/views.py", line 101, in detail | |
network_details = api.quantum_network_details(request, network_id) | |
File "/home/tres/horizon/horizon/horizon/api/quantum.py", line 52, in quantum_network_details | |
return quantum_api(request).show_network_details(network_id) | |
File "/home/tres/horizon/.horizon-venv/src/quantum/quantum/client.py", line 57, in with_params | |
ret = self.function(instance, *args) | |
File "/home/tres/horizon/.horizon-venv/src/quantum/quantum/client.py", line 266, in show_network_details | |
exception_args={"net_id": network}) | |
File "/home/tres/horizon/.horizon-venv/src/quantum/quantum/client.py", line 210, in do_request | |
raise Exception(msg) | |
Exception: Unable to connect to server. Got error: [Errno 111] ECONNREFUSED | |
.DEBUG:horizon.api.keystone:Creating a new client connection with endpoint: None. | |
DEBUG:keystoneclient.client:REQ: curl -i http://localhost:5000/v2.0/tokens -X POST -H "User-Agent: python-keystoneclient" -H "Content-Type: application/json" -H "X-Auth-Token: aToken" | |
DEBUG:keystoneclient.client:REQ BODY: {"auth": {"token": {"id": "aToken"}, "tenantId": "1"}} | |
DEBUG:keystoneclient.client:RESP: {'status': '400', 'content-length': 424, 'content-type': 'text/plain'} | |
RESP BODY: An external URI request tried to escape through an httplib2 client. Args: (<keystoneclient.v2_0.client.Client object at 0x3f5aad0>, <httplib2.HTTPConnectionWithTimeout instance at 0x3e74f38>, '/v2.0/tokens', 'POST', '{"auth": {"token": {"id": "aToken"}, "tenantId": "1"}}', {'x-auth-token': 'aToken', 'content-type': 'application/json', 'accept-encoding': 'gzip, deflate', 'user-agent': 'python-keystoneclient'}), kwargs: {} | |
DEBUG:keystoneclient.client:Could not decode JSON from body: An external URI request tried to escape through an httplib2 client. Args: (<keystoneclient.v2_0.client.Client object at 0x3f5aad0>, <httplib2.HTTPConnectionWithTimeout instance at 0x3e74f38>, '/v2.0/tokens', 'POST', '{"auth": {"token": {"id": "aToken"}, "tenantId": "1"}}', {'x-auth-token': 'aToken', 'content-type': 'application/json', 'accept-encoding': 'gzip, deflate', 'user-agent': 'python-keystoneclient'}), kwargs: {} | |
ERROR:keystoneclient.client:Request returned failure status. | |
Traceback (most recent call last): | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/client.py", line 121, in request | |
body = json.loads(body) | |
File "/usr/lib/python2.7/json/__init__.py", line 326, in loads | |
return _default_decoder.decode(s) | |
File "/usr/lib/python2.7/json/decoder.py", line 360, in decode | |
obj, end = self.raw_decode(s, idx=_w(s, 0).end()) | |
File "/usr/lib/python2.7/json/decoder.py", line 378, in raw_decode | |
raise ValueError("No JSON object could be decoded") | |
ValueError: No JSON object could be decoded | |
ERROR:keystoneclient.v2_0.client:Authorization Failed. | |
Traceback (most recent call last): | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/v2_0/client.py", line 95, in authenticate | |
return_raw=True) | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/v2_0/tokens.py", line 37, in authenticate | |
return self._create('/tokens', params, "access", return_raw=return_raw) | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/base.py", line 82, in _create | |
resp, body = self.api.post(url, body=body) | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/client.py", line 185, in post | |
return self._cs_request(url, 'POST', **kwargs) | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/client.py", line 150, in _cs_request | |
**kwargs) | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/client.py", line 130, in request | |
raise exceptions.from_response(resp, body) | |
BadRequest: Unable to communicate with identity service: An external URI request tried to escape through an httplib2 client. Args: (<keystoneclient.v2_0.client.Client object at 0x3f5aad0>, <httplib2.HTTPConnectionWithTimeout instance at 0x3e74f38>, '/v2.0/tokens', 'POST', '{"auth": {"token": {"id": "aToken"}, "tenantId": "1"}}', {'x-auth-token': 'aToken', 'content-type': 'application/json', 'accept-encoding': 'gzip, deflate', 'user-agent': 'python-keystoneclient'}), kwargs: {}. (HTTP 400) | |
ERROR:horizon.dashboards.syspanel.users.views:Unauthorized attempt to list users. | |
Traceback (most recent call last): | |
File "/home/tres/horizon/horizon/horizon/dashboards/syspanel/users/views.py", line 46, in get_data | |
users = api.user_list(self.request) | |
File "/home/tres/horizon/horizon/horizon/api/keystone.py", line 196, in user_list | |
keystoneclient(request).users.list(tenant_id=tenant_id)] | |
File "/home/tres/horizon/horizon/horizon/api/keystone.py", line 98, in keystoneclient | |
endpoint=endpoint) | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/v2_0/client.py", line 73, in __init__ | |
self.authenticate() | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/v2_0/client.py", line 103, in authenticate | |
"%s" % e) | |
AuthorizationFailure: Authorization Failed: Unable to communicate with identity service: An external URI request tried to escape through an httplib2 client. Args: (<keystoneclient.v2_0.client.Client object at 0x3f5aad0>, <httplib2.HTTPConnectionWithTimeout instance at 0x3e74f38>, '/v2.0/tokens', 'POST', '{"auth": {"token": {"id": "aToken"}, "tenantId": "1"}}', {'x-auth-token': 'aToken', 'content-type': 'application/json', 'accept-encoding': 'gzip, deflate', 'user-agent': 'python-keystoneclient'}), kwargs: {}. (HTTP 400) | |
DEBUG:horizon.api.keystone:Creating a new client connection with endpoint: None. | |
DEBUG:keystoneclient.client:REQ: curl -i http://localhost:5000/v2.0/tokens -X POST -H "User-Agent: python-keystoneclient" -H "Content-Type: application/json" -H "X-Auth-Token: aToken" | |
DEBUG:keystoneclient.client:REQ BODY: {"auth": {"token": {"id": "aToken"}, "tenantId": "1"}} | |
DEBUG:keystoneclient.client:RESP: {'status': '400', 'content-length': 424, 'content-type': 'text/plain'} | |
RESP BODY: An external URI request tried to escape through an httplib2 client. Args: (<keystoneclient.v2_0.client.Client object at 0x4007a50>, <httplib2.HTTPConnectionWithTimeout instance at 0x4008cb0>, '/v2.0/tokens', 'POST', '{"auth": {"token": {"id": "aToken"}, "tenantId": "1"}}', {'x-auth-token': 'aToken', 'content-type': 'application/json', 'accept-encoding': 'gzip, deflate', 'user-agent': 'python-keystoneclient'}), kwargs: {} | |
DEBUG:keystoneclient.client:Could not decode JSON from body: An external URI request tried to escape through an httplib2 client. Args: (<keystoneclient.v2_0.client.Client object at 0x4007a50>, <httplib2.HTTPConnectionWithTimeout instance at 0x4008cb0>, '/v2.0/tokens', 'POST', '{"auth": {"token": {"id": "aToken"}, "tenantId": "1"}}', {'x-auth-token': 'aToken', 'content-type': 'application/json', 'accept-encoding': 'gzip, deflate', 'user-agent': 'python-keystoneclient'}), kwargs: {} | |
ERROR:keystoneclient.client:Request returned failure status. | |
Traceback (most recent call last): | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/client.py", line 121, in request | |
body = json.loads(body) | |
File "/usr/lib/python2.7/json/__init__.py", line 326, in loads | |
return _default_decoder.decode(s) | |
File "/usr/lib/python2.7/json/decoder.py", line 360, in decode | |
obj, end = self.raw_decode(s, idx=_w(s, 0).end()) | |
File "/usr/lib/python2.7/json/decoder.py", line 378, in raw_decode | |
raise ValueError("No JSON object could be decoded") | |
ValueError: No JSON object could be decoded | |
ERROR:keystoneclient.v2_0.client:Authorization Failed. | |
Traceback (most recent call last): | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/v2_0/client.py", line 95, in authenticate | |
return_raw=True) | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/v2_0/tokens.py", line 37, in authenticate | |
return self._create('/tokens', params, "access", return_raw=return_raw) | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/base.py", line 82, in _create | |
resp, body = self.api.post(url, body=body) | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/client.py", line 185, in post | |
return self._cs_request(url, 'POST', **kwargs) | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/client.py", line 150, in _cs_request | |
**kwargs) | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/client.py", line 130, in request | |
raise exceptions.from_response(resp, body) | |
BadRequest: Unable to communicate with identity service: An external URI request tried to escape through an httplib2 client. Args: (<keystoneclient.v2_0.client.Client object at 0x4007a50>, <httplib2.HTTPConnectionWithTimeout instance at 0x4008cb0>, '/v2.0/tokens', 'POST', '{"auth": {"token": {"id": "aToken"}, "tenantId": "1"}}', {'x-auth-token': 'aToken', 'content-type': 'application/json', 'accept-encoding': 'gzip, deflate', 'user-agent': 'python-keystoneclient'}), kwargs: {}. (HTTP 400) | |
ERROR:horizon.dashboards.syspanel.users.views:Unauthorized attempt to list users. | |
Traceback (most recent call last): | |
File "/home/tres/horizon/horizon/horizon/dashboards/syspanel/users/views.py", line 46, in get_data | |
users = api.user_list(self.request) | |
File "/home/tres/horizon/horizon/horizon/api/keystone.py", line 196, in user_list | |
keystoneclient(request).users.list(tenant_id=tenant_id)] | |
File "/home/tres/horizon/horizon/horizon/api/keystone.py", line 98, in keystoneclient | |
endpoint=endpoint) | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/v2_0/client.py", line 73, in __init__ | |
self.authenticate() | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/v2_0/client.py", line 103, in authenticate | |
"%s" % e) | |
AuthorizationFailure: Authorization Failed: Unable to communicate with identity service: An external URI request tried to escape through an httplib2 client. Args: (<keystoneclient.v2_0.client.Client object at 0x4007a50>, <httplib2.HTTPConnectionWithTimeout instance at 0x4008cb0>, '/v2.0/tokens', 'POST', '{"auth": {"token": {"id": "aToken"}, "tenantId": "1"}}', {'x-auth-token': 'aToken', 'content-type': 'application/json', 'accept-encoding': 'gzip, deflate', 'user-agent': 'python-keystoneclient'}), kwargs: {}. (HTTP 400) | |
.DEBUG:horizon.api.keystone:Creating a new client connection with endpoint: None. | |
DEBUG:keystoneclient.client:REQ: curl -i http://localhost:5000/v2.0/tokens -X POST -H "User-Agent: python-keystoneclient" -H "Content-Type: application/json" -H "X-Auth-Token: aToken" | |
DEBUG:keystoneclient.client:REQ BODY: {"auth": {"token": {"id": "aToken"}, "tenantId": "1"}} | |
DEBUG:keystoneclient.client:RESP: {'status': '400', 'content-length': 424, 'content-type': 'text/plain'} | |
RESP BODY: An external URI request tried to escape through an httplib2 client. Args: (<keystoneclient.v2_0.client.Client object at 0x40109d0>, <httplib2.HTTPConnectionWithTimeout instance at 0x401f680>, '/v2.0/tokens', 'POST', '{"auth": {"token": {"id": "aToken"}, "tenantId": "1"}}', {'x-auth-token': 'aToken', 'content-type': 'application/json', 'accept-encoding': 'gzip, deflate', 'user-agent': 'python-keystoneclient'}), kwargs: {} | |
DEBUG:keystoneclient.client:Could not decode JSON from body: An external URI request tried to escape through an httplib2 client. Args: (<keystoneclient.v2_0.client.Client object at 0x40109d0>, <httplib2.HTTPConnectionWithTimeout instance at 0x401f680>, '/v2.0/tokens', 'POST', '{"auth": {"token": {"id": "aToken"}, "tenantId": "1"}}', {'x-auth-token': 'aToken', 'content-type': 'application/json', 'accept-encoding': 'gzip, deflate', 'user-agent': 'python-keystoneclient'}), kwargs: {} | |
ERROR:keystoneclient.client:Request returned failure status. | |
Traceback (most recent call last): | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/client.py", line 121, in request | |
body = json.loads(body) | |
File "/usr/lib/python2.7/json/__init__.py", line 326, in loads | |
return _default_decoder.decode(s) | |
File "/usr/lib/python2.7/json/decoder.py", line 360, in decode | |
obj, end = self.raw_decode(s, idx=_w(s, 0).end()) | |
File "/usr/lib/python2.7/json/decoder.py", line 378, in raw_decode | |
raise ValueError("No JSON object could be decoded") | |
ValueError: No JSON object could be decoded | |
ERROR:keystoneclient.v2_0.client:Authorization Failed. | |
Traceback (most recent call last): | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/v2_0/client.py", line 95, in authenticate | |
return_raw=True) | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/v2_0/tokens.py", line 37, in authenticate | |
return self._create('/tokens', params, "access", return_raw=return_raw) | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/base.py", line 82, in _create | |
resp, body = self.api.post(url, body=body) | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/client.py", line 185, in post | |
return self._cs_request(url, 'POST', **kwargs) | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/client.py", line 150, in _cs_request | |
**kwargs) | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/client.py", line 130, in request | |
raise exceptions.from_response(resp, body) | |
BadRequest: Unable to communicate with identity service: An external URI request tried to escape through an httplib2 client. Args: (<keystoneclient.v2_0.client.Client object at 0x40109d0>, <httplib2.HTTPConnectionWithTimeout instance at 0x401f680>, '/v2.0/tokens', 'POST', '{"auth": {"token": {"id": "aToken"}, "tenantId": "1"}}', {'x-auth-token': 'aToken', 'content-type': 'application/json', 'accept-encoding': 'gzip, deflate', 'user-agent': 'python-keystoneclient'}), kwargs: {}. (HTTP 400) | |
ERROR:horizon.dashboards.syspanel.users.views:Unauthorized attempt to list users. | |
Traceback (most recent call last): | |
File "/home/tres/horizon/horizon/horizon/dashboards/syspanel/users/views.py", line 46, in get_data | |
users = api.user_list(self.request) | |
File "/home/tres/horizon/horizon/horizon/api/keystone.py", line 196, in user_list | |
keystoneclient(request).users.list(tenant_id=tenant_id)] | |
File "/home/tres/horizon/horizon/horizon/api/keystone.py", line 98, in keystoneclient | |
endpoint=endpoint) | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/v2_0/client.py", line 73, in __init__ | |
self.authenticate() | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/v2_0/client.py", line 103, in authenticate | |
"%s" % e) | |
AuthorizationFailure: Authorization Failed: Unable to communicate with identity service: An external URI request tried to escape through an httplib2 client. Args: (<keystoneclient.v2_0.client.Client object at 0x40109d0>, <httplib2.HTTPConnectionWithTimeout instance at 0x401f680>, '/v2.0/tokens', 'POST', '{"auth": {"token": {"id": "aToken"}, "tenantId": "1"}}', {'x-auth-token': 'aToken', 'content-type': 'application/json', 'accept-encoding': 'gzip, deflate', 'user-agent': 'python-keystoneclient'}), kwargs: {}. (HTTP 400) | |
ERROR:horizon.dashboards.syspanel.users.tables:Error enabling user. | |
Traceback (most recent call last): | |
File "/home/tres/horizon/horizon/horizon/dashboards/syspanel/users/tables.py", line 46, in handle | |
api.keystone.user_update_enabled(request, obj_id, True) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 765, in __call__ | |
return mock_method(*params, **named_params) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 1010, in __call__ | |
raise expected_method._exception | |
ApiException: apiException (HTTP apiException) | |
DEBUG:horizon.api.keystone:Creating a new client connection with endpoint: None. | |
DEBUG:keystoneclient.client:REQ: curl -i http://localhost:5000/v2.0/tokens -X POST -H "User-Agent: python-keystoneclient" -H "Content-Type: application/json" -H "X-Auth-Token: aToken" | |
DEBUG:keystoneclient.client:REQ BODY: {"auth": {"token": {"id": "aToken"}, "tenantId": "1"}} | |
DEBUG:keystoneclient.client:RESP: {'status': '400', 'content-length': 424, 'content-type': 'text/plain'} | |
RESP BODY: An external URI request tried to escape through an httplib2 client. Args: (<keystoneclient.v2_0.client.Client object at 0x401b390>, <httplib2.HTTPConnectionWithTimeout instance at 0x3f497a0>, '/v2.0/tokens', 'POST', '{"auth": {"token": {"id": "aToken"}, "tenantId": "1"}}', {'x-auth-token': 'aToken', 'content-type': 'application/json', 'accept-encoding': 'gzip, deflate', 'user-agent': 'python-keystoneclient'}), kwargs: {} | |
DEBUG:keystoneclient.client:Could not decode JSON from body: An external URI request tried to escape through an httplib2 client. Args: (<keystoneclient.v2_0.client.Client object at 0x401b390>, <httplib2.HTTPConnectionWithTimeout instance at 0x3f497a0>, '/v2.0/tokens', 'POST', '{"auth": {"token": {"id": "aToken"}, "tenantId": "1"}}', {'x-auth-token': 'aToken', 'content-type': 'application/json', 'accept-encoding': 'gzip, deflate', 'user-agent': 'python-keystoneclient'}), kwargs: {} | |
ERROR:keystoneclient.client:Request returned failure status. | |
Traceback (most recent call last): | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/client.py", line 121, in request | |
body = json.loads(body) | |
File "/usr/lib/python2.7/json/__init__.py", line 326, in loads | |
return _default_decoder.decode(s) | |
File "/usr/lib/python2.7/json/decoder.py", line 360, in decode | |
obj, end = self.raw_decode(s, idx=_w(s, 0).end()) | |
File "/usr/lib/python2.7/json/decoder.py", line 378, in raw_decode | |
raise ValueError("No JSON object could be decoded") | |
ValueError: No JSON object could be decoded | |
ERROR:keystoneclient.v2_0.client:Authorization Failed. | |
Traceback (most recent call last): | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/v2_0/client.py", line 95, in authenticate | |
return_raw=True) | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/v2_0/tokens.py", line 37, in authenticate | |
return self._create('/tokens', params, "access", return_raw=return_raw) | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/base.py", line 82, in _create | |
resp, body = self.api.post(url, body=body) | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/client.py", line 185, in post | |
return self._cs_request(url, 'POST', **kwargs) | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/client.py", line 150, in _cs_request | |
**kwargs) | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/client.py", line 130, in request | |
raise exceptions.from_response(resp, body) | |
BadRequest: Unable to communicate with identity service: An external URI request tried to escape through an httplib2 client. Args: (<keystoneclient.v2_0.client.Client object at 0x401b390>, <httplib2.HTTPConnectionWithTimeout instance at 0x3f497a0>, '/v2.0/tokens', 'POST', '{"auth": {"token": {"id": "aToken"}, "tenantId": "1"}}', {'x-auth-token': 'aToken', 'content-type': 'application/json', 'accept-encoding': 'gzip, deflate', 'user-agent': 'python-keystoneclient'}), kwargs: {}. (HTTP 400) | |
ERROR:horizon.dashboards.syspanel.users.views:Unauthorized attempt to list users. | |
Traceback (most recent call last): | |
File "/home/tres/horizon/horizon/horizon/dashboards/syspanel/users/views.py", line 46, in get_data | |
users = api.user_list(self.request) | |
File "/home/tres/horizon/horizon/horizon/api/keystone.py", line 196, in user_list | |
keystoneclient(request).users.list(tenant_id=tenant_id)] | |
File "/home/tres/horizon/horizon/horizon/api/keystone.py", line 98, in keystoneclient | |
endpoint=endpoint) | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/v2_0/client.py", line 73, in __init__ | |
self.authenticate() | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/v2_0/client.py", line 103, in authenticate | |
"%s" % e) | |
AuthorizationFailure: Authorization Failed: Unable to communicate with identity service: An external URI request tried to escape through an httplib2 client. Args: (<keystoneclient.v2_0.client.Client object at 0x401b390>, <httplib2.HTTPConnectionWithTimeout instance at 0x3f497a0>, '/v2.0/tokens', 'POST', '{"auth": {"token": {"id": "aToken"}, "tenantId": "1"}}', {'x-auth-token': 'aToken', 'content-type': 'application/json', 'accept-encoding': 'gzip, deflate', 'user-agent': 'python-keystoneclient'}), kwargs: {}. (HTTP 400) | |
.DEBUG:horizon.api.keystone:Creating a new client connection with endpoint: None. | |
DEBUG:keystoneclient.client:REQ: curl -i http://localhost:5000/v2.0/tokens -X POST -H "User-Agent: python-keystoneclient" -H "Content-Type: application/json" -H "X-Auth-Token: aToken" | |
DEBUG:keystoneclient.client:REQ BODY: {"auth": {"token": {"id": "aToken"}, "tenantId": "1"}} | |
DEBUG:keystoneclient.client:RESP: {'status': '400', 'content-length': 424, 'content-type': 'text/plain'} | |
RESP BODY: An external URI request tried to escape through an httplib2 client. Args: (<keystoneclient.v2_0.client.Client object at 0x401b090>, <httplib2.HTTPConnectionWithTimeout instance at 0x3e992d8>, '/v2.0/tokens', 'POST', '{"auth": {"token": {"id": "aToken"}, "tenantId": "1"}}', {'x-auth-token': 'aToken', 'content-type': 'application/json', 'accept-encoding': 'gzip, deflate', 'user-agent': 'python-keystoneclient'}), kwargs: {} | |
DEBUG:keystoneclient.client:Could not decode JSON from body: An external URI request tried to escape through an httplib2 client. Args: (<keystoneclient.v2_0.client.Client object at 0x401b090>, <httplib2.HTTPConnectionWithTimeout instance at 0x3e992d8>, '/v2.0/tokens', 'POST', '{"auth": {"token": {"id": "aToken"}, "tenantId": "1"}}', {'x-auth-token': 'aToken', 'content-type': 'application/json', 'accept-encoding': 'gzip, deflate', 'user-agent': 'python-keystoneclient'}), kwargs: {} | |
ERROR:keystoneclient.client:Request returned failure status. | |
Traceback (most recent call last): | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/client.py", line 121, in request | |
body = json.loads(body) | |
File "/usr/lib/python2.7/json/__init__.py", line 326, in loads | |
return _default_decoder.decode(s) | |
File "/usr/lib/python2.7/json/decoder.py", line 360, in decode | |
obj, end = self.raw_decode(s, idx=_w(s, 0).end()) | |
File "/usr/lib/python2.7/json/decoder.py", line 378, in raw_decode | |
raise ValueError("No JSON object could be decoded") | |
ValueError: No JSON object could be decoded | |
ERROR:keystoneclient.v2_0.client:Authorization Failed. | |
Traceback (most recent call last): | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/v2_0/client.py", line 95, in authenticate | |
return_raw=True) | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/v2_0/tokens.py", line 37, in authenticate | |
return self._create('/tokens', params, "access", return_raw=return_raw) | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/base.py", line 82, in _create | |
resp, body = self.api.post(url, body=body) | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/client.py", line 185, in post | |
return self._cs_request(url, 'POST', **kwargs) | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/client.py", line 150, in _cs_request | |
**kwargs) | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/client.py", line 130, in request | |
raise exceptions.from_response(resp, body) | |
BadRequest: Unable to communicate with identity service: An external URI request tried to escape through an httplib2 client. Args: (<keystoneclient.v2_0.client.Client object at 0x401b090>, <httplib2.HTTPConnectionWithTimeout instance at 0x3e992d8>, '/v2.0/tokens', 'POST', '{"auth": {"token": {"id": "aToken"}, "tenantId": "1"}}', {'x-auth-token': 'aToken', 'content-type': 'application/json', 'accept-encoding': 'gzip, deflate', 'user-agent': 'python-keystoneclient'}), kwargs: {}. (HTTP 400) | |
ERROR:horizon.dashboards.syspanel.users.views:Unauthorized attempt to list users. | |
Traceback (most recent call last): | |
File "/home/tres/horizon/horizon/horizon/dashboards/syspanel/users/views.py", line 46, in get_data | |
users = api.user_list(self.request) | |
File "/home/tres/horizon/horizon/horizon/api/keystone.py", line 196, in user_list | |
keystoneclient(request).users.list(tenant_id=tenant_id)] | |
File "/home/tres/horizon/horizon/horizon/api/keystone.py", line 98, in keystoneclient | |
endpoint=endpoint) | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/v2_0/client.py", line 73, in __init__ | |
self.authenticate() | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/v2_0/client.py", line 103, in authenticate | |
"%s" % e) | |
AuthorizationFailure: Authorization Failed: Unable to communicate with identity service: An external URI request tried to escape through an httplib2 client. Args: (<keystoneclient.v2_0.client.Client object at 0x401b090>, <httplib2.HTTPConnectionWithTimeout instance at 0x3e992d8>, '/v2.0/tokens', 'POST', '{"auth": {"token": {"id": "aToken"}, "tenantId": "1"}}', {'x-auth-token': 'aToken', 'content-type': 'application/json', 'accept-encoding': 'gzip, deflate', 'user-agent': 'python-keystoneclient'}), kwargs: {}. (HTTP 400) | |
DEBUG:horizon.api.keystone:Creating a new client connection with endpoint: None. | |
DEBUG:keystoneclient.client:REQ: curl -i http://localhost:5000/v2.0/tokens -X POST -H "User-Agent: python-keystoneclient" -H "Content-Type: application/json" -H "X-Auth-Token: aToken" | |
DEBUG:keystoneclient.client:REQ BODY: {"auth": {"token": {"id": "aToken"}, "tenantId": "1"}} | |
DEBUG:keystoneclient.client:RESP: {'status': '400', 'content-length': 424, 'content-type': 'text/plain'} | |
RESP BODY: An external URI request tried to escape through an httplib2 client. Args: (<keystoneclient.v2_0.client.Client object at 0x401bad0>, <httplib2.HTTPConnectionWithTimeout instance at 0x401f4d0>, '/v2.0/tokens', 'POST', '{"auth": {"token": {"id": "aToken"}, "tenantId": "1"}}', {'x-auth-token': 'aToken', 'content-type': 'application/json', 'accept-encoding': 'gzip, deflate', 'user-agent': 'python-keystoneclient'}), kwargs: {} | |
DEBUG:keystoneclient.client:Could not decode JSON from body: An external URI request tried to escape through an httplib2 client. Args: (<keystoneclient.v2_0.client.Client object at 0x401bad0>, <httplib2.HTTPConnectionWithTimeout instance at 0x401f4d0>, '/v2.0/tokens', 'POST', '{"auth": {"token": {"id": "aToken"}, "tenantId": "1"}}', {'x-auth-token': 'aToken', 'content-type': 'application/json', 'accept-encoding': 'gzip, deflate', 'user-agent': 'python-keystoneclient'}), kwargs: {} | |
ERROR:keystoneclient.client:Request returned failure status. | |
Traceback (most recent call last): | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/client.py", line 121, in request | |
body = json.loads(body) | |
File "/usr/lib/python2.7/json/__init__.py", line 326, in loads | |
return _default_decoder.decode(s) | |
File "/usr/lib/python2.7/json/decoder.py", line 360, in decode | |
obj, end = self.raw_decode(s, idx=_w(s, 0).end()) | |
File "/usr/lib/python2.7/json/decoder.py", line 378, in raw_decode | |
raise ValueError("No JSON object could be decoded") | |
ValueError: No JSON object could be decoded | |
ERROR:keystoneclient.v2_0.client:Authorization Failed. | |
Traceback (most recent call last): | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/v2_0/client.py", line 95, in authenticate | |
return_raw=True) | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/v2_0/tokens.py", line 37, in authenticate | |
return self._create('/tokens', params, "access", return_raw=return_raw) | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/base.py", line 82, in _create | |
resp, body = self.api.post(url, body=body) | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/client.py", line 185, in post | |
return self._cs_request(url, 'POST', **kwargs) | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/client.py", line 150, in _cs_request | |
**kwargs) | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/client.py", line 130, in request | |
raise exceptions.from_response(resp, body) | |
BadRequest: Unable to communicate with identity service: An external URI request tried to escape through an httplib2 client. Args: (<keystoneclient.v2_0.client.Client object at 0x401bad0>, <httplib2.HTTPConnectionWithTimeout instance at 0x401f4d0>, '/v2.0/tokens', 'POST', '{"auth": {"token": {"id": "aToken"}, "tenantId": "1"}}', {'x-auth-token': 'aToken', 'content-type': 'application/json', 'accept-encoding': 'gzip, deflate', 'user-agent': 'python-keystoneclient'}), kwargs: {}. (HTTP 400) | |
ERROR:horizon.dashboards.syspanel.users.views:Unauthorized attempt to list users. | |
Traceback (most recent call last): | |
File "/home/tres/horizon/horizon/horizon/dashboards/syspanel/users/views.py", line 46, in get_data | |
users = api.user_list(self.request) | |
File "/home/tres/horizon/horizon/horizon/api/keystone.py", line 196, in user_list | |
keystoneclient(request).users.list(tenant_id=tenant_id)] | |
File "/home/tres/horizon/horizon/horizon/api/keystone.py", line 98, in keystoneclient | |
endpoint=endpoint) | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/v2_0/client.py", line 73, in __init__ | |
self.authenticate() | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/v2_0/client.py", line 103, in authenticate | |
"%s" % e) | |
AuthorizationFailure: Authorization Failed: Unable to communicate with identity service: An external URI request tried to escape through an httplib2 client. Args: (<keystoneclient.v2_0.client.Client object at 0x401bad0>, <httplib2.HTTPConnectionWithTimeout instance at 0x401f4d0>, '/v2.0/tokens', 'POST', '{"auth": {"token": {"id": "aToken"}, "tenantId": "1"}}', {'x-auth-token': 'aToken', 'content-type': 'application/json', 'accept-encoding': 'gzip, deflate', 'user-agent': 'python-keystoneclient'}), kwargs: {}. (HTTP 400) | |
...DEBUG:horizon.api.base:Unknown attribute "baz" on APIResource object of type "<class 'horizon.tests.api_tests.utils.APIDict'>" | |
DEBUG:horizon.api.base:Unknown attribute "baz" on APIResource object of type "<class 'horizon.tests.api_tests.utils.APIDict'>" | |
.DEBUG:horizon.api.base:Unknown attribute "missing" on APIResource object of type "<class 'horizon.tests.api_tests.utils.APIDict'>" | |
DEBUG:horizon.api.base:Unknown attribute "missing" on APIResource object of type "<class 'horizon.tests.api_tests.utils.APIDict'>" | |
..DEBUG:horizon.api.base:Unknown attribute "baz" on APIResource object of type "<class 'horizon.tests.api_tests.utils.APIDict'>" | |
DEBUG:horizon.api.base:Unknown attribute "baz" on APIResource object of type "<class 'horizon.tests.api_tests.utils.APIDict'>" | |
..............DEBUG:horizon.api.base:Attempted to access unknown attribute "missing" on APIResource object of type "<class 'horizon.tests.api_tests.utils.APIResource'>" wrapping resource of type "<class 'horizon.tests.api_tests.utils.InnerAPIResource'>" | |
........DEBUG:horizon.api.deprecated:extras_api connection created using token "aToken" and url "http://hostname:8000/something/v1.0" | |
.....DEBUG:horizon.api.glance:glance_api connection created for host "hostname:8000" | |
.......DEBUG:horizon.api.base:Unknown attribute "missing" on APIResource object of type "<class 'horizon.api.glance.Image'>" | |
..DEBUG:horizon.api.base:Unknown attribute "properties" on APIResource object of type "<class 'horizon.api.glance.Image'>" | |
......DEBUG:horizon.api.deprecated:admin_api connection created using token "aToken" and url "http://hostname:8000/something/v1.0" | |
.....DEBUG:horizon.api.base:Attempted to access unknown attribute "missing" on APIResource object of type "<class 'horizon.api.nova.Server'>" wrapping resource of type "<class 'horizon.tests.api_tests.nova.Server'>" | |
..................................ERROR:horizon.views.auth_forms:Error authenticating: unauth | |
Traceback (most recent call last): | |
File "/home/tres/horizon/horizon/horizon/views/auth_forms.py", line 88, in handle | |
data['password']) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 765, in __call__ | |
return mock_method(*params, **named_params) | |
File "/home/tres/horizon/.horizon-venv/local/lib/python2.7/site-packages/mox.py", line 1010, in __call__ | |
raise expected_method._exception | |
Unauthorized: unauth (HTTP unauth) | |
.......ERROR:horizon.base:Error reversing absolute URL for <Panel: Instances>. | |
Traceback (most recent call last): | |
File "/home/tres/horizon/horizon/horizon/base.py", line 225, in get_absolute_url | |
self.index_url_name)) | |
File "/home/tres/horizon/horizon/horizon/utils/reverse_bugfix.py", line 178, in reverse | |
*args, **kwargs)) | |
File "/home/tres/horizon/horizon/horizon/utils/reverse_bugfix.py", line 122, in _reverse_with_prefix | |
% (lookup_view_s, args, kwargs)) | |
NoReverseMatch: Reverse for 'does_not_exist' with arguments '()' and keyword arguments '{}' not found. | |
......DEBUG:horizon.api.keystone:Creating a new client connection with endpoint: http://localhost:5000/v2.0. | |
DEBUG:keystoneclient.client:REQ: curl -i http://localhost:5000/v2.0/tenants?fresh=1326223490.92 -X GET -H "User-Agent: python-keystoneclient" -H "X-Auth-Token: aToken" | |
DEBUG:keystoneclient.client:RESP: {'status': '400', 'content-length': 356, 'content-type': 'text/plain'} | |
RESP BODY: An external URI request tried to escape through an httplib2 client. Args: (<keystoneclient.v2_0.client.Client object at 0x40af350>, <httplib2.HTTPConnectionWithTimeout instance at 0x41f4f80>, '/v2.0/tenants?fresh=1326223490.92', 'GET', None, {'x-auth-token': 'aToken', 'accept-encoding': 'gzip, deflate', 'user-agent': 'python-keystoneclient'}), kwargs: {} | |
DEBUG:keystoneclient.client:Could not decode JSON from body: An external URI request tried to escape through an httplib2 client. Args: (<keystoneclient.v2_0.client.Client object at 0x40af350>, <httplib2.HTTPConnectionWithTimeout instance at 0x41f4f80>, '/v2.0/tenants?fresh=1326223490.92', 'GET', None, {'x-auth-token': 'aToken', 'accept-encoding': 'gzip, deflate', 'user-agent': 'python-keystoneclient'}), kwargs: {} | |
ERROR:keystoneclient.client:Request returned failure status. | |
Traceback (most recent call last): | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/client.py", line 121, in request | |
body = json.loads(body) | |
File "/usr/lib/python2.7/json/__init__.py", line 326, in loads | |
return _default_decoder.decode(s) | |
File "/usr/lib/python2.7/json/decoder.py", line 360, in decode | |
obj, end = self.raw_decode(s, idx=_w(s, 0).end()) | |
File "/usr/lib/python2.7/json/decoder.py", line 378, in raw_decode | |
raise ValueError("No JSON object could be decoded") | |
ValueError: No JSON object could be decoded | |
ERROR:horizon.context_processors:Could not retrieve tenant list. | |
Traceback (most recent call last): | |
File "/home/tres/horizon/horizon/horizon/context_processors.py", line 62, in horizon | |
endpoint_type='internalURL') | |
File "/home/tres/horizon/horizon/horizon/api/keystone.py", line 150, in tenant_list_for_token | |
return [Tenant(t) for t in c.tenants.list()] | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/v2_0/tenants.py", line 56, in list | |
return self._list("/tenants", "tenants") | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/base.py", line 65, in _list | |
resp, body = self.api.get(url) | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/client.py", line 182, in get | |
return self._cs_request(url, 'GET', **kwargs) | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/client.py", line 150, in _cs_request | |
**kwargs) | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/client.py", line 130, in request | |
raise exceptions.from_response(resp, body) | |
BadRequest: Unable to communicate with identity service: An external URI request tried to escape through an httplib2 client. Args: (<keystoneclient.v2_0.client.Client object at 0x40af350>, <httplib2.HTTPConnectionWithTimeout instance at 0x41f4f80>, '/v2.0/tenants?fresh=1326223490.92', 'GET', None, {'x-auth-token': 'aToken', 'accept-encoding': 'gzip, deflate', 'user-agent': 'python-keystoneclient'}), kwargs: {}. (HTTP 400) | |
DEBUG:horizon.api.keystone:Using cached client for token: aToken | |
DEBUG:keystoneclient.client:REQ: curl -i http://localhost:5000/v2.0/tenants?fresh=1326223490.92 -X GET -H "User-Agent: python-keystoneclient" -H "X-Auth-Token: aToken" | |
DEBUG:keystoneclient.client:RESP: {'status': '400', 'content-length': 356, 'content-type': 'text/plain'} | |
RESP BODY: An external URI request tried to escape through an httplib2 client. Args: (<keystoneclient.v2_0.client.Client object at 0x40af350>, <httplib2.HTTPConnectionWithTimeout instance at 0x41f4f80>, '/v2.0/tenants?fresh=1326223490.92', 'GET', None, {'x-auth-token': 'aToken', 'accept-encoding': 'gzip, deflate', 'user-agent': 'python-keystoneclient'}), kwargs: {} | |
DEBUG:keystoneclient.client:Could not decode JSON from body: An external URI request tried to escape through an httplib2 client. Args: (<keystoneclient.v2_0.client.Client object at 0x40af350>, <httplib2.HTTPConnectionWithTimeout instance at 0x41f4f80>, '/v2.0/tenants?fresh=1326223490.92', 'GET', None, {'x-auth-token': 'aToken', 'accept-encoding': 'gzip, deflate', 'user-agent': 'python-keystoneclient'}), kwargs: {} | |
ERROR:keystoneclient.client:Request returned failure status. | |
Traceback (most recent call last): | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/client.py", line 121, in request | |
body = json.loads(body) | |
File "/usr/lib/python2.7/json/__init__.py", line 326, in loads | |
return _default_decoder.decode(s) | |
File "/usr/lib/python2.7/json/decoder.py", line 360, in decode | |
obj, end = self.raw_decode(s, idx=_w(s, 0).end()) | |
File "/usr/lib/python2.7/json/decoder.py", line 378, in raw_decode | |
raise ValueError("No JSON object could be decoded") | |
ValueError: No JSON object could be decoded | |
ERROR:horizon.context_processors:Could not retrieve tenant list. | |
Traceback (most recent call last): | |
File "/home/tres/horizon/horizon/horizon/context_processors.py", line 62, in horizon | |
endpoint_type='internalURL') | |
File "/home/tres/horizon/horizon/horizon/api/keystone.py", line 150, in tenant_list_for_token | |
return [Tenant(t) for t in c.tenants.list()] | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/v2_0/tenants.py", line 56, in list | |
return self._list("/tenants", "tenants") | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/base.py", line 65, in _list | |
resp, body = self.api.get(url) | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/client.py", line 182, in get | |
return self._cs_request(url, 'GET', **kwargs) | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/client.py", line 150, in _cs_request | |
**kwargs) | |
File "/home/tres/horizon/.horizon-venv/src/python-keystoneclient/keystoneclient/client.py", line 130, in request | |
raise exceptions.from_response(resp, body) | |
BadRequest: Unable to communicate with identity service: An external URI request tried to escape through an httplib2 client. Args: (<keystoneclient.v2_0.client.Client object at 0x40af350>, <httplib2.HTTPConnectionWithTimeout instance at 0x41f4f80>, '/v2.0/tenants?fresh=1326223490.92', 'GET', None, {'x-auth-token': 'aToken', 'accept-encoding': 'gzip, deflate', 'user-agent': 'python-keystoneclient'}), kwargs: {}. (HTTP 400) | |
............ | |
---------------------------------------------------------------------- | |
Ran 189 tests in 2.197s | |
OK | |
Destroying test database for alias 'default'... | |
Running openstack-dashboard (Django project) tests | |
DEBUG:dashboard.settings:Running in debug mode without debug_toolbar. | |
nosetests --verbosity 1 dashboard | |
Creating test database for alias 'default'... | |
Destroying old test database 'default'... | |
SS | |
---------------------------------------------------------------------- | |
Ran 2 tests in 0.004s | |
OK (SKIP=2) | |
Tests completed successfully. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment