Hello, I've setup a test installation of OpenStack inside a virtual machine with the ec2 api. I would also like to test out the OpenStack API with the nova-python-client, therefor i installed keystone in a separate virtual machine and configured the other virtual machine to use keystone for authentication.
All OpenStack packages are installed from the official ubuntu 11.10 repositories, except Keystone which has been downloaded from https://github.com/openstack/keystone/zipball/stable/diablo. I've added the user admin and the tenant admin. I've set the following variables in my environment: NOVA_USERNAME=admin NOVA_PASSWORD=admin NOVA_API_KEY= [key obtained with the values below] curl -d '{"auth":{"passwordCredentials":{"username": "admin", "password": "admin"}}}' -H "Content-type: application/json" http://keystone_host:35357/v2.0/tokens NOVA_PROJECT_ID=admin NOVA_VERSION=2.0 NOVA_URL=http://controller_node:8774. When i run the command nova list i get the following error message: " 'list' object has no attribute 'get' ". I also found this in nova-api.log: "2012-01-16 13:33:18,352 DEBUG nova.api.openstack.wsgi [-] Unrecognized Content-Type provided in request from (pid=624) deserialize_body /usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py:231". Any ideas? Regards, Leander
_______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp