[Openstack] ERROR: Malformed request url (HTTP 400)

Kevin L. Mitchell kevin.mitchell at rackspace.com
Wed May 9 22:58:58 UTC 2012


On Wed, 2012-05-09 at 15:32 -0500, Dolph Mathews wrote:
> It also just occurred to me that perhaps you're using a *very* old
> novaclient against a more recent version of keystone?

Actually, if you look a little more closely:

>                 $ nova --debug image-list
>                 connect: (192.168.1.71, 5000)
>                 send: 'POST /v2.0/tokens HTTP/1.1\r\nHost:
>                 192.168.1.71:5000\r\nContent-Length: 117\r
>                 \ncontent-type:
>                 application/json\r\naccept-encoding: gzip, deflate\r
>                 \naccept:
>                 application/json\r\nuser-agent: python-novaclient\r\n
>                 \r\n{"auth":
            ^^^^^^^^
>                 {"tenantName": "labSpaceDemo", "passwordCredentials":
>                 {"username":
>                 "adminUser", "password": "lfplhfgthvf"}}}'

The request body for Keystone is not, in fact, malformed.  It would be
interesting to look at the nova-api logs for this request…
-- 
Kevin L. Mitchell <kevin.mitchell at rackspace.com>





More information about the Openstack mailing list