Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Malformed request url (HTTP 400) - nova

I am getting "Malformed request url (HTTP 400)" error message while running commands using nova. I could see my user can get authenticated with keystone and also the tenant id used in the url is correct. Whether using localhost could be a problem ? I am not very much sure abt that because the first request gets HTTP 1.1 200 OK reply.

I would like to get thoughts on this from experts here. I am pasted the output of keystone endpoints and service commands.

[root@oc2325787012 images]# nova --debug list

** (process:18222): WARNING **: g_set_application_name not set.

REQ: curl -i http://127.0.0.1:5000/v2.0/tokens -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-novaclient" -d '{"auth": {"tenantName": "demo", "passwordCredentials": {"username": "admin", "password": "1Qaz2wsx"}}}'

connect: (127.0.0.1, 5000) ************
send: 'POST /v2.0/tokens HTTP/1.1\r\nHost: 127.0.0.1:5000\r\nContent-Length: 102\r\ncontent-type: application/json\r\naccept-encoding: gzip, deflate\r\naccept: application/json\r\nuser-agent: python-novaclient\r\n\r\n'
send: '{"auth": {"tenantName": "demo", "passwordCredentials": {"username": "admin", "password": "1Qaz2wsx"}}}'
reply: 'HTTP/1.1 200 OK\r\n'
header: Vary: X-Auth-Token
header: Content-Type: application/json
header: Date: Tue, 02 Jul 2013 10:57:50 GMT
header: Transfer-Encoding: chunked
RESP:{'date': 'Tue, 02 Jul 2013 10:57:50 GMT', 'transfer-encoding': 'chunked', 'status': '200', 'content-type': 'application/json', 'vary': 'X-Auth-Token'} {"access": {"token": {"issued_at": "2013-07-02T10:57:50.969602", "expires": "2013-07-03T10:57:50Z", "id": "MIIKyAYJKoZIhvcNAQcCoIIKuTCCCrUCAQExCTAHBgUrDgMCGjCCCaEGCSqGSIb3DQEHAaCCCZIEggmOeyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxMy0wNy0wMlQxMDo1Nzo1MC45Njk2MDIiLCAiZXhwaXJlcyI6ICIyMDEzLTA3LTAzVDEwOjU3OjUwWiIsICJpZCI6ICJwbGFjZWh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QxDjAMBgNVBAoTBVVuc2V0MRgwFgYDVQQDEw93d3cuZXhhbXBsZS5jb20CAQEwBwYFKw4DAhowDQYJKoZIhvcNAQEBBQAEgYAQOSkWhSiLYc6iKPyB6DniqNBl-MYu9Y4nZXMUCABnL+4GeSB4d3oKVKMkhc3ysWiHEaXSFgP6QC5pHDxe2cZd4ZYPav1NjD88zM7Jz5D1J9OL0b-EOW+sNWq2+BVbSLATFR6zMNNniTr2-OaNzU1S79DsxK+3BqR5xi2Otvxvzg==", "tenant": {"description": "Default Tenant", "enabled": true, "id": "1c7dfc3899f542df9bdbb1bfe12c2387", "name": "demo"}}, "serviceCatalog": [{"endpoints": [{"adminURL": "http://localhost:8774/v2/1c7dfc3899f542df9bdbb1bfe12c2387", "region": "RegionOne", "internalURL": "http://localhost:8774/v2/1c7dfc3899f542df9bdbb1bfe12c2387", "id": "706698d0abb24e0cbc9e0cb48258e136", "publicURL": "http://localhost:8774/v2/1c7dfc3899f542df9bdbb1bfe12c2387"}], "endpoints_links": [], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL": "http://localhost:9292", "region": "RegionOne", "internalURL": "http://localhost:9292", "id": "81232e5d8a134c098bb9a4107426de63", "publicURL": "http://localhost:9292"}], "endpoints_links": [], "type": "image", "name": "glance"}, {"endpoints": [{"adminURL": "http://localhost:8776/v1/1c7dfc3899f542df9bdbb1bfe12c2387", "region": "RegionOne", "internalURL": "http://localhost:8776/v1/1c7dfc3899f542df9bdbb1bfe12c2387", "id": "00305e21720e4b0db3b5e7484e464473", "publicURL": "http://localhost:8776/v1/1c7dfc3899f542df9bdbb1bfe12c2387"}], "endpoints_links": [], "type": "volume", "name": "volume"}, {"endpoints": [{"adminURL": "http://localhost:8773/services/Admin", "region": "RegionOne", "internalURL": "http://localhost:8773/services/Cloud", "id": "9c1afbb2d8e743a883551096cff55af8", "publicURL": "http://localhost:8773/services/Cloud"}], "endpoints_links": [], "type": "ec2", "name": "ec2"}, {"endpoints": [{"adminURL": "http://localhost:8888/v1", "region": "RegionOne", "internalURL": "http://localhost:8888/v1/AUTH_1c7dfc3899f542df9bdbb1bfe12c2387", "id": "757ea4915ff145d4962078bee1efba2b", "publicURL": "http://localhost:8888/v1/AUTH_1c7dfc3899f542df9bdbb1bfe12c2387"}], "endpoints_links": [], "type": "object-store", "name": "swift"}, {"endpoints": [{"adminURL": "http://localhost:35357/v2.0", "region": "RegionOne", "internalURL": "http://localhost:5000/v2.0", "id": "0bd38a789e07402e920afc6842924e28", "publicURL": "http://localhost:5000/v2.0"}], "endpoints_links": [], "type": "identity", "name": "keystone"}], "user": {"username": "admin", "roles_links": [], "id": "f81f56a4602f40679ec08f4666167b4a", "roles": [{"name": "_member_"}, {"name": "admin"}], "name": "admin"}, "metadata": {"is_admin": 0, "roles": ["9fe2ff9ee4384b1894a90878d3e92bab", "6d372019ebc543d1b9701c4fcdfce9ea"]}}}


** (process:18222): WARNING **: g_set_application_name not set.

REQ: curl -i http://localhost:8774/v2/1c7dfc3899f542df9bdbb1bfe12c2387/servers/detail -X GET -H "X-Auth-Project-Id: demo" -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: MIIKyAYJKoZIhvcNAQcCoIIKuTCCCrUCAQExCTAHBgUrDgMCGjCCCaEGCSqGSIb3DQEHAaCCCZIEggmOeyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxMy0wNy0wMlQxMDo1Nzo1MC45Njk2MDIiLCAiZXhwaXJlcyI6ICIyMDEzLTA3LTAzVDEwOjU3OjUwWiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogIkRlZmF1bHQgVGVuYW50IiwgImVuYWJsZWQiOiB0cnVlLCAiaWQiOiAiMWM3ZGZjMzg5OWY1NDJkZjliZGJiMWJmZTEyYzIzODciLCAibmFtZSI6ICJkZW1vIn19LCAic2VydmljZUNhdGFsb2ciOiBbeyJlbmRwb2ludHMiOiB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EOW+sNWq2+BVbSLATFR6zMNNniTr2-OaNzU1S79DsxK+3BqR5xi2Otvxvzg=="

connect: (localhost, 8774) ************
send: u'GET /v2/1c7dfc3899f542df9bdbb1bfe12c2387/servers/detail HTTP/1.1\r\nHost: localhost:8774\r\nx-auth-project-id: demo\r\nx-auth-token: MIIKyAYJKoZIhvcNAQcCoIIKuTCCCrUCAQExCTAHBgUrDgMCGjCCCaEGCSqGSIb3DQEHAaCCCZIEggmOeyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxMy0wNy0wMlQxMDo1Nzo1MC45Njk2MDIiLCAiZXhwaXJlcyI6ICIyMDEzLTA3LTAzVDEwOjU3OjUwWiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogIkRlZmF1bHQgVGVuYW50IiwgImVuYWJsZWQiOiB0cnVlLCAiaWQiOiAiMWM3ZGZjMzg5OWY1NDJkZjliZGJiMWJmZTEyYzIzODciLCAibmFtZSI6ICJkZW1vIn19LCAic2VydmljZUNhdGFsb2ciOiBbeyJlbmRwb2ludHMiOiBbeyJhZG1pblVSTCI6ICJodHRwOi8vbG9jYWxob3N0Ojg3NzQvdjIvMWM3ZGZjMzg5OWY1NDJkZjliZGJiMWJmZTEyYzIzODciLCAicmVnaW9uIjogIlJlZ2lvbk9uZSIsICJpbnRlcm5hbFVSTCI6ICJodHRwOi8vbG9jYWxob3N0Ojg3NzQvdjIvMWM3ZGZjMzg5OWY1NDJkZjliZGJiMWJmZTEyYzIzODciLCAiaWQiOiAiNzA2Njk4ZDBhYmIyNGUwY2JjOWUwY2I0ODI1OGUxMzYiLCAicHVibGljVVJMIjogImh0dHA6Ly9sb2NhbGhvc3Q6ODc3NC92Mi8xYzdkZmMzODk5ZjU0MmRmOWJkYmIxYmZlMTJjMjM4NyJ9XSwgImVuZHBvaW50c19saW5rcyI6IFtdLCAidHlwZSI6ICJjb21wdXRlIiwgIm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xlc19saW5rcyI6IFtdLCAiaWQiOiAiZjgxZjU2YTQ2MDJmNDA2NzllYzA4ZjQ2NjYxNjdiNGEiLCAicm9sZXMiOiBbeyJuYW1lIjogIl9tZW1iZXJfIn0sIHsibmFtZSI6ICJhZG1pbiJ9XSwgIm5hbWUiOiAiYWRtaW4ifSwgIm1ldGFkYXRhIjogeyJpc19hZG1pbiI6IDAsICJyb2xlcyI6IFsiOWZlMmZmOWVlNDM4NGIxODk0YTkwODc4ZDNlOTJiYWIiLCAiNmQzNzIwMTllYmM1NDNkMWI5NzAxYzRmY2RmY2U5ZWEiXX19fTGB-zCB-AIBATBcMFcxCzAJBgNVBAYTAlVTMQ4wDAYDVQQIEwVVbnNldDEOMAwGA1UEBxMFVW5zZXQxDjAMBgNVBAoTBVVuc2V0MRgwFgYDVQQDEw93d3cuZXhhbXBsZS5jb20CAQEwBwYFKw4DAhowDQYJKoZIhvcNAQEBBQAEgYAQOSkWhSiLYc6iKPyB6DniqNBl-MYu9Y4nZXMUCABnL+4GeSB4d3oKVKMkhc3ysWiHEaXSFgP6QC5pHDxe2cZd4ZYPav1NjD88zM7Jz5D1J9OL0b-EOW+sNWq2+BVbSLATFR6zMNNniTr2-OaNzU1S79DsxK+3BqR5xi2Otvxvzg==\r\naccept-encoding: gzip, deflate\r\naccept: application/json\r\nuser-agent: python-novaclient\r\n\r\n'
reply: 'HTTP/1.1 400 Bad Request\r\n'
header: Content-Length: 65
header: Content-Type: application/json; charset=UTF-8
header: X-Compute-Request-Id: req-d88397a3-840a-4121-9ca6-7bc2fd0affd0
header: Date: Tue, 02 Jul 2013 10:57:51 GMT
RESP:{'date': 'Tue, 02 Jul 2013 10:57:51 GMT', 'status': '400', 'content-length': '65', 'content-type': 'application/json; charset=UTF-8', 'x-compute-request-id': 'req-d88397a3-840a-4121-9ca6-7bc2fd0affd0'} {"badRequest": {"message": "Malformed request url", "code": 400}}

DEBUG (shell:543) Malformed request url (HTTP 400) (Request-ID: req-d88397a3-840a-4121-9ca6-7bc2fd0affd0)
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/novaclient/shell.py", line 540, in main
    OpenStackComputeShell().main(sys.argv[1:])
  File "/usr/lib/python2.6/site-packages/novaclient/shell.py", line 476, in main
    args.func(self.cs, args)
  File "/usr/lib/python2.6/site-packages/novaclient/v1_1/shell.py", line 712, in do_list
    utils.print_list(cs.servers.list(search_opts=search_opts), columns,
  File "/usr/lib/python2.6/site-packages/novaclient/v1_1/servers.py", line 320, in list
    return self._list("/servers%s%s" % (detail, query_string), "servers")
  File "/usr/lib/python2.6/site-packages/novaclient/base.py", line 62, in _list
    _resp, body = self.api.client.get(url)
  File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 241, in get
    return self._cs_request(url, 'GET', **kwargs)
  File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 228, in _cs_request
    **kwargs)
  File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 210, in _time_request
    resp, body = self.request(url, method, **kwargs)
  File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 204, in request
    raise exceptions.from_response(resp, body)
BadRequest: Malformed request url (HTTP 400) (Request-ID: req-d88397a3-840a-4121-9ca6-7bc2fd0affd0)
ERROR: Malformed request url (HTTP 400) (Request-ID: req-d88397a3-840a-4121-9ca6-7bc2fd0affd0)


[root@oc2325787012 images]# keystone service-list
WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored).
+----------------------------------+----------+--------------+-------------------------+
|                id                |   name   |     type     |       description       |
+----------------------------------+----------+--------------+-------------------------+
| 7e92d40b3e3b4897ae0ab5ebf9d077cb |   ec2    |     ec2      | EC2 Compatibility Layer |
| cd63014681034839b181ef0576d68fef |  glance  |    image     |      Image Service      |
| eed9458b30d94c1ab308c858e2ae1b89 | keystone |   identity   |     Identity Service    |
| 8144e19c212e4a348685a695af6bba7c |   nova   |   compute    |     Compute Service     |
| 70f4b869e4704ce2bed6f8d2bb311b61 |  swift   | object-store |  Object Storage Service |
| f83e70d592994248a8f563d1f906a4fe |  volume  |    volume    |      Volume Service     |
+----------------------------------+----------+--------------+-------------------------+


[root@oc2325787012 images]# keystone endpoint-list
WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored).
+----------------------------------+-----------+---------------------------------------------+---------------------------------------------+----------------------------------------+----------------------------------+
|                id                |   region  |                  publicurl                  |                 internalurl                 |                adminurl                |            service_id            |
+----------------------------------+-----------+---------------------------------------------+---------------------------------------------+----------------------------------------+----------------------------------+
| 03408eae96f5427196ced1bd78aa9af2 | RegionOne |          http://localhost:5000/v2.0         |          http://localhost:5000/v2.0         |      http://localhost:35357/v2.0       | eed9458b30d94c1ab308c858e2ae1b89 |
| 3a6dc6af235147e6b122a601661a4fb2 | RegionOne |    http://localhost:8774/v2/%(tenant_id)s   |    http://localhost:8774/v2/%(tenant_id)s   | http://localhost:8774/v2/%(tenant_id)s | 8144e19c212e4a348685a695af6bba7c |
| 73fcfe0f920c47f68f424d0a85ae4f8c | RegionOne | http://localhost:8888/v1/AUTH_%(tenant_id)s | http://localhost:8888/v1/AUTH_%(tenant_id)s |        http://localhost:8888/v1        | 70f4b869e4704ce2bed6f8d2bb311b61 |
| 810c0241124f4f9eb343fccb04cc644c | RegionOne |            http://localhost:9292            |            http://localhost:9292            |         http://localhost:9292          | cd63014681034839b181ef0576d68fef |
| e4e9b824a8de4fb1ae0b4c3ff1b5f4c9 | RegionOne |     http://localhost:8773/services/Cloud    |     http://localhost:8773/services/Cloud    |  http://localhost:8773/services/Admin  | 7e92d40b3e3b4897ae0ab5ebf9d077cb |
| f78af143cc96455bb710238baceefb29 | RegionOne |    http://localhost:8776/v1/%(tenant_id)s   |    http://localhost:8776/v1/%(tenant_id)s   | http://localhost:8776/v1/%(tenant_id)s | f83e70d592994248a8f563d1f906a4fe |
+----------------------------------+-----------+---------------------------------------------+---------------------------------------------+----------------------------------------+----------------------------------+
[root@oc2325787012 images]#

Malformed request url (HTTP 400) - nova

I am getting "Malformed request url (HTTP 400)" error message while running commands using nova. I could see my user can get authenticated with keystone and also the tenant id used in the url is correct. Whether using localhost could be a problem ? I am not very much sure abt that because the first request gets HTTP 1.1 200 OK reply.

I would like to get thoughts on this from experts here. I am pasted the output of keystone endpoints and service commands.

[root@oc2325787012 images]# nova --debug list

** (process:18222): WARNING **: g_set_application_name not set.

REQ: curl -i http://127.0.0.1:5000/v2.0/tokens -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-novaclient" -d '{"auth": {"tenantName": "demo", "passwordCredentials": {"username": "admin", "password": "1Qaz2wsx"}}}'

connect: (127.0.0.1, 5000) ************
send: 'POST /v2.0/tokens HTTP/1.1\r\nHost: 127.0.0.1:5000\r\nContent-Length: 102\r\ncontent-type: application/json\r\naccept-encoding: gzip, deflate\r\naccept: application/json\r\nuser-agent: python-novaclient\r\n\r\n'
send: '{"auth": {"tenantName": "demo", "passwordCredentials": {"username": "admin", "password": "1Qaz2wsx"}}}'
reply: 'HTTP/1.1 200 OK\r\n'
header: Vary: X-Auth-Token
header: Content-Type: application/json
header: Date: Tue, 02 Jul 2013 10:57:50 GMT
header: Transfer-Encoding: chunked
RESP:{'date': 'Tue, 02 Jul 2013 10:57:50 GMT', 'transfer-encoding': 'chunked', 'status': '200', 'content-type': 'application/json', 'vary': 'X-Auth-Token'} {"access": {"token": {"issued_at": "2013-07-02T10:57:50.969602", "expires": "2013-07-03T10:57:50Z", "id": "MIIKyAYJKoZIhvcNAQcCoIIKuTCCCrUCAQExCTAHBgUrDgMCGjCCCaEGCSqGSIb3DQEHAaCCCZIEggmOeyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxMy0wNy0wMlQxMDo1Nzo1MC45Njk2MDIiLCAiZXhwaXJlcyI6ICIyMDEzLTA3LTAzVDEwOjU3OjUwWiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogIkRlZmF1bHQgVGVuYW50IiwgImVuYWJsZWQiO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hvcNAQEBBQAEgYAQOSkWhSiLYc6iKPyB6DniqNBl-MYu9Y4nZXMUCABnL+4GeSB4d3oKVKMkhc3ysWiHEaXSFgP6QC5pHDxe2cZd4ZYPav1NjD88zM7Jz5D1J9OL0b-EOW+sNWq2+BVbSLATFR6zMNNniTr2-OaNzU1S79DsxK+3BqR5xi2Otvxvzg==", "tenant": {"description": "Default Tenant", "enabled": true, "id": "1c7dfc3899f542df9bdbb1bfe12c2387", "name": "demo"}}, "serviceCatalog": [{"endpoints": [{"adminURL": "http://localhost:8774/v2/1c7dfc3899f542df9bdbb1bfe12c2387", "region": "RegionOne", "internalURL": "http://localhost:8774/v2/1c7dfc3899f542df9bdbb1bfe12c2387", "id": "706698d0abb24e0cbc9e0cb48258e136", "publicURL": "http://localhost:8774/v2/1c7dfc3899f542df9bdbb1bfe12c2387"}], "endpoints_links": [], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL": "http://localhost:9292", "region": "RegionOne", "internalURL": "http://localhost:9292", "id": "81232e5d8a134c098bb9a4107426de63", "publicURL": "http://localhost:9292"}], "endpoints_links": [], "type": "image", "name": "glance"}, {"endpoints": [{"adminURL": "http://localhost:8776/v1/1c7dfc3899f542df9bdbb1bfe12c2387", "region": "RegionOne", "internalURL": "http://localhost:8776/v1/1c7dfc3899f542df9bdbb1bfe12c2387", "id": "00305e21720e4b0db3b5e7484e464473", "publicURL": "http://localhost:8776/v1/1c7dfc3899f542df9bdbb1bfe12c2387"}], "endpoints_links": [], "type": "volume", "name": "volume"}, {"endpoints": [{"adminURL": "http://localhost:8773/services/Admin", "region": "RegionOne", "internalURL": "http://localhost:8773/services/Cloud", "id": "9c1afbb2d8e743a883551096cff55af8", "publicURL": "http://localhost:8773/services/Cloud"}], "endpoints_links": [], "type": "ec2", "name": "ec2"}, {"endpoints": [{"adminURL": "http://localhost:8888/v1", "region": "RegionOne", "internalURL": "http://localhost:8888/v1/AUTH_1c7dfc3899f542df9bdbb1bfe12c2387", "id": "757ea4915ff145d4962078bee1efba2b", "publicURL": "http://localhost:8888/v1/AUTH_1c7dfc3899f542df9bdbb1bfe12c2387"}], "endpoints_links": [], "type": "object-store", "name": "swift"}, {"endpoints": [{"adminURL": "http://localhost:35357/v2.0", "region": "RegionOne", "internalURL": "http://localhost:5000/v2.0", "id": "0bd38a789e07402e920afc6842924e28", "publicURL": "http://localhost:5000/v2.0"}], "endpoints_links": [], "type": "identity", "name": "keystone"}], "user": {"username": "admin", "roles_links": [], "id": "f81f56a4602f40679ec08f4666167b4a", "roles": [{"name": "_member_"}, {"name": "admin"}], "name": "admin"}, "metadata": {"is_admin": 0, "roles": ["9fe2ff9ee4384b1894a90878d3e92bab", "6d372019ebc543d1b9701c4fcdfce9ea"]}}}


** (process:18222): WARNING **: g_set_application_name not set.

REQ: curl -i http://localhost:8774/v2/1c7dfc3899f542df9bdbb1bfe12c2387/servers/detail -X GET -H "X-Auth-Project-Id: demo" -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: MIIKyAYJKoZIhvcNAQcCoIIKuTCCCrUCAQExCTAHBgUrDgMCGjCCCaEGCSqGSIb3DQEHAaCCCZIEggmOeyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxMy0wNy0wMlQxMDo1Nzo1MC45Njk2MDIiLCAiZXhwaXJlcyI6ICIyMDEzLTA3LTAzVDEwOjU3OjUwWiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogIkRlZmF1bHQgVGVuYW50IiwgImVuYWJsZWQiOiB0cnVlLCAiaWQiOiAiMWM3ZGZjMzg5OWY1NDJkZjliZGJiMWJmZTEyYzIzODciLCAibmFtZSI6ICJkZW1vIn19LCAic2VydmljZUNhdGFsb2ciOiBbeyJlbmRwb2ludHMiOiBbeyJhZG1pblVSTCI6ICJodHRwOi8vbG9jYWxob3N0Ojg3NzQvdjIvMWM3ZGZjMzg5OWY1NDJkZjliZGJi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9sZXMiOiBbeyJuYW1lIjogIl9tZW1iZXJfIn0sIHsibmFtZSI6ICJhZG1pbiJ9XSwgIm5hbWUiOiAiYWRtaW4ifSwgIm1ldGFkYXRhIjogeyJpc19hZG1pbiI6IDAsICJyb2xlcyI6IFsiOWZlMmZmOWVlNDM4NGIxODk0YTkwODc4ZDNlOTJiYWIiLCAiNmQzNzIwMTllYmM1NDNkMWI5NzAxYzRmY2RmY2U5ZWEiXX19fTGB-zCB-AIBATBcMFcxCzAJBgNVBAYTAlVTMQ4wDAYDVQQIEwVVbnNldDEOMAwGA1UEBxMFVW5zZXQxDjAMBgNVBAoTBVVuc2V0MRgwFgYDVQQDEw93d3cuZXhhbXBsZS5jb20CAQEwBwYFKw4DAhowDQYJKoZIhvcNAQEBBQAEgYAQOSkWhSiLYc6iKPyB6DniqNBl-MYu9Y4nZXMUCABnL+4GeSB4d3oKVKMkhc3ysWiHEaXSFgP6QC5pHDxe2cZd4ZYPav1NjD88zM7Jz5D1J9OL0b-EOW+sNWq2+BVbSLATFR6zMNNniTr2-OaNzU1S79DsxK+3BqR5xi2Otvxvzg==\r\naccept-encoding: gzip, deflate\r\naccept: application/json\r\nuser-agent: python-novaclient\r\n\r\n'
reply: 'HTTP/1.1 400 Bad Request\r\n'
header: Content-Length: 65
header: Content-Type: application/json; charset=UTF-8
header: X-Compute-Request-Id: req-d88397a3-840a-4121-9ca6-7bc2fd0affd0
header: Date: Tue, 02 Jul 2013 10:57:51 GMT
RESP:{'date': 'Tue, 02 Jul 2013 10:57:51 GMT', 'status': '400', 'content-length': '65', 'content-type': 'application/json; charset=UTF-8', 'x-compute-request-id': 'req-d88397a3-840a-4121-9ca6-7bc2fd0affd0'} {"badRequest": {"message": "Malformed request url", "code": 400}}

DEBUG (shell:543) Malformed request url (HTTP 400) (Request-ID: req-d88397a3-840a-4121-9ca6-7bc2fd0affd0)
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/novaclient/shell.py", line 540, in main
    OpenStackComputeShell().main(sys.argv[1:])
  File "/usr/lib/python2.6/site-packages/novaclient/shell.py", line 476, in main
    args.func(self.cs, args)
  File "/usr/lib/python2.6/site-packages/novaclient/v1_1/shell.py", line 712, in do_list
    utils.print_list(cs.servers.list(search_opts=search_opts), columns,
  File "/usr/lib/python2.6/site-packages/novaclient/v1_1/servers.py", line 320, in list
    return self._list("/servers%s%s" % (detail, query_string), "servers")
  File "/usr/lib/python2.6/site-packages/novaclient/base.py", line 62, in _list
    _resp, body = self.api.client.get(url)
  File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 241, in get
    return self._cs_request(url, 'GET', **kwargs)
  File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 228, in _cs_request
    **kwargs)
  File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 210, in _time_request
    resp, body = self.request(url, method, **kwargs)
  File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 204, in request
    raise exceptions.from_response(resp, body)
BadRequest: Malformed request url (HTTP 400) (Request-ID: req-d88397a3-840a-4121-9ca6-7bc2fd0affd0)
ERROR: Malformed request url (HTTP 400) (Request-ID: req-d88397a3-840a-4121-9ca6-7bc2fd0affd0)


[root@oc2325787012 images]# keystone service-list
WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored).
+----------------------------------+----------+--------------+-------------------------+
|                id                |   name   |     type     |       description       |
+----------------------------------+----------+--------------+-------------------------+
| 7e92d40b3e3b4897ae0ab5ebf9d077cb |   ec2    |     ec2      | EC2 Compatibility Layer |
| cd63014681034839b181ef0576d68fef |  glance  |    image     |      Image Service      |
| eed9458b30d94c1ab308c858e2ae1b89 | keystone |   identity   |     Identity Service    |
| 8144e19c212e4a348685a695af6bba7c |   nova   |   compute    |     Compute Service     |
| 70f4b869e4704ce2bed6f8d2bb311b61 |  swift   | object-store |  Object Storage Service |
| f83e70d592994248a8f563d1f906a4fe |  volume  |    volume    |      Volume Service     |
+----------------------------------+----------+--------------+-------------------------+


[root@oc2325787012 images]# keystone endpoint-list
WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored).
+----------------------------------+-----------+---------------------------------------------+---------------------------------------------+----------------------------------------+----------------------------------+
|                id                |   region  |                  publicurl                  |                 internalurl                 |                adminurl                |            service_id            |
+----------------------------------+-----------+---------------------------------------------+---------------------------------------------+----------------------------------------+----------------------------------+
| 03408eae96f5427196ced1bd78aa9af2 | RegionOne |          http://localhost:5000/v2.0         |          http://localhost:5000/v2.0         |      http://localhost:35357/v2.0       | eed9458b30d94c1ab308c858e2ae1b89 |
| 3a6dc6af235147e6b122a601661a4fb2 | RegionOne |    http://localhost:8774/v2/%(tenant_id)s   |    http://localhost:8774/v2/%(tenant_id)s   | http://localhost:8774/v2/%(tenant_id)s | 8144e19c212e4a348685a695af6bba7c |
| 73fcfe0f920c47f68f424d0a85ae4f8c | RegionOne | http://localhost:8888/v1/AUTH_%(tenant_id)s | http://localhost:8888/v1/AUTH_%(tenant_id)s |        http://localhost:8888/v1        | 70f4b869e4704ce2bed6f8d2bb311b61 |
| 810c0241124f4f9eb343fccb04cc644c | RegionOne |            http://localhost:9292            |            http://localhost:9292            |         http://localhost:9292          | cd63014681034839b181ef0576d68fef |
| e4e9b824a8de4fb1ae0b4c3ff1b5f4c9 | RegionOne |     http://localhost:8773/services/Cloud    |     http://localhost:8773/services/Cloud    |  http://localhost:8773/services/Admin  | 7e92d40b3e3b4897ae0ab5ebf9d077cb |
| f78af143cc96455bb710238baceefb29 | RegionOne |    http://localhost:8776/v1/%(tenant_id)s   |    http://localhost:8776/v1/%(tenant_id)s   | http://localhost:8776/v1/%(tenant_id)s | f83e70d592994248a8f563d1f906a4fe |
+----------------------------------+-----------+---------------------------------------------+---------------------------------------------+----------------------------------------+----------------------------------+
[root@oc2325787012 images]#

Malformed request url (HTTP 400) - novawhen running nova commands

I am getting "Malformed request url (HTTP 400)" error message while running commands using nova. I could see my user can get authenticated with keystone and also the tenant id used in the url is correct. Whether using localhost could be a problem ? I am not very much sure abt that because the first request gets HTTP 1.1 200 OK reply.

I would like to get thoughts on this from experts here. I am pasted the output of keystone endpoints and service commands.

[root@oc2325787012 images]# nova --debug list

** (process:18222): WARNING **: g_set_application_name not set.

REQ: curl -i http://127.0.0.1:5000/v2.0/tokens -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-novaclient" -d '{"auth": {"tenantName": "demo", "passwordCredentials": {"username": "admin", "password": "1Qaz2wsx"}}}'

connect: (127.0.0.1, 5000) ************
send: 'POST /v2.0/tokens HTTP/1.1\r\nHost: 127.0.0.1:5000\r\nContent-Length: 102\r\ncontent-type: application/json\r\naccept-encoding: gzip, deflate\r\naccept: application/json\r\nuser-agent: python-novaclient\r\n\r\n'
send: '{"auth": {"tenantName": "demo", "passwordCredentials": {"username": "admin", "password": "1Qaz2wsx"}}}'
reply: 'HTTP/1.1 200 OK\r\n'
header: Vary: X-Auth-Token
header: Content-Type: application/json
header: Date: Tue, 02 Jul 2013 10:57:50 GMT
header: Transfer-Encoding: chunked
RESP:{'date': 'Tue, 02 Jul 2013 10:57:50 GMT', 'transfer-encoding': 'chunked', 'status': '200', 'content-type': 'application/json', 'vary': 'X-Auth-Token'} {"access": {"token": {"issued_at": "2013-07-02T10:57:50.969602", "expires": "2013-07-03T10:57:50Z", "id": "MIIKyAYJKoZIhvcNAQcCoIIKuTCCCrUCAQExCTAHBgUrDgMCGjCCCaEGCSqGSIb3DQEHAaCCCZIEggmOeyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxMy0wNy0wMlQxMDo1Nzo1MC45Njk2MDIiLCAiZXhwaXJlcyI6ICIyMDEzLTA3LTAzVDEwOjU3OjUwWiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogIkRlZmF1bHQgVGVuYW50IiwgImVuYWJsZWQiOiB0cnVlLCAiaWQiOiAiMWM3ZGZjMzg5OWY1NDJkZjliZGJiMWJmZTEyYzIzODciLCAibmFtZSI6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c3ysWiHEaXSFgP6QC5pHDxe2cZd4ZYPav1NjD88zM7Jz5D1J9OL0b-EOW+sNWq2+BVbSLATFR6zMNNniTr2-OaNzU1S79DsxK+3BqR5xi2Otvxvzg==", "tenant": {"description": "Default Tenant", "enabled": true, "id": "1c7dfc3899f542df9bdbb1bfe12c2387", "name": "demo"}}, "serviceCatalog": [{"endpoints": [{"adminURL": "http://localhost:8774/v2/1c7dfc3899f542df9bdbb1bfe12c2387", "region": "RegionOne", "internalURL": "http://localhost:8774/v2/1c7dfc3899f542df9bdbb1bfe12c2387", "id": "706698d0abb24e0cbc9e0cb48258e136", "publicURL": "http://localhost:8774/v2/1c7dfc3899f542df9bdbb1bfe12c2387"}], "endpoints_links": [], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL": "http://localhost:9292", "region": "RegionOne", "internalURL": "http://localhost:9292", "id": "81232e5d8a134c098bb9a4107426de63", "publicURL": "http://localhost:9292"}], "endpoints_links": [], "type": "image", "name": "glance"}, {"endpoints": [{"adminURL": "http://localhost:8776/v1/1c7dfc3899f542df9bdbb1bfe12c2387", "region": "RegionOne", "internalURL": "http://localhost:8776/v1/1c7dfc3899f542df9bdbb1bfe12c2387", "id": "00305e21720e4b0db3b5e7484e464473", "publicURL": "http://localhost:8776/v1/1c7dfc3899f542df9bdbb1bfe12c2387"}], "endpoints_links": [], "type": "volume", "name": "volume"}, {"endpoints": [{"adminURL": "http://localhost:8773/services/Admin", "region": "RegionOne", "internalURL": "http://localhost:8773/services/Cloud", "id": "9c1afbb2d8e743a883551096cff55af8", "publicURL": "http://localhost:8773/services/Cloud"}], "endpoints_links": [], "type": "ec2", "name": "ec2"}, {"endpoints": [{"adminURL": "http://localhost:8888/v1", "region": "RegionOne", "internalURL": "http://localhost:8888/v1/AUTH_1c7dfc3899f542df9bdbb1bfe12c2387", "id": "757ea4915ff145d4962078bee1efba2b", "publicURL": "http://localhost:8888/v1/AUTH_1c7dfc3899f542df9bdbb1bfe12c2387"}], "endpoints_links": [], "type": "object-store", "name": "swift"}, {"endpoints": [{"adminURL": "http://localhost:35357/v2.0", "region": "RegionOne", "internalURL": "http://localhost:5000/v2.0", "id": "0bd38a789e07402e920afc6842924e28", "publicURL": "http://localhost:5000/v2.0"}], "endpoints_links": [], "type": "identity", "name": "keystone"}], "user": {"username": "admin", "roles_links": [], "id": "f81f56a4602f40679ec08f4666167b4a", "roles": [{"name": "_member_"}, {"name": "admin"}], "name": "admin"}, "metadata": {"is_admin": 0, "roles": ["9fe2ff9ee4384b1894a90878d3e92bab", "6d372019ebc543d1b9701c4fcdfce9ea"]}}}


** (process:18222): WARNING **: g_set_application_name not set.

REQ: curl -i http://localhost:8774/v2/1c7dfc3899f542df9bdbb1bfe12c2387/servers/detail -X GET -H "X-Auth-Project-Id: demo" -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: MIIKyAYJKoZIhvcNAQcCoIIKuTCCCrUCAQExCTAHBgUrDgMCGjCCCaEGCSqGSIb3DQEHAaCCCZIEggmOeyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxMy0wNy0wMlQxMDo1Nzo1MC45Njk2MDIiLCAiZXhwaXJlcyI6ICIyMDEzLTA3LTAzVDEwOjU3OjUwWiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogIkRlZmF1bHQgVGVuYW50IiwgImVuYWJsZWQiOiB0cnVlLCAiaWQiOiAiMWM3ZGZjMzg5OWY1NDJkZjliZGJiMWJmZTEyYzIzODciLCAibmFtZSI6ICJkZW1vIn19LCAic2VydmljZUNhdGFsb2ciOiBbeyJlbmRwb2ludHMiOiBbeyJhZG1pblVSTCI6ICJodHRwOi8vbG9jYWxob3N0Ojg3NzQvdjIvMWM3ZGZjMzg5OWY1NDJkZjliZGJiMWJmZTEyYzIzODciLCAicmVnaW9uIjogIlJlZ2lvbk9uZSIsICJpbnRlcm5hbFVSTCI6ICJodHRwO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iOiAiYWRtaW4ifSwgIm1ldGFkYXRhIjogeyJpc19hZG1pbiI6IDAsICJyb2xlcyI6IFsiOWZlMmZmOWVlNDM4NGIxODk0YTkwODc4ZDNlOTJiYWIiLCAiNmQzNzIwMTllYmM1NDNkMWI5NzAxYzRmY2RmY2U5ZWEiXX19fTGB-zCB-AIBATBcMFcxCzAJBgNVBAYTAlVTMQ4wDAYDVQQIEwVVbnNldDEOMAwGA1UEBxMFVW5zZXQxDjAMBgNVBAoTBVVuc2V0MRgwFgYDVQQDEw93d3cuZXhhbXBsZS5jb20CAQEwBwYFKw4DAhowDQYJKoZIhvcNAQEBBQAEgYAQOSkWhSiLYc6iKPyB6DniqNBl-MYu9Y4nZXMUCABnL+4GeSB4d3oKVKMkhc3ysWiHEaXSFgP6QC5pHDxe2cZd4ZYPav1NjD88zM7Jz5D1J9OL0b-EOW+sNWq2+BVbSLATFR6zMNNniTr2-OaNzU1S79DsxK+3BqR5xi2Otvxvzg==\r\naccept-encoding: gzip, deflate\r\naccept: application/json\r\nuser-agent: python-novaclient\r\n\r\n'
reply: 'HTTP/1.1 400 Bad Request\r\n'
header: Content-Length: 65
header: Content-Type: application/json; charset=UTF-8
header: X-Compute-Request-Id: req-d88397a3-840a-4121-9ca6-7bc2fd0affd0
header: Date: Tue, 02 Jul 2013 10:57:51 GMT
RESP:{'date': 'Tue, 02 Jul 2013 10:57:51 GMT', 'status': '400', 'content-length': '65', 'content-type': 'application/json; charset=UTF-8', 'x-compute-request-id': 'req-d88397a3-840a-4121-9ca6-7bc2fd0affd0'} {"badRequest": {"message": "Malformed request url", "code": 400}}

DEBUG (shell:543) Malformed request url (HTTP 400) (Request-ID: req-d88397a3-840a-4121-9ca6-7bc2fd0affd0)
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/novaclient/shell.py", line 540, in main
    OpenStackComputeShell().main(sys.argv[1:])
  File "/usr/lib/python2.6/site-packages/novaclient/shell.py", line 476, in main
    args.func(self.cs, args)
  File "/usr/lib/python2.6/site-packages/novaclient/v1_1/shell.py", line 712, in do_list
    utils.print_list(cs.servers.list(search_opts=search_opts), columns,
  File "/usr/lib/python2.6/site-packages/novaclient/v1_1/servers.py", line 320, in list
    return self._list("/servers%s%s" % (detail, query_string), "servers")
  File "/usr/lib/python2.6/site-packages/novaclient/base.py", line 62, in _list
    _resp, body = self.api.client.get(url)
  File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 241, in get
    return self._cs_request(url, 'GET', **kwargs)
  File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 228, in _cs_request
    **kwargs)
  File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 210, in _time_request
    resp, body = self.request(url, method, **kwargs)
  File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 204, in request
    raise exceptions.from_response(resp, body)
BadRequest: Malformed request url (HTTP 400) (Request-ID: req-d88397a3-840a-4121-9ca6-7bc2fd0affd0)
ERROR: Malformed request url (HTTP 400) (Request-ID: req-d88397a3-840a-4121-9ca6-7bc2fd0affd0)


[root@oc2325787012 images]# keystone service-list
WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored).
+----------------------------------+----------+--------------+-------------------------+
|                id                |   name   |     type     |       description       |
+----------------------------------+----------+--------------+-------------------------+
| 7e92d40b3e3b4897ae0ab5ebf9d077cb |   ec2    |     ec2      | EC2 Compatibility Layer |
| cd63014681034839b181ef0576d68fef |  glance  |    image     |      Image Service      |
| eed9458b30d94c1ab308c858e2ae1b89 | keystone |   identity   |     Identity Service    |
| 8144e19c212e4a348685a695af6bba7c |   nova   |   compute    |     Compute Service     |
| 70f4b869e4704ce2bed6f8d2bb311b61 |  swift   | object-store |  Object Storage Service |
| f83e70d592994248a8f563d1f906a4fe |  volume  |    volume    |      Volume Service     |
+----------------------------------+----------+--------------+-------------------------+


[root@oc2325787012 images]# keystone endpoint-list
WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored).
+----------------------------------+-----------+---------------------------------------------+---------------------------------------------+----------------------------------------+----------------------------------+
|                id                |   region  |                  publicurl                  |                 internalurl                 |                adminurl                |            service_id            |
+----------------------------------+-----------+---------------------------------------------+---------------------------------------------+----------------------------------------+----------------------------------+
| 03408eae96f5427196ced1bd78aa9af2 | RegionOne |          http://localhost:5000/v2.0         |          http://localhost:5000/v2.0         |      http://localhost:35357/v2.0       | eed9458b30d94c1ab308c858e2ae1b89 |
| 3a6dc6af235147e6b122a601661a4fb2 | RegionOne |    http://localhost:8774/v2/%(tenant_id)s   |    http://localhost:8774/v2/%(tenant_id)s   | http://localhost:8774/v2/%(tenant_id)s | 8144e19c212e4a348685a695af6bba7c |
| 73fcfe0f920c47f68f424d0a85ae4f8c | RegionOne | http://localhost:8888/v1/AUTH_%(tenant_id)s | http://localhost:8888/v1/AUTH_%(tenant_id)s |        http://localhost:8888/v1        | 70f4b869e4704ce2bed6f8d2bb311b61 |
| 810c0241124f4f9eb343fccb04cc644c | RegionOne |            http://localhost:9292            |            http://localhost:9292            |         http://localhost:9292          | cd63014681034839b181ef0576d68fef |
| e4e9b824a8de4fb1ae0b4c3ff1b5f4c9 | RegionOne |     http://localhost:8773/services/Cloud    |     http://localhost:8773/services/Cloud    |  http://localhost:8773/services/Admin  | 7e92d40b3e3b4897ae0ab5ebf9d077cb |
| f78af143cc96455bb710238baceefb29 | RegionOne |    http://localhost:8776/v1/%(tenant_id)s   |    http://localhost:8776/v1/%(tenant_id)s   | http://localhost:8776/v1/%(tenant_id)s | f83e70d592994248a8f563d1f906a4fe |
+----------------------------------+-----------+---------------------------------------------+---------------------------------------------+----------------------------------------+----------------------------------+
[root@oc2325787012 images]#